After switching to 17.0 profile / sync / emerge world, guile-gtk compilation fails with: In file included from /usr/include/guile/2.2/libguile.h:31:0, from /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:4: /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c: In function ‘sgtk_gtk_input_add_full’: /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:3579:63: error: ‘scm_tc16_fport’ undeclared (first use in this function); did you mean ‘scm_t_fport’? SCM_ASSERT ((SCM_NIMP (p_source) && SCM_TYP16 (p_source) == scm_tc16_fport && SCM_OPPORTP (p_source)), p_source, SCM_ARG1, s_gtk_input_add_full); emerge --info Portage 2.3.19 (python 3.6.3-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r3, 4.13.8-gentoo x86_64) ================================================================= System uname: Linux-4.13.8-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.4.1 KiB Mem: 32826072 total, 8258492 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Wed, 20 Dec 2017 17:30:01 +0000 Head commit of repository gentoo: bddeb01cf9b86dd0eec187459768aab71e193994 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 ccache version 3.3.4 [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.10.1::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.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 4.9.4::gentoo, 6.4.0::gentoo, 7.2.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::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 crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 atom location: /var/lib/layman/atom masters: gentoo priority: 50 eclipse location: /var/lib/layman/eclipse masters: gentoo priority: 50 emacs location: /var/lib/layman/emacs masters: gentoo priority: 50 gentoo-zh location: /var/lib/layman/gentoo-zh masters: gentoo priority: 50 gnu-elpa location: /var/lib/layman/gnu-elpa masters: gentoo priority: 50 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 java location: /var/lib/layman/java masters: gentoo priority: 50 melpa location: /var/lib/layman/melpa masters: gnu-elpa gentoo priority: 50 qt location: /var/lib/layman/qt masters: gentoo priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" 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 /usr/share/maven-bin-3.3/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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j13" 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 amd64 berkdb bzip2 cli cracklib crypt cxx dri ffmpeg fortran gdbm iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre png qt3support readline seccomp session sse sse2 ssl tcpd truetype unicode 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" 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="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM Hexagon MSP430 Mips PowerPC Sparc SystemZ XCore AMDGPU BPF NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I am using gcc-7.2. I dont know enough about scheme or guile to dig much further except that grepping the guile source for scm_tc16_fports turns up nothing concrete - so I am gussing it is generated. In the guile-gtk source, grepping gives: gtk-glue.c: SCM_ASSERT ((SCM_NIMP (p_source) && SCM_TYP16 (p_source) == scm_tc16_fport && SCM_OPPORTP (p_source)), p_source, SCM_ARG1, s_gtk_input_add_full); build-guile-gtk-2.0: (@@ "(SCM_NIMP (~a) && SCM_TYP16 (~a) == scm_tc16_fport && SCM_OPPORTP (~a))" x x x)) So it appears to involove some kind of generation here. Thanks!
A second data point - guile-gtk comiles against libguile 2.0.14-r3, but not 2.2.3 in my case. I just downgraded guile and rebuilt guile-gtk and it worked. Something changed between guile versions.
Please attach the entire build log to this bug report.
Created attachment 511530 [details] build.log file Here is mine.
Created attachment 511532 [details] build.log file The right build.log file is now being attached.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85b5a568e2ab2c3e24d89f3eca3c9b18ef6c9ed commit d85b5a568e2ab2c3e24d89f3eca3c9b18ef6c9ed Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-08-03 00:56:53 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-08-03 00:57:45 +0000 profiles: Mask x11-libs/guile-gtk for removal Bug: https://bugs.gentoo.org/641864 Bug: https://bugs.gentoo.org/647536 Bug: https://bugs.gentoo.org/688244 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19459be6bf57a4dae7e3148037f104fc9eca7ed commit f19459be6bf57a4dae7e3148037f104fc9eca7ed Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-09-01 19:01:05 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-09-01 19:06:49 +0000 x11-libs/guile-gtk: Remove Closes: https://bugs.gentoo.org/641864 Closes: https://bugs.gentoo.org/647536 Closes: https://bugs.gentoo.org/688244 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-libs/guile-gtk/Manifest | 1 - x11-libs/guile-gtk/files/2.1-brokentest.patch | 33 ------------ x11-libs/guile-gtk/files/2.1-prll-install.patch | 13 ----- .../guile-gtk/files/2.1_migrate_gh_functions.patch | 60 ---------------------- .../files/guile-gtk-2.0-g-object-ref.diff | 45 ---------------- x11-libs/guile-gtk/guile-gtk-2.1-r2.ebuild | 46 ----------------- x11-libs/guile-gtk/guile-gtk-2.1-r3.ebuild | 48 ----------------- x11-libs/guile-gtk/metadata.xml | 11 ---- 8 files changed, 257 deletions(-)