Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557984 - www-client/firefox-40.0.2[gtk3,-system-cairo] fails to build
Summary: www-client/firefox-40.0.2[gtk3,-system-cairo] fails to build
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-17 05:26 UTC by Elias Probst
Modified: 2015-09-08 13:25 UTC (History)
1 user (show)

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


Attachments
build.log of www-client/firefox-40.0.2[gtk3,-system-cairo] (build.log,27.08 KB, patch)
2015-08-17 05:26 UTC, Elias Probst
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2015-08-17 05:26:47 UTC
Created attachment 409218 [details, diff]
build.log of www-client/firefox-40.0.2[gtk3,-system-cairo]

Trying to build www-client/firefox-40.0.2 with USE="gtk3 -system-cairo", it'll fail to build (full build.log attached):

configure:26938: x86_64-pc-linux-gnu-gcc -c -march=core2 -pipe  -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe  conftest.c 1>&5
configure:26932:27: fatal error: sys/int_types.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 26930 "configure"
#include "confdefs.h"

#include <sys/int_types.h>
int main() {

; return 0; }
configure: error: cairo-gtk3 toolkit is incompatible with in-tree cairo. Please add --enable-system-cairo to your build config.
*** Fix above errors and then restart with\
               "make -f client.mk build"
client.mk:363: recipe for target 'configure' failed





# emerge --info www-client/firefox
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.20-r2, 4.2.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.0-rc6-x86_64-Intel-R-_Core-TM-_i7-3537U_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     8016756 total,    487584 free
KiB Swap:    1535996 total,   1298084 free
Timestamp of repository gentoo: Sat, 15 Aug 2015 22:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::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.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /var/cache/portage/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: -1000

kde
    location: /var/cache/portage/repos/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo

tox-overlay
    location: /var/cache/portage/repos/tox-overlay
    sync-type: git
    sync-uri: https://github.com/Tox/gentoo-overlay-tox.git
    masters: gentoo

docker
    location: /var/lib/layman/docker
    sync-type: laymansync
    sync-uri: git://github.com/tianon/docker-overlay.git
    masters: gentoo
    priority: 50

eliasp
    location: /var/lib/layman/eliasp
    sync-type: laymansync
    sync-uri: https://github.com/eliasp/gentoo-overlay.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

Installed sets: @allback, @baton, @gpxsync, @kde-applications-live, @kde-next-live, @kdenetwork-live, @meter-tracker, @otrs
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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 -ggdb"
DISTDIR="/var/cache/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going --load-average=2.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/cache/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 a52 aac acl acpi alsa amd64 apache2 audiofile avahi berkdb bluetooth branding bzip2 cairo cdda cdparanoia cli cracklib crypt css cups cxx dbus dri dts dvd dvdr emboss encode exif fastcgi ffmpeg fftw firefox flac gdbm gif git glamor glib gnutls gpg gs gstreamer gtk gtk3 hdri iconv icu imagemagick imap inotify ipv6 jabber jpeg jpeg2k kde kdeprefix kerberos kipi kms lame lcms ldap libnotify libsamplerate lzma mac mad matroska mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz mysql ncurses networkmanager nls nptl nsplugin ogg opengl opus pam pango pcre pdf perl plasma png policykit postgres ppds private-headers pulseaudio python qt qt3support qt4 qt5 rdesktop readline rss ruby samba sasl sdl semantic-desktop session smp spell spice sqlite sse sse2 ssl startup-notification subversion svg systemd taglib tcpd theora tiff truetype udev udisks unicode upnp upower usb v4l2 vaapi vcd vim-syntax vnc vorbis wayland wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid xvmc zeroconf zip zlib zsh-completion" ABI_X86="64 32" 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 sheets" 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" DRACUT_MODULES="plymouth caps systemd" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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

=================================================================
                        Package Settings
=================================================================

www-client/firefox-37.0_beta6::mozilla was built with the following:
USE="dbus gmp-autoupdate gstreamer jit minimal pulseaudio startup-notification wifi -bindist -custom-cflags -custom-optimization -debug -hardened (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite -test" ABI_X86="64"
CFLAGS="-march=core2 -pipe -mno-avx"
CXXFLAGS="-march=core2 -pipe -mno-avx"
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-08-17 13:38:56 UTC
Thanks,  I've added a REQUIRED_USE to the firefox ebuild to catch this early; this likely won't be the final solution but for now it should keep people out of trouble.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2015-09-03 21:27:18 UTC
...or at least I meant to add it, seems to have disappeared now.

At any rate, this has been fixed upstream.  I'm testing a 41.0_beta6 ebuild to see if the fix is already available.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-09-08 13:25:33 UTC
Confirmed, firefox-41.0_beta6[gtk3,-system-cairo] builds fine locally.