Fix make distcheck in Alpine Linux CI test job (!104)
The make distcheck step of the CI test job fails like this on Alpine Linux: $ make distcheck ... make[1]: Leaving directory '/home/alpine/programming/c/gparted' if test -d "gparted-1.4.0-git"; then find "gparted-1.4.0-git" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "gparted-1.4.0-git" || { sleep 5 && rm -rf "gparted-1.4.0-git"; }; else :; fi case 'gparted-1.4.0-git.tar.gz' in \ *.tar.gz*) \ eval GZIP= gzip --best -dc gparted-1.4.0-git.tar.gz | ${TAR-tar} xf - ;;\ *.tar.bz2*) \ bzip2 -dc gparted-1.4.0-git.tar.bz2 | ${TAR-tar} xf - ;;\ *.tar.lz*) \ lzip -dc gparted-1.4.0-git.tar.lz | ${TAR-tar} xf - ;;\ *.tar.xz*) \ xz -dc gparted-1.4.0-git.tar.xz | ${TAR-tar} xf - ;;\ *.tar.Z*) \ uncompress -c gparted-1.4.0-git.tar.Z | ${TAR-tar} xf - ;;\ *.shar.gz*) \ eval GZIP= gzip --best -dc gparted-1.4.0-git.shar.gz | unshar ;;\ *.zip*) \ unzip gparted-1.4.0-git.zip ;;\ *.tar.zst*) \ zstd -dc gparted-1.4.0-git.tar.zst | ${TAR-tar} xf - ;;\ esac gzip: unrecognized option: best BusyBox v1.35.0 (2022-05-09 17:27:12 UTC) multi-call binary. Usage: gzip [-cfkdt123456789] [FILE]... Compress FILEs (or stdin) -1..9 Compression level -d Decompress -c Write to stdout -f Force -k Keep input files -t Test integrity tar: short read make: *** [Makefile:844: distcheck] Error 1 Busybox gzip is erroring because it doesn't make sense to request best compression when decompressing to stdout in this command: eval GZIP= gzip --best -dc gparted-1.4.0-git.tar.gz | ${TAR-tar} xf - Fix by installing the GNU gzip package into Alpine Linux test CI job docker image. Closes !104 - Add Alpine Linux CI jobs and resolve label and UUID issues with FAT16/32
This commit is contained in:
parent
7368f55a2f
commit
b7f951bcb8
|
@ -14,7 +14,7 @@ stages:
|
||||||
# Extra packages only needed during the test stage.
|
# Extra packages only needed during the test stage.
|
||||||
- apk add btrfs-progs btrfs-progs-extra e2fsprogs e2fsprogs-extra exfatprogs
|
- apk add btrfs-progs btrfs-progs-extra e2fsprogs e2fsprogs-extra exfatprogs
|
||||||
dosfstools mtools f2fs-tools jfsutils cryptsetup lvm2 udftools
|
dosfstools mtools f2fs-tools jfsutils cryptsetup lvm2 udftools
|
||||||
xfsprogs xfsprogs-extra xvfb-run kmod
|
xfsprogs xfsprogs-extra xvfb-run kmod gzip
|
||||||
|
|
||||||
.centos_image_template: ¢os_image_definition
|
.centos_image_template: ¢os_image_definition
|
||||||
# Use official CentOS image https://hub.docker.com/_/centos/.
|
# Use official CentOS image https://hub.docker.com/_/centos/.
|
||||||
|
|
Loading…
Reference in New Issue