<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>190017</bug_id>
          
          <creation_ts>2007-08-24 09:45 0000</creation_ts>
          <short_desc>app-laptop/macbook-backlight doesn&apos;t compile if sys-apps/pciutils is emerged with the zlib USE flag</short_desc>
          <delta_ts>2007-08-24 21:51:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bart@inGen.be</reporter>
          <assigned_to>cedk@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>bart@inGen.be</who>
            <bug_when>2007-08-24 09:45:14 0000</bug_when>
            <thetext>when trying to emerge app-laptop/macbook-backlight, compilation failed as follows:

&gt;&gt;&gt; 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&apos;:
(.text+0x4a8): undefined reference to `gzopen&apos;
/usr/lib/libpci.a(names.o): In function `pci_load_name_list&apos;:
(.text+0x52a): undefined reference to `gzgets&apos;
/usr/lib/libpci.a(names.o): In function `pci_load_name_list&apos;:
(.text+0x57c): undefined reference to `gzeof&apos;
/usr/lib/libpci.a(names.o): In function `.L145&apos;:
(.text+0x627): undefined reference to `gzclose&apos;
/usr/lib/libpci.a(names.o): In function `.L145&apos;:
(.text+0x7a3): undefined reference to `gzclose&apos;
/usr/lib/libpci.a(names.o): In function `.L166&apos;:
(.text+0xb8d): undefined reference to `gzopen&apos;
/usr/lib/libpci.a(names.o): In function `.L166&apos;:
(.text+0xbb7): undefined reference to `gzerror&apos;
/usr/lib/libpci.a(names.o): In function `.L166&apos;:
(.text+0xbd9): undefined reference to `gzclose&apos;
collect2: ld returned 1 exit status
make: *** [macbook-backlight] Error 1

after re-emerging sys-apps/pciutils with USE=&quot;-zlib&quot;, 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cedk@gentoo.org</who>
            <bug_when>2007-08-24 21:39:40 0000</bug_when>
            <thetext>Fix in cvs
Thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bart@inGen.be</who>
            <bug_when>2007-08-24 21:51:40 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Fix in cvs
&gt; Thanks

no. thank you!

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

</thetext>
          </long_desc>
      
    </bug>

</bugzilla>