Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217538 - net-misc/neon-0.28.2 compilation fails with USE flag socks5
Summary: net-misc/neon-0.28.2 compilation fails with USE flag socks5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 217888 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-13 18:38 UTC by BedOS_Gui
Modified: 2008-04-19 09:38 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,85.61 KB, text/plain)
2008-04-13 18:40 UTC, BedOS_Gui
Details
build log (net-misc:neon-0.28.2:20080413-183859.log,12.19 KB, text/plain)
2008-04-13 18:40 UTC, BedOS_Gui
Details
emerge --info (emerge--info,11.35 KB, text/plain)
2008-04-13 18:42 UTC, BedOS_Gui
Details
Have ebuild replace socks5 by socks (bug217538a.patch,425 bytes, patch)
2008-04-14 10:29 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2008-04-13 18:38:31 UTC
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 BedOS_Gui 2008-04-13 18:40:14 UTC
Created attachment 149589 [details]
config.log
Comment 2 BedOS_Gui 2008-04-13 18:40:54 UTC
Created attachment 149591 [details]
build log
Comment 3 BedOS_Gui 2008-04-13 18:42:23 UTC
Created attachment 149592 [details]
emerge --info
Comment 4 Martin von Gagern 2008-04-14 10:07:04 UTC
Same for net-misc/neon-0.28.1
Comment 5 Martin von Gagern 2008-04-14 10:29:46 UTC
Created attachment 149665 [details, diff]
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 Martin von Gagern 2008-04-14 11:39:23 UTC
(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 Triffid Hunter 2008-04-16 01:48:29 UTC
*** Bug 217888 has been marked as a duplicate of this bug. ***
Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2008-04-19 09:38:26 UTC
fixed, thanks