Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703592 - www-client/seamonkey-2.49.5-r1[-force-gtk3]: error: 'GtkCssProvider' does not name a type; did you mean 'GtkPreview'?
Summary: www-client/seamonkey-2.49.5-r1[-force-gtk3]: error: 'GtkCssProvider' does not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-23 05:06 UTC by Sophie Hamilton
Modified: 2019-12-23 12:21 UTC (History)
2 users (show)

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


Attachments
build.log (gzipped) (build.log.gz,223.54 KB, application/gzip)
2019-12-23 05:08 UTC, Sophie Hamilton
Details
environment (environment,187.99 KB, text/plain)
2019-12-23 05:10 UTC, Sophie Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sophie Hamilton 2019-12-23 05:06:31 UTC
When emerging =www-client/seamonkey-2.49.5-r1 with USE="-force-gtk3", the compile fails with various errors associated with GTK3 items not being declared, such as:

> In file included from /var/tmp/portage/www-client/seamonkey-2.49.5-r1/work/seamonkey-2.49.5/seamonk/widget/gtk/Unified_cpp_widget_gtk0.cpp:20:
> /var/tmp/portage/www-client/seamonkey-2.49.5-r1/work/seamonkey-2.49.5/mozilla/widget/gtk/IMContextWrapper.cpp: At global scope:
> /var/tmp/portage/www-client/seamonkey-2.49.5-r1/work/seamonkey-2.49.5/mozilla/widget/gtk/IMContextWrapper.cpp:251:5: error: 'GtkCssProvider' does not name a type; did you mean 'GtkPreview'?
>      GtkCssProvider* const mProvider;
>      ^~~~~~~~~~~~~~
>      GtkPreview

> /var/tmp/portage/www-client/seamonkey-2.49.5-r1/work/seamonkey-2.49.5/mozilla/widget/gtk/IMContextWrapper.cpp: In static member function 'static void mozilla::widget::SelectionStyleProvider::Shutdown()':
> /var/tmp/portage/www-client/seamonkey-2.49.5-r1/work/seamonkey-2.49.5/mozilla/widget/gtk/IMContextWrapper.cpp:190:37: error: 'class mozilla::widget::SelectionStyleProvider' has no member named 'mProvider'
>            g_object_unref(sInstance->mProvider);
>                                      ^~~~~~~~~

These errors do not occur when the default of +force-gtk3 is used.

Reproducible: Didn't try

Steps to Reproduce:
1. Set -force-gtk3 on www-client/seamonkey with package.use.
2. emerge -av =www-client/seamonkey-2.49.5-r1

Actual Results:  
The compilation fails about maybe 20% into the compile, with the errors listed above and other related errors.

Expected Results:  
The package should have compiled successfully. 

"build.log" and "environment" files will be attached. (The build.log file will be gzipped.)

Relevant installed packages:
============================

=x11-libs/gtk+-2.24.32-r1
=x11-libs/gtk+-3.24.8

emerge -pqv '=www-client/seamonkey-2.49.5-r1::gentoo'
=====================================================
[ebuild   R   ] www-client/seamonkey-2.49.5-r1  USE="calendar chatzilla crypt dbus ipc jemalloc roaming startup-notification -custom-cflags -custom-optimization -debug -force-gtk3* -gmp-autoupdate -jack -minimal (-neon) -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -test -wifi" L10N="en-GB -cs -de -es-AR -es-ES -fr -hu -it -ja -lt -nl -pl -pt-PT -ru -sk -sv -zh-CN -zh-TW" 

emerge --info gtk+
==================

Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 4.15.18-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.18-gentoo-x86_64-Intel-R-_Core-TM-_i5-7300HQ_CPU_@_2.50GHz-with-gentoo-2.6
KiB Mem:     8052112 total,    145452 free
KiB Swap:   16526356 total,  16103900 free
Timestamp of repository gentoo: Mon, 16 Dec 2019 00:45:01 +0000
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-webrsync-verify-signature: true

sph-local
    location: /opt/portage-overlay
    masters: gentoo
    priority: 0

abendbrot
    location: /var/lib/layman/abendbrot
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --autounmask-keep-masks y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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://mirrors.evowise.com/gentoo/ http://gentoo.mirrors.tera-byte.com/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en-GB"
MAKEOPTS="-j5"
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 acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fontconfig fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp smp spell split-usr ssl startup-notification svg tcpd tiff truetype udev unicode upower usb v4l vdpau vorbis vulkan wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard libinput mouse synaptics" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

x11-libs/gtk+-2.24.32-r1::gentoo was built with the following:
USE="cups introspection (-aqua) -examples -test -vim-syntax -xinerama" ABI_X86="(64) -32 (-x32)"
FEATURES="usersandbox unmerge-logs fixlafiles distlocks binpkg-logs parallel-fetch sandbox ebuild-locks protect-owned unknown-features-warn sfperms merge-sync assume-digests userfetch usersync userpriv multilib-strict webrsync-gpg unmerge-orphans xattr news preserve-libs strict"


x11-libs/gtk+-3.24.8::gentoo was built with the following:
USE="X cups introspection (-aqua) -broadway -cloudprint -colord -examples -gtk-doc -test -vim-syntax -wayland -xinerama" ABI_X86="32 (64) (-x32)"
FEATURES="userfetch parallel-fetch usersandbox network-sandbox merge-sync pid-sandbox binpkg-dostrip usersync sfperms webrsync-gpg userpriv assume-digests binpkg-logs ipc-sandbox unmerge-orphans xattr news preserve-libs multilib-strict strict protect-owned unmerge-logs fixlafiles distlocks binpkg-docompress unknown-features-warn sandbox ebuild-locks"
Comment 1 Sophie Hamilton 2019-12-23 05:08:17 UTC
Created attachment 600466 [details]
build.log (gzipped)
Comment 2 Sophie Hamilton 2019-12-23 05:10:12 UTC
Created attachment 600468 [details]
environment
Comment 3 Larry the Git Cow gentoo-dev 2019-12-23 12:21:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f35fb49069a3db949f03e482f4ca008f7a488a

commit a3f35fb49069a3db949f03e482f4ca008f7a488a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-12-23 12:19:06 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-12-23 12:21:03 +0000

    base/package.use.force: force-enable "force-gtk3" USE for seamonkey
    
    Closes: https://bugs.gentoo.org/703592
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/base/package.use.force | 6 ++++++
 1 file changed, 6 insertions(+)