Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575732 - app-office/libreoffice-5.1.0.3 fails with Executable gtktiledviewer must be registered in Repository.mk or RepositoryExternal.mk
Summary: app-office/libreoffice-5.1.0.3 fails with Executable gtktiledviewer must be r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 13:52 UTC by Chris Smith
Modified: 2016-03-25 20:47 UTC (History)
2 users (show)

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


Attachments
build log (build.log,33.49 KB, text/x-log)
2016-02-26 13:52 UTC, Chris Smith
Details
libreoffice-5.1.0.3-gtktiledviewer-needs-gtk3.patch (libreoffice-5.1.0.3-gtktileviewer-needs-gtk3.patch,778 bytes, patch)
2016-03-11 00:20 UTC, Derk W te Bokkel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2016-02-26 13:52:47 UTC
Created attachment 426634 [details]
build log

app-office/libreoffice-5.1.0.3 fails compile with:
Executable gtktiledviewer must be registered in Repository.mk or RepositoryExternal.mk

GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.74"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

emerge --info
Portage 2.2.27 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.22-r2, 4.4.2-gentoo x86_64)
=================================================================
System uname: Linux-4.4.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32896612 total,   2476120 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Fri, 26 Feb 2016 12:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j1"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi aes alsa amd64 amr apache2 audiofile avahi avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cleartype cli corefonts cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg firefox flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea lame lash lcms libffi libnotify lzma mad marble midi mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mtp musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt3support qt4 qt5 readline rtmp sasl scanner sdl seccomp semantic-desktop session slp smp sndfile spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx wav wavpack wayland widgets wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xkb xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" 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="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chris Smith 2016-02-26 15:14:43 UTC
emerge -pqv '=app-office/libreoffice-5.1.0.3::gentoo'
[ebuild     U ] app-office/libreoffice-5.1.0.3 [5.0.5.2] USE="cups dbus gstreamer gtk3 java jemalloc kde mysql (-aqua) -bluetooth -branding -coinmp -collada -debug -eds (-firebird) -gltf -gnome -gtk -libressl -odk -postgres (-telepathy) {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5* -python3_4 (-python2_7%*)" PYTHON_TARGETS="python3_5* -python3_4* (-python2_7%*)"
Comment 2 Andreas Sturmlechner gentoo-dev 2016-02-26 15:50:24 UTC
Problem occurs because of building with USE="-gtk gtk3" although there is no indication upstream that you'd need to set both.
Comment 3 Derk W te Bokkel 2016-02-26 17:37:59 UTC
A work arround:

ran across this earlier (mentioned in bug 575108) .. gtk3 flag can not be used by itself .. due to the addition of gtktiledviewer (gtk:2 only?).. need to use gtk and gtk3 together .. this may be an upstream issue ..  as the repository make files need to be fixed so that use of gtk3 only builds are again possible ..
Comment 4 Chris Smith 2016-02-26 17:52:37 UTC
As I use KDE I went with  "-gtk -gtk3" which worked as well.
Comment 5 Nils Freydank 2016-02-27 23:10:25 UTC
(In reply to Chris Smith from comment #4)
> As I use KDE I went with  "-gtk -gtk3" which worked as well.

Builds here with KDE/Plasma 5 aswell (and didn't with USE="-gtk gtk3"). As far as I can see there aren't any post-build issues (like segfaults in the running program) neither.
Comment 6 Cooper 2016-03-01 08:02:39 UTC
In media-sound/audacious there's a REQUIRED_USE of at-most-one-of ( gtk gtk3 qt5 ). Out of these I only have the gtk3 flag set. When I also provide -gtk the check passes, but now libreoffice fails to build.

I can provide -gtk to just audacious and any other packages that exhibit these problems, but as a distant observer it seems that setting the gtk3 USE flag automagically also sets the gtk USE flag which apparently isn't what's supposed to be happening.
Comment 7 dawgg 2016-03-02 14:04:09 UTC
i've had exactly the same error with USE="-gtk gtk3" (on ~amd64). with USE="gtk gtk3" it does not occur.
Comment 8 Andreas Sturmlechner gentoo-dev 2016-03-10 22:16:18 UTC
Could you try the following patch?

https://cgit.freedesktop.org/libreoffice/core/commit/?id=e451b03e8c21ad23cb1abfd6dd68b6d1e8188121
Comment 9 Derk W te Bokkel 2016-03-11 00:02:07 UTC
early on test seems to indicate the patch works .. compile is proceeding normally with patch and +gtk3  -gtk selected .. build log at 8.72 Mb and climbing well past trouble spot..
Comment 10 Derk W te Bokkel 2016-03-11 00:20:24 UTC
Created attachment 427940 [details, diff]
libreoffice-5.1.0.3-gtktiledviewer-needs-gtk3.patch

here is the patch .. prepared for others to try ..
Comment 11 Derk W te Bokkel 2016-03-11 01:56:56 UTC
patch works fine .. libreoffice works as normal so far .. :)
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2016-03-25 20:47:59 UTC
Fixed in 5.1.1.3