Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383913 - net-misc/proxychains: multilib support
Summary: net-misc/proxychains: multilib support
Status: RESOLVED DUPLICATE of bug 145737
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 10:38 UTC by Alexandre Nuno Milheiro
Modified: 2011-09-25 19:45 UTC (History)
0 users

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


Attachments
ebuild for multilib proxychains (proxychains-3.1_p20110225.ebuild,2.10 KB, text/plain)
2011-09-21 10:44 UTC, Alexandre Nuno Milheiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Nuno Milheiro 2011-09-21 10:38:05 UTC
In a multilib environment proxychains only builds libproxychains libraries for x86_64. It causes 32 bits apps to preload libproxychians library

Reproducible: Always

Steps to Reproduce:
1. install a 32 bits app in a x86_64 system (wine for example)
2. install proxychains
3. execute <proxychains wine>
Actual Results:  
ProxyChains-3.1 (http://proxychains.sf.net)
ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded: ignored.
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit


Expected Results:  
ProxyChains-3.1 (http://proxychains.sf.net)
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit


This is not a wine related problem wine is only an example of a 32 bits application here
Comment 1 Alexandre Nuno Milheiro 2011-09-21 10:44:12 UTC
Created attachment 287253 [details]
ebuild for multilib proxychains

I made this ebuild taking inspiration on sandbox ebuild as sandbox faces a similar issue in multilib environment.

This ebuild does not work it shouts an error in src_install()

(...)
/usr/bin/install: cannot create regular file `/var/tmp/portage/net-misc/proxychains-3.1_p20110225/image//etc/../../proxychains-3.1_p20110225/proxychains/proxychains.conf': No such file or directory
(...)

It looks like it would be trivial to correct but I lack the time right now,
However it was enough to grab the /usr/lib32/* files from the image dir and solve the issue.
Comment 2 SpanKY gentoo-dev 2011-09-25 19:45:21 UTC
we are not adding handcoded multilib support to arbitrary packages

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