When trying to "emerge qtbase -av" with default USE, it fails. [ebuild N ] dev-qt/qtbase-6.5.1-r1:6/6.5::gentoo USE="X concurrent dbus egl gui icu jpeg libinput network opengl sql sqlite ssl udev vulkan wayland widgets xml -accessibility -brotli -cups -debug -eglfs -evdev -freetds -gles2-only -gssapi -gtk -libproxy -mysql -oci8 -odbc -postgres -sctp -systemd -test -tslib -tuio -vnc -zstd" 0 KiB … FAILED: lib64/qt6/plugins/sqldrivers/libqsqlite.so : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O3 -pipe -march=znver1 -O2 -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--version-script,/var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1_build/src/plugins/sqldrivers/sqlite/QSQLiteDriverPlugin.version -Wl,--enable-new-dtags -shared -o lib64/qt6/plugins/sqldrivers/libqsqlite.so src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.o src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.o src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.o -Wl,-rpath,/var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1_build/lib64: /usr/local/lib/libsqlite3.a lib64/libQt6Sql.so.6.5.1 lib64/libQt6Core.so.6.5.1 && : /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.o: in function `QSQLiteResultPrivate::initColumns(bool)': qsql_sqlite.cpp:(.text+0x24a3): undefined reference to `sqlite3_column_table_name16' collect2: error: ld returned 1 exit status … Reproducible: Always emerge --info WARNING: One or more repositories have missing repo_name entries: /var/lib/layman/vquicksilver/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Portage 3.0.49 (python 3.11.4-final-0, !../../usr/portage/profiles/default/linux/amd64/17.1, gcc-13, glibc-2.37-r3, 6.3.4 x86_64) ================================================================= System uname: Linux-6.3.4-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.37 KiB Mem: 32738948 total, 14502132 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 25 Jun 2023 19:46:58 +0000 Head commit of repository gentoo: 177b1d53d5ebee4b0117f34c296cf58ba0a1710b Head commit of repository arcan-vquicksilver: 60b851379089bcd6cb8a0d7db7335a813a8ab2ee Timestamp of repository guru: Sat, 24 Jun 2023 23:02:17 +0000 Head commit of repository guru: 36284c46d744ae3e97d31c21243f8f0ac3fcddcd Timestamp of repository salfter: Sat, 24 Jun 2023 23:02:26 +0000 Head commit of repository salfter: 2b9b9fa10372bd1fde5940e645ed09f5613fc976 Head commit of repository 0x4d4c: 4d80f0eb38eecd1db283312166a60170dea2b2e9 Head commit of repository gamerlay: 46a076f749eb0101e6d39432e2f8da221e54d72d Head commit of repository raiagent: a0330060603c9967195cea85aa6b12556ce496b6 Head commit of repository steam-overlay: f5d81890625d21bcc8e1f903cc471daab0951403 Head commit of repository qt: 4c9d2129b757f5e10e73a9d5e25994542c3e9d07 sh bash 5.2_p15-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.9.17::gentoo, 3.11.4::gentoo, 3.12.0_beta3::gentoo dev-lang/rust: 1.69.0-r1::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.47.1::gentoo sys-apps/sandbox: 2.32::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/gcc: 8.3.0-r3::gentoo, 13.1.1_p20230527::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False arcan-vquicksilver location: /var/lib/layman/vquicksilver sync-type: git sync-uri: https://github.com/vquicksilver/arcan-overlay masters: gentoo volatile: True guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False localrepo location: /usr/local/portage masters: gentoo volatile: True salfter location: /var/db/repos/salfter sync-type: git sync-uri: https://github.com/gentoo-mirror/salfter.git masters: gentoo volatile: False 0x4d4c location: /var/lib/layman/0x4d4c sync-type: git sync-uri: git://github.com/0x4d4c/gentoo-overlay masters: gentoo priority: 50 volatile: True gamerlay location: /var/lib/layman/gamerlay sync-type: git sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 volatile: True raiagent location: /var/lib/layman/raiagent sync-type: git sync-uri: git://github.com/leycec/raiagent masters: gentoo priority: 50 volatile: True steam-overlay location: /var/lib/layman/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 volatile: True qt location: /var/lib/layman/qt sync-type: git sync-uri: git://anongit.gentoo.org/proj/qt.git masters: gentoo priority: 51 volatile: True Installed sets: @qtpackages, @steam ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=znver1" 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="-O3 -pipe -march=znver1" DISTDIR="/var/db/repos/gentoo/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --jobs=8 --load-average=32 --keep-going" 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 binpkg-multi-instance buildpkg buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo 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" LEX="flex" LINGUAS="en" MAKEOPTS="-j10" PKGDIR="/var/db/repos/gentoo/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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="acl alsa amd64 avx bzip2 cli crypt dri fortran gdbm iconv ipv6 jpeg libglvnd libtirpc mmx multilib ncurses nptl opengl openmp pam pcre pipewire png pulseaudio readline savedconfig seccomp split-usr sse sse2 sse3 sse4 ssl unicode vaapi vulkan wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="VE" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Please attach the full build.log.
Created attachment 864661 [details] compressed build.log (too big to be attached)
In the logs I see mention of a rogue sqlite library in /usr/local: /usr/local/lib/libsqlite3.a Try cleaning that up.
(In reply to Ionen Wolkens from comment #3) > In the logs I see mention of a rogue sqlite library in /usr/local: > > /usr/local/lib/libsqlite3.a > > Try cleaning that up. And by "that", I meant everything sqlite related in /usr/local -- including sqlite3.pc if it exists.
It worked. I removed /usr/local/lib/libsqlite3.a and then emerged qt6 without problem. I don't know where this file came -__- Sorry for the bug report.
(In reply to lord-gentoo from comment #5) > It worked. > I removed /usr/local/lib/libsqlite3.a and then emerged qt6 without problem. > I don't know where this file came -__- > > Sorry for the bug report. Definitely check /usr/local for other junk and clean it up. Anyway, thanks!