Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639600 - mate-extra/mate-utils-1.12.0-r2 fails to build
Summary: mate-extra/mate-utils-1.12.0-r2 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo MATE Desktop
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 11:20 UTC by Pacho Ramos
Modified: 2018-01-27 18:05 UTC (History)
1 user (show)

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 Pacho Ramos gentoo-dev 2017-12-03 11:20:57 UTC
I get:
In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42:0,
                 from /usr/include/gtk-3.0/gtk/gtktreeview.h:29,
                 from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
                 from /usr/include/gtk-3.0/gtk/gtk.h:42,
                 from ./gdict-strategy-chooser.c:38:
/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
 GtkWidget* gtk_image_new_from_stock     (const gchar     *stock_id,
            ^~~~~~~~~~~~~~~~~~~~~~~~
./gdict-strategy-chooser.c:373:11: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
           gtk_image_new_from_stock (GTK_STOCK_CLEAR,
           ^~~~~~~~~~~~~~~~~~~~~~~~
./gdict-strategy-chooser.c:386:3: warning: 'gtk_widget_pop_composite_child' is deprecated: Use 'gtk_widget_class_set_template' instead [-Wdeprecated-declarations]
   gtk_widget_pop_composite_child ();
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from ./gdict-strategy-chooser.c:38:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1202:6: note: declared here
 void      gtk_widget_pop_composite_child  (void);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdict-strategy-chooser.c: In function 'lookup_start_cb':
./gdict-strategy-chooser.c:668:5: warning: 'gdk_cursor_new' is deprecated [-Wdeprecated-declarations]
     priv->busy_cursor = gdk_cursor_new (GDK_WATCH);
     ^~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:34:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from ./gdict-strategy-chooser.c:38:
/usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here
 GdkCursor* gdk_cursor_new   (GdkCursorType    cursor_type);
            ^~~~~~~~~~~~~~
./gdict-strategy-chooser.c: In function 'gdict_strategy_chooser_add_button':
./gdict-strategy-chooser.c:1087:3: warning: 'gtk_button_new_from_stock' is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
   button = gtk_button_new_from_stock (button_text);
   ^~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:0,
                 from ./gdict-strategy-chooser.c:38:
/usr/include/gtk-3.0/gtk/gtkbutton.h:103:12: note: declared here
 GtkWidget*     gtk_button_new_from_stock    (const gchar    *stock_id);
            ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdict\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DPREFIX=\"/usr\" -DMATELOCALEDIR=\"/usr/share/locale\" -DGDICTSOURCESDIR=\"/usr/share/mate-dict/sources\" -DGDICT_ENABLE_INTERNALS -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/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_DISABLE_CAST_CHECKS -O2 -pipe -march=native -fno-stack-protector -c ./gdict-strategy-chooser.c -o libmatedict_la-gdict-strategy-chooser.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdict\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DPREFIX=\"/usr\" -DMATELOCALEDIR=\"/usr/share/locale\" -DGDICTSOURCESDIR=\"/usr/share/mate-dict/sources\" -DGDICT_ENABLE_INTERNALS -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/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_DISABLE_CAST_CHECKS -O2 -pipe -march=native -fno-stack-protector -c ./gdict-utils.c -o libmatedict_la-gdict-utils.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdict\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DPREFIX=\"/usr\" -DMATELOCALEDIR=\"/usr/share/locale\" -DGDICTSOURCESDIR=\"/usr/share/mate-dict/sources\" -DGDICT_ENABLE_INTERNALS -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/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DG_DISABLE_CAST_CHECKS -O2 -pipe -march=native -fno-stack-protector -c ./gdict-client-context.c -o libmatedict_la-gdict-client-context.o >/dev/null 2>&1
In file included from gdict-enum-types.c:6:0:
./gdict-client-context.h:85:1: error: unknown type name 'GdictContext'
 GdictContext *        gdict_client_context_new          (const gchar        *hostname,
 ^~~~~~~~~~~~
make[4]: *** [Makefile:675: libmatedict_la-gdict-enum-types.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.12.0-r2/work/mate-utils-1.12.0/mate-dictionary/libgdict'
make[3]: *** [Makefile:526: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.12.0-r2/work/mate-utils-1.12.0/mate-dictionary/libgdict'
make[2]: *** [Makefile:445: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.12.0-r2/work/mate-utils-1.12.0/mate-dictionary'
make[1]: *** [Makefile:509: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/mate-extra/mate-utils-1.12.0-r2/work/mate-utils-1.12.0'
make: *** [Makefile:441: all] Error 2

Portage 2.3.16 (python 3.6.3-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r9, 4.13.11-gentoo x86_64)
=================================================================
System uname: Linux-4.13.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16138708 total,   1755688 free
KiB Swap:    5240828 total,   2897840 free
Timestamp of repository gentoo: Sat, 02 Dec 2017 16:30:01 +0000
Head commit of repository gentoo: df59470b1db4002e04bcf2f347a5b8c74b733a0e
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ago
    location: /hdd/portage/local/layman/ago
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /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 -march=native -fno-stack-protector"
DISTDIR="/hdd/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j9"
PKGDIR="/hdd/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 applet avahi avx avx256 bash-completion berkdb bluetooth branding bzip2 cairo ccache cdda cddb cdr chm cli colord cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi ebook eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glamor gnome gnome-keyring gnome-online-accounts google googledrive gphoto2 gpm gromacs gstreamer gtk gtk3 gtkstyle hfs http iconv infinality introspection ios irc jabber jpeg kpathsea latex lcms ldap libass libnotify libsecret libvisual lyx mad mms mmx mmxext mng mobi modules monolithic-build mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa nvidia offensive ogg opengl openmp optimized-qmake pam pango pch pdf pdfimport png policykit ppds pulseaudio qt3support qt4 qt5 readline reiserfs scanner sdl seccomp sendto session smp sna snmp spell squashfs sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg systemd t1lib tcpd test theora threads tiff tracker truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vala vcd vdpau vlc vorbis wifi wxwidgets x264 x265 xattr xcb xfs xml xmpp xv xvid youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="es es-ES en en-US fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en en_US fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965 nouveau" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2017-12-03 11:21:47 UTC
Per:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865890

This should be fixed in 1.16.1 or 1.18.1

Are any of that versions ready to go to stable? If not, this patch should fix this:
https://github.com/mate-desktop/mate-utils/commit/550229e422cd88fe39473f41cebe6cef12f6c8fb.patch

Thanks
Comment 2 kuzetsa CatSwarm (kuza for short) 2017-12-03 18:09:58 UTC
(In reply to Pacho Ramos from comment #1)
> This should be fixed in 1.16.1 or 1.18.1
> 
> Are any of that versions ready to go to stable?

No, not that I know of. Neither branch is considered ready to go stable.

There are currently several minor bumps for the 1.16.x branch in progress, staged in at least one overlay / branch. However, stabilizing part of the 1.16.x branch but not the rest will cause issues.

I have run-tested 1.18.x for several months without noticing a single issue which impacted my user experience or satisfaction, but the 1.18.x branch needs a few minor bumps as well.
Comment 3 Pavel Goran 2018-01-27 08:56:03 UTC
Same problem here. The patch from comment #1 (https://github.com/mate-desktop/mate-utils/commit/550229e422cd88fe39473f41cebe6cef12f6c8fb.patch) fixed it for me.
Comment 4 Larry the Git Cow gentoo-dev 2018-01-27 18:01:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=97de8ec272b6b7bea576a7c96b50264a4ca81a30

commit 97de8ec272b6b7bea576a7c96b50264a4ca81a30
Author:     Ettore Di Giacinto <mudler@gentoo.org>
AuthorDate: 2018-01-27 17:59:47 +0000
Commit:     Ettore Di Giacinto <mudler@gentoo.org>
CommitDate: 2018-01-27 17:59:47 +0000

    mate-extra/mate-utils: Backport patch to fix build, bug #639600
    
    Closes: https://bugs.gentoo.org/639600
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...de-correct-header-to-fix-occasional-ftbfs.patch | 25 ++++++++++++++++++++++
 mate-extra/mate-utils/mate-utils-1.12.0-r2.ebuild  |  7 ++++--
 2 files changed, 30 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2018-01-27 18:05:08 UTC
The bug has been closed via the following commit(s):

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

commit 812b726d2eb3cb85372ab11a4087ff9eaab9c5ad
Author:     Ettore Di Giacinto <mudler@gentoo.org>
AuthorDate: 2018-01-27 17:59:47 +0000
Commit:     Ettore Di Giacinto <mudler@gentoo.org>
CommitDate: 2018-01-27 18:04:24 +0000

    mate-extra/mate-utils: Backport patch to fix build, bug #639600
    
    Closes: https://bugs.gentoo.org/639600
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...de-correct-header-to-fix-occasional-ftbfs.patch | 25 ++++++++++++++++++++++
 mate-extra/mate-utils/mate-utils-1.12.0-r2.ebuild  |  7 ++++--
 2 files changed, 30 insertions(+), 2 deletions(-)