Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326253 - Openoffice-3.2.0 fails to build with error about GTK+
Summary: Openoffice-3.2.0 fails to build with error about GTK+
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 01:49 UTC by Mark Wagner
Modified: 2010-06-30 05:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wagner 2010-06-30 01:49:19 UTC
While attempting to emerge openoffice-3.2.0, the configure stage fails with an error about not meeting Gtk+ library requirements.

Reproducible: Always

Steps to Reproduce:
1. emerge --ask '=openoffice-3.2.0'
Actual Results:  
The configure stage errors out with the following message:

checking for widget sets... checking for FOO_GTK... no
configure: error: Gtk+ library requirements were not met

Expected Results:  
Openoffice compiles

emerge --info

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33.5 x86_64)
=================================================================                        System Settings
=================================================================
System uname: Linux-2.6.33.5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 28 Jun 2010 21:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.llarian.net/pub/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.arcticnetwork.ca/source/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es es_ES la"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/perl-experimental /usr/local/layman/oss-overlay /usr/local/layman/pcsx2 /usr/local/layman/multilib /usr/local/layman/d /usr/local/layman/kde3 /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bzip2 cdparanoia cdr cli cracklib crypt curl cxx dbus dri dvb dvd dvdr exif faac faad fam ffmpeg flac fortran fortune ftp gd gdbm gif gimp glut gmp gstreamer gtk hal iconv idn ieee1394 imagemagick ipv6 joystick jpeg jpeg2k kde lcms libwww lm_sensors logrotate maildir midi mikmod mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss oss4 pam pcre pda pdf perl png pppd python qt3 qt3support qt4 readline reflection session smp sndfile spell spl sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs syslog tcpd theora tiff timidity truetype unicode usb v4l v4l2 vorbis wxwindows xcomposite xml xorg xscreensaver xv xvid xvmc zlib" 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_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES la" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa fbdev nvidia fglrx radeonhd" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2010-06-30 02:43:21 UTC
Did you check config.log already ?
Comment 2 Mark Wagner 2010-06-30 04:21:34 UTC
(In reply to comment #1)
> Did you check config.log already ?
> 

Thanks for the suggestion.  This looks suspicious:

configure:5688: checking for FOO_GTK
configure:5695: $PKG_CONFIG --exists --print-errors " gtk+-2.0 "
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
configure:5698: $? = 1
configure:5711: $PKG_CONFIG --exists --print-errors " gtk+-2.0 "
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
configure:5714: $? = 1
Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found
configure:5741: result: no
configure:5754: error: Gtk+ library requirements were not met

Looks like something went wrong when upgrading libpng from 1.2 to 1.4 that neither the "fix libtool files" script nor revdep-rebuild caught.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-06-30 05:23:18 UTC
(In reply to comment #2)
> Looks like something went wrong when upgrading libpng from 1.2 to 1.4 that
> neither the "fix libtool files" script nor revdep-rebuild caught.

That's why the cairo 1.8.8-r1 stabilization was supposed to happen at the same time with libpng 1.4.3... because you need to:

emerge -1 pango cairo gtk+ libglade

(I've added couple of extra libs to that command just in case.)

Reopen if that doesn't solve it for you.