<?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>184005</bug_id>
          
          <creation_ts>2007-07-02 17:35 0000</creation_ts>
          <short_desc>sys-boot/efibootmgr fails to compile if sys-apps/pciutils is build with USE=&quot;zlib&quot;</short_desc>
          <delta_ts>2008-02-20 02:42:47 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>IA64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>180554</blocked>
          <votes>10</votes>
          <everconfirmed>1</everconfirmed>
          <reporter>ahf@0x90.dk</reporter>
          <assigned_to>ia64@gentoo.org</assigned_to>
          <cc>m.debruijne@matrict.nl</cc>

      

      
          <long_desc isprivate="0">
            <who>ahf@0x90.dk</who>
            <bug_when>2007-07-02 17:35:39 0000</bug_when>
            <thetext>sys-boot/efibootmgr fails to compile if sys-apps/pciutils is build with USE=&quot;zlib&quot;.

zlib is default USE flag and breaks users running with default setup from installing Gentoo on their IA64 based system with EFI.

Please fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ahf@0x90.dk</who>
            <bug_when>2007-07-02 17:36:22 0000</bug_when>
            <thetext>Created an attachment (id=123706)
paludis --info

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-07-02 21:23:18 0000</bug_when>
            <thetext>No, we won&apos;t fix this, because we oh so totally need to save the disk space! :P</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-07-05 19:26:05 0000</bug_when>
            <thetext>Jakub, thanks for the valued input.  Such an attitude and comments definitely assist in helping get this bug resolved in a timely manner.  *rolleyes*

Alexander, can you post the actual error message from the compile?

Thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ahf@0x90.dk</who>
            <bug_when>2007-07-05 19:59:52 0000</bug_when>
            <thetext>Created an attachment (id=123998)
Fixed ebuild.

Hi Chris,

It was a linking issue where it failed to link against &apos;z&apos;. A fixed ebuild with a solution is included.

If you have any better solution feel free to use that instead.

Regards,
Alex</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-07-11 14:18:47 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ahf@0x90.dk</who>
            <bug_when>2007-07-11 18:47:00 0000</bug_when>
            <thetext>I&apos;m reopening it, since I think it needs a proper fix.

I talked with Mike (vapier) and he suggested using pkg-config and getting a patch approved upstream would be the right solution. I agree with that.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ceztko@gmail.com</who>
            <bug_when>2007-08-06 13:30:55 0000</bug_when>
            <thetext>The following is a message of a debian developer, Steve Langasek. Maybe nothing new, but more info on the bug :-D

I suffer this on a x86-64 system, so it&apos;s not a IA64 problem only.

----------------------------------------

&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `pci_load_name_list&apos;:
&gt; &gt; (.text+0x533): undefined reference to `gzopen&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `pci_load_name_list&apos;:
&gt; &gt; (.text+0x5cd): undefined reference to `gzgets&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L154&apos;:
&gt; &gt; (.text+0x6d3): undefined reference to `gzclose&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L154&apos;:
&gt; &gt; (.text+0x6f8): undefined reference to `gzeof&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L154&apos;:
&gt; &gt; (.text+0x788): undefined reference to `gzclose&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L154&apos;:
&gt; &gt; (.text+0xb9c): undefined reference to `gzopen&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L155&apos;:
&gt; &gt; (.text+0xd33): undefined reference to `gzerror&apos;
&gt; &gt; /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libpci.a(names.o): In function `.L155&apos;:
&gt; &gt; (.text+0xd53): undefined reference to `gzclose&apos;
&gt; &gt; collect2: ld returned 1 exit status
&gt; &gt; make[1]: *** [toshsat1800-irdasetup] Error 1
&gt; &gt; make[1]: Leaving directory `/build/buildd/toshset-1.72/toshsat1800-irdasetup-0.2&apos;
&gt; &gt; make: *** [build-stamp] Error 2

&gt; Probably caused by pciutils-dev broken.

Indeed, libpci.a now depends on libz, but pciutils-dev doesn&apos;t have a
dependency reflecting this -- nor, for that matter, is there any facility in
pciutils-dev that lets consumers of this library know what other libs one
needs to link against! Seeing now that pciutils-dev *only* provides a
static library, it seems that this is going to require quite a few source
changes in the reverse-dependencies, so I&apos;m pre-emptively freezing pciutils
in etch at its current version to avoid adding 11 new release-critical bugs
to etch unnecessarily.

