Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 184005
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: IA-64 team <ia64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Færøy <ahf@0x90.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
paludis-info.txt paludis --info text/plain Alexander Færøy 2007-07-02 17:36 0000 3.60 KB Details
efibootmgr-0.5.3.ebuild Fixed ebuild. text/plain Alexander Færøy 2007-07-05 19:59 0000 784 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 184005 depends on: Show dependency tree
Bug 184005 blocks: 180554
Votes: 10    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-02 17:35 0000
sys-boot/efibootmgr fails to compile if sys-apps/pciutils is build with
USE="zlib".

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

Please fix.

------- Comment #1 From Alexander Færøy 2007-07-02 17:36:22 0000 -------
Created an attachment (id=123706) [details]
paludis --info

------- Comment #2 From Jakub Moc (RETIRED) 2007-07-02 21:23:18 0000 -------
No, we won't fix this, because we oh so totally need to save the disk space! :P

------- Comment #3 From Chris Gianelloni (RETIRED) 2007-07-05 19:26:05 0000 -------
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

------- Comment #4 From Alexander Færøy 2007-07-05 19:59:52 0000 -------
Created an attachment (id=123998) [details]
Fixed ebuild.

Hi Chris,

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

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

Regards,
Alex

------- Comment #5 From Raúl Porcel 2007-07-11 14:18:47 0000 -------
Fixed, thanks.

------- Comment #6 From Alexander Færøy 2007-07-11 18:47:00 0000 -------
I'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.

------- Comment #7 From Francesco Pretto 2007-08-06 13:30:55 0000 -------
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's not a IA64 problem only.

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

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

> Probably caused by pciutils-dev broken.

Indeed, libpci.a now depends on libz, but pciutils-dev doesn'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'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't think it's advisable to ask reverse-dep maintainers
to switch to this until etch is frozen, since testing will /not/ have the
necessary facility. 

------- Comment #8 From Robin Johnson 2007-11-02 21:55:12 0000 -------
ia64:
pciutils does provide a pkg-config file as of 2.2.6*, please use it to find the
correct libs to link against.

------- Comment #9 From SpanKY 2008-02-20 02:42:47 0000 -------
this has been fixed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug