Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488846 - app-office/libreoffice-4.1.2.3 - touch: setting times of ‘.../work/libreoffice-4.1.2.3/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll’: Operation not permitted
Summary: app-office/libreoffice-4.1.2.3 - touch: setting times of ‘.../work/libreoffic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 496284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-21 07:48 UTC by Norman Back
Modified: 2013-12-29 12:36 UTC (History)
5 users (show)

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


Attachments
build log (build.log.bz2,134.47 KB, application/x-bzip2)
2013-10-21 07:51 UTC, Norman Back
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Back 2013-10-21 07:48:55 UTC
app-office/libreoffice-4.1.2.3 fails to build.

Reproducible: Always

Steps to Reproduce:
1. emerge app-office/libreoffice
2.
3.
Actual Results:  
emerge fails with error log

Expected Results:  
emerge completes successfully

emerge --info '=app-office/libreoffice-4.1.2.3::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.11.6-gentoo-64 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.11.6-gentoo-64-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:    16446424 total,   8510856 free
KiB Swap:   34602996 total,  34602996 free
Timestamp of tree: Mon, 21 Oct 2013 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local ikelos systemd
Installed sets: @kde-4.10
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -mtune=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -mtune=amdfam10 -O2 -pipe"
DISTDIR="/mnt/portage.autofs/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y -j9 --load-average=8 --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://gentoo.modulix.net/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 --load-average=8"
PKGDIR="/mnt/portage.autofs/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage/diamond"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/ikelos /var/lib/layman/systemd"
SYNC="rsync://datastoreone/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi alsa amarok amd64 amr authdaemond bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr dvdread emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ieee1394 ipv6 jpeg kde lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses network nls nptl ofx ogg opengl openmp oss pam pango pcre pdf png policykit ppds qt3 qt3support qt4 readline samba sasl sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks uk_bleb uk_rt unicode upower usb v4l v4l2 vorbis wxwidgets x264 xcb xine xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi cgid" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="hp5590 hp net abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp3500 hp3900 hp4200 hp5400 hpljm1005 hpsj5s hs2p ibm kodak kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec niash p5 pie pixma plustek plustek_pp pnm qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv '=app-office/libreoffice-4.1.2.3::gentoo'
[ebuild     U ] app-office/libreoffice-4.1.2.3 [4.0.4.2] USE="bluetooth branding cups dbus gstreamer gtk java kde mysql odk opengl vba webdav (-aqua) -debug -eds -gnome -gtk3% -jemalloc -postgres -telepathy {-test}" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 (-python3_3)" PYTHON_TARGETS="python2_7 (-python3_3)"
Comment 1 Norman Back 2013-10-21 07:51:51 UTC
Created attachment 361492 [details]
build log
Comment 2 Norman Back 2013-10-21 10:20:32 UTC
Extra Info

GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.45"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 3 Norman Back 2013-10-21 10:21:29 UTC
Also fails with icedtea-bin-6 and icedtea-bin-7
Comment 4 Martin Kjær Jørgensen 2013-10-21 11:42:23 UTC
I've got the same issue. Using icedtea7 (not -bin).
Comment 5 Jouni Kosonen 2013-10-21 12:33:44 UTC
line #9837: touch: setting times of ‘/var/tmp/portage/diamond/portage/app-office/libreoffice-4.1.2.3/work/libreoffice-4.1.2.3/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll’: Operation not permitted

As far as I can tell, FEATURES=userpriv and maybe using a tmpfs for building are sufficient to duplicate this build failure, but that might depend on who owns the copy of unowinreg.dll in DISTDIR. Could be that chowning that to the portage user would be enough to fix this. 

Personally I've just been using 

/etc/portage/package.env/touchtusers:
app-office/libreoffice nouserpriv.conf

/etc/portage/env/nouserpriv.conf:
FEATURES="-userpriv"

