Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796020 - dev-libs/gjs-1.68.1 fails with 'error: no matching function for call to ‘GjsAutoPointer<_GIBaseInfoStub, _GIBaseInfoStub, g_base_info_unref, g_base_info_ref>...'
Summary: dev-libs/gjs-1.68.1 fails with 'error: no matching function for call to ‘GjsA...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-14 21:07 UTC by Martin McCourt
Modified: 2021-09-27 21:36 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,70.52 KB, text/x-log)
2021-06-14 21:07 UTC, Martin McCourt
Details
environment file (environment,89.47 KB, text/plain)
2021-06-14 21:08 UTC, Martin McCourt
Details
emerge --info '=dev-libs/gjs-1.68.1::gentoo' (info.log,6.65 KB, text/x-log)
2021-06-14 21:09 UTC, Martin McCourt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin McCourt 2021-06-14 21:07:45 UTC
Created attachment 716145 [details]
build.log

dev-libs/gjs-1.68.1 fails to compile and complains:
FAILED: libgjs.so.0.0.0.p/gi_wrapperutils.cpp.o 
x86_64-pc-linux-gnu-g++ -Ilibgjs.so.0.0.0.p -I. -I../gjs-1.68.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -I/usr/include/nspr -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -fno-rtti -fno-strict-aliasing -Wno-variadic-macros -Wno-missing-field-initializers -fno-semantic-interposition -O2 -fPIC -include /usr/include/mozjs-78/js/RequiredDefines.h -isystem /usr/include/mozjs-78 -pthread -DGJS_COMPILATION '-DGJS_JS_DIR="/usr/share/gjs-1.0"' '-DPKGLIBDIR="/usr/lib64/gjs"' '-DG_LOG_DOMAIN="Gjs"' -MD -MQ libgjs.so.0.0.0.p/gi_wrapperutils.cpp.o -MF libgjs.so.0.0.0.p/gi_wrapperutils.cpp.o.d -o libgjs.so.0.0.0.p/gi_wrapperutils.cpp.o -c ../gjs-1.68.1/gi/wrapperutils.cpp
../gjs-1.68.1/gi/wrapperutils.cpp: In function ‘bool gjs_define_static_methods(JSContext*, JS::HandleObject, GType, GIBaseInfo*)’:
../gjs-1.68.1/gi/wrapperutils.cpp:135:10: error: no matching function for call to ‘GjsAutoPointer<_GIBaseInfoStub, _GIBaseInfoStub, g_base_info_unref, g_base_info_ref>::operator GjsAutoPointer<_GIBaseInfoStub, _GIBaseInfoStub, g_base_info_unref, g_base_info_ref>::Ptr(GjsAutoStructInfo*)’
  135 |     if (!type_struct)
      |          ^~~~~~~~~~~
In file included from ../gjs-1.68.1/gi/function.h:23,
                 from ../gjs-1.68.1/gi/wrapperutils.cpp:14:


 ~ # emerge -pqv '=dev-libs/gjs-1.68.1::gentoo'
[ebuild     U ] dev-libs/gjs-1.68.1 [1.64.4] USE="cairo gtk readline -examples -sysprof* -test" 

 ~ # emerge --info '=dev-libs/gjs-1.68.1::gentoo'
