emerging sci-mathematics/gretl-1.7.0 I get ../tools/mkinstalldirs /usr/share/gretl /usr/share/gretl/data mkdir -p -- /usr/share/gretl /usr/share/gretl/data ACCESS DENIED mkdir: /usr/share/gretl mkdir: cannot create directory `/usr/share/gretl': Permission denied ACCESS DENIED mkdir: /usr/share/gretl mkdir: cannot create directory `/usr/share/gretl': Permission denied make[1]: *** [installdirs] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/gretl-1.7.0/work/gretl-1.7.0/share' make: *** [install] Error 2 * * ERROR: sci-mathematics/gretl-1.7.0 failed. * Call stack: * ebuild.sh, line 46: Called src_install * environment, line 2554: Called gnome2_src_install 'src_install' * environment, line 1957: Called die * The specific snippet of code: * make DESTDIR=${D} "scrollkeeper_localstate_dir=${D}${sk_tmp_dir} " "$@" install || diefunc "$FUNCNAME" "$LINENO" "$?" "install failed"; * The die message: * install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sci-mathematics/gretl-1.7.0/temp/build.log' : open_wr: /usr/share/man/man1/gretl.1 open_wr: /usr/share/man/man1/gretl-config.1 mkdir: /usr/include/gretl open_wr: /usr/bin/gretlcli mkdir: /usr/share/gretl mkdir: /usr/lib/gretl-gtk2 mkdir: /usr/share/gretl mkdir: /usr/share/gretl Reproducible: Always emerge --info Portage 2.1.4_rc7 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 Pentium III (Coppermine) Timestamp of tree: Tue, 04 Dec 2007 12:46:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage" USE="X acl alsa atm berkdb bitmap-fonts cairo cdr cli cracklib crypt cups doc dri dvd fortran gdbm gif gimp gnome gpm gtk iconv ipv6 isdnlog jpeg kde lcms midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt qt4 readline reflection session spl sqlite sqlite3 sse ssl svg tcl tcpd tetex tiff tk truetype-fonts type1-fonts unicode x86 xorg xulrunner zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hi Helmut, Thanks for reporting. Testing with gnome will take me a while, but I think I spotted the problem, using USE_EINSTALL before inherit gnome2. You can add it to the ebuild, or simply resync in a few hours and retry. Let me know.
(In reply to comment #1) > Hi Helmut, > > Thanks for reporting. Testing with gnome will take me a while, but I think I > spotted the problem, using USE_EINSTALL before inherit gnome2. You can add it > to the ebuild, or simply resync in a few hours and retry. Let me know. > I get a bit further down the road but this time it seems to need a -lgfortran in the LDFLAGS: There first of a series of error messages being ../lib/.libs/libgretl-1.0.so: undefined reference to `_gfortran_stop_numeric' (My only FORTRAN compiler is gfortran (from gcc-4.2.2))
> I get a bit further down the road but this time it seems to need a > -lgfortran in the LDFLAGS: > There first of a series of error messages being > > ../lib/.libs/libgretl-1.0.so: undefined reference to `_gfortran_stop_numeric' > > (My only FORTRAN compiler is gfortran (from gcc-4.2.2)) Thanks for follow up. The linking issue seems the same as the one you reported in bug #198547. As far as sandbox violation is concerned, the issue is resolved.