automation deliver deliver -- version: 275594 Module 'automation' delivered successfully. 16 files copied, 5 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/sfx2/prj it seems that the error is inside 'sfx2', please re-run build inside this module to isolate the error and/or test your fix: ----------------------------------------------------------------------- rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2/sfx2/unxlngx6.pro # optional module 'clean' /bin/sh cd /var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2 source ./LinuxX86-64Env.Set.sh cd sfx2 build when the problem is isolated and fixed exit and re-run 'make' from the top-level make: *** [all] Error 1 emake failed * ERROR: app-office/libreoffice-3.4.2.2 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8833: Called die * The specific snippet of code: * emake || die * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.2.2', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.2.2'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.26" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.4.2.2/work/libreoffice-bootstrap-3.4.2.2' >>> Failed to emerge app-office/libreoffice-3.4.2.2, Log file: >>> '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/build.log' * * The following package has failed to build or install: * * (app-office/libreoffice-3.4.2.2::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-office/libreoffice-3.4.2.2/temp/build.log' Reproducible: Always emerge --info Portage 2.2.0_alpha47 (default/linux/amd64/10.0/desktop, gcc-4.6.1, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3 Timestamp of tree: Wed, 27 Jul 2011 05:30: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.6.3-r1, 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.4.1-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 miscellaneous Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" 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 /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/splash /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" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j17 -l24" PKGDIR="/usr/portage/packages" 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="/usr/portage/local/miscellaneous" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib accessibility acl acpi aften alsa amd64 animate archive ares artworkextra audio audiofile avahi bash-completion beep berkdb bidi bittorrent bluetooth bookmarks branding bzip2 cairo cdda cddb cdio cdr chm cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus declarative deprecated designer-plugin device-mapper dga directfb discouraged doc dri dts dv dvb dvd dvdnav dvdr ebook eds elisp emacs emboss emerald encode esd eselect examples exif expat extra-tools extras fam fat fax fbcon fbcondecor ffmpeg firefox flac flash fltk fontconfig foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu ggi gif gimp glep glib gnome gnutls gphoto2 gpm gstreamer gtk handbook hddtemp hfs hpijs html httpd hwdb hyperestraier iconv idn imagemagick imlib inkjar inotify ipv6 jack jadetex java jfs joystick jpeg jpeg2k kde kdrive kerberos konqueror lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nls npp nptl nptlonly nsplugin ntfs objc odbc offensive ogg openal openexr opengl openmp osdmenu pam pango pcre pdf perl plasma png policykit postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner script sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound speech speex spell sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates themes theora threads thumbnail tidy tiff timidity tk tools truetype udev unicode unsupported usb utils v4l2 vcd vdpau vdr video vlm vorbis wav wavpack weather webkit wmf x264 xattr xcb xcomposite xfs xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf 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" 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 joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
please add complete build log as attachment
Created attachment 281177 [details] Build Log with build error.
I am getting the same error even with the just posted libreoffice-3.4.2.3. emerge --info Portage 2.1.10.7 (default/linux/amd64/10.0/desktop, gcc-4.6.1, glibc-2.13-r4, 3.0.0-gentoo x86_64) ================================================================= System uname: Linux-3.0.0-gentoo-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.3 Timestamp of tree: Wed, 27 Jul 2011 00: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.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.6.1::x-portage sys-devel/gcc-config: 1.4.1-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 x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Nero-EULA-US dlj-1.1 googleearth AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /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" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.163.com/gentoo/ http://gentoo.netnitco.net http://gentoo.lcc.ufmg.br" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext S3TC X a52 aac acpi aften alsa amd64 apng atsc bash-completion binary-drivers bzip2 cairo cdda cddb cdparanoia cdr cdrom consolekit cracklib crypt css cups curl cxx dbus declarative dri dts dv dvb dvd dvdnav dvdr embedded emerald emoticon enca encode exif expat extras fame ffmpeg fftw firefox flac gdbm gdu gif gimp glibc-omitfp glut gnome gnutls graphite gstreamer gtk gzip hpcups hpijs iconv ieee1394 imagemagick imlib iproute2 java javascript joystick jpeg jpeg2k kde kdm kipi lame lcms ldap libnotify libv4l2 libvisual live lm_sensors lua lzo mad maps mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz mysql ncurses network nls nodrm normalize nptl nptlonly nsplugin nspr nvidia offensive offlinehelp ogg openal opengl openmp pam pango pcre pdf perl phonon physfs png policykit ppds python qt3support qt4 quicktime rar readline rss rtc samba sasl scanner sdl semantic-desktop smartcard sound spell sse sse2 sse3 ssl startup-notification subtitles svg svgz sysfs syslog tcpd templates theora threads threadsafe tiff transcode truetype twolame udev unicode unzip urandom usb userlocales utempter v4l2 vaapi vcd vdpau videos vorbis wav weather wifi wma wmf x264 xcb xcomposite xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" 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="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="dvb_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" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
[ info ALL ] currently known libraries are: X11 avmedia basegfx comphelper cppu cppuhelper cppunit cui dl drawinglayer editeng for forui fsstorage fwe fwi fwk fwl fwm hatchwindowfactory i18nisolang1 i18npaper i18nutil icuuc jpeg jvmfwk lng lomenubar m msfilter msforms msword oox passwordcontainer productregistration pthread qstart_gtk rdf sal salhelper sax sb sc scd scfilt scui sfx sm smd sot spa svl svt svx svxcore sw swd swui test textconversiondlgs tk tl ucbhelper unordf unoxml utl vbahelper vbaobj vbaswobj vcl xcr xml2 xo xof xslt z /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sfx2/Library_qstart.mk:63: *** Cannot link against library/libraries -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng14 -lgthread-2.0 -lrt -lglib-2.0. Libraries must be registered in Repository.mk. Stop. dmake: Error code 2, while making 'all' The actual error ^ Ago: your log you sent me over mail is the same bug.
Looks like my as-needed patch did not do great job :/
I updated the libreoffice-as-needed-gtk.patch. Please sync your tree and retry, if it works confirm it here, thanks.
Nope my updated patch won't fix it. So enabled gtk useflag will ALWAYS make libreoffice compilation fail, anyone feel free to update the patch, i will get to it tomorow evening again.
*** Bug 376707 has been marked as a duplicate of this bug. ***
To explain this bug a bit more: It is fixed in the trunk (3.5 series) by my suggestion. But the problem is the buildsystem changes are so extensive it can't be backported. And nobody was able to point me to proper direction where to store the $(GTK_LIBS) variable in the old system. Good possibility would be to disable --as-needed build for libreoffice (half of it build without respecting ldflags anyway). Suggestions, ideas anyone?
If I build without gtk use here is what happens Install /usr/bin/unopkg Install /usr/share/man/man1/unopkg.1.gz Install /basis/program/java-set-classpath ./bin/distro-install-sdk ./bin/distro-install-file-lists Generating package file lists for Gentoo Foundation... >>> Completed installing libreoffice-3.4.2.3 into /var/tmp/portage/app-office/libreoffice-3.4.2.3/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-3614.log" 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.3/image//usr/bin/libreoffice A: /var/tmp/portage/app-office/libreoffice-3.4.2.3/image/usr/bin/libreoffice R: /usr/lib64/libreoffice/program/soffice C: chmod 0755 /var/tmp/portage/app-office/libreoffice-3.4.2.3/image//usr/bin/libreoffice /var/tmp/portage/app-office/libreoffice-3.4.2.3/image//usr/bin/libreoffice-printeradmin -------------------------------------------------------------------------------- !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.26" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge app-office/libreoffice-3.4.2.3, Log file: >>> '/var/tmp/portage/app-office/libreoffice-3.4.2.3/temp/build.log' * * The following package has failed to build or install: * * (app-office/libreoffice-3.4.2.3::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-office/libreoffice-3.4.2.3/temp/build.log'
(In reply to comment #9) > Good possibility would be to disable --as-needed build for libreoffice (half of > it build without respecting ldflags anyway). > > Suggestions, ideas anyone? Seems like disabling --as-needed is suitable until we have a 3.5 release.
This bug should be fixed by enforcing of --no-as-needed for that object. Fwiw that sandbox violation was fixed this morning. If you don't want to compile needlessly just compare the files you have in your tree with http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-office/libreoffice/, if they differ it is time to download them from there or resync :)
*** Bug 376801 has been marked as a duplicate of this bug. ***