Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91677 - proxychains 2.1-r2 sandbox violation
Summary: proxychains 2.1-r2 sandbox violation
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 05:07 UTC by Patrizio Bassi
Modified: 2006-08-23 06:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2005-05-06 05:07:50 UTC
that's pretty clear, nothing to add :)


 /bin/sh ../libtool  --mode=install /bin/install -c  proxychains /var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/install -c proxychains /var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/include
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/include
/bin/sh ../mkinstalldirs /etc/
/bin/install -c -m 644 ./proxychains.conf /etc/proxychains.conf
ACCESS DENIED   unlink:    /etc/proxychains.conf
/bin/install: impossibile rimuovere `/etc/proxychains.conf': Permission denied
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make: *** [install-recursive] Error 1

!!! ERROR: net-misc/proxychains-2.1-r2 failed.
!!! Function src_install, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-misc_-_proxychains-2.1-r2-2842.log"

unlink:    /etc/proxychains.conf
--------------------------------------------------------------------------------
Comment 1 SpanKY gentoo-dev 2005-05-06 15:20:36 UTC
there's already code to fix that in src_unpack() ... please post a full build log and `emerge info` so i can find out why it isnt working
Comment 2 Patrizio Bassi 2005-05-07 00:30:04 UTC
emerge proxychains
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/proxychains-2.1-r2 to /
>>> md5 files   ;-) proxychains-2.1-r2.ebuild
>>> md5 files   ;-) files/proxychains-2.1-libc-connect.patch
>>> md5 files   ;-) files/digest-proxychains-2.1-r2
>>> md5 src_uri ;-) proxychains-2.1.tar.gz
>>> Unpacking source...
>>> Unpacking proxychains-2.1.tar.gz to /var/tmp/portage/proxychains-2.1-r2/work
 * Applying proxychains-2.1-libc-connect.patch ...                        [ ok ]
>>> Source unpacked.
 * econf: updating proxychains-2.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating proxychains-2.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) works... yes
checking whether the C compiler (gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating proxychains/Makefile
creating proxychains/docs/Makefile
creating proxychains/docs/en/Makefile
creating config.h
make  all-recursive
make[1]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
Making all in proxychains
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
cd .. && automake --gnu --include-deps proxychains/Makefile
cd .. \
  && CONFIG_FILES=proxychains/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating proxychains/Makefile
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
Making all in docs
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
cd ../.. && automake --gnu --include-deps proxychains/docs/Makefile
cd ../.. \
  && CONFIG_FILES=proxychains/docs/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating proxychains/docs/Makefile
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
Making all in en
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
cd ../../.. && automake --gnu --include-deps proxychains/docs/en/Makefile
cd ../../.. \
  && CONFIG_FILES=proxychains/docs/en/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating proxychains/docs/en/Makefile
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c libproxychains.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c libproxychains.c  -fPIC -DPIC -o libproxychains.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c core.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c core.c  -fPIC -DPIC -o core.lo
core.c: In function `tunnel_to':
core.c:298: warning: comparison is always false due to limited range of data type
/bin/sh ../libtool --mode=link gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -s -o libproxychains.la -rpath /usr/lib -version-info 2:0:0  libproxychains.lo core.lo
mkdir .libs
rm -fr .libs/libproxychains.la .libs/libproxychains.* .libs/libproxychains.*
(cd . && ln -s libproxychains.lo libproxychains.o)
(cd . && ln -s core.lo core.o)
gcc -shared  libproxychains.lo core.lo  -lc  -Wl,-soname -Wl,libproxychains.so.2 -o .libs/libproxychains.so.2.0.0
(cd .libs && rm -f libproxychains.so.2 && ln -s libproxychains.so.2.0.0 libproxychains.so.2)
(cd .libs && rm -f libproxychains.so && ln -s libproxychains.so.2.0.0 libproxychains.so)
creating libproxychains.la
(cd .libs && rm -f libproxychains.la && ln -s ../libproxychains.la libproxychains.la)
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -c main.c
/bin/sh ../libtool --mode=link gcc  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -s -o proxychains  main.o
gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -s -o proxychains main.o
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
>>> Test phase [not enabled]: net-misc/proxychains-2.1-r2

