Compilation of app-office/libreoffice-3.4.2.2 fails with MAKEOPTS=-j1 and USE="" with: unoxml deliver deliver -- version: 275594 Module 'unoxml' delivered successfully. 1 files copied, 0 files unchanged ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/stoc/source/bootstrap it seems that the error is inside 'stoc', please re-run build inside this module to isolate the error and/or test your fix: (With MAKEOPTS=-j5 it fails too with Building module translate_toolkit ============= testautomation deliver Entering /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solenv Entering /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/translate_toolkit dmake: Error code 1, while making '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk' dmake: '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk' removed. dmake: /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solenv/inc/settings.mk: line 76: Error: -- Include file /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solver/340/unxlngx6.pro/inc/340minor.mk, not found deliver -- version: 275594 Module 'testautomation' delivered successfully. 31 files copied, 0 files unchanged ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/solenv ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/translate_toolkit it seems you are using a threaded build, which means that the actual compile error is probably hidden far above, and could be inside any of these other modules: solenv ) Reproducible: Always Steps to Reproduce: 1.Unmask app-office/libreoffice-3.4.2.2, be ~amd64 and use gcc-4.6.1 2.Set MAKEOPTS=-j1 and USE="binfilter cups dbus gstreamer gtk java kde ldap mysql odk offlinehelp opengl pch python templates webdav" 3.Emerge package Actual Results: Error is inside 'stoc'. Expected Results: Builds fine. emerge --info Portage 2.2.0_alpha47 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.1, glibc-2.13-r4, 3.0.0-gentoo-1d x86_64) ================================================================= System uname: Linux-3.0.0-gentoo-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 25 Jul 2011 15:00:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r2, 3.2-r2 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.6.1 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -ggdb -march=core2" 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/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -pipe -ggdb -march=core2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe -ggdb -march=core2" GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="echo" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gmp gpm gtk iconv idn ithreads java jpeg jpeg2k kde kipi lcms ldap libnotify lzma mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly objc objc++ objc-gc odbc ogg openexr opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline samba sdl semantic-desktop session slang speex spell sqlite sse sse2 ssl ssse3 svg sysfs tcl tcpd threads tiff tk truetype udev unicode usb vorbis wavpack x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2 canon hp215 sony_dscf1 sony_dscf55" 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 ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="inputlirc pctv hauppauge hauppauge_dvb devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 280945 [details] -j1 build log gzipped
Try to disable useflag pch aka precompiled headers.
The first build issue is paralllel. The second was indeed the pch as I suspected. I just removed the flag as the gain is not so large unless you are on windows platform anyway. Lemme know if it still fails with the latest ebuild that doesn't have the pch useflag.
> Try to disable useflag pch aka precompiled headers. Having the same issue, this helped in my case. However, I encountered a sandbox violation in the later process: --- VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fchmodat S: deny P: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice A: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image/usr/bin/libreoffice R: /usr/lib64/libreoffice/program/soffice C: chmod 0755 /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice-printeradmin ---
(In reply to comment #4) > > Try to disable useflag pch aka precompiled headers. > > Having the same issue, this helped in my case. However, I encountered a sandbox > violation in the later process: > > --- > VERSION 1.0 > FORMAT: F - Function called > FORMAT: S - Access Status > FORMAT: P - Path as passed to function > FORMAT: A - Absolute Path (not canonical) > FORMAT: R - Canonical Path > FORMAT: C - Command Line > > F: fchmodat > S: deny > P: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice > A: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image/usr/bin/libreoffice > R: /usr/lib64/libreoffice/program/soffice > C: chmod 0755 > /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice > /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice-printeradmin > --- That's new, will look to it :/ Tho it will take few hours to compile it again :/ Could you attach full build log for the fun in the meantime?
With MAKEPOTS=-j1 and without pch it compiled and installed but qmerge not ran automatically. I ran ebuild ... compile, install and finally qmerge manually and it installed. Now I found that build.log was rewritten and not appended by my manual ebuild calling! Sorry, no build.log. In manually initiated qmerge it complained about: Copying icons .. chmod: cannot operate on dangling symlink `/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/sysui/unxlngx6.pro/misc/libreoffice3.4-slackware-menus-3.4-noarch-202/usr/bin/libreoffice3.4' >>> /usr/lib64/libreoffice/basis3.4/sdk/bin/unoapploader ^[[31;01m * ^[[39;49;00m ^[[31;01m * ^[[39;49;00mInstallation of a symlink is blocked by a directory: ^[[31;01m * ^[[39;49;00m '/usr/lib64/libreoffice/basis3.4/sdk/idl' ^[[31;01m * ^[[39;49;00mThis symlink will be merged with a different name: ^[[31;01m * ^[[39;49;00m '/usr/lib64/libreoffice/basis3.4/sdk/idl.backup.0000' >>> /usr/lib64/libreoffice/basis3.4/sdk/lib/libuno_purpenvhelpergcc3.so -> ../../ure-link/lib/libuno_purpenvhelpergcc3.so.3 ^[[31;01m * ^[[39;49;00m ^[[31;01m * ^[[39;49;00mInstallation of a symlink is blocked by a directory: ^[[31;01m * ^[[39;49;00m '/usr/lib64/libreoffice/basis3.4/sdk/docs' ^[[31;01m * ^[[39;49;00mThis symlink will be merged with a different name: ^[[31;01m * ^[[39;49;00m '/usr/lib64/libreoffice/basis3.4/sdk/docs.backup.0000' and more.
Sandbox violation during install phase: --- Fixing permissions... Checking for DESTDIR inside installed files... ./bin/distro-install-desktop-integration Copying icons .. Copying GNOME icons .. ACCESS DENIED fchmodat: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image/usr/bin/libreoffice chmod: changing permissions of `/var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice': Permission denied --- VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fchmodat S: deny P: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice A: /var/tmp/portage/app-office/libreoffice-3.4.2.2/image/usr/bin/libreoffice R: /usr/lib64/libreoffice/program/soffice C: chmod 0755 /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice /var/tmp/portage/app-office/libreoffice-3.4.2.2/image//usr/bin/libreoffice-printeradmin ---
Created attachment 281057 [details] build log full -j1 with sandbox violation
Attached build log got by copying console output.
Created attachment 281059 [details] Build log Same violation error on another machine, build log attached. This time I've used the ebuild having the pch flag already removed.
Ook the sandbox violation should be fixed now, so only issue lest is that parallel make issue on solenv which i dunno how to fix
Is parallel make supported by upstream? I am thinking about to open bug report there.
Parallel make issue should be fixed by libreoffice-translate-toolkit-parallel-solenv.patch. So all the issues you guys reported should be now covered and working.
(In reply to comment #11) > Ook the sandbox violation should be fixed now, so only issue lest is that > parallel make issue on solenv which i dunno how to fix Are you sure? I get the same thing with the sandbox patch. I don't see access to /tmp/distro-pack-desktop-integration-XXXXXX, but something that should be allowed. Exact as comment#7 and epilogue of attachment#281057 [details]. Thanks!
(In reply to comment #14) > (In reply to comment #11) > > Ook the sandbox violation should be fixed now, so only issue lest is that > > parallel make issue on solenv which i dunno how to fix > > Are you sure? > I get the same thing with the sandbox patch. > > I don't see access to /tmp/distro-pack-desktop-integration-XXXXXX, but > something that should be allowed. > > Exact as comment#7 and epilogue of attachment#281057 [details]. > > Thanks! Tried to build again, got same sandbox error.
Yeah there was one another violation. I fixed it this morning, sorry.
(In reply to comment #16) > Yeah there was one another violation. I fixed it this morning, sorry. Thanks. Built correctly.