to work around it for now.
Comment 6 Norman Back 2013-10-21 13:53:27 UTC
(In reply to Jouni Kosonen from comment #5)
<snip>
> As far as I can tell, FEATURES=userpriv and maybe using a tmpfs for building
> are sufficient to duplicate this build failure, but that might depend on who
<snip>

I'm not using tmpfs for /var/tmp/portage
Comment 7 Norman Back 2013-10-21 15:43:14 UTC
FEATURES="-userpriv" emerge -v =app-office/libreoffice-4.1.2.3 worked arounf it for me.
Comment 8 Martin Kjær Jørgensen 2013-10-22 07:44:10 UTC
Using FEATURES="${FEATURES} -userpriv" works for me too.
Comment 9 Hans-Georg Fischer 2013-10-22 09:37:33 UTC
The problem is with 
/var/tmp/portage/app-office/libreoffice-4.1.2.3/distdir/185d60944ea767075d27247c3162b3bc-unowinreg.dll
it is a link to 185d60944ea767075d27247c3162b3bc-unowinreg.dll in
/usr/portage/distdir

I did an ebuild
/usr/portage/app-office/libreoffice/libreoffice-4.1.2.3.ebuild config
then I replaced the link by its target and changed the owner of both
/var/tmp/portage/app-office/libreoffice-4.1.2.3/distdir and var/tmp/portage/app-office/libreoffice-4.1.2.3/distdir/185d60944ea767075d27247c3162b3bc-unowinreg.dll
to portage.portage and continued with an
 ebuild
/usr/portage/app-office/libreoffice/libreoffice-4.1.2.3.ebuild merge

and everthing went through. (without mangeling with FEATURES)
Comment 10 Nico Baggus 2013-10-23 20:23:04 UTC
Indeed it does build with 
FEATURES="-userpriv" emerge -v =app-office/libreoffice-4.1.2.3
Comment 11 James Cloos 2013-11-15 18:09:42 UTC
The build creates a hard link and then tries to touch(1) the destination.

touch(1) is called with its --no-dereference option, so it applies to the hard-linked symbolic link rather than to the file in distfiles.

When using FEATURES=userpriv, portage creates symlinks to the distfiles file w/in the build dir before dropping privs to the userpriv account.

Therefore, the userpriv account lacks permission to touch(1) the file in question.

Because the symlinks in ${PORTAGE_TMPDIR}/${CATEGORY}/${P}/distdir are created before userpriv is initiated, the libreoffice build is fundamentally incompatible with userpriv and its ebuilds therefore should restrict userpriv.
Comment 12 Daniel Santos 2013-12-01 20:57:15 UTC
I have this problem to, I think we can mark this as confirmed.
Comment 13 Bob Johnson 2013-12-15 20:48:52 UTC
I'm still seeing this with app-office/libreoffice-4.1.3.2-r2, on both x86 and amd64 systems. I use an '=' DEPEND atom version of the approach in https://bugs.gentoo.org/show_bug.cgi?id=488846#c5. Happens every time libreoffice is bumped a rev. Is this still not confirmed?
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2013-12-16 00:14:58 UTC
Well, it seems to work for many people (including me). Everyone who has this problem, please post your emerge --info output here!
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2013-12-16 00:30:54 UTC
(In reply to Andreas K. Hüttel from comment #14)
> Well, it seems to work for many people (including me). Everyone who has this
> problem, please post your emerge --info output here!

Oh and please also post
* the filesystem that you use for the build path
* and its mount options
Comment 16 Fabian Köster 2013-12-16 08:20:36 UTC
I am having the problem with the following configuration:

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.16.0, 3.12.5-gentoo x86_64)
=================================================================
System uname: Linux-3.12.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8054668 total,   3150248 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 15 Dec 2013 09:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo sunrise java bitcoin vincent x-portage hibiscus-gentoo-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/java /var/lib/layman/bitcoin /var/lib/layman/vincent /usr/local/portage /home/fabian/workspace/Privat/gentoo/hibiscus-ebuild/hibiscus-gentoo-overlay.git"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hdaps iconv idn introspection ipv6 jabber jpeg lastfm lcms libnotify libsecret mad mmx mng modemmanager modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nfsv4 nls nptl ogg opengl openmp opus pam pango pcre pcsc-lite pdf png policykit ppds pulseaudio qt3support qt4 readline rss sdl session socialweb spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vorbis webm wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="active braindump flow karbon krita stage tables words sheets" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="genesys plustek" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

/etc/fstab:

tmpfs                                           /tmp                    tmpfs           nodev,nosuid                            0 0
UUID=6b779f13-6ae9-414f-b90e-b46e107feb5c       /boot                   ext2            noauto,noatime,nodiratime               1 2
UUID=676d4d8e-7ce9-47ac-ba59-652dc659db9e       /                       ext4            noatime,nodiratime,discard              0 1
/dev/sdb1                                       none                    swap            sw                                      0 0
/dev/vg0/data-common                            /mnt/data-common        ext4            noatime                                 0 2
/mnt/data-common/var                            /var                    none            bind                                    0 0
/mnt/data-common/usr/portage                    /usr/portage            none            bind                                    0 0
/mnt/data-common/usr/src                        /usr/src                none            bind                                    0 0
tmpfs                                           /var/lock               tmpfs           nodev,nosuid                            0 0
Comment 17 Martin Kjær Jørgensen 2013-12-16 10:56:39 UTC
I've just tried emerge libreoffice-4.1.3.2-r2, and got same error.

Filesystem is ext4.

emerge --info :
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo x86_64)
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:     8111068 total,   2363352 free
KiB Swap:    7811068 total,   7597588 free
Timestamp of tree: Mon, 16 Dec 2013 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 AdobeFlash-11.x Q3AEULA Intel-SDP FraunhoferFDK"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="256-color X a52 aac aacplus aalib accessibility acl acpi activefilter adplug ads aes-ni airplay akonadi allegro alsa alstream amd64 amr analitza ao ap apache2 archive aspell atahpt atmo attica audiofile audit auth authlib autoipd autotools autotrace avahi avx battery bazaar bcmath berkdb bidi bitmap bittorrent bl bluetooth bluray boost bs2b btrfs bufferevents bzip2 c++0x cairo calendar canberra capi caps cdb cdda cddb cdio cdparanoia cdr cec celt cg cgi chm city cli client clock clucene clutter cmake collada colord colorio common-lisp compat connection-sharing consolekit context corefonts coverage cracklib crypt cryptsetup css cue cups curl cvs cxx cycles daap dbus dc1394 dconf declarative demosaic designer-plugin desktopglobe detex device-mapper dhcp dhcpcd dia dirac discouraged djvu dk dmraid doc docbook dos dot downloads-monitor dri dssi dts dv dvb dvd dvdr dvi dvi2tty dvipdfm eap eap-sim eap-tls ebook efiemu egl elf emacs embed embedded emboss emf emotion enchant encode epspdf erlang ethumb exif expat expert-mode expoblending extensions extra extra-ciphers extras f2fs faac fallback fam fat fax fcd fcitx fdk ffmpeg fftw file-attr filter fingerprint firefox firefox-bookmarks fits flac flashback flatfile flickr fluidsynth fontconfig fortran fpm fprint fpx freedoom freerdp frei0r ft2232_spi ftp fuse g15 gadu gallium games gbm gcj gconf gcrypt gd gdbm gdu geo geoip geolocation gflags ggi ggz gif gimp git gjdoc gjs glade gles gles1 gles2 glew glib glut gme gmp gnome-keyring gnome-online-accounts gnuplot gnutls go goom gost gpg gphoto2 gpm gps gpssync gpu graphics graphite graphviz grc grilo groupwise growl grp gsf gsm gssapi gstreamer gtk gtk3 gtkstyle gui gzip h224 h281 h323 hdaps hddtemp hdf5 hdri help heretic hexen hfs highlight hipe hog hpijs html http humanities hyperestraier iax ibus iconv icu id3tag ide idn iec61883 ieee1394 ilbc imagemagick imap imapc imlib indi inifile inkjar inotify intl introspection iodbc ios iostats ipod iptc ipv6 irc irda iso ivr jabber jadetex jai jasper java javascript jbig jbootstrap jemalloc jfs jimtcl jingle jmf joystick jpeg jpeg2k json kate kerberos kernel kmod kpoll ladspa lame lapack laptop lash lastfm lastfmradio latex lcms ldap ldap-sasl lensfun libadns libass libcaca libffi libkms libmpeg2 libnotify libproxy libsamplerate libtar libtiger libusb0 libvisual libwww lid lights linsys lirc live llvm lm_sensors log4j lqr lto lua luatex lvm lyrics lzma lzo mad madde mail man map maps math matroska mbox mclib md5sum mdadm mdnsresponder-compat meanwhile mecab mediawiki mercurial messages metapost metis metric mhash midi mikmod minizip mjpeg mms mmx mmxext mng moc mod modemmanager modplug modules mount mozilla mp3 mp3tunes mp4 mpd mpeg mpg123 mpris mta mtp mudflap multilib multimedia multitarget mumble musepack music musicbrainz mvl mysql mysqli mysqlnd nat nat-pmp ncat ncurses ndiff ndof neXt netlink netplay network networking networkmanager nfs nicnatsemi nicrealtek nls nntp nokia nping nptl nss ntfs ntp nvtt oauth objc objc++ objc-gc ocr odbc odk ofa offensive office offlinehelp ogg okular omega omxil openal openconnect opengl openldap openmp openssl openvg opus orbit oscar osmesa otr outputs overlays p2p pam pango panorama parted pcap pcapnav pch pcntl pcre pdf pdo perl pgf pgo phonon physfs pipe pixbuf pkcs11 player playlist playtools plotutils plugins png pnm policykit poll pop portaudio portmidi postgres postproc postscript ppds ppp prediction preview-latex prison projectm pstricks publishers pulseaudio pvr python q32 q64 q8 qalculate qimageblitz qos qpak qrcode qscintilla qt3support qt4 qthelp quicklaunch quicktime qwt radio radius raop rar raw rayer_spi rc5 rcs rdesktop rdp readline recorder redeyes reiser4 reiserfs remote resources rpc rpm rss rtf rtmp rtsp ruby samba sasl satamv sbc sbsms sc55-musicpack scanner schroedinger science scim script scripting scripttools scrobbler sdk sdl sdl-image sdl-sound se_swedb seed sendto sensord serial server servletapi session sftp shapefile shine shmvideo shout sid sidebar sift silc sip sipim skins skype slang smi smime smp smpeg sms smtp sna sndfile snmp snowberry soap socialweb sockets socks socks5 sound soundcloud soundtouch soup sox spamassassin speech speex spell spice sql sqlite srtp sse sse2 sse3 sse4 sse4_1 sse4_2 ssh ssl ssse3 stars startup-notification stats subversion svg swig syslog system-cairo system-icu system-jpeg sysvipc t1lib taglib tbb tci tcl tcpd tdb telepathy telnet templates testutil tex4ht texi2html textures themes theora thinkpad threaded threads thumbnail thunderbird tidy tiff timezone timidity tint2conf tk tokyocabinet tools tor-hardening trace tracker transparent-proxy truetype tslib tts twolame udev udisks uhd ukit umfpack undi unicode upcall upnp upower urandom usb usbredir utilities utils uuid v4l vaapi vala vamp vcd vcdx video videoslideshow vim vim-syntax virt-network visualizer vkontakte vlc vlm vnc voice vorbis vpx vte vxml wad wav wavelet wavpack wddx web web-services webkit webkit2 webp webpresence wifi wildmidi wimax winbind winpopup wmf wps wxwidgets x264 xa xanim xattr xcap xcb xcomposite xdg xetex xforward xfs xft xinerama xlib-xcb xml xmldoclet xmlpatterns xmlreader xmlrpc xmltv xmlwriter xmp xpm xprint xps xscreensaver xslt xv xvid zeitgeist zephyr zip zlib zvbi" ABI_X86="32 64" ALSA_CARDS="*" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="*" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="da de en en_GB es fr it ja sv uk" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm cris i386 m68k microblaze mips mips64 mips64el mipsel ppc ppc64 ppcemb sh4 sh4eb sparc sparc64 alpha lm32 microblazeel s390x or32 unicore32 moxie" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64 mips64 mips64el microblazeel s390x unicore32 or32 mipsn32 mipsn32el" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 18 John Manko 2013-12-18 19:37:19 UTC
rm -f /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll && ln /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/distdir/185d60944ea767075d27247c3162b3bc-unowinreg.dll /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll && touch -hr /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/distdir/185d60944ea767075d27247c3162b3bc-unowinreg.dll /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll
touch: setting times of ‘/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll’: Operation not permitted
/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/solenv/gbuild/Package.mk:35: recipe for target '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll] Error 1
make[1]: *** Deleting file '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngi6.pro/sdk/classes/win/unowinreg.dll'
make[1]: *** Waiting for unfinished jobs....
Note: /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/odk/source/com/sun/star/lib/loader/Loader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
rm /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/ExternalHeaders/StaticLibrary/libxmlsec1-nss.a /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/ExternalHeaders/StaticLibrary/libxmlsec1.a /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/workdir/unxlngi6.pro/CustomTarget/i18npool/breakiterator/char_in.txt
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'
Makefile:236: recipe for target 'build-nocheck' failed
make: *** [build-nocheck] Error 2
 * ERROR: app-office/libreoffice-4.1.3.2-r2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 7291:  Called die
 * The specific snippet of code:
 *       make ${target} || die
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.1.3.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.1.3.2-r2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.45"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =libreoffice-4.1.3.2
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'
 * S: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'

