Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276051 - sys-apps/pciutils-3.0.2+: libpci.a is missing
Summary: sys-apps/pciutils-3.0.2+: libpci.a is missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 09:17 UTC by Antoine Martin
Modified: 2011-03-27 15:37 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 Antoine Martin 2009-07-01 09:17:27 UTC
Here are the /usr/lib files it installs:

--- replaced obj /usr/lib64/pkgconfig/libpci.pc
--- replaced dir /usr/lib64/pkgconfig
--- replaced obj /usr/lib64/libpci.so.3.0.2
--- replaced sym /usr/lib64/libpci.so.3
--- replaced sym /usr/lib64/libpci.so
--- replaced dir /usr/lib64

According to bug #138035
libpci.a was meant to be installed instead of libpci.so* since pciutils-2.2.3-r1:
"Dont install libpci.so anymore, but install a PIC libpci.a like Debian."
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-05 07:38:45 UTC
This .so vs. .a change was done back in 2006. I guess we now have a good reason for providing the .so files only...
Let's see what our pciutils-maintainers can say about that.
Comment 2 SpanKY gentoo-dev 2009-07-05 17:19:04 UTC
the issues you refer to are outdated.  upstream switched to a shared libpci.
Comment 3 Antoine Martin 2009-07-05 17:52:58 UTC
So how am I supposed to build static packages that rely on the presence of libpci.a?
ie: kvm-87
Comment 4 Antoine Martin 2010-05-29 09:24:13 UTC
(In reply to comment #3)
> So how am I supposed to build static packages that rely on the presence of
> libpci.a?
> ie: kvm-87
> 
Still cannot build static qemu-kvm without libpci.a

Anyone?
Comment 5 Jérôme Poulin 2010-09-07 21:58:59 UTC
This is still broken, no .a file since the bug started, can't build qemu-kvm using the static flag neither.

jerome@MobileCPU ~ % gcc -o test test.c -lpci -static
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpci
collect2: ld returned 1 exit status

jerome@MobileCPU ~ % gcc -o test test.c -lpci        
(succeed)
Comment 6 SpanKY gentoo-dev 2011-03-27 15:37:31 UTC
dont build static apps then.  no real good reason for doing so.

pciutils-3.1.7-r1 has a USE=static-libs hack for now.