Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602696 - games-puzzle/sgt-puzzles-20161207: gtk.c:306:5: error: ‘gdk_window_set_background_rgba’ is deprecated [-Werror=deprecated-declarations]
Summary: games-puzzle/sgt-puzzles-20161207: gtk.c:306:5: error: ‘gdk_window_set_backgr...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 20:16 UTC by Michał Bartoszkiewicz
Modified: 2021-03-01 07:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.52 KB, text/plain)
2017-03-02 17:07 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,5.28 KB, application/x-bzip)
2017-03-02 17:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.95 KB, text/plain)
2017-03-02 17:07 UTC, Toralf Förster
Details
environment (environment,113.90 KB, text/plain)
2017-03-02 17:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.83 KB, application/x-bzip)
2017-03-02 17:08 UTC, Toralf Förster
Details
games-puzzle:sgt-puzzles-20161207:20170302-023657.log (games-puzzle:sgt-puzzles-20161207:20170302-023657.log,46.64 KB, text/plain)
2017-03-02 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.30 KB, application/x-bzip)
2017-03-02 17:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2016-12-14 20:16:05 UTC
games-puzzle/sgt-puzzles-20161207 with USE="gtk3" fails with:
[…]
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"puzzles\" -DPACKAGE_TARNAME=\"puzzles\" -DPACKAGE_VERSION=\"20161207.b958129\" -DPACKAGE_STRING=\"puzzles\ 20161207.b958129\" -DPACKAGE_BUGREPORT=\"anakin@pobox.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"puzzles\" -DVERSION=\"20161207.b958129\" -I.  -I././ -I./icons/   -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHTMLDIR="\"/usr/share/doc/sgt-puzzles-20161207/html\""  -march=native -O2 -pipe -ggdb -Wall -Werror -std=c89 -c -o gtk.o gtk.c
gtk.c: In function ‘set_window_background’:
gtk.c:306:5: error: ‘gdk_window_set_background_rgba’ is deprecated [-Werror=deprecated-declarations]
     gdk_window_set_background_rgba(gtk_widget_get_window(fe->area), &rgba);
     ^
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from gtk.c:24:
/usr/include/gtk-3.0/gdk/gdkwindow.h:778:15: note: declared here
 void          gdk_window_set_background_rgba (GdkWindow     *window,
               ^
gtk.c:307:5: error: ‘gdk_window_set_background_rgba’ is deprecated [-Werror=deprecated-declarations]
     gdk_window_set_background_rgba(gtk_widget_get_window(fe->window), &rgba);
     ^
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from gtk.c:24:
/usr/include/gtk-3.0/gdk/gdkwindow.h:778:15: note: declared here
 void          gdk_window_set_background_rgba (GdkWindow     *window,
               ^
gtk.c: In function ‘setup_backing_store’:
gtk.c:470:28: error: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Werror=deprecated-declarations]
                            (gtk_widget_get_window(fe->area)));
                            ^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:33:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from gtk.c:24:
/usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here
 cairo_t  * gdk_cairo_create             (GdkWindow          *window);
            ^
cc1: all warnings being treated as errors
make: *** [Makefile:2080: gtk.o] Error 1
 * ERROR: games-puzzle/sgt-puzzles-20161207::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-puzzle/sgt-puzzles-20161207::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-puzzle/sgt-puzzles-20161207::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/games-puzzle/sgt-puzzles-20161207:20161214-201413.log'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/games-puzzle/sgt-puzzles-20161207/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/games-puzzle/sgt-puzzles-20161207/temp/environment'.
 * Working directory: '/tmp/portage/games-puzzle/sgt-puzzles-20161207/work/puzzles-20161207.b958129'
 * S: '/tmp/portage/games-puzzle/sgt-puzzles-20161207/work/puzzles-20161207.b958129'


emerge --info:
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.9.0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.0-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.3
KiB Mem:    24601280 total,   8598304 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 14 Dec 2016 11:00:45 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0::gentoo, 6.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /var/cache/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://fraktal/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -c --filter=clear
    sync-rsync-vcs-ignore: true