>>> Failed to emerge app-office/libreoffice-4.1.3.2-r2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/build.log'

 * Messages for package app-office/libreoffice-4.1.3.2-r2:

 * ERROR: app-office/libreoffice-4.1.3.2-r2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 7291:  Called die
 * The specific snippet of code:
 *       make ${target} || die
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.1.3.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.1.3.2-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'
 * S: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'








# emerge --info '=app-office/libreoffice-4.1.3.2-r2::gentoo'
Portage 2.2.7 (hardened/linux/x86, gcc-4.8.2, glibc-2.17, 3.12.2-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.2-gentoo-i686-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:     3027092 total,    310044 free
KiB Swap:     530140 total,    357232 free
Timestamp of tree: Tue, 17 Dec 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.6, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo godin java-overlay sunrise
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=corei7-avx -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/godin /var/lib/layman/java-overlay /var/lib/layman/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv ipv6 modules mudflap ncurses nls nptl openmp pam pax_kernel pcre pic readline session ssl tcpd unicode urandom x86 zlib" ABI_X86="32" 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" 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 cgi cgid 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 19 Bob Johnson 2013-12-21 04:42:43 UTC
[build PKG] odk_config_notwin
[build JCS] loader
Note: /var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/odk/source/com/sun/star/lib/loader/Loader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[build CPY] CustomTarget/odk/classes/java.done
[build CUS] odk/classes
[build JDC] CustomTarget/odk/docs/java/ref/javadoc_log.txt
[build CUS] odk/docs/java/ref
[build GPK] odk_uno_loader_classes
[build PKG] odk_javadoc
touch: setting times of ‘/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll’: Operation not permitted
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll] Error 1
make[1]: *** Deleting file `/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll'
make: *** [build-nocheck] Error 2
 * ERROR: app-office/libreoffice-4.1.3.2-r2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 7392:  Called die
 * The specific snippet of code:
 *       make ${target} || die
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-4.1.3.2-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-4.1.3.2-r2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.12.7"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =libreoffice-4.1.3.2
 * The complete build log is located at '/home/bjohnson/portagelog/app-office:libreoffice-4.1.3.2-r2:20131221-022449.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'
 * S: '/var/tmp/portage/app-office/libreoffice-4.1.3.2-r2/work/libreoffice-4.1.3.2'

>>> Failed to emerge app-office/libreoffice-4.1.3.2-r2, Log file:

~ # emerge --info '=app-office/libreoffice-4.1.3.2-r2::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.10.17-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    32953404 total,   2285404 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Fri, 20 Dec 2013 16:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo vmware printer-drivers local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA vmware"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/printer-drivers /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 berkdb bzip2 cairo cli clucene colord consolekit cracklib crypt cups curl cxx dbus doc dri examples exif fontconfig fortran gcj gd gdbm gif handbook iconv icu ipv6 jack java jbig jpeg jpeg2k kde kipi kpathsea lcms lzma mbox mmx mng modules mudflap multilib ncurses nls nptl nsplugin odbc ogg openexr opengl openmp pam pango pcre pdf plasma png policykit postgres qt3support readline scanner semantic-desktop session source spell sse sse2 sse4_1 ssl ssse3 svg t1lib tcpd threads tiff truetype unicode webp xattr xinerama xml xpm zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev vmmouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer wiki-publisher" LINGUAS="en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="fbdev intel radeon vesa vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-4.1.3.2-r2 was built with the following:
USE="branding cups dbus gstreamer gtk java kde odk opengl postgres vba webdav (-aqua) -bluetooth -debug -eds -gnome -gtk3 -jemalloc -mysql -telepathy -test" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer wiki-publisher -scripting-beanshell -scripting-javascript" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_3"

/etc/fstab:

/dev/sda1               /boot           ext4    noatime                     1 2
/dev/sda2               /               ext4    noatime                     0 1
/dev/sda3               /home           ext4    noatime                     0 2
/dev/sdb1               /ssd            ext4    noatime,nodiratime,discard  0 0

/swapfile               swap            swap    defaults                    0 0

#shm                     /dev/shm        tmpfs   nodev,nosuid,noexec         0 0

/ssd/opt                /opt            none    bind
/ssd/usr/bin            /usr/bin        none    bind
/ssd/usr/games          /usr/games      none    bind
/ssd/usr/include        /usr/include    none    bind
/ssd/usr/lib32          /usr/lib32      none    bind
/ssd/usr/lib64          /usr/lib64      none    bind
/ssd/usr/libexec        /usr/libexec    none    bind
/ssd/usr/local          /usr/local      none    bind
/ssd/usr/sbin           /usr/sbin       none    bind
/ssd/usr/share          /usr/share      none    bind

/dev/cdrom              /mnt/cdrom      auto    noauto,ro,user              0 0

/dev/sdc1               /mnt/flash      auto    noauto,user                 0 0
/dev/sdd1               /mnt/cf         auto    noauto,user                 0 0
/dev/floppy             /mnt/floppy     auto    noauto,user                 0 0

Built with MAKEOPTS commented out in make.conf so no parallel build in effect (I usually build with -j5). The error still occurs.
Comment 20 Andreas K. Hüttel archtester gentoo-dev 2013-12-21 09:44:25 UTC
OK. A WORKAROUND is to emerge sys-apps/fakeroot and to add "fakeroot" to your FEATURES variable in /etc/portage/make.conf
With that change the build should complete, even with "userpriv usersandbox".

(The bug still has to be fixed though.)
Comment 21 Andreas K. Hüttel archtester gentoo-dev 2013-12-27 16:50:28 UTC
Fix committed in 4.1.4.2 and later. Please give it some hours to propagate to the rsync mirrors before trying.
Comment 22 Andreas K. Hüttel archtester gentoo-dev 2013-12-28 18:57:43 UTC
*** Bug 496284 has been marked as a duplicate of this bug. ***
Comment 23 Juanlu Pérez 2013-12-28 19:24:58 UTC
(In reply to Andreas K. Hüttel from comment #21)
> Fix committed in 4.1.4.2 and later. Please give it some hours to propagate
> to the rsync mirrors before trying.

Really? I tried to keyword this package and emerge it two hours ago and I got this same error.
Comment 24 Andreas K. Hüttel archtester gentoo-dev 2013-12-28 20:33:16 UTC
(In reply to Juanlu Pérez from comment #23)
> (In reply to Andreas K. Hüttel from comment #21)
> > Fix committed in 4.1.4.2 and later. Please give it some hours to propagate
> > to the rsync mirrors before trying.
> 
> Really? I tried to keyword this package and emerge it two hours ago and I
> got this same error.

OK... maybe the fix is incomplete; at least for some people it's fixed now. If you still have it, please make a new bug with the build log and emerge --info ...
Comment 25 Juanlu Pérez 2013-12-29 12:36:49 UTC
Thanks, Andreas.