=media-libs/pdflib-7.0.1 reproducibly doesn't merge for me as some part of the build process tries to remove /usr/share/java-config-2/pym/java_config/*.pyc which is prevented by the sandbox and as such the build fails with a sandbox violation. This even happens with USE="-java" Reproducible: Always Steps to Reproduce: emerge =media-libs/pdflib-7.0.1 Actual Results: [...] Please observe the licensing terms for commercial PDFlib usage. PDFlib license agreement and purchase order can be found in the doc directory. ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/__init__.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/OutputFormatt er.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/FileParser.py c ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/Errors.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/VM.pyc !!! ERROR: Couldn't find a VM dep ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/__init__.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/OutputFormatt er.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/FileParser.py c ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/Errors.pyc ACCESS DENIED unlink: /usr/share/java-config-2/pym/java_config/VM.pyc !!! ERROR: Couldn't find a VM dep make[1]: Entering directory `/var/tmp/portage/media-libs/pdflib-7.0.1/work/PDFli b-Lite-7.0.1/libs' [...] >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-media-libs_-_pdflib-7.0.1-8634.log" unlink: /usr/share/java-config-2/pym/java_config/__init__.pyc unlink: /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc unlink: /usr/share/java-config-2/pym/java_config/FileParser.pyc unlink: /usr/share/java-config-2/pym/java_config/Errors.pyc unlink: /usr/share/java-config-2/pym/java_config/VM.pyc unlink: /usr/share/java-config-2/pym/java_config/__init__.pyc unlink: /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc unlink: /usr/share/java-config-2/pym/java_config/FileParser.pyc unlink: /usr/share/java-config-2/pym/java_config/Errors.pyc unlink: /usr/share/java-config-2/pym/java_config/VM.pyc Full build log: http://home.hoffie.info/pdflib.txt Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686) ================================================================= System uname: 2.6.20-gentoo-r8 i686 AMD Sempron(tm) Processor 2800+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 13 Jul 2007 19:00:10 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" 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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de en en_GB" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa bitmap-fonts branding bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus dc1394 dlloader dmi dri dv dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fortran gif glitz gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg libg++ libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real reflection rtc samba sdl session spell spl ssl svg theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB" USERLAND="GNU" VIDEO_CARDS="vesa radeon r128 sis fglrx nvidia vga via i128 i740 i810 mach64 mga nv s3" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Well, then re-emerge =java-config-2* and try again.
The major part of the problem got solved by re-emerging java-config-2 (thanks jakub!), the cosmetic part (not doing any java foo with USE="-java") was fixed by Anant (KillerX -- thanks as well): 21:08:47 <+CIA-24> anant * gentoo-x86/media-libs/pdflib/ (pdflib-7.0.1.ebuild ChangeLog): 21:08:47 <+CIA-24> Set env variable only when neccessary, solving part of bug #185227