Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474632

Summary: app-office/libreoffice-4.1.0.1 —workdir/unxlngi6.pro/CxxObject/sc/source/ui/namedlg/namedlg.o: file not recognized: File truncated
Product: Gentoo Linux Reporter: Piotr Szymaniak <bugzie>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build.log.bz2

Description Piotr Szymaniak 2013-06-24 20:11:51 UTC
Created attachment 351830 [details]
Build.log.bz2

emerge --info =libreoffice-4.1.0.1
Portage 2.2.0_alpha184 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.8.13 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.2
KiB Mem:     4148712 total,    608448 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Mon, 24 Jun 2013 08:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 i686-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, 3.2.5, 3.3.2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
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.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo multimedia x11 mgorny sunrise roslin
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/p/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -march=i686 -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 sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/home/p/binpkgs"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
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="/var/lib/layman/multimedia /var/lib/layman/x11 /var/lib/layman/mgorny /var/lib/layman/sunrise /home/lazy_bum/uberlay/roslin"
SYNC="rsync://10.0.0.2/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-cflags custom-cxxflags cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gif gles iconv ipv6 jabber jpeg lcms libnotify mad mmx mmxext mng modules mp3 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 x86 xcb xinerama xml xorg xv xvid 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="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="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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 arm" QEMU_USER_TARGETS="i386 arm" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="pixma" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-24 20:25:38 UTC
Out of ram/disk during linking? Otherwise compiler issue possibly...
Comment 2 Piotr Szymaniak 2013-06-24 20:35:49 UTC
(In reply to Tomáš Chvátal from comment #1)
> Out of ram/disk during linking? Otherwise compiler issue possibly...

maszn ~ # df -lh | egrep -i '(Filesystem|portage)'
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda4        33G  2,2G   30G   7% /var/tmp/portage
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-24 20:37:31 UTC
Okey disk is out of question, did you have some memory usage monitor during the build? Did it take excessive amount of memory to build?
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-06-24 20:47:02 UTC
Some discrepancy that may need explanation:
your emerge --info
> ccache version 3.1.9 [disabled]
your build.log
> * FEATURES:   ccache preserve-libs sandbox

Corruption in ccache cache is one possibility which can lead to the "File truncated" symptoms. Disable or empty your ccache.
Comment 5 Piotr Szymaniak 2013-06-24 20:49:09 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #4)
> Some discrepancy that may need explanation:
> your emerge --info
> > ccache version 3.1.9 [disabled]
> your build.log
> > * FEATURES:   ccache preserve-libs sandbox
> 
> Corruption in ccache cache is one possibility which can lead to the "File
> truncated" symptoms. Disable or empty your ccache.

Yeah, I got ccache for libreoffice builds enabled (never had any major issues with it), but can check without it. Give me few hours!
Comment 6 Piotr Szymaniak 2013-06-25 13:07:20 UTC
It compiled fine without ccache, so I'm closing this as invalid. Sorry for the noise. :)