Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133338 - rrdtool-1.2.13 perl module triggers sandbox
Summary: rrdtool-1.2.13 perl module triggers sandbox
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-14 17:27 UTC by Robin Johnson
Modified: 2006-10-08 15:07 UTC (History)
1 user (show)

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


Attachments
Log file from config (config.log,6.58 KB, text/plain)
2006-05-17 08:49 UTC, Tony Clark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-14 17:27:09 UTC
USE=perl emerge rrdtool

cd bindings/perl-piped && make install
make[1]: Entering directory `/dev/shm/portage/rrdtool-1.2.13/work/rrdtool-1.2.13/bindings/perl-piped'
ACCESS DENIED  chmod:     /usr/lib/perl5/site_perl/5.8.8/RRDp.pm
ACCESS DENIED  unlink:    /usr/lib/perl5/site_perl/5.8.8/RRDp.pm
Cannot forceunlink /usr/lib/perl5/site_perl/5.8.8/RRDp.pm: Permission denied at /usr/lib/perl5/5.8.8/File/Find.pm line 918
make[1]: *** [pure_site_install] Error 13
make[1]: Leaving directory `/dev/shm/portage/rrdtool-1.2.13/work/rrdtool-1.2.13/bindings/perl-piped'
make: *** [site-perl-install] Error 2

!!! ERROR: net-analyzer/rrdtool-1.2.13 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_install
  ebuild.sh, line 1004:   Called src_install
  rrdtool-1.2.13.ebuild, line 94:   Called perl-module_src_install
  perl-module.eclass, line 146:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-analyzer_-_rrdtool-1.2.13-1149.log"

chmod:     /usr/lib/perl5/site_perl/5.8.8/RRDp.pm
unlink:    /usr/lib/perl5/site_perl/5.8.8/RRDp.pm
--------------------------------------------------------------------------------
Comment 1 Tony Clark 2006-05-17 08:44:55 UTC
I get the same issue.  For some reason it is getting configured for x86 not amd64.  I've run gcc-config -f gcc-config -f x86_64-pc-linux-gnu-3.4.6 and binutils-config 1 plus sourced /etc/profile just incase.

power tony # FEATURES=-sandbox emerge sandbox
Calculating dependencies... done!
>>> Emerging (1 of 1) sys-apps/sandbox-1.2.17 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking sandbox-1.2.17.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking sandbox-1.2.17.tar.bz2 to /pub3/tmp/portage/portage/sandbox-1.2.17/work
>>> Source unpacked.
>>> Compiling source in /pub3/tmp/portage/portage/sandbox-1.2.17/work/sandbox-1.2.17 ...
 * If configure fails with a 'cannot run C compiled programs' error, try this:
 * FEATURES=-sandbox emerge sandbox
 * Configuring sandbox for ABI=x86...
 * econf: updating sandbox-1.2.17/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating sandbox-1.2.17/config.sub with /usr/share/gnuconfig/config.sub
../sandbox-1.2.17//configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --enable-multilib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /pub3/tmp/portage/portage/sandbox-1.2.17/work/build-x86-x86_64-pc-linux-gnu/config.log

!!! ERROR: sys-apps/sandbox-1.2.17 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  sandbox-1.2.17.ebuild, line 84:   Called econf '--libdir=/usr/lib32' '--enable-multilib'
  ebuild.sh, line 533:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Tony Clark 2006-05-17 08:49:48 UTC
Created attachment 86930 [details]
Log file from config

Sorry, forgot to attach this
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-10-08 15:07:53 UTC
Still an issue with latest rrdtool version?

Can't reproduce it here, feel free to reopen if the problem persists for you