embe
    location: /var/cache/repos/embe
    sync-type: laymansync
    sync-uri: git://git.bzium.org/~embe/overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Google-TOS google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
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/init.d /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=native -O2 -pipe -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y --quiet-build y"
FCFLAGS="-march=native -O2 -pipe -ggdb"
FEATURES="assume-digests binpkg-logs buildpkg cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -ggdb"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/rmt /var/run /etc/xinetd.d /var/lock /var/mail /var/spool/mail /etc/skel"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now"
MAKEOPTS="-j8"
PKGDIR="/var/cache/packages"
PORTAGE_BUNZIP2_COMMAND="lbunzip2"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="--best"
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="/tmp"
USE="R X a52 aac aacplus acl acpi adns alsa amd64 android archive ass avahi avx bazaar bluetooth bzip2 cairo caps cdb cdda cddb cdr cli clutter colord conntrack crypt cryptsetup cups curl cvs cxx dbus dconf device-mapper dirac djvu dri dts dvb dvd dvdr dvi eds egl elfutils emboss encode evdev evo exif fam fat ffmpeg fftw firefox flac fontconfig fortran fuse gadu gd gdbm gegl gif gimp git glamor gmp gnome gnome-keyring gnome-online-accounts gnuplot gpg gphoto2 graphicsmagick graphviz gsl gstreamer gtk gtk3 gtkstyle guile http2 iconv icu idn introspection iproute2 ipv6 java jit jpeg jpeg2k lame lapack latex lcms libass libkms libnotify libproxy libsamplerate libsecret live llvm lua lzma lzo mad maildir man matroska mercurial metalink mms mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib musepack nautilus ncurses netlink networkmanager nls nptl obex offensive ogg openal openexr opengl openmp opus osmesa pam pango pcap pch pcre pdf pgf pkcs11 playlist plotutils png policykit postproc postscript ppds pulseaudio python qt3support raw rdp readline rtmp rubberband samba schroedinger sdl seccomp session sftp sip smartcard smi smp snappy speex spell spice sqlite sse sse2 sse3 sse4 sse41 sse4_1 ssl ssse3 startup-notification subversion svg syslog systemd telepathy theora tiff tls tracker truetype udev udisks unicode upnp upnp-av upower urandom usb uuid v4l vaapi vala vdpau vim-syntax vlc vorbis vpx vte webp wifi wxwidgets x264 xattr xcb xinerama xml xmp xmpp xv xvid zeroconf zlib zsh-completion" ABI_X86="32 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" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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" CURL_SSL="openssl" 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 ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport nlpsolver" LINGUAS="en en_US pl pl_PL" LLVM_TARGETS="AMDGPU BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

x11-libs/gtk+-3.22.4::gentoo was built with the following:
USE="X colord cups introspection vim-syntax xinerama (-aqua) -broadway -cloudprint -examples -test -wayland" ABI_X86="32 64 -x32"
Comment 1 Toralf Förster gentoo-dev 2017-03-02 17:07:45 UTC
same issue at an unstable amd64 chroot image (named desktop-abi32+64_20170228-084815)
Comment 2 Toralf Förster gentoo-dev 2017-03-02 17:07:48 UTC
Created attachment 465724 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2017-03-02 17:07:51 UTC
Created attachment 465726 [details]
config.log.tbz2
Comment 4 Toralf Förster gentoo-dev 2017-03-02 17:07:54 UTC
Created attachment 465728 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-03-02 17:07:57 UTC
Created attachment 465730 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-03-02 17:08:00 UTC
Created attachment 465732 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-03-02 17:08:03 UTC
Created attachment 465734 [details]
games-puzzle:sgt-puzzles-20161207:20170302-023657.log
Comment 8 Toralf Förster gentoo-dev 2017-03-02 17:08:06 UTC
Created attachment 465736 [details]
temp.tbz2
Comment 9 Andreas Sturmlechner gentoo-dev 2021-03-01 07:34:29 UTC
Please re-open if this is still reproduced on currently available snapshot.