Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190017 - app-laptop/macbook-backlight doesn't compile if sys-apps/pciutils is emerged with the zlib USE flag
Summary: app-laptop/macbook-backlight doesn't compile if sys-apps/pciutils is emerged ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 09:45 UTC by Bart Van Loon
Modified: 2007-08-24 21:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Van Loon 2007-08-24 09:45:14 UTC
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 Cédric Krier gentoo-dev 2007-08-24 21:39:40 UTC
Fix in cvs
Thanks
Comment 2 Bart Van Loon 2007-08-24 21:51:40 UTC
(In reply to comment #1)
> Fix in cvs
> Thanks

no. thank you!

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