>>> Install proxychains-2.1-r2 into /var/tmp/portage/proxychains-2.1-r2/image/ category net-misc
Making install in proxychains
make[1]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
Making install in docs
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
Making install in en
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[3]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/lib
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/lib
/bin/sh ../libtool  --mode=install /bin/install -c libproxychains.la /var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.la
/bin/install -c .libs/libproxychains.so.2.0.0 /var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.so.2.0.0
(cd /var/tmp/portage/proxychains-2.1-r2/image//usr/lib && rm -f libproxychains.so.2 && ln -s libproxychains.so.2.0.0 libproxychains.so.2)
(cd /var/tmp/portage/proxychains-2.1-r2/image//usr/lib && rm -f libproxychains.so && ln -s libproxychains.so.2.0.0 libproxychains.so)
/bin/install -c .libs/libproxychains.lai /var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/bin
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/bin
 /bin/sh ../libtool  --mode=install /bin/install -c  proxychains /var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/install -c proxychains /var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/include
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/include
/bin/sh ../mkinstalldirs /etc/
/bin/install -c -m 644 ./proxychains.conf /etc/proxychains.conf
ACCESS DENIED   unlink:    /etc/proxychains.conf
/bin/install: impossibile rimuovere `/etc/proxychains.conf': Permission denied
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make: *** [install-recursive] Error 1

!!! ERROR: net-misc/proxychains-2.1-r2 failed.
!!! Function src_install, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-misc_-_proxychains-2.1-r2-28565.log"

unlink:    /etc/proxychains.conf
--------------------------------------------------------------------------------





cat /tmp/sandbox-net-misc_-_proxychains-2.1-r2-28565.log
unlink:    /etc/proxychains.conf



emerge info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc3 i686)
=================================================================
System uname: 2.6.12-rc3 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.1-r2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam /var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-rsync.ngi.it/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib acl acpi activefilter adns alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash caps cdda cddb cdio cdparanoia cdr chroot clamav client codecs crypt css cups curl dga dhcp directfb divx4linux djbfft dlloader edl eds emboss encode ethereal exif faac faad fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds gcj gd gdbm ggi gif gimp gimpprint gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile iconv idea imagemagick imlib innodb ipv6 irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kerberos lcd ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh noxalan nptl nptlonly oav odbc ogg oggvorbis opengl operanom2 oss pam pda pdf pdflib perl png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging slang slp snortsam soap sockets socks5 softmmu softquota spamassassin spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts trusted type1-fonts usb vorbis wsconvert wxwindows xanim xchatdccserver xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 3 SpanKY gentoo-dev 2005-05-07 00:59:21 UTC
yeah, for some reason automake was trigger on your machine:

cd .. && automake --gnu --include-deps proxychains/Makefile

that's why it's failing ... i'll poke around and see if i cant figure out why
Comment 4 Patrizio Bassi 2005-05-07 03:09:15 UTC
yes i saw it..

however my automake stuff is standard and updated.

ready to test a solution when you have 

Comment 5 SpanKY gentoo-dev 2005-05-07 16:28:58 UTC
yeah, the problem is in the proxychains ebuild, not in automake
Comment 6 Luu Danh Hieu 2005-05-31 04:38:24 UTC
>> /bin/install -c -m 644 ./proxychains.conf /etc/proxychains.conf

That part seems somehow wrong.

It should have been :

>> /bin/install -c -m 644 ./proxychains.conf
/var/tmp/portage/proxychains-2.1-r2/image//etc/proxychains.conf

I emerged that again, and it worked on the second time.
Comment 7 Edoardo Bello 2005-06-05 08:38:58 UTC
I have the same problem.. and i don't understand the solution by Luu Danh Hieu.
What do i do for emerge proxychairs?

Thank you

P.S.: Sorry for my bad english.


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 10 2005, 20:14:59)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa apm arts avi berkdb bidi bitmap-fonts cdr crypt cups
curl divx4linux dvd emboss encode esd faad fam flac foomaticdb fortran gd gdbm
gif gimpprint gnome gpm gtk gtk2 imagemagick imlib ipv6 jpeg kde libg++ libwww
mad matroska mikmod mmx motif mozillamp3 mpeg ncurses nls ogg oggvorbis opengl
oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdl
spell sse ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts usbi
vorbis wxwindows xine xml2 xmms xv xvid zlib linguas_it userland_GNU
kernel_linuxelibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 8 Alexander Skwar 2005-07-14 10:59:58 UTC
I've got a different sandbox violation. In the report, it was about "unlink".
I've got:

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-net-misc_-_proxychains-2.1-r2-21967.log"

open_wr:   /etc/proxychains.conf
--------------------------------------------------------------------------------



[19:57:41 alexander@server:~] $ LC_ALL=C sudo emerge -v net-misc/proxychains
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/proxychains-2.1-r2 to /
>>> md5 files   ;-) proxychains-2.1-r2.ebuild
>>> md5 files   ;-) files/digest-proxychains-2.1-r2
>>> md5 files   ;-) files/proxychains-2.1-libc-connect.patch
>>> md5 src_uri ;-) proxychains-2.1.tar.gz
>>> Unpacking source...
>>> Unpacking proxychains-2.1.tar.gz to /var/tmp/portage/proxychains-2.1-r2/work
* Applying proxychains-2.1-libc-connect.patch ...                        [ ok
]>>> Source unpacked.
 * econf: updating proxychains-2.1/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating proxychains-2.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -Wl,-O1)
works... yes
checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -Wl,-O1) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for dlopen in -ldl... yes
checking for dlfcn.h... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for extra includes... no
checking for extra libs... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating proxychains/Makefile
creating proxychains/docs/Makefile
creating proxychains/docs/en/Makefile
creating config.h
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
Making all in proxychains
make[2]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
cd .. && automake --gnu --include-deps proxychains/Makefile
cd .. \
  && CONFIG_FILES=proxychains/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating proxychains/Makefile
make[2]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
Making all in docs
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
cd ../.. && automake --gnu --include-deps proxychains/docs/Makefile
cd ../.. \
  && CONFIG_FILES=proxychains/docs/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating proxychains/docs/Makefile
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
Making all in en
make[4]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
cd ../../.. && automake --gnu --include-deps proxychains/docs/en/Makefile
cd ../../.. \
  && CONFIG_FILES=proxychains/docs/en/Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating proxychains/docs/en/Makefile
make[4]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2
-march=athlon-xp -pipe -c libproxychains.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2
-march=athlon-xp -pipe -c core.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -c libproxychains.c
 -fPIC -DPIC -o libproxychains.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=athlon-xp -pipe -c core.c  -fPIC
-DPIC -o core.lo
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=athlon-xp -pipe -c main.c
core.c: In function `tunnel_to':
core.c:298: warning: comparison is always false due to limited range of data type
/bin/sh ../libtool --mode=link gcc  -O2 -march=athlon-xp -pipe -Wl,-O1 -o
libproxychains.la -rpath /usr/lib -version-info 2:0:0  libproxychains.lo core.lo
/bin/sh ../libtool --mode=link gcc  -O2 -march=athlon-xp -pipe -Wl,-O1 -o
proxychains  main.o
mkdir .libs
rm -fr .libs/libproxychains.la .libs/libproxychains.* .libs/libproxychains.*
(cd . && ln -s libproxychains.lo libproxychains.o)
gcc -O2 -march=athlon-xp -pipe -Wl,-O1 -o proxychains main.o
(cd . && ln -s core.lo core.o)
gcc -shared  libproxychains.lo core.lo  -lc  -Wl,-O1 -Wl,-soname
-Wl,libproxychains.so.2 -o .libs/libproxychains.so.2.0.0
(cd .libs && rm -f libproxychains.so.2 && ln -s libproxychains.so.2.0.0
libproxychains.so.2)
(cd .libs && rm -f libproxychains.so && ln -s libproxychains.so.2.0.0
libproxychains.so)
creating libproxychains.la
(cd .libs && rm -f libproxychains.la && ln -s ../libproxychains.la
libproxychains.la)
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
make[2]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
make[1]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1'
>>> Test phase [not enabled]: net-misc/proxychains-2.1-r2

>>> Install proxychains-2.1-r2 into /var/tmp/portage/proxychains-2.1-r2/image/
category net-misc
Making install in proxychains
make[1]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
Making install in docs
make[2]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
Making install in en
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs/en'
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[2]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains/docs'
make[2]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[3]: Entering directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/lib
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/lib
/bin/sh ../libtool  --mode=install /bin/install -c libproxychains.la
/var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.la
/bin/install -c .libs/libproxychains.so.2.0.0
/var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.so.2.0.0
(cd /var/tmp/portage/proxychains-2.1-r2/image//usr/lib && rm -f
libproxychains.so.2 && ln -s libproxychains.so.2.0.0 libproxychains.so.2)
(cd /var/tmp/portage/proxychains-2.1-r2/image//usr/lib && rm -f
libproxychains.so && ln -s libproxychains.so.2.0.0 libproxychains.so)
/bin/install -c .libs/libproxychains.lai
/var/tmp/portage/proxychains-2.1-r2/image//usr/lib/libproxychains.la
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/bin
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/bin
 /bin/sh ../libtool  --mode=install /bin/install -c  proxychains
/var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/install -c proxychains
/var/tmp/portage/proxychains-2.1-r2/image//usr/bin/proxychains
/bin/sh ../mkinstalldirs /var/tmp/portage/proxychains-2.1-r2/image//usr/include
mkdir /var/tmp/portage/proxychains-2.1-r2/image/usr/include
/bin/sh ../mkinstalldirs /etc/
/bin/install -c -m 644 ./proxychains.conf /etc/proxychains.conf
ACCESS DENIED   open_wr:   /etc/proxychains.conf
/bin/install: cannot create regular file `/etc/proxychains.conf': Permission denied
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/proxychains-2.1-r2/work/proxychains-2.1/proxychains'
make: *** [install-recursive] Error 1

!!! ERROR: net-misc/proxychains-2.1-r2 failed.
!!! Function src_install, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-net-misc_-_proxychains-2.1-r2-21967.log"

open_wr:   /etc/proxychains.conf
--------------------------------------------------------------------------------



[19:58:16 alexander@server:~] $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-ck3.009.reiser4_rc5-mm2.no-nfsv4.genkernel i686)
=================================================================
System uname: 2.6.12-ck3.009.reiser4_rc5-mm2.no-nfsv4.genkernel i686 AMD
Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artswrappersuid async avi
bash-completion bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs
crypt cscope css cups divx4linux dvdread encode esd ethereal exif fam fbcon
fbdev ffmpeg fftw firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail
gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal hpn iconv idn
imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas libwww
logitech-mouse logrotate lufsusermount lzw lzw-tiff mad maildir matroska matrox
mbox mime mmap mmx mng mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg
mp3 mpeg mplayer ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel
nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython
nolog4j nooro nopop3d noregexp norhino noxalan noxerces offensive ofx ogg
oggvorbis opengl oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png
posix ppds python qt quicktime quotes rdesktop readline real recode samba sasl
shared slang sockets speex spell sse ssl svg symlink sysvipc tcltk tcpd theora
tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles
vcd videos vim vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs
xine xml2 xmms xv xvid zlib video_cards_matrox linguas_de userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 9 Russell Adams 2005-10-26 17:20:39 UTC
--- proxychains-2.1-r2.ebuild.orig      2005-10-26 19:06:00.000000000 -0500
+++ proxychains-2.1-r2.ebuild   2005-10-26 19:06:12.000000000 -0500
@@ -24,6 +24,7 @@
 src_unpack () {
        unpack ${A}
        cd "${S}"
+       sed -i 's:/etc/:$(DESTDIR)/etc/:' proxychains/Makefile.am || die
        sed -i 's:/etc/:$(DESTDIR)/etc/:' proxychains/Makefile.in || die
        epatch "${FILESDIR}"/${P}-libc-connect.patch
        touch *
Comment 10 SpanKY gentoo-dev 2005-10-29 02:31:44 UTC
that does nothing to address the real problem

sync up and try again ... i cleaned up the autotools in src_unpack now
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-08-23 06:54:23 UTC
 29 Oct 2005; Mike Frysinger <vapier@gentoo.org>
  +files/proxychains-2.1-autotools.patch, proxychains-2.1-r2.ebuild:
  Cleanup autotools #91677.

Closing a stale bug.