Re: [pacman-dev] [PATCH] Fix a possible bash-4.0 problem in makepkg
Am Dienstag, den 28.04.2009, 14:26 +1000 schrieb Allan McRae:
$ grep "File format not recognized" makepkg.log /usr/bin/strip:usr/lib/xen/boot/ioemu-stubdom.gz: File format not recognized /usr/bin/strip:usr/lib/xen/boot/pv-grub-x86_32.gz: File format not recognized /usr/bin/strip:usr/lib/xen/boot/pv-grub-x86_64.gz: File format not recognized Looks like it's a xen only problem as no other package deploys compressed contents in searchpath.
I don't think that it would work for xen as the files are bootable images that could depend on size and or symbols that we might strip out. An updated patch is attached. Marc
Am Dienstag, den 28.04.2009, 12:57 +0200 schrieb Marc - A. Dahlhaus [ Administration | Westermann GmbH ]:
An updated patch is attached.
Marc
This time inlined as the list munched it out of my message: makepkg: Fix strip execution on compressed binarys in tidy_install. Signed-of-by: Marc - A. Dahlhaus <mad@wol.de> --- pacman-3.2.2.orig/scripts/makepkg.sh.in +++ pacman-3.2.2/scripts/makepkg.sh.in @@ -765,6 +765,8 @@ tidy_install() { fi find ${STRIP_DIRS[@]} -type f 2>/dev/null | while read binary ; do case "$(file -biz "$binary")" in + *compressed-encoding*) + ;; # Skip compressed binarys *application/x-sharedlib*) # Libraries (.so) /usr/bin/strip --strip-debug "$binary";; *application/x-archive*) # Libraries (.a)
participants (1)
-
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]