<?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>192791</bug_id>
          
          <creation_ts>2007-09-17 10:00 0000</creation_ts>
          <short_desc>USE=zlib : sys-block/viaideinfo-0.4 fails to build against sys-apps/pciutils-2.2.4-r3</short_desc>
          <delta_ts>2008-04-10 19:23:44 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>2006.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>j.habenicht@gmx.de</reporter>
          <assigned_to>dsd@gentoo.org</assigned_to>
          <cc>hkmaly@bigfoot.com</cc>

      

      
          <long_desc isprivate="0">
            <who>j.habenicht@gmx.de</who>
            <bug_when>2007-09-17 10:00:54 0000</bug_when>
            <thetext>Output of compilation:

Making all in src
make[2]: Entering directory `/var/tmp/portage/sys-block/viaideinfo-0.4/work/viaideinfo-0.4/src&apos;
if i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -Os -march=c3 -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF &quot;.deps/main.Tpo&quot; -c -o main.o main.c;
\
        then mv -f &quot;.deps/main.Tpo&quot; &quot;.deps/main.Po&quot;; else rm -f &quot;.deps/main.Tpo&quot;
; exit 1; fi
i586-pc-linux-gnu-gcc  -Os -march=c3 -pipe -fomit-frame-pointer   -o viaideinfo
 main.o -lpci
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `pci_load_name_list&apos;:
(.text+0x353): undefined reference to `gzopen&apos;
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `pci_load_name_list&apos;:
(.text+0x3e2): undefined reference to `gzopen&apos;
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `pci_load_name_list&apos;:
(.text+0x495): undefined reference to `gzeof&apos;
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `.L157&apos;:
(.text+0x8d5): undefined reference to `gzgets&apos;
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `.L157&apos;:
(.text+0x8f4): undefined reference to `gzerror&apos;
/usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libpci.a(names.o): In function `.L157&apos;:
(.text+0x918): undefined reference to `gzclose&apos;
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [viaideinfo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-block/viaideinfo-0.4/work/viaideinfo-0.4/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-block/viaideinfo-0.4/work/viaideinfo-0.4&apos;
make: *** [all] Error 2



Reproducible: Always




This bug is similar to bug #160937
The bug was fixed in the application ebuild thus I assume to fix the ebuild here, too. (That is, if you like to release viaideinfo-0.4-r1)

sys-block/viaideinfo-0.5 compiles but is marked unstable.
sys-block/viaideinfo-0.4 is marked stable but does not compile cleanly. 
Maybe there is a &quot;stabilisation mismatch&quot;?

regards</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-11-02 21:54:28 0000</bug_when>
            <thetext>dsd:
pciutils does provide a pkg-config file as of 2.2.6*, please use it to find the correct libs to link against.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2008-04-10 09:47:05 0000</bug_when>
            <thetext>Oops? CCing x86 so they can mark 0.5 stable as 0.4 doesn&apos;t build.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2008-04-10 19:23:44 0000</bug_when>
            <thetext>x86 stable, all done.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>