media-gfx/geeqie-2.1 does not build correctly Reproducible: Always I have asked in IRC if geeqie 2.1 is now stable. sam replied this ebuild has been accidentally pushed to stable, but asked for opening bug report anyway.
Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r8, 5.15.114-gentoo x86_64) ================================================================= System uname: Linux-5.15.114-gentoo-x86_64-AMD_Ryzen_5_PRO_3500U_w-_Radeon_Vega_Mobile_Gfx-with-glibc2.36 KiB Mem: 22436124 total, 7368864 free KiB Swap: 23170044 total, 23049468 free Timestamp of repository guru: Tue, 27 Jun 2023 08:31:53 +0000 Head commit of repository guru: f816a5721ef5cd93b24bb5194d6165304e5d872f Timestamp of repository raiagent: Mon, 26 Jun 2023 19:03:54 +0000 Head commit of repository raiagent: cc9b604de960a58bbd65f313db282d57122a122b Timestamp of repository gentoo: Tue, 27 Jun 2023 11:00:01 +0000 Head commit of repository gentoo: 3d67bd2f40d20d41d29315a7d1567b6a81f74719 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.39 p6) 2.39.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo dev-lang/rust-bin: 1.69.0::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.46::gentoo sys-apps/sandbox: 2.32::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo, 16.0.5::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.5::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r8::gentoo Repositories: guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False needless location: /usr/local/portage masters: gentoo priority: 0 volatile: True raiagent location: /var/db/repos/raiagent sync-type: git sync-uri: https://github.com/gentoo-mirror/raiagent.git masters: gentoo volatile: False gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 1000 volatile: True sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver1 -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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=znver1 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en" 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="/var/tmp" SHELL="/bin/zsh" USE="7zip X aac acpi aesicm alsa amd64 bash-completion bonobo branding bzip2 cairo cddb cli crypt cue cups curl custom-flags dga diskio dri encode expat faad fbcon ffmpeg flac fontforge fortran fuse gcrypt gdbm gif gopher gpm gpu-accel gstreamer gtk gtk2 gtk3 hal iconv imagemagick introspection ipv6 jpeg lame libcaca libgda libmms libsamplerate libsndfile libtirpc llvm lm-sensors logrotate lua lzo mad man mbox modpack mp3 mpeg mplayer multilib musepack museplug ncurses noamazon nptl nsplugin ogg oggvorbis opencl opengl openmp openssl pam pcre pdf perl pie png python qt5 readline savedconfig schroedinger screen sdl seccomp sensord smp spell split-usr sql sqlite sqlite3 ssl svg syslog test-rust tga threads truetype ttf udev unicode vdpau verify-sig vhosts vim-syntax visio vorbis vulkan wavpack webp wifi x264 x265 xft xine xml xrandr xvid zip zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" KERNEL="linux" L10N="en" 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="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64 aarch64 arm" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
The build.log file is to big. Please check the https://0x0.st/HQt-.log
Can you attach it compressed please? (Pastebins expire so they're a pain for bugs)
Created attachment 864718 [details] geeqie compressed build.log file compressed build log attached
Re-building geeqie with USE=-lua set on this ebuild, then it builds. eselect lua list shows lua5.4 is selected as default: /etc/portage/package.use % eselect lua list [1] lua5.1 [2] lua5.4 * [3] luajit-2.1.0-beta3
Confirmed, USE=lua was working fine in 2.0 but 2.1 has the issue. Nothing suspect at first glance from compile log, I add link to relevant upstream bug
New bug on lua detection in github appeared: https://github.com/BestImageViewer/geeqie/issues/1125 The maintainer asks for meson version involved: eix -I meson [I] dev-util/meson Available versions: 1.1.1^t{tbz2} **1.2.0_rc1^t **9999*l^t {test PYTHON_TARGETS="pypy3 python3_10 python3_11 python3_12"} Installed versions: 1.1.1^t{tbz2}(03:27:31 02/06/23)(-test PYTHON_TARGETS="python3_11 -python3_10 -python3_12") Homepage: https://mesonbuild.com/ Description: Open source build system
Pending on fix for lua build, I can probably simplify the meson file to use the configured lua version (2.0 ebuild had such a line)
As a workaround, until a proper fix is merged upstream, I will patch current 2.1 ebuild to use lua.hpp (that Gentoo has) to fix compilation. I will leave the bug open to remind myself to push a -r1 with proper fix
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6f43da4a1fa2c3d442baaa32016593bbe816e1 commit fb6f43da4a1fa2c3d442baaa32016593bbe816e1 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2023-07-07 16:43:55 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2023-07-07 16:45:00 +0000 media-gfx/geeqie: use lua.hpp to fix lua plugin compilation This can be replaced later by upstream official fix Bug: https://bugs.gentoo.org/909302 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> media-gfx/geeqie/files/geeqie-2.1-lua_hpp.patch | 19 +++++++++++++++++++ media-gfx/geeqie/geeqie-2.1.ebuild | 7 ++++--- 2 files changed, 23 insertions(+), 3 deletions(-)
Works for me :-) And live ebuild needs updating, because of using webp option it breaks on configure (ebuild for 2.1 is newer and works).
Good point, the live ebuild is not up-to-date, I will also put the workaround until this bug is resolved (I try to keep live ebuilds clean of patches but this one is worth having until things are fixed)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5030dddcc9ab4029e1c9b9d44216a13080ef980 commit d5030dddcc9ab4029e1c9b9d44216a13080ef980 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2023-08-01 21:57:26 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2023-08-01 21:57:42 +0000 media-gfx/geeqie: sync live ebuild Bug: https://bugs.gentoo.org/909302 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> media-gfx/geeqie/geeqie-9999.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
(In reply to Bernard Cafarelli from comment #12) > Good point, the live ebuild is not up-to-date, I will also put the > workaround until this bug is resolved (I try to keep live ebuilds clean of > patches but this one is worth having until things are fixed) No need for patch, it was actually merged upstream: https://github.com/BestImageViewer/geeqie/commit/a132645ee87e612217ac955b227cad04f21a5722 As the patch is the accepted solution (for now at least), marking the bug closed with -r1