First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 218745
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Network Proxy Developers <net-proxy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Grant Goodyear <g2boojum@gentoo.org>
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 218745 depends on: Show dependency tree
Show dependency graph
Bug 218745 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: 2008-04-21 16:19 0000
The pam-1.0.1 ebuild removes .la files, so the neon compile breaks:

make[1]: Entering directory
`/var/tmp/paludis/net-misc-neon-0.28.2/work/neon-0.28.2/src'
/bin/sh ../libtool --quiet --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
 -D_LARGEFILE64_SOURCE -DNE_LFS   -I.. -O2 -march=i686 -pipe -ggdb -c
ne_request.c -o ne_request.lo
.
.
.
[stuff snipped]
.
.
.
/bin/sh ../libtool --quiet --mode=link i686-pc-linux-gnu-gcc -no-undefined 
-rpath /usr/lib -version-info 28:2:1 -export-symbols-regex '^ne_[^_]' -o
libneon.la ne_request.lo ne_session.lo ne_basic.lo  ne_string.lo ne_uri.lo
ne_dates.lo ne_alloc.lo ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo
ne_redirect.lo ne_compress.lo ne_i18n.lo ne_pkcs11.lo ne_207.lo ne_xml.lo
ne_props.lo ne_locks.lo ne_xmlreq.lo  ne_acl.lo ne_openssl.lo -lz -lssl
-lcrypto -ldl   -lsocks -lexpat 
grep: /usr/lib/libpam.la: No such file or directory
/bin/sed: can't read /usr/lib/libpam.la: No such file or directory
libtool: link: `/usr/lib/libpam.la' is not a valid libtool archive

Temporary workaround: comment out the find command that removes the .la files
and remerge pam.

------- Comment #1 From Diego Pettenò 2008-04-21 16:30:12 0000 -------
Grant, I sincerely expected better from you ;)

Although I have to say, I'm intrigued on _why_ your neon library links to
libpam, as it sounds pretty stupid to me, and probably something worth fixing,
care to share your emerge -pv neon?

*** This bug has been marked as a duplicate of bug 218286 ***

------- Comment #2 From Grant Goodyear 2008-04-21 20:49:34 0000 -------
Whoops, sorry.

# paludis -ip neon
Building target list... 
Building dependency list...

These packages will be installed:

* net-misc/neon [R 0.28.2] <target>
    -doc expat -gnutls -kerberos nls -pkcs11 socks5 ssl zlib linguas: -cs -de
-fr -ja -nn -pl -ru -tr -zh_CN

------- Comment #3 From Diego Pettenò 2008-04-21 20:52:47 0000 -------
Then I'll deem it a local screwup, I was betting pkcs11, I don't see how socks5
imports it...

------- Comment #4 From Benjamin Smee (strerror) (RETIRED) 2008-04-25 18:01:45 0000 -------
I've got the same problem, same flags.

------- Comment #5 From Diego Pettenò 2008-04-25 18:06:53 0000 -------
Can you grep around your .la files to see which one is importing libpam into
the thing?

------- Comment #6 From Diego Pettenò 2008-04-26 11:00:34 0000 -------
Okay found the problem: dante puts -lpam in LIBS and so it creeps in the
linking list for everything using dante. Which is not a good thing at all, as
it makes it quite difficult to turn PAM off in a system unless using
--as-needed, and even then...

A quick look at the compiled sources shows that the only file using PAM
functions is /usr/sbin/sockd (the daemon).

------- Comment #7 From Diego Pettenò 2008-04-26 11:02:01 0000 -------
Minor priority to me. If net-proxy wants to investigate, the easy way out is to
change the configure.ac not to keep the libraries in the LIBS variable, but
rather add a LIBPAM variable with -lpam in it, then just add it to the LDADD
for sockd.

------- Comment #8 From Alin Năstac 2008-06-24 20:59:40 0000 -------
Fixed in dante-1.1.19-r2.

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