In configure.ac we already build xz, bzip2 and gzip archives as we
have the following:
    AM_INIT_AUTOMAKE([dist-bzip2 dist-xz subdir-objects])
and that in the commit aedf4ffd7d16721b522df2d20b1f41f8574c3940 ("Add
tests for builds using tarballs") we automatically built these
archives during make check.

But we forgot to add the required utilities in scripts/manifest.scm.

Without tar and xz, when running make check with
'guix shell --pure --container -f scripts/manifest.scm', we have the
following error:
    tardir=libsamsung-ipc-0.7.0 && ${TAR-tar} chof - "$tardir" | \
            XZ_OPT=${XZ_OPT--e} xz -c >libsamsung-ipc-0.7.0.tar.xz
    /bin/sh: line 1: xz: command not found
    /bin/sh: line 1: tar: command not found

And if we don't add bzip2 we still have the following error:
'guix shell --pure --container -f scripts/manifest.scm', we have the
following error:
    tardir=libsamsung-ipc-0.7.0 && ${TAR-tar} chof - "$tardir" | \
          BZIP2=${BZIP2--9} bzip2 -c >libsamsung-ipc-0.7.0.tar.bz2
    /bin/sh: line 1: bzip2: command not found

And we also need gzip:
    tardir=libsamsung-ipc-0.7.0 && ${TAR-tar} chof - "$tardir" | \
            eval GZIP= gzip --best -c >libsamsung-ipc-0.7.0.tar.gz
    /bin/sh: line 1: gzip: command not found

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 scripts/manifest.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/manifest.scm b/scripts/manifest.scm
index b9b8386..afe4ca5 100644
--- a/scripts/manifest.scm
+++ b/scripts/manifest.scm
@@ -24,6 +24,7 @@
  (gnu packages autotools)
  (gnu packages base)
  (gnu packages commencement)
+ (gnu packages compression)
  (gnu packages curl)
  (gnu packages disk)
  (gnu packages gawk)
@@ -35,12 +36,14 @@
 (list
  autoconf
  automake
+ bzip2
  coreutils
  curl
  ddrescue
  diffutils
  findutils
  gawk
+ gzip
  gcc-toolchain
  grep
  libtool
@@ -49,4 +52,6 @@
  pkg-config
  python
  python-sh
- sed)
+ sed
+ tar
+ xz)
-- 
2.39.1

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to