Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408427 - net-misc/proxychains-3.1_p20110225 not working
Summary: net-misc/proxychains-3.1_p20110225 not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: PATCH
: 434718 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-16 01:25 UTC by Conrad
Modified: 2012-10-04 22:29 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge.info,4.52 KB, text/plain)
2012-03-16 01:25 UTC, Conrad
Details
Working patch against glibc 2.14 (proxychains-3.1_p20110225-glibc214.patch,440 bytes, patch)
2012-05-08 12:10 UTC, SpOeK
Details | Diff
New patch, working with glibc-2.15-r2 (proxychains-3.1_p20110225-glibc214.patch,1.84 KB, patch)
2012-08-26 12:33 UTC, Ilya Gordeev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad 2012-03-16 01:25:57 UTC
Created attachment 305565 [details]
emerge --info

net-misc/proxychains-3.1_p20110225 does not work (tested on amd64 system)

It compiles fine but does neither produce any output nor apply the proxy settings.

tested with and without USE="static-libs"

net-misc/proxychains-3.1 works fine with the very same config
Comment 1 SpOeK 2012-05-08 12:10:52 UTC
Created attachment 311173 [details, diff]
Working patch against glibc 2.14

Yes, the culprit is the patch "proxychains-3.1_p20110225-glibc214.patch" as reported in https://bugs.gentoo.org/show_bug.cgi?id=375065#c2

I have attached a working one but I do not know if the ebuild should be modified to check first which version of glibc is installed.
Comment 2 MickKi 2012-05-16 15:52:31 UTC
I experienced the same problem on an amd64 box too.

Just applied the patch and it works fine with glibc-2.14.1-r3. [1]

Given that the current ebuild/patch does not work, how long before this fix makes it to the tree?
-- 
Regards,
Mick


[1]  $ emerge --info proxychains
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 15 May 2012 17:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo enlightenment x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://10.10.10.5:1024/ http://gentoo.virginmedia.com/ http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/ http://mirror.mdfnet.se/mirror/gentoo http://gentoo.wheel.sk/ http://gentoo.mirror.pw.edu.pl/"
LANG="en_GB.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5 -l12.8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /usr/local/portage"
SYNC="rsync://10.10.10.5/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apng berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr chroot cli consolekit cracklib crypt css cups cxx dbus dell dri dts dvd dvdr emboss encode exif faac fam firefox flac fortran fts3 gdbm gif gpm hddtemp hpijs iconv imagemagick ipv6 irda jpeg kde lcms ldap libnotify libv4l2 live lm_sensors logrotate mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses network-cron new-hpcups nls nodrm nptl nsplugin obex ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 quicktime rdesktop readline redland rtmp sdl semantic-desktop session shout smime spell sqlite sse sse2 sse4_1 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l2 vaapi vnc vorbis vpx wps wxwidgets x264 xcb xml xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-misc/proxychains-3.1_p20110225 was built with the following:
USE="(multilib) -static-libs"
Comment 3 Ilya Gordeev 2012-08-26 12:33:10 UTC
Created attachment 322260 [details, diff]
New patch, working with glibc-2.15-r2

Please, see this patch or previous and replace the one in the CVS because that patch is completely incorrect!
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-11 15:12:15 UTC
*** Bug 434718 has been marked as a duplicate of this bug. ***
Comment 5 Maxim Kammerer 2012-10-04 22:04:38 UTC
(In reply to comment #3)
> Created attachment 322260 [details, diff] [details, diff]
> New patch, working with glibc-2.15-r2

Works on x86, thanks!

> Please, see this patch or previous and replace the one in the CVS because
> that patch is completely incorrect!

The author of the existing patch apparently misunderstood the purpose of the functions in libproxychains.c.
Comment 6 Tim Harder gentoo-dev 2012-10-04 22:29:31 UTC
Fixed in proxychains-3.1_p20110225-r1 in CVS.