Portage 3.0.18 (python 3.9.5-final-0, default/linux/amd64/17.1/systemd, gcc-9.2.0, glibc-2.33, 5.4.97-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-6600U_CPU_@_2.60GHz-with-glibc2.33
KiB Mem:    16281092 total,   2736044 free
KiB Swap:   33554428 total,  33464260 free
Timestamp of repository gentoo: Sat, 12 Jun 2021 04:00:01 +0000
Head commit of repository gentoo: e846e743945113868de1c40e72b8113a9f6b3ba0
Head commit of repository wine: eb218ba4f28bd307a5a4142b4ba560df0d0b180d

sh bash 5.1_p8
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.6.12-r1::gentoo, 3.7.9-r2::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.2::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0-r2::gentoo, 10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://linuxbox.lan/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

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

ssnb
    location: /var/lib/layman/ssnb
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/user/ssnb.git
    masters: gentoo
    priority: 50

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

wine
    location: /var/db/package-manager/repos/wine
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    sync-type: laymansync
    sync-uri: rsync://gentoo.zugaina.org/zugaina-portage
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE ZOOM JSON"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 acl alsa amd64 bash-completion berkdb branding bzip2 cairo cli crypt cryptsetup cups dri drm firmware fortran gdbm gdm gnome-keyring gtk iconv introspection ipv6 jpeg libglvnd libkms libnotify libtirpc lm_sensors luks1_default modemmanager multilib ncurses networkmanager nls nptl nsplugin offensive opengl openmp pam pcre plymouth png policykit pulseaudio readline samba seccomp split-usr ssl startup-notification systemd tcpd udev unicode usb vaapi vdpau vim-syntax vkd3d vulkan webstart wifi xattr xinerama zeroconf zlib" ABI_X86="32 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" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="i915 intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto 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, RUSTFLAGS

stoney ~ #
Comment 1 Martin McCourt 2021-06-14 21:08:31 UTC
Created attachment 716148 [details]
environment file
Comment 2 Martin McCourt 2021-06-14 21:09:16 UTC
Created attachment 716151 [details]
emerge --info '=dev-libs/gjs-1.68.1::gentoo'
Comment 3 Martin McCourt 2021-06-16 13:34:44 UTC
fwiw I was able to get it to build on another box so maybe this isn't a real bug - from the box with the successful build:

$ emerge --info dev-libs/gjs 
Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r7, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-4460_CPU_@_3.20GHz-with-glibc2.2.5
KiB Mem:    16296652 total,   4242836 free
KiB Swap:   31122428 total,  30526608 free
Timestamp of repository gentoo: Thu, 10 Jun 2021 13:30:01 +0000
Head commit of repository gentoo: f2d8e84ad472beb88a84a17058702f3b1ba0c70b
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.22::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://10.30.0.27/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

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

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

brother-overlay
    location: /var/lib/layman/brother-overlay
    masters: gentoo
    priority: 50

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

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

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE no-source-code linux-fw-redistributable"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 --load-average 4"
PKGDIR="/var/cache/binpkgs"
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 activities alsa amd64 archive bash-completion berkdb branding bzip2 cairo cdda cdr cli colord cron crypt cups dbus dhcpcd dri drm dts dvd dvdr eds emboss encode evo exif firmware flac fortran fuse gallium gdbm gdm geckodriver gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libkms libnotify libsecret libtirpc lm_sensors lzma mad mng mount mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nfs nls nptl nsplugin ntp offensive ogg opengl openmp osmesa pam pango pcre pdf plymouth png policykit ppds pulseaudio qt5 rdp readline samba sdl seccomp speech spell split-usr ssh sshdump ssl startup-notification suid svg sysprof systemd tcpd tiff tracker truetype tty-helpers udev udisks unicode upower usb v4l vaapi vim-syntax vkd3d vnc vorbis webstart wxwidgets x264 xattr xcb xinerama xml xv xvid zeroconf 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" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse evdev" KERNEL="linux" L10N="en-CA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_8 python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto 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, RUSTFLAGS

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

dev-libs/gjs-1.68.1::gentoo was built with the following:
USE="cairo gtk readline sysprof -examples -test" ABI_X86="(64)"
FEATURES="config-protect-if-modified userpriv binpkg-logs ebuild-locks protect-owned usersync multilib-strict strict distlocks sfperms binpkg-docompress ipc-sandbox unmerge-orphans userfetch preserve-libs unmerge-logs news merge-sync unknown-features-warn xattr usersandbox qa-unresolved-soname-deps parallel-fetch fixlafiles pid-sandbox assume-digests sandbox network-sandbox binpkg-dostrip"
Comment 4 Martin McCourt 2021-06-16 16:02:33 UTC
merges fine with gcc x86_64-pc-linux-gnu-10.2.0 and x86_64-pc-linux-gnu-10.3.0 - not sure if this needs to be open with this in mind and I'm happy to have it closed.
Comment 5 lordrasmus 2021-08-12 18:52:06 UTC
i had the same issue

after switching from gcc9 to gcc10 it compiles
Comment 6 Max Satula 2021-09-27 20:03:54 UTC Comment hidden (obsolete)
Comment 7 Sam James archtester gentoo-dev Security 2021-09-27 20:05:18 UTC Comment hidden (obsolete)
Comment 8 Max Satula 2021-09-27 21:36:09 UTC Comment hidden (obsolete)