Going forward, it would be ideal if pciutils-dev would add support for
pkg-config so that reverse-dependencies could query pkg-config --libs
--static for the necessary extra lib information; even with this support in
place, though, I don&apos;t think it&apos;s advisable to ask reverse-dep maintainers
to switch to this until etch is frozen, since testing will /not/ have the
necessary facility. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2007-11-02 21:55:12 0000</bug_when>
            <thetext>ia64:
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>vapier@gentoo.org</who>
            <bug_when>2008-02-20 02:42:47 0000</bug_when>
            <thetext>this has been fixed</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>123706</attachid>
            <date>2007-07-02 17:36 0000</date>
            <desc>paludis --info</desc>
            <filename>paludis-info.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">cGFsdWRpcyAwLjI0LjIKCkJ1aWx0IGJ5IHJvb3RAbGl2ZWNkIG9uIDIwMDctMDctMDJUMTc6NDI6
MzYrMDAwMApDWFg6ICAgICAgICAgaWE2NC11bmtub3duLWxpbnV4LWdudS1nKysgNC4xLjEgKEdl
bnRvbyA0LjEuMS1yMykKQ1hYRkxBR1M6ICAgIC1PMiAtcGlwZQpMREZMQUdTOiAgICAgCkRBVEFE
SVI6ICAgICAvdXNyL3NoYXJlCkxJQkRJUjogICAgICAvdXNyL2xpYgpMSUJFWEVDRElSOiAgL3Vz
ci9saWJleGVjClNZU0NPTkZESVI6ICAvZXRjCnN0ZGxpYjogICAgICBHTlUgbGlic3RkYysrIDIw
MDYwNTI0CmxpYmVidDogICAgICAxLjMuMApsaWJ3cmFwaXRlcjogMS4yLjAKc2FuZGJveDogICAg
IGVuYWJsZWQKClJlcG9zaXRvcnkgdmlydHVhbHM6CiAgICBDb25maWd1cmF0aW9uIGluZm9ybWF0
aW9uOgogICAgICAgIGZvcm1hdDogICAgICAgICAgICAgICAgdmlydHVhbHMKClJlcG9zaXRvcnkg
aW5zdGFsbGVkX3ZpcnR1YWxzOgogICAgQ29uZmlndXJhdGlvbiBpbmZvcm1hdGlvbjoKICAgICAg
ICBmb3JtYXQ6ICAgICAgICAgICAgICAgIGluc3RhbGxlZF92aXJ0dWFscwoKUmVwb3NpdG9yeSB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gICAgICAgc2V0c2RpcjogICAgICAgICAgICAgICAvdmFyL3Bh
bHVkaXMvcmVwb3NpdG9yaWVzL2dlbnRvby9zZXRzCiAgICAgICAgc3luYzogICAgICAgICAgICAg
ICAgICByc3luYzovL3JzeW5jLmV1cm9wZS5nZW50b28ub3JnL2dlbnRvby1wb3J0YWdlCiAgICAg
ICAgc3luY19vcHRpb25zOiAgICAgICAgICAKICAgICAgICB3cml0ZV9jYWNoZTogICAgICAgICAg
IC92YXIvcGFsdWRpcy9yZXBvc2l0b3JpZXMvZ2VudG9vLy5jYWNoZS93cml0ZQoKICAgIFBhY2th
Z2UgaW5mb3JtYXRpb246CiAgICAgICAgYXBwLWFkbWluL2VzZWxlY3QtY29tcGlsZXI6IChub25l
KQogICAgICAgIGRldi1qYXZhL2phdmEtY29uZmlnOiAgKG5vbmUpCiAgICAgICAgZGV2LWxhbmcv
cHl0aG9uOiAgICAgICAyLjQuMy1yNAogICAgICAgIGRldi1weXRob24vcHljcnlwdG86ICAgMi4w
LjEtcjUKICAgICAgICBkZXYtdXRpbC9jY2FjaGU6ICAgICAgIChub25lKQogICAgICAgIGRldi11
dGlsL2NvbmZjYWNoZTogICAgKG5vbmUpCiAgICAgICAgc3lzLWFwcHMvc2FuZGJveDogICAgICAx
LjIuMTcKICAgICAgICBzeXMtZGV2ZWwvYXV0b2NvbmY6ICAgIDIuNjEKICAgICAgICBzeXMtZGV2
ZWwvYXV0b21ha2U6ICAgIDEuOC41LXIzLCAxLjEwCiAgICAgICAgc3lzLWRldmVsL2JpbnV0aWxz
OiAgICAyLjE3CiAgICAgICAgc3lzLWRldmVsL2djYy1jb25maWc6ICAxLjMuMTQKICAgICAgICBz
eXMtZGV2ZWwvbGlidG9vbDogICAgIDEuNS4yMgogICAgICAgIHZpcnR1YWwvb3MtaGVhZGVyczog
ICAgMi42LjExLXI2CgogICAgVmFyaWFibGUgaW5mb3JtYXRpb246CiAgICAgICAgQUNDRVBUX0tF
WVdPUkRTOiAgICAgICAKICAgICAgICBBVVRPQ0xFQU46ICAgICAgICAgICAgIAogICAgICAgIENC
VUlMRDogICAgICAgICAgICAgICAgaWE2NC11bmtub3duLWxpbnV4LWdudQogICAgICAgIENGTEFH
UzogICAgICAgICAgICAgICAgLU8yIC1waXBlIC1EX19NWVNUSUNfR09BVF9NQUdJQ19fCiAgICAg
ICAgQ0hPU1Q6ICAgICAgICAgICAgICAgICBpYTY0LXVua25vd24tbGludXgtZ251CiAgICAgICAg
Q09ORklHX1BST1RFQ1Q6ICAgICAgICAgCiAgICAgICAgQ09ORklHX1BST1RFQ1RfTUFTSzogICAg
CiAgICAgICAgQ1RBUkdFVDogICAgICAgICAgICAgICAKICAgICAgICBDWFhGTEFHUzogICAgICAg
ICAgICAgIC1PMiAtcGlwZSAtRF9fTVlTVElDX0dPQVRfTUFHSUNfXwogICAgICAgIERJU1RESVI6
ICAgICAgICAgICAgICAgL3Zhci9wYWx1ZGlzL3JlcG9zaXRvcmllcy9nZW50b28vZGlzdGZpbGVz
CiAgICAgICAgRkVBVFVSRVM6ICAgICAgICAgICAgICAKICAgICAgICBHRU5UT09fTUlSUk9SUzog
ICAgICAgIAogICAgICAgIElOU1RBTExfTUFTSzogICAgICAgICAgCiAgICAgICAgTEFORzogICAg
ICAgICAgICAgICAgICAKICAgICAgICBMQ19BTEw6ICAgICAgICAgICAgICAgIAogICAgICAgIExE
RkxBR1M6ICAgICAgICAgICAgICAgCiAgICAgICAgTElOR1VBUzogICAgICAgICAgICAgICAKICAg
ICAgICBNQUtFT1BUUzogICAgICAgICAgICAgIC1qNAogICAgICAgIFBLR0RJUjogICAgICAgICAg
ICAgICAgCiAgICAgICAgUE9SVEFHRV9DT01QUkVTUzogICAgICAKICAgICAgICBQT1JUQUdFX0NP
TVBSRVNTX0ZMQUdTOiAKICAgICAgICBQT1JUQUdFX1JTWU5DX0VYVFJBX09QVFM6IAogICAgICAg
IFBPUlRBR0VfUlNZTkNfT1BUUzogICAgCiAgICAgICAgUE9SVEFHRV9UTVBESVI6ICAgICAgICAv
dmFyL3RtcC9wYWx1ZGlzCiAgICAgICAgUE9SVERJUjogICAgICAgICAgICAgICAvdmFyL3BhbHVk
aXMvcmVwb3NpdG9yaWVzL2dlbnRvbwogICAgICAgIFBPUlRESVJfT1ZFUkxBWTogICAgICAgCiAg
ICAgICAgU1lOQzogICAgICAgICAgICAgICAgICAKICAgICAgICBVU0U6ICAgICAgICAgICAgICAg
ICAgIAoKUmVwb3NpdG9yeSBpbnN0YWxsZWQ6CiAgICBDb25maWd1cmF0aW9uIGluZm9ybWF0aW9u
OgogICAgICAgIGJ1aWxkcm9vdDogICAgICAgICAgICAgL3Zhci90bXAvcGFsdWRpcwogICAgICAg
IGZvcm1hdDogICAgICAgICAgICAgICAgdmRiCiAgICAgICAgbG9jYXRpb246ICAgICAgICAgICAg
ICAvdmFyL2RiL3BrZwogICAgICAgIG5hbWVzX2NhY2hlOiAgICAgICAgICAgL3Zhci9kYi9wa2cv
LmNhY2hlL25hbWVzCiAgICAgICAgcHJvdmlkZXNfY2FjaGU6ICAgICAgICAvdmFyL2RiL3BrZy8u
Y2FjaGUvcHJvdmlkZXMKICAgICAgICByb290OiAgICAgICAgICAgICAgICAgIC8KICAgICAgICB3
b3JsZDogICAgICAgICAgICAgICAgIC92YXIvZGIvcGtnL3dvcmxkCgoK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>123998</attachid>
            <date>2007-07-05 19:59 0000</date>
            <desc>Fixed ebuild.</desc>
            <filename>efibootmgr-0.5.3.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L3N5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