Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461514 - app-office/libreoffice-4.0.1.2 USE=-gtk - .../work/libreoffice-4.0.1.2/tubes/source/approver.c:32:21: fatal error: gtk/gtk .h: No such file or directory
Summary: app-office/libreoffice-4.0.1.2 USE=-gtk - .../work/libreoffice-4.0.1.2/tubes/...
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: 2013-03-12 11:39 UTC by Vincent de Phily
Modified: 2013-06-23 09:38 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,34.95 KB, application/x-gzip)
2013-03-12 15:12 UTC, Vincent de Phily
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent de Phily 2013-03-12 11:39:42 UTC
app-office/libreoffice-4.0.1.2 fails to build:

/home/portagetmp/portage/app-office/libreoffice-4.0.1.2/work/libreoffice-4.0.1.2/tubes/source/approver.c:32:21: fatal error: gtk/gtk.h: No such file or directory

Note that I have x11-libs/gtk+:2, x11-libs/gtk+:3, dev-cpp/gtkmm:2 and dev-cpp/gtkmm:3 installed, but I have USE="-gtk -gtk3" for libreoffice.

I hear that this version of libreoffice has started using gtk for some of its standard dialogs (as opposed to the gnome file open dialogs which are enabled the the useflags AFAIK). Maybe there is some confusion as to which bits of gtk are now mandatory or not. I do not care to build the gtk file dialogs, as I prefer the KDE ones.




Reproducible: Always




# emerge --info '=app-office/libreoffice-4.0.1.2'
Portage 2.1.11.52 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.7.9-hardened x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.9-hardened-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3930428 total,    147232 free
KiB Swap:    4200992 total,   2329060 free
Timestamp of tree: Tue, 12 Mar 2013 08:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula skype-4.0.0.7-copyright dlj-1.1 AdobeFlash-11.x googleearth Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -fomit-frame-pointer -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -fomit-frame-pointer -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l4 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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="/home/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apache2 apng asf avahi bash-completion berkdb bzip2 cairo cjk cli consolekit cracklib crypt cups curl cxx dbus declarative device-mapper dia dri dts dvd dvdread emacs encode exif ffmpeg flac fontconfig gd gdbm geoip geolocation gif git glibc-omitfp gphoto2 hardened iconv icu inotify ipv6 ipw3945 java jingle jpeg jpeg2k json justify kde kipi laptop live llvm lzma mad matroska mmx mng mod modplug modules mozdevelop mozilla mp3 mpeg mpi mplayer mudflap multilib musicbrainz ncurses nptl nptlonly nspluginwrapper ogg opengl openmp opus orc pam pax_kernel pcre pdf pg-intdatetime php plasma png policykit postgres prison qt3support qt4 readline reports samba schroedinger secure-delete semantic-desktop session speex sql sqlite sqlite3 sse sse2 ssl startup-notification stream subtitles subversion svg system-sqlite telepathy theora threads tiff truetype unicode upnp urandom usb v4l v4l2 vorbis webkit wifi x264 xcb xcomposite xine xinerama xml xscreensaver xvid 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" 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 auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers ident include info log_config logio mem_cache mime mime_magic proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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


# emerge -pqv '=app-office/libreoffice-4.0.1.2'
[ebuild     U ] app-office/libreoffice-4.0.1.2 [3.6.4.3] USE="branding cups dbus gstreamer* java kde opengl postgres telepathy%* vba webdav (-aqua) -bluetooth% -debug% -eds -gnome -gtk -gtk3% -jemalloc -mysql -odk {-test} (-binfilter%) (-binfilterdebug%)" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher (-pdfimport%) (-presenter-console%*)" PYTHON_SINGLE_TARGET="python2_7%* (-python3_3)" PYTHON_TARGETS="python2_7%* (-python3_3)"
Comment 1 Vincent de Phily 2013-03-12 15:12:13 UTC
Created attachment 341802 [details]
build.log.gz

Build log -  sorry forgot it in original post.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2013-03-13 16:50:09 UTC
It is required for telepathy, but still it should be checked in configure better way as you don't need gtk gui for the telepathy to build.

I will have to look into it upstream.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-23 09:38:46 UTC
Ok adjusted ebuilds to work properly.

Thanks a lot for the report and sorry about the delay.