Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325977 - =net-libs/xulrunner-1.9.2.6 fails to compile
Summary: =net-libs/xulrunner-1.9.2.6 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 13:12 UTC by shinydoofy
Modified: 2010-06-28 18:26 UTC (History)
1 user (show)

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


Attachments
As requested per comment #1 (build.log,306.94 KB, text/plain)
2010-06-28 14:36 UTC, shinydoofy
Details
As requested per comment #1 (config.log,45.26 KB, text/plain)
2010-06-28 14:36 UTC, shinydoofy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shinydoofy 2010-06-28 13:12:46 UTC
When I try to emerge said version of xulrunner for a world update, it fails to compile with
In file included from nsSystemInfo.cpp:45:
../../dist/system_wrappers/gtk/gtk.h:3:26: error: gtk/gtk.h: No such file or directory
nsSystemInfo.cpp: In member function 'nsresult nsSystemInfo::Init()':
nsSystemInfo.cpp:85: error: 'gtk_major_version' was not declared in this scope
nsSystemInfo.cpp:85: error: 'gtk_minor_version' was not declared in this scope
nsSystemInfo.cpp:85: error: 'gtk_micro_version' was not declared in this scope
make[4]: *** [nsSystemInfo.o] Error 1

My active USE flags are "alsa dbus ipc java libnotify -custom-optimization -debug -elibc_FreeBSD -gnome -startup-notification -system-sqlite -wifi"

Reproducible: Always

Steps to Reproduce:




GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.20"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""


# emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-64 x86_64)
=================================================================
System uname: Linux-2.6.34-64-x86_64-Intel-R-_Core-TM-_i7_CPU_X_980_@_3.33GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Jun 2010 11:45:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula cadsoft ut2003 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS=""
MAKEOPTS="-j13"
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/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 bash-completion berkdb bluetooth bzip2 cdr cli cracklib crypt cups cursors cxx dbus dri dts dvd dvdr ffmpeg firefox flac fortran gdbm gif glut gpm gtk icons iconv id3 id3tag ipv6 jack java jpeg jpeg2k kde libcaca libnotify libsamplerate lm_sensors mad matroska mmx mmxext modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg ogm opengl openmp pcre pdf perl png pppd python qt3support qt4 readline reflection samba sdl session smp speex spl srt sse sse2 ssl svg sysfs tcpd tetex theora tiff truetype unicode usb vdpau vorbis wmf x264 xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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 authn_alias authn_anon 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


x11-libs/gtk+-2.20.1-r1 is installed if that's of any importance.
Comment 1 Rafał Mużyło 2010-06-28 13:29:07 UTC
Attach full build log and config.log.
Comment 2 Vasilis Lourdas 2010-06-28 14:12:55 UTC
Same here.

emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Jun 2010 13:30:12 +0000
ccache version 2.4 [enabled]
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/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
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 sun-bcla-java-vm skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirror.jamit.de/gentoo/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB en_US el"
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="/var/lib/layman/arcon /var/lib/layman/kde-sunset /var/lib/layman/devnull /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 asf bash-completion berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cleartype cli consolekit contrast cracklib crypt css ctype cups cupsddk curl custom-optimization cxx dba dbus dcc_video dmi dri dts dvd dvdr dvdread effects embedded emboss encode exif expat extras faac faad fam fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify jabber java java6 javascript jpeg jpeg2k json kde kdehiddenvisibility kipi lame lcms lensfun libnotify libsamplerate libwww lm_sensors mad madwifi maildir mailwrapper maps melt mhash mikmod mime mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs objc offensive ofx ogg opengl openmp pam pango pcmcia pcntl pcre pdf pdo pear perl php plasma pmu png policykit posix ppds pppd python qt3 qt3support qt4 quicktime rar raw rdesktop readline redeyes reflection reiserfs reports ruby sasl scanner sdl semantic-desktop server session sha512 sharedext simplexml slang smp sndfile soap sockets speex spell spl spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog tcltk tcpd templates tetex theora threads tidy tiff tokenizer tordns truetype udev unicode usb userlocales vda vdpau vnc vncviewer vorbis wmf wv wxgtk1 x264 xcomposite xfs xine xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xulrunner xv xvid xvnc zip zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US el" NETBEANS_MODULES="cnd php ide nb webcommon xml gsf harness websvccommon" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 shinydoofy 2010-06-28 14:36:14 UTC
Created attachment 236813 [details]
As requested per comment #1
Comment 4 shinydoofy 2010-06-28 14:36:31 UTC
Created attachment 236815 [details]
As requested per comment #1
Comment 5 Rafał Mużyło 2010-06-28 16:48:37 UTC
> checking MOZ_GTK2_CFLAGS... 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

Seems somebody didn't complete libpng update.
Comment 6 shinydoofy 2010-06-28 17:04:07 UTC
That... was embarrassing. I formerly masked several libpng versions because quite some packages were complaining about blocks (1.2.something needed by these and 1.4.something needed by others). Just today I unmasked them to let it all update in one big swing as those blocks seemed to have vanished.

Anyway, it compiles perfectly fine for me now.
So if recompiling cairo also fixes this for Vasileios, I'd propose closing this bug.
Comment 7 Vasilis Lourdas 2010-06-28 18:23:51 UTC
(In reply to comment #6)
> Anyway, it compiles perfectly fine for me now.
> So if recompiling cairo also fixes this for Vasileios, I'd propose closing this
> bug.

Yes, recompiling cairo did the trick.
Comment 8 shinydoofy 2010-06-28 18:26:15 UTC
Ok then. Thanks Rafał for the hint and sorry for causing all this trouble.