Bug 217538 - net-misc/neon-0.28.2 compilation fails with USE flag socks5
Bug#: 217538 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: apache-bugs@gentoo.org Reported By: rufus-azrael@numericable.fr
Component: Applications
URL: 
Summary: net-misc/neon-0.28.2 compilation fails with USE flag socks5
Keywords:  
Status Whiteboard: 
Opened: 2008-04-13 18:38 0000
Description:   Opened: 2008-04-13 18:38 0000
When compiling neon-0.28.2 with "socks5" USE flag this error occurs :

checking for connect in -lsocks5... no
configure: error: could not find libsocks5 for SOCKS support

!!! ERROR in net-misc/neon-0.28.2:
!!! In econf at line 1928
!!! econf failed

No error with USE="-socks5"

Reproducible: Always

------- Comment #1 From BedOS_Gui 2008-04-13 18:40:14 0000 -------
Created an attachment (id=149589) [details]
config.log

------- Comment #2 From BedOS_Gui 2008-04-13 18:40:54 0000 -------
Created an attachment (id=149591) [details]
build log

------- Comment #3 From BedOS_Gui 2008-04-13 18:42:23 0000 -------
Created an attachment (id=149592) [details]
emerge --info

------- Comment #4 From Martin von Gagern 2008-04-14 10:07:04 0000 -------
Same for net-misc/neon-0.28.1

------- Comment #5 From Martin von Gagern 2008-04-14 10:29:46 0000 -------
Created an attachment (id=149665) [details]
Have ebuild replace socks5 by socks

The library name "socks5" is hardcoded in neon.m4, so there are only two viable
solutions: either have dante create a symlink to its lib, or change the library
name in the configure script. The latter avoids changes to other packages, so
that's the path I took.

Compiles cleanly here, haven't tested a socksified connection, though.

The hardcoded library name is still present in upstream SVN:
http://svn.webdav.org/repos/projects/neon/trunk/macros/neon.m4
I'll inform upstream about this issue, although they'll need a more elaborate
fix, checking for different library names to work with their libsocks5.so as
well.

------- Comment #6 From Martin von Gagern 2008-04-14 11:39:23 0000 -------
(In reply to comment #5)
> I'll inform upstream about this issue

Joe Orton, the neon maintainer, told me that the next version would not rely on
any external libraries for socks support. Therefore this issue here should only
affect neon-0.28.{1,2}, and corresponding patches as well as the dependency on
dante can be dropped with the next version bump.

------- Comment #7 From Triffid Hunter 2008-04-16 01:48:29 0000 -------
*** Bug 217888 has been marked as a duplicate of this bug. ***

------- Comment #8 From Benedikt Böhm 2008-04-19 09:38:26 0000 -------
fixed, thanks