| Summary: | ebuilds which require SCons for building fail after a re-emerge of SCons | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jan Smout <jan.smout> |
| Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | jan.smout |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
output of sudo emerge --oneshot kdissert
output of sudo emerge --oneshot kdissert |
||
Created attachment 95320 [details]
output of sudo emerge --oneshot kdissert
The promised attachment...
Created attachment 95321 [details]
output of sudo emerge --oneshot kdissert
The promised attachment...
|
Scenario: 1- (re-)emerge SCons: $ sudo emerge --oneshot scons 2- (re-)emerge an application which requires SCons to do the dirty work. I encountered the problem with both kdissert and codeine. My guess is that any ebuild which uses SCons will do: $ sudo emerge --oneshot kdissert (ouput in attachment) Build will fail with some notification from the sandbox. However, removing both sandbox and usersandbox from FEATURES in /etc/make.conf doesn't resolve anything. Problem: The python interpreter tries to create/update the *.py[co] files, but somehow doesn't have enough privileges to do so. Running SCons once as root resolves the problem as described in the workaround below. A fact which adds to the problem is that an unmerge of SCons doesn't remove the generated *.pyc files. This is already described in http://bugs.gentoo.org/show_bug.cgi?id=132448 Another related report is http://bugs.gentoo.org/show_bug.cgi?id=118022 Workaround: After the build has failed, go to the working directory and execute SCons manually: $ cd /var/tmp/portage/kdissert-1.0.5-r1/work/kdissert-1.0.5 $ sudo scons # sudo is required here!! At this point, any subsequent emerge which requires SCons *will* work!!! jasm@trumpet ~ $ emerge --info Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7jasm3gcc41 i686) ================================================================= System uname: 2.6.16-gentoo-r7jasm3gcc41 i686 Intel(R) Pentium(R) M processor 2.13GHz Gentoo Base System version 1.12.4 Last Sync: Mon, 28 Aug 2006 16:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac aalib acpi alsa amarok apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cardbus cdda cddb cdio cdparanoia cli cpdflib cpudetection crypt cscope css cups curl dbus dga divx4linux dlloader dri dts dv dvd dvdr dvdread eds effects elibc_glibc emboss encode esd exif expat fam fame festival ffmpeg firefox flac foomaticdb freetype gd gdbm gif glep glibc-omitfp gmail gmailtimestamps gmp gphoto2 gpm gstreamer gtk gtk2 hal httpd i8x0 id3 idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jp2 jpeg jpeg2k kde kdeenablefinal kernel_linux kipi kqemu lcms ldap libg++ libgd libwww lzo lzw lzw-tiff mad md5sum mhash mikmod mime mjpeg mmx mng motif moznocompose moznoirc moznomail mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses network nls nowebdav nptl nptlonly nsplugin ogg opengl oss pam pcmcia pcre pda pdf pdflib perl php plugin png pppd python qt3 qt4 quicktime rar readline reflection reiserfs rtc samba sdl session softmmu speedo speex spell spl sql sse sse2 ssl subtitles subversion sysfs tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1 type1-fonts udev usb userland_GNU vcd video_cards_fglrx vim vim-pager vim-with-x visualization vorbis wifi win32codecs wmf xcomposite xine xinerama xml xml2 xorg xosd xpm xprint xscreensaver xv xvid yv12 zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY