Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540320 - app-office/libreoffice-4.4.0.3 with sys-devel/clang (?) - Work on gallery 'file://.../work/libreoffice-4.4.0.3/workdir/Gallery/arrows' // Existing themes: 0 // [build GAL] people // Existing themes: 1 // Failed to acquire theme
Summary: app-office/libreoffice-4.4.0.3 with sys-devel/clang (?) - Work on gallery 'fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 22:51 UTC by Holger Hoffstätte
Modified: 2015-04-13 06:50 UTC (History)
4 users (show)

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


Attachments
build log with context (libreoffice-4.4.0.3-build.log,14.25 KB, text/plain)
2015-02-16 22:53 UTC, Holger Hoffstätte
Details
libreoffice-4.4.0.3-build.log.gz (libreoffice-4.4.0.3-build.log.gz,553.91 KB, application/gzip)
2015-02-17 09:44 UTC, Holger Hoffstätte
Details
build.log.xz (build.log.xz,392.27 KB, application/x-xz)
2015-02-19 18:59 UTC, Joe Kappus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2015-02-16 22:51:43 UTC
Trying to update from 4.3.5.2 on full ~amd64 fails at the end with the attached log (excerpt with only the relevant part). Since the error message is useless I have not yet been able to figure out *what* it missing or going wrong other than the obvious: apparently there is a theme (or related resource) missing.


Reproducible: Always

Steps to Reproduce:
1. try to emerge libreoffice-4.4.0.3
2. ..zzz..
3. near the end: failure to completely emerge
Actual Results:  
See log.

Expected Results:  
Completed emerge.
Comment 1 Holger Hoffstätte 2015-02-16 22:52:48 UTC
USE flags:
ebuild     U  ] app-office/libreoffice-4.4.0.3::gentoo [4.3.5.2::gentoo] USE="branding cups dbus gtk java postgres vlc (-aqua) -bluetooth -coinmp -collada -debug -eds (-firebird) -gltf -gnome -gstreamer -gtk3 -jemalloc -kde -mysql -odk -telepathy {-test} (-opengl%*)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB

emerge --info:

Portage 2.2.17 (python 3.4.2-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.18.7 x86_64)
=================================================================
System uname: Linux-3.18.7-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    24679140 total,  19873216 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 16 Feb 2015 09:45:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.9::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r1::gentoo
Repositories:

gentoo
    location: /var/portage
    sync-type: rsync
    sync-uri: rsync://tux/gentoo-portage
    priority: -1000

hhoff
    location: /home/holger/Projects/portage
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-3.2/conf"
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"
CXXFLAGS="-pipe -O2 -march=native -mfpmath=sse"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--deep --keep-going --nospinner --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ 	http://mirror.netcologne.de/gentoo/ http://linux.rz.rub.de/gentoo-mirror/"
LDFLAGS="-Wl,-O1,--as-needed,-z,now"
MAKEOPTS="-j8"
PKGDIR="/var/lib/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--compress --exclude-from=/etc/portage/rsync_excludes"
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="/tmp"
USE="X a52 aac acl acpi aio alsa amd64 bcmath blksha1 branding btrfs bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups curl cxx dbus dconf dri dri3 drm dts dvd dvdnav dvdr emboss encode epoll exif fam ffmpeg firefox flac fontconfig g3dvl gallium gbm geoip gif glamor glib gold gpg graphicsmagick graphviz gtk gudev highlight hipe hpn iconv icu inotify ipc iproute2 ipv6 jce jit jpeg jpeg2k kpoll ladspa lcms ldap libnotify libsamplerate logrotate lua luajit lzma lzo mad mdnsresponder-compat mercurial metalink mmx mmxext mng modules mozsha1 mp3 mp4 mpeg multilib ncurses netlink network nfs nfsv4 nfsv41 nptl nscd nss ntfs objc objc++ offensive ogg opencl opengl openmax openmp openssl pam pango pcre pdf png policykit postproc ppds pulseaudio qt3support qt4 quvi r600-llvm-compiler rar readline realtime session setproctitle sharedmem smi smp spell sse sse2 ssl startup-notification subversion svg system-boost system-cairo system-icu system-jpeg system-libvpx tcpd threads tiff truetype tty-helpers udev udisks unicode upower usb uuid vdpau vlc vorbis vpx wxwidgets x264 xa xattr xcb xml xmp xv xvid xvmc zip zlib zsh-completion" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="aggregation apcups contextswitch cpu cpufreq df disk interface irq load logfile memory network processes sensors swap syslog thermal vmem" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 2 Holger Hoffstätte 2015-02-16 22:53:35 UTC
Created attachment 396636 [details]
build log with context
Comment 3 Joe Kappus 2015-02-17 03:58:24 UTC
same problem for me. I build libreoffice with clang though.

