Bug 190017 - app-laptop/macbook-backlight doesn't compile if sys-apps/pciutils is emerged with the zlib USE flag
Bug#: 190017 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: cedk@gentoo.org Reported By: bart@inGen.be
Component: Applications
URL: 
Summary: app-laptop/macbook-backlight doesn't compile if sys-apps/pciutils is emerged with the zlib USE flag
Keywords:  
Status Whiteboard: 
Opened: 2007-08-24 09:45 0000
Description:   Opened: 2007-08-24 09:45 0000
when trying to emerge app-laptop/macbook-backlight, compilation failed as
follows:

>>> Compiling source in /home/portage/portage/app-laptop/macbook-backlight-0.1/work/macbook-backlight-0.1 ...
CC main.c
CC -o macbook-backlight
/usr/lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x4a8): undefined reference to `gzopen'
/usr/lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x52a): undefined reference to `gzgets'
/usr/lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x57c): undefined reference to `gzeof'
/usr/lib/libpci.a(names.o): In function `.L145':
(.text+0x627): undefined reference to `gzclose'
/usr/lib/libpci.a(names.o): In function `.L145':
(.text+0x7a3): undefined reference to `gzclose'
/usr/lib/libpci.a(names.o): In function `.L166':
(.text+0xb8d): undefined reference to `gzopen'
/usr/lib/libpci.a(names.o): In function `.L166':
(.text+0xbb7): undefined reference to `gzerror'
/usr/lib/libpci.a(names.o): In function `.L166':
(.text+0xbd9): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [macbook-backlight] Error 1

after re-emerging sys-apps/pciutils with USE="-zlib",
app-laptop/macbook-backlight emerged fine.


Reproducible: Always

Steps to Reproduce:
1. USE=zlib emerge pciutils
2. emerge macbook-backlight

Actual Results:  
emerge fails

Expected Results:  
emerge succeeds

version info:
 app-laptop/macbook-backlight-0.1
 sys-apps/pciutils-2.2.4-r3

------- Comment #1 From Cédric Krier 2007-08-24 21:39:40 0000 -------
Fix in cvs
Thanks

------- Comment #2 From Bart Van Loon 2007-08-24 21:51:40 0000 -------
(In reply to comment #1)
> Fix in cvs
> Thanks

no. thank you!

(great response time, by the way :-))