Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120481 - dev-lang/erlang-10.2.7 fails on hardened system
Summary: dev-lang/erlang-10.2.7 fails on hardened system
Status: RESOLVED DUPLICATE of bug 154338
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 15:38 UTC by Alexey Maximov
Modified: 2006-11-08 13:23 UTC (History)
3 users (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 Alexey Maximov 2006-01-26 15:38:01 UTC
make[2]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel'
=== Entering application kernel
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel/src'
erlc -W   +debug_info -I../include -o../ebin application.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/application.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel/src'
=== Skipping subdir doc/src, it is missing
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel/examples'
make[3]: Nothing to be done for `opt'.
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel/examples'
=== Leaving application kernel
make[2]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/kernel'
make[2]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools'
=== Entering application parsetools
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools/src'
erlc -W   +debug_info -I/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/stdlib/include -o../ebin yecc.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/yecc.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools/src'
=== Skipping subdir doc/src, it is missing
=== Leaving application parsetools
make[2]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools'
make[2]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/asn1/src'
erlc -W  -bbeam -o../ebin +debug_info -I/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/stdlib +warn_unused_vars -Dvsn=\"1.4.4.7\" asn1ct.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[2]: *** [../ebin/asn1ct.beam] Error 127
make[2]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/asn1/src'
make[2]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe'
Makefile:35: warning: overriding commands for target `docs'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/make/otp_subdir.mk:28: warning: ignoring old commands for target `docs'
=== Entering application hipe
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/rtl'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/hipe_mkliterals -e > hipe_literals.hrl
erlc -W   +debug_info +inline -o../ebin hipe_rtl_arch.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/rtl'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/misc'
erlc -W   +debug_info  -o../ebin hipe_consttab.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_consttab.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/misc'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/main'
sed -e "s;%VSN%;3.5.2;" hipe.hrl.src > hipe.hrl
erlc -W   +debug_info +nowarn_shadow_vars -o../ebin hipe.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/main'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/cerl'
erlc -W   +debug_info +nowarn_shadow_vars +inline -o../ebin cerl_lib.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/cerl_lib.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/cerl'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/icode'
erlc -W   +debug_info +nowarn_shadow_vars -o../ebin hipe_icode.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_icode.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/icode'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/flow'
erlc -W   +debug_info  -o../ebin hipe_bb.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_bb.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/flow'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/util'
erlc -W   +debug_info  -o../ebin hipe_timing.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_timing.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/util'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/regalloc'
erlc -W   +debug_info  -o../ebin hipe_ig.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_ig.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/regalloc'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/sparc'
erlc -W   +debug_info  -o../ebin hipe_finalize.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_finalize.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/sparc'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/ppc'
erlc -W   +debug_info  -o../ebin hipe_ppc.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_ppc.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/ppc'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/x86'
erlc -W   +debug_info  -o../ebin hipe_rtl_to_x86.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_rtl_to_x86.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/x86'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/amd64'
erlc -W   +debug_info  -o../ebin hipe_amd64_assemble.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_amd64_assemble.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/amd64'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/opt'
erlc -W   +debug_info  -o../ebin hipe_schedule.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_schedule.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/opt'
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/tools'
erlc -W   +debug_info  -o../ebin hipe_tool.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
make[3]: *** [../ebin/hipe_tool.beam] Error 127
make[3]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe/tools'
=== Leaving application hipe
make[2]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/hipe'
make[1]: Leaving directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib'
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel ; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/ebin ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/ebin ; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/include ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/include ; fi
cp -f lib/kernel/ebin/*.beam /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/ebin
cp -f lib/kernel/include/*.hrl /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/kernel/include
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/hipe ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/hipe ; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/hipe/ebin ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/hipe/ebin ; fi
if test -f lib/hipe/ebin/hipe.beam ; then cp lib/hipe/ebin/*.beam /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/hipe/ebin; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools ; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools/ebin ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools/ebin ; fi
if test ! -d /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools/include ; then mkdir /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools/include ; fi
cp lib/parsetools/ebin/*.beam /var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bootstrap/lib/parsetools/ebin
cp: cannot stat `lib/parsetools/ebin/*.beam': No such file or directory
make: *** [secondary_bootstrap_copy] Error 1

!!! ERROR: dev-lang/erlang-10.2.7 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



sunlight ~ # emerge info
Portage 2.1_pre3-r1 (selinux/2005.1/x86/hardened, gcc-3.4.5, glibc-2.3.6-r2, 2.6.14-hardened-r4 i686)
=================================================================
System uname: 2.6.14-hardened-r4 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks loadpolicy sandbox selinux sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-z now"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fantoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bash-completion berkdb bzip2 crypt cscope curl dba dlloader expat fam gd gdbm gif glibc-omitfp gnutls gpm hardened imagemagick jpeg libwww mailwrapper mbox mhash mysql ncurses nls nptl nptlonly pam pam_console pcre perl php pic png python readline ruby selinux session slang spell sqlite ssl threads truetype udev unicode urandom usb vhosts x86 xml xml2 xsl zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS



hardened everything... :(
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-07 22:53:01 UTC
try the latest testing version please
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-08 13:23:07 UTC

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