First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97548
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pat Lougheed <patl@sfu.ca>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97548 depends on: Show dependency tree
Show dependency graph
Bug 97548 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2005-06-30 14:28 0000
libnet and torque both install an archive called libnet.a in /usr/lib.

# equery belongs /usr/lib/libnet.a
[ Searching for file(s) /usr/lib/libnet.a in *... ]
net-libs/libnet-1.1.2.1-r1 (/usr/lib/libnet.a)
sys-cluster/torque-1.2.0_p1 (/usr/lib/libnet.a)

Steps to reproduce:
1. emerge libnet
2. emerge torque
3. equery belongs /usr/lib/libnet.a

This is probably fundamentally an upstream problem, as calling something in a PBS system libnet seems kind of insane to me, but this should be checked for.

Note that libnet installs /usr/lib/libnet.so*, whereas torque does not. Any programs that later attempt to link against torque fail because collect picks up libnet.so from libnet before libnet.a from torque.

Also note that this issue likely affects sys-cluster/openpbs as well, but I haven't tested this.

------- Comment #1 From Robin Johnson 2005-07-04 14:21:08 0000 -------
is the libnet.a from the same source code, or is it totally different?

------- Comment #2 From Pat Lougheed 2005-07-04 14:34:14 0000 -------
Different source trees. All the net-libs/libnet source files for the library
are prefixed libnet_, appearing 
different in readelf. There's also a lot more source files included in libnet
than there are in the torque 
libnet.a.

------- Comment #3 From Robin Johnson 2005-07-04 15:57:38 0000 -------
looking at the libs of torque:
/usr/lib/libattr.a
/usr/lib/libcmds.a
/usr/lib/liblog.a
/usr/lib/libnet.a
/usr/lib/libpbs.a
/usr/lib/libsite.a
/usr/lib/pbs_sched.a

I see two possible options:
1. move them to /usr/lib/torque
2. rename them to libtorque_XXX or something similar.

------- Comment #4 From Robin Johnson 2005-07-04 16:59:43 0000 -------
ok after talking with patl directly, option #1 is best, as very few things link
against torque (and none of them are in the tree yet). They are only things like
alternative schedulers (eg maui) and interfaces for PBS.

------- Comment #5 From Robin Johnson 2005-07-04 18:12:02 0000 -------
fixed in cvs now, using /usr/$libdir/torque.

First Last Prev Next    No search results available      Search page      Enter new bug