Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435448 - app-office/libreoffice 3.6.1.2 - .../work/libreoffice-core-3.6.1.2/workdir/unxlngx6.pro/CxxObject/comphelper/source/misc/officerestartmanager.o: file not recognized: File truncated
Summary: app-office/libreoffice 3.6.1.2 - .../work/libreoffice-core-3.6.1.2/workdir/un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 18:35 UTC by widyachacra
Modified: 2013-04-26 18:53 UTC (History)
0 users

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


Attachments
libreoffice 3.6.1.2 build log (build.log.zip,268.38 KB, application/x-zip)
2012-09-18 19:23 UTC, widyachacra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description widyachacra 2012-09-18 18:35:03 UTC
ERROR: error 512 occurred while making /var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/comphelper/prj

 it seems that the error is inside 'comphelper', please re-run build
 inside this module to isolate the error and/or test your fix:

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

make comphelper.clean # optional
make comphelper

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2'
make: *** [build] Error 2
 [31;01m*[0m ERROR: app-office/libreoffice-3.6.1.2 failed (compile phase):

-----------------------------------

emerge --info

Portage 2.1.11.18 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.2-gentoo-ait-hpyavroo12-kvm x86_64)
=================================================================
System uname: Linux-3.5.2-gentoo-ait-hpyavroo12-kvm-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.2
Timestamp of tree: Tue, 18 Sep 2012 13:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo vmware
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/openvpn/easy-rsa /var/bind /var/yp/Makefile"
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/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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="-O2 -march=athlon64 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/distfiles_spool"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US si"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/root/overlays/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache2 avahi berkdb bluetooth bluray branding bzip2 cairo calendar calendari cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr emboss encode exif fam fbcon firefox flac fortran gdbm geoip gif gimp gnutls gpm gps gsm hdri iconv imagemagick imap ipv6 java javascript jpeg jpeg2k kde lcms ldap libcaca libnotify lirc lzo mad md5sum mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack mysql ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon png policykit ppds pppd pulseaudio qt3support qt4 readline scanner sdl semantic-desktop session slp socks5 speex spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l2 vorbis wifi wxwidgets x264 xanim xattr xcb xcomposite xine xinerama xml xpm xv xvid zlib" ALSA_CARDS="hda-intel" 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 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 ident imagemap log_forensic version" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="mdraid lvm 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US si" NGINX_MODULES_MAIL="smtp" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_USER_TARGETS="i386 ppc ppc64 ppc64abi32 sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon svga" 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 1 widyachacra 2012-09-18 19:23:43 UTC
Created attachment 324236 [details]
libreoffice 3.6.1.2 build log
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-09-19 19:12:23 UTC
What happens if you run the steps in the crash log?

cd /var/tmp/portage/.../work/libreoffice-3.6.1.2/
df -hs
make comphelper
Comment 3 widyachacra 2012-09-20 18:39:47 UTC
(In reply to comment #2)
> What happens if you run the steps in the crash log?
> 
> cd /var/tmp/portage/.../work/libreoffice-3.6.1.2/
> df -hs
> make comphelper

#make comphelper 

libreoffice-core-3.6.1.2 # make comphelper
make -r -f /var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/Makefile.top comphelper
make[1]: Entering directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2'
Automatic fetching of external tarballs is disabled.
cd comphelper && make -j 3 -rs gb_PARTIALBUILD=T
[ build LNK ] Library/libcomphelpgcc3.so
make[2]: Entering directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/comphelper'
/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/workdir/unxlngx6.pro/CxxObject/comphelper/source/misc/officerestartmanager.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/workdir/unxlngx6.pro/LinkTarget/Library/libcomphelpgcc3.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/comphelper'
make[1]: *** [comphelper] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2'
make: *** [comphelper] Error 2

-------------------------------------------------------


This error will disapear after enter #make comphelper.clearn && make comphelper
---------------------------------
[ build LNK ] CppunitTest/libtest_comphelper_test.so
[ build MOD ] comphelper
[ build ALL ] top level modules: comphelper
[ build ALL ] loaded modules: comphelper

[ build CUT ] comphelper_test
[ build CHK ] comphelper
[ build CHK ] loaded modules: comphelper

make[2]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2/comphelper'
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.1.2/work/libreoffice-core-3.6.1.2'
------------------------------

#make comphelper ; #command successfully compiled. 

I ran the ...#make ; #command after complete the comphelper module compiled. It took serveral minutes for me & compiled the whole office suite without giving any errors. 

I think this issue is due to some USE flag mismatch in ebuild installation order error.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 18:53:17 UTC
this does not seem to be possible with libreoffice-4.0+.

Please reopen or fill a new bug if you still happen to trigger it there.