* ERROR: dev-ruby/ruby-gtk3-3.1.1::gentoo failed (configure phase): * extconf.rb failed * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-no-multilib_20190208-174509 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) * [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) Available Rust versions: [1] rust-1.32.0 * emerge -qpvO dev-ruby/ruby-gtk3 [ebuild N ] dev-ruby/ruby-gtk3-3.1.1 USE="-test" RUBY_TARGETS="ruby24 -ruby23"
Created attachment 564710 [details] emerge-info.txt
Created attachment 564712 [details] dev-ruby:ruby-gtk3-3.1.1:20190211-131348.log
Created attachment 564714 [details] emerge-history.txt
Created attachment 564716 [details] environment
Created attachment 564718 [details] etc.portage.tbz2
Created attachment 564720 [details] logs.tbz2
I can't reproduce this with ruby-gtk3-3.1.1, but can this still be reproduced with ruby-gtk3-3.3.2?
*** Bug 678674 has been marked as a duplicate of this bug. ***
(In reply to Hans de Graaff from comment #7) > I can't reproduce this with ruby-gtk3-3.1.1, but can this still be > reproduced with ruby-gtk3-3.3.2? yes, see the dup
I've tried to follow the path here and it seems that there is something unexpected in the pkg-config output for --cflags-only-other. Could you run `pkg-config --cflags-only-other gtk+-3.0` on that system?
(In reply to Hans de Graaff from comment #10) > I've tried to follow the path here and it seems that there is something > unexpected in the pkg-config output for --cflags-only-other. > > Could you run `pkg-config --cflags-only-other gtk+-3.0` on that system? tinderbox@mr-fox ~ $ chr img2/17.1-no-multilib_20190208-174509 mr-fox ~ # pkg-config --cflags-only-other gtk+-3.0 -pthread mr-fox ~ # exit
Same on my box,if you need any more infos i|karotte ~ # emerge --info Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.2.0, glibc-2.28-r5, 4.18.2-gentoo x86_64) ================================================================= System uname: Linux-4.18.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.6 KiB Mem: 16299176 total, 7450580 free KiB Swap: 524284 total, 510804 free Timestamp of repository gentoo: Mon, 04 Mar 2019 17:15:01 +0000 Head commit of repository gentoo: 75f6acc429f35dfd5f9bc60711a399020ee0fea1 sh bash 5.0_p2 ld GNU ld (Gentoo 2.31.1 p5) 2.31.1 app-shells/bash: 5.0_p2::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.6::gentoo, 3.6.8::gentoo dev-util/cmake: 3.13.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.15::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r4::gentoo, 2.32::gentoo sys-devel/gcc: 8.2.0-r6::gentoo, 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 marens location: /home/marens/coding/git/overlay masters: gentoo mozilla location: /var/lib/layman/mozilla masters: gentoo priority: 50 soft location: /var/lib/layman/soft masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.6/conf" 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="--keep-going=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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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="/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mmx mng mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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 auth_digest dumpio lbmethod_byrequests proxy proxy_balancer proxy_http proxy_wstunnel slotmem_shm" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2 canon" 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" 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="evdev" KERNEL="linux" 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="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915 radeon amdgpu" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS i|karotte ~ # gcc-config -l [1] x86_64-pc-linux-gnu-8.2.0 * [2] x86_64-pc-linux-gnu-8.3.0 i|karotte ~ # eselect ruby list Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * i|karotte ~ # emerge -av ruby-gtk3 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-ruby/ruby-gtk3-3.3.2::gentoo [3.1.1::gentoo] USE="-test" RUBY_TARGETS="ruby24 ruby25%* ruby26%* -ruby23" 0 KiB i|karotte ~ # pkg-config --cflags-only-other gtk+-3.0 -pthread
Created attachment 568526 [details] /tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gtk3/ext/gtk3/mkmf.log try_compiler_option: checking for -Wout-of-line-declaration option to compiler... -------------------- no "x86_64-pc-linux-gnu-gcc -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gtk3/ext/gtk3 -march=native -O2 -pipe -fno-strict-aliasing -fPIC -march=native -O2 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wout-of-line-declaration -Werror -c conftest.c" x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-Wout-of-line-declaration’; did you mean ‘-Wold-style-declaration’? checked program was: /* begin */ 1: #include "ruby.h" /* end */ -------------------- .... have_package: checking for cairo... -------------------- yes -------------------- have_header: checking for rb_cairo.h... -------------------- yes "x86_64-pc-linux-gnu-gcc -E -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/pango/ext/pango -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/pango/ext/pango -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/pango/ext/pango -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/pango/ext/pango -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/cairo-gobject/ext/cairo-gobject -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/cairo-gobject/ext/cairo-gobject -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/cairo-gobject/ext/cairo-gobject -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/cairo-gobject/ext/cairo-gobject -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gobject-introspection/ext/gobject-introspection -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/glib2/ext/glib2 -I/usr/include/ruby-2.5.0/x86_64-linux -I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I/tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gtk3/ext/gtk3 -I/usr/lib64/ruby/site_ruby/2.5.0/x86_64-linux -I/usr/lib64/ruby/vendor_ruby/2.5.0/x86_64-linux -I/usr/lib64/ruby/gems/2.5.0/gems/cairo-1.16.2/ext/cairo -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -march=native -O2 -pipe -fno-strict-aliasing -fPIC -march=native -O2 -pipe -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings conftest.c -o conftest.i" cc1: warning: /usr/lib64/ruby/gems/2.5.0/gems/cairo-1.16.2/ext/cairo: No such file or directory [-Wmissing-include-dirs] checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include <rb_cairo.h> /* end */ Those two errors/warnings from mkmf.log seem interesting i|karotte /tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gtk3 # pushd /usr/lib64/ruby/gems/2.5.0/gems/cairo-1.16.2 /usr/lib64/ruby/gems/2.5.0/gems/cairo-1.16.2 /tmp/portage/dev-ruby/ruby-gtk3-3.3.2/work/ruby25/ruby-gnome2-all-3.3.2/gtk3 i|karotte /usr/lib64/ruby/gems/2.5.0/gems/cairo-1.16.2 # ls -l total 4 drwxr-xr-x 3 root root 4096 Mar 10 18:59 lib i|karotte /tmp # eix -I cairo [I] dev-ruby/rcairo Available versions: 1.15.10 1.15.11 (~)1.16.2 {doc test ELIBC="FreeBSD" RUBY_TARGETS="ruby23 ruby24 ruby25 ruby26"} Installed versions: 1.16.2(20:57:01 10/03/19)(-doc -test ELIBC="-FreeBSD" RUBY_TARGETS="ruby24 ruby25 ruby26 -ruby23") Homepage: https://cairographics.org/rcairo/ Description: Ruby bindings for cairo [I] dev-ruby/ruby-cairo-gobject Available versions: 3.1.1 (~)3.2.9 (~)3.3.2 {test ELIBC="FreeBSD" RUBY_TARGETS="ruby23 ruby24 ruby25 ruby26"} Installed versions: 3.3.2(19:01:00 10/03/19)(-test ELIBC="-FreeBSD" RUBY_TARGETS="ruby24 ruby25 ruby26 -ruby23") Homepage: https://ruby-gnome2.osdn.jp/ Description: Ruby cairo-gobject bindings [I] x11-libs/cairo Available versions: 1.16.0-r2^t **9999^t {X aqua debug gles2 +glib opengl static-libs +svg utils valgrind xcb ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 1.16.0-r2^t(16:57:55 24/02/19)(X glib opengl svg xcb -aqua -debug -gles2 -static-libs -utils -valgrind ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: https://www.cairographics.org Description: A vector graphics library with cross-device output support
(In reply to Marc Arens from comment #13) > try_compiler_option: checking for -Wout-of-line-declaration option to > compiler... -------------------- no This looks innocent (this is "no" on my system too). > -Wall Hmm, where does that come from?
(In reply to Hans de Graaff from comment #14) > (In reply to Marc Arens from comment #13) > > > try_compiler_option: checking for -Wout-of-line-declaration option to > > compiler... -------------------- no > > This looks innocent (this is "no" on my system too). > > > -Wall > > Hmm, where does that come from? Seems to come from https://github.com/ruby-gnome2/ruby-gnome2/blob/master/glib2/lib/mkmf-gnome2.rb#L69 but it still fails after commenting it, still contains the cc1: warning: /usr/lib64/ruby/gems/2.4.0/gems/cairo-1.16.2/ext/cairo: No such file or directory [-Wmissing-include-dirs] Which step should produce those include dirs?
Created attachment 568736 [details] mkmf.log without Wall
trying without -Wmissing-include-dirs doesn't get me further, so it doesn't seem related to that one either