Compile fails during linking of qt5. It looks like libqt5pas needs a version bump - it is actually part of the lazarus source archive, and the current/only dev-libs/libqt5pas-1.2.9 is hardwired to the lazarus-2.2.4-0.tar.gz archive. Reproducible: Always Steps to Reproduce: emerge -pqv '=dev-lang/lazarus-3.0::gentoo' [ebuild U ] dev-lang/lazarus-3.0 [2.2.4-r1] USE="gui qt5%* -extras -gtk% -gtk2 -qt6%" Actual Results: /usr/bin/ld: /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/lcl/units/x86_64-linux/qt5/qtint.o: in function `CREATE': /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/lcl/interfaces/qt5//qtobject.inc:44:(.text.n_qtint$_$tqtwidgetset_$__$$_create$$tqtwidgetset+0x16e): undefined reference to `QGuiApplication_setFallbackSessionManagementEnabled' /usr/bin/ld: /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/lcl/units/x86_64-linux/qt5/qtobjects.o: in function `ENDX11SELECTIONLOCK': /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/lcl/interfaces/qt5//qtobjects.pas:3873:(.text.n_qtobjects$_$tqtclipboard_$__$$_endx11selectionlock+0x4d): undefined reference to `QTimer_singleShot3' /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/ide/lazarus.pp(171,1) Error: (9013) Error while linking /var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/ide/lazarus.pp(171,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted make[2]: *** [Makefile:4362: lazarus] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/ide' make[1]: *** [Makefile:4801: ide] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus/ide' make: *** [Makefile:3116: ide] Error 2 * ERROR: dev-lang/lazarus-3.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/lazarus-3.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/lazarus-3.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/lazarus-3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lazarus-3.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus' * S: '/var/tmp/portage/dev-lang/lazarus-3.0/work/lazarus' >>> Failed to emerge dev-lang/lazarus-3.0
Please provide emerge --info and attach a full build log.
Created attachment 895742 [details] Lazarus 3.0 build.log
(In reply to Mike Gilbert from comment #1) > Please provide emerge --info and attach a full build log. build log attached, emerge --info below: # emerge --info '=dev-lang/lazarus-3.0::gentoo' Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.39-r7, 6.10.0-rc2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.10.0-rc2-x86_64-Intel-R-_Core-TM-_i3-N305-with-glibc2.39 KiB Mem: 16150704 total, 13313812 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Mon, 10 Jun 2024 17:30:00 +0000 Head commit of repository gentoo: 4085720af6d3c01cce453aa0bf214f62e142f027 Timestamp of repository guru: Mon, 10 Jun 2024 11:33:42 +0000 Head commit of repository guru: 6761226647f484216f9e31579e8caebab733a144 sh bash 5.2_p26-r3 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r3::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.29.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.1::gentoo dev-lang/perl: 5.38.2-r6::gentoo dev-lang/python: 3.12.3-r1::gentoo, 3.13.0_beta1_p3::gentoo dev-lang/rust: 1.78.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.6::gentoo sys-devel/gcc: 14.1.1_p20240518::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/llvm: 17.0.6::gentoo, 18.1.6::gentoo sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=alderlake -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-march=alderlake -O2 -pipe" DISTDIR="/var/cache/distfiles" 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="-march=alderlake -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=alderlake -O2 -pipe" GENTOO_MIRRORS="https://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j8" 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" SHELL="/bin/bash" USE="X acl alsa amd64 bluetooth bzip2 cet crypt dbus elogind gdbm grub iconv icu libtirpc lm-sensors ncurses nls opengl openmp pam pcre pulseaudio readline seccomp split-usr ssl test-rust truetype unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Forum post: https://forums.gentoo.org/viewtopic-t-1169386.html
I _think_ this one is fixed by: commit ba8e892ee46c0b6de05e2db9e968c8e2db36d7ad Author: Denis Pronin <dannftk@yandex.ru> Date: Mon Jun 10 08:57:17 2024 +0300 dev-lang/lazarus: update lazarus-3.0 and libqt6pas-1.0 dependency 1. remove qt5 from possible USE flags, we're targeting on qt6 2. use 3.0 for 3rd major version of lazarus and dependencies Signed-off-by: Denis Pronin <dannftk@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org> commit 2dda86ff86db65dfea77d4d1fcea41662908a95d Author: Sam James <sam@gentoo.org> Date: Fri Jun 14 08:34:18 2024 +0100 dev-lang/lazarus: revbump for dep fixes See ba8e892ee46c0b6de05e2db9e968c8e2db36d7ad. Signed-off-by: Sam James <sam@gentoo.org>
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb21cafd3781e90e648f35ae96bc98c45ebd059 commit aeb21cafd3781e90e648f35ae96bc98c45ebd059 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-14 09:31:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-14 09:32:48 +0000 dev-libs/libqt5pas: add maintainer notes to ebuild, don't rename distfiles Don't unnecessarily rename the distfile so it can be reused rather than downloaded twice by users with lazarus. Bug: https://bugs.gentoo.org/934158 Bug: https://bugs.gentoo.org/934235 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libqt5pas/Manifest | 4 ++-- dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild | 10 ++++++---- dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0949b5cfdacdd5c1d00a52ecbf9259e5cba803 commit fb0949b5cfdacdd5c1d00a52ecbf9259e5cba803 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-14 09:24:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-14 09:32:43 +0000 dev-libs/libqt6pas: add 6.2.7, drop 1.0.0-r1 Use the proper version from Qt6Pas.pro. This version is tied to what's in lazarus-3.0 but it's the same in lazarus-3.2. Also, don't unnecessarily rename the distfile so it can be reused rather than downloaded twice by users with lazarus. Bug: https://bugs.gentoo.org/934158 Bug: https://bugs.gentoo.org/934235 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libqt6pas/Manifest | 2 +- .../{libqt6pas-1.0.0-r1.ebuild => libqt6pas-6.2.7.ebuild} | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9515336084e543b4661feb7d0e0568da7a79991 commit c9515336084e543b4661feb7d0e0568da7a79991 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-14 09:11:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-14 09:32:38 +0000 dev-lang/lazarus: put back REQUIRED_USE The change itself is right conceptually (see the USE=gui policy in QA guide), but Lazarus continues to be a mess and I've spent too much time on it for now. The right fix is to drop REQUIRED_USE (as we did) but also make *DEPEND reflect that. But given I don't really want to think about Lazarus again, I'm not going to do that right now. Its actual maintainer can do that. Bug: https://bugs.gentoo.org/934158 Closes: https://bugs.gentoo.org/934235 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/lazarus/{lazarus-3.0-r1.ebuild => lazarus-3.0-r2.ebuild} | 7 +++++-- dev-lang/lazarus/{lazarus-3.4.ebuild => lazarus-3.4-r1.ebuild} | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c96163c6e136c139a065d22346b6ebdb7bac52 commit 34c96163c6e136c139a065d22346b6ebdb7bac52 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-14 09:19:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-14 09:32:34 +0000 dev-libs/libqt5pas: add 1.2.15 Bug: https://bugs.gentoo.org/934158 Bug: https://bugs.gentoo.org/934235 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libqt5pas/Manifest | 1 + dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild | 38 ++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+)
Confirming fixed on my end. Thanks everyone.
(In reply to John Croteau from comment #7) > Confirming fixed on my end. Thanks everyone. Thanks for confirming!