tag 450448 patch thanks Lucas Nussbaum <[EMAIL PROTECTED]> (07/11/2007): > cc -DEFIBOOTMGR_VERSION=\"0.5.3\" -Wall -g -D_FILE_OFFSET_BITS=64 -Isrc/lib > -Isrc/include -c -o src/lib/efivars_sysfs.o src/lib/efivars_sysfs.c > cc -DEFIBOOTMGR_VERSION=\"0.5.3\" -Wall -g -D_FILE_OFFSET_BITS=64 -Isrc/lib > -Isrc/include src/efibootmgr/efibootmgr.c src/lib/crc32.o src/lib/disk.o > src/lib/efi.o src/lib/efichar.o src/lib/gpt.o src/lib/scsi_ioctls.o > src/lib/unparse_path.o src/lib/efivars_procfs.o src/lib/efivars_sysfs.o > /usr/lib/libpci.a -o src/efibootmgr/efibootmgr > /usr/lib/libpci.a(names.o): In function `pci_load_name_list': > (.text+0x533): undefined reference to `gzopen' > /usr/lib/libpci.a(names.o): In function `pci_load_name_list': > (.text+0x5cc): undefined reference to `gzgets' > /usr/lib/libpci.a(names.o): In function `pci_load_name_list': > (.text+0x628): undefined reference to `gzeof' > /usr/lib/libpci.a(names.o): In function `.L154': > (.text+0x6e6): undefined reference to `gzclose' > /usr/lib/libpci.a(names.o): In function `.L154': > (.text+0x7c5): undefined reference to `gzclose' > /usr/lib/libpci.a(names.o): In function `.L154': > (.text+0xb59): undefined reference to `gzerror' > /usr/lib/libpci.a(names.o): In function `.L154': > (.text+0xb7d): undefined reference to `gzclose' > /usr/lib/libpci.a(names.o): In function `.L154': > (.text+0xc1b): undefined reference to `gzopen' > collect2: ld returned 1 exit status > make[1]: *** [src/efibootmgr/efibootmgr] Error 1 > make[1]: Leaving directory `/build/user/efibootmgr-0.5.3' > make: *** [build-stamp] Error 2 > dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Hi, please find attached a patch to fix this, and get rid of the lintian warning about ignoring make clean errors (you don't need the “[ ! -f Makefile ] || …” trick since you're not using auto*). Cheers, -- Cyril Brulebois
diff -u efibootmgr-0.5.3/debian/rules efibootmgr-0.5.3/debian/rules --- efibootmgr-0.5.3/debian/rules +++ efibootmgr-0.5.3/debian/rules @@ -16,7 +16,7 @@ dh_testdir dh_testroot rm -f build-stamp configure-stamp - -$(MAKE) clean + $(MAKE) clean dh_clean install: build only in patch2: unchanged: --- efibootmgr-0.5.3.orig/Makefile +++ efibootmgr-0.5.3/Makefile @@ -11,6 +11,8 @@ CFLAGS += -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR).$(RELEASE_SUBLEVEL)$(RELEASE_EXTRALEVEL)\" \ -Wall -g -D_FILE_OFFSET_BITS=64 + LDFLAGS += -lz + MODULES := src BINDIR := /usr/sbin
pgpVLFRHXiaPT.pgp
Description: PGP signature