Portage 2.2.17 (python 3.4.2-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.2, glibc-2.20-r1, 3.18.6-ck1 x86_64)
=================================================================
System uname: Linux-3.18.6-ck1-x86_64-Intel-R-_Core-TM-_i7-4558U_CPU_@_2.80GHz-with-gentoo-2.2
KiB Mem:    16318148 total,   7185176 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 17 Feb 2015 00:00:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::libressl, 3.4.2::libressl
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.9::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r1::gentoo
Repositories:
gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

AzP
    location: /var/lib/layman/AzP
    masters: gentoo
    priority: 50

alexxy
    location: /var/lib/layman/alexxy
    masters: gentoo
    priority: 50

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50
bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

libressl
    location: /var/lib/layman/libressl
    masters: gentoo
    priority: 50

luke-jr
    location: /var/lib/layman/luke-jr
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 50

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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="-O2 -pipe -march=native -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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://gentoo.llarian.net/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
USE="X alsa amd64 berkdb bzip2 c++0x cli corefonts cracklib crypt cups cxx dri egl flac fontconfig gdbm gif gpm iconv icu ipv6 jpeg libressl mmx modules mp3 ncurses nls nptl nptlonly ogg opengl openmp pam pch pcre png ppds qt5 readline sdl session sse sse2 ssl tcpd threads tiff truetype unicode usb vaapi wifi xcb xinerama 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="nmea" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa i965" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-17 08:19:26 UTC
Comment on attachment 396636 [details]
build log with context

Please attach the entire build log to this bug report.
Comment 5 Holger Hoffstätte 2015-02-17 09:44:06 UTC
Created attachment 396670 [details]
libreoffice-4.4.0.3-build.log.gz
Comment 6 Holger Hoffstätte 2015-02-17 10:01:56 UTC
(In reply to Joe Kappus from comment #3)
> same problem for me. I build libreoffice with clang though.

So do I, but that doesn't seem to have anything to do with the problem (and wasn't in the past).
Comment 7 Joe Kappus 2015-02-19 18:59:55 UTC
Created attachment 396988 [details]
build.log.xz

Full build log attached.

Considering the vast majority of gentoo users build libreoffice with gcc and not clang, I'm gonna go out on a limb and guess it's causing the problem somehow.  I mentioned it because I don't trust using clang for everything and was not sure it would appear in my emerge --info.

I'm gonna try building this with gcc and let you know what happens.
Comment 8 Joe Kappus 2015-02-19 21:59:37 UTC
Builds fine with gcc-4.9.2.

So can we get a title change that this is very obviously clang related?
Comment 9 Holger Hoffstätte 2015-02-20 09:33:30 UTC
(In reply to Joe Kappus from comment #8)
> Builds fine with gcc-4.9.2.

Well, damn: can confirm, build succeeded on two machiens with gcc (in twice the time). Very weird, to say the least.
Comment 10 Holger Hoffstätte 2015-02-23 18:36:11 UTC
Decided to try with unmasked llvm/clang 3.6.0_rc4. Built & works perfectly again.
Comment 11 Joe Kappus 2015-04-12 18:47:02 UTC
llvm-3.6 cannot reproduce this bug. Should this be closed now?
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2015-04-12 19:08:53 UTC
(In reply to Joe Kappus from comment #11)
> llvm-3.6 cannot reproduce this bug. Should this be closed now?

Yes.
Comment 13 Marcel Pennewiß 2015-04-13 06:50:47 UTC
(In reply to Joe Kappus from comment #11)
> llvm-3.6 cannot reproduce this bug. Should this be closed now?

clang-3.6/llvm-3.6 isn't stable in tree, libreoffice-4.4 is stable. so the build issue IMHO still exists on stable systems.