Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile several QT Libraries on Intel-64-bit computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
amxyz
n00b
n00b


Joined: 13 May 2020
Posts: 27
Location: Turin

PostPosted: Tue Mar 04, 2025 9:53 pm    Post subject: Can't compile several QT Libraries on Intel-64-bit computer Reply with quote

Hi,
I've been trying to update my Gentoo installation. However I'm stuck with the QT upgrade. Up to now, I've been using QT5. I entered the following emerge command to install the latest version of QTBase, namely 6.8.2-2:

Code:
 emerge -1av qtbase

Quote:
emerge -pqv '=dev-qt/qtbase-6.8.2-r2::gentoo'
[ebuild N ] dev-qt/qtbase-6.8.2-r2 USE="X concurrent cups dbus gtk gui icu libinput libproxy mysql network nls opengl sql sqlite ssl udev vulkan wayland widgets xml (zstd) -accessibility -brotli -custom-cflags -eglfs -evdev -gles2-only -gssapi -journald -oci8 -odbc -postgres -renderdoc -sctp -syslog -test -tslib"
[ebuild N ] dev-qt/qtwayland-6.8.2-r1 USE="qml vulkan -accessibility -compositor -custom-cflags -gnome -test"
[ebuild N ] dev-qt/qtsvg-6.8.2 USE="-custom-cflags -test"
[ebuild N ] dev-qt/qtshadertools-6.8.2 USE="-custom-cflags -test"
[ebuild N ] dev-qt/qtdeclarative-6.8.2 USE="jit network opengl sql ssl svg vulkan widgets -accessibility -custom-cflags -qmlls"
[ebuild N ] dev-qt/qttools-6.8.2 USE="assistant linguist opengl qdbus qml vulkan widgets (zstd) -clang -custom-cflags -designer -distancefieldgenerator -gles2-only -pixeltool -qdoc -qmlls -qtattributionsscanner -qtdiag -qtplugininfo" LLVM_SLOT="19 -17 -18"
[ebuild N ] dev-qt/qttranslations-6.8.2 USE="-custom-cflags"


What's more, I've already updated ninja to version 1.12.1, as well as GCC to version 14.2.1_p20241221. However, if emerge cancels the installation of qtbase6, the error message I get has to do with sqlite:

Quote:

[777/804] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=x86-64-v2 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--no-undefined -Wl,--version-script,/home/angela/tmp/gentoo/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2_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/Unity/unity_0_cxx.cxx.o -Wl,-rpath,/usr/local/lib64:/home/angela/tmp/gentoo/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2_build/lib64: /usr/local/lib64/libsqlite3.so lib64/libQt6Sql.so.6.8.2 lib64/libQt6Core.so.6.8.2 && :
FAILED: lib64/qt6/plugins/sqldrivers/libqsqlite.so
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=x86-64-v2 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--no-undefined -Wl,--version-script,/home/angela/tmp/gentoo/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2_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/Unity/unity_0_cxx.cxx.o -Wl,-rpath,/usr/local/lib64:/home/angela/tmp/gentoo/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2_build/lib64: /usr/local/lib64/libsqlite3.so lib64/libQt6Sql.so.6.8.2 lib64/libQt6Core.so.6.8.2 && :
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: src/plugins/sqldrivers/sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/Unity/unity_0_cxx.cxx.o: in function `QSQLiteResultPrivate::initColumns(bool)':
unity_0_cxx.cxx:(.text+0x3208): undefined reference to `sqlite3_column_table_name16'
collect2: error: ld returned 1 exit status


Note that you can read through a shortened version of the build.log on pastebin:
https://pastebin.com/KeSadxxe

According to the following command, my gentoo system is configured like this:
Code:
emerge --info '=dev-qt/qtbase-6.8.2-r2::gentoo'

Quote:

Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.41, 6.8.1-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-glibc2.41
KiB Mem: 16377212 total, 7211912 free
KiB Swap: 15359996 total, 15356124 free
Timestamp of repository gentoo: Tue, 04 Mar 2025 09:45:00 +0000
Head commit of repository gentoo: 4940affbdfc82336c937c0620fb5d3d481004833
sh bash 5.2_p26
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.0::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.1::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.11.4::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust-bin: 1.85.0-r1::gentoo
llvm-core/clang: 13.0.0::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.2::gentoo
llvm-core/lld: 16.0.6::gentoo, 17.0.6::gentoo, 18.1.2::gentoo
llvm-core/llvm: 13.0.0::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.2::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 255.4::gentoo
sys-devel/binutils: 2.37_p1::gentoo, 2.40-r7::gentoo, 2.41::gentoo, 2.42-r1::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 11.2.0::gentoo, 13.2.1_p20240210::gentoo, 14.2.1_p20250301::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/angela/tmp/gentoo/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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en de it"
MAKEOPTS="-j5"
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="/home/angela/tmp/gentoo"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 awt base bluetooth branding bzip2 cairo cdda cdr cet cgi colord crypt cups dbus dri driver dts dvd dvdr eds encode evo exif extra extras ffmpeg flac gd gdbm gdk-pixbuf gif gnome-keyring gnome-online-accounts gnome-shell gphoto2 gpm gstreamer gtk gtk3 gui help iconv icu introspection ipv6 java javafx jpeg keyring kf6compat lcms libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib mysql nautilus ncurses networkmanager nls notification nsplugin nvidia ogg opengl openmp pam pango pcre pdf persistenced png policykit ppds pulseaudio python qml readline sdl seccomp sound spell sqlite sse sse2 ssl startup-notification svg swt sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb v4l v4l2 vdpau vorbis vulkan wayland wxwidgets x264 xattr xcb xft xinetd xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_14" 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev" KERNEL="linux" 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="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby32" SANE_BACKENDS="epson2" VIDEO_CARDS="nvidia" 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, 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


Last but not least, I checked the configuration of SQLite3 using the package 'dev-db/sqlite-3.49.1'. According to some websites such as the following one, I need to enable some compiler options if installing sqlite so that it can be used by third party libraries:
https://www.sqlite.org/howtocompile.html



However, this is something which emerge does anyway by enabling the following compiler option before performing the final installation:
Code:
 -DSQLITE_ENABLE_COLUMN_METADATA


Thanks for you help in advance.
_________________
Superprof: https://www.superprof.de/autorin-computer-magazine-berufserfahrung-der-webentwicklung-gibt-online-nachhilfe-programmierung.html
Github: https://github.com/amxyz-cyber
My Gigs: https://legiit.com/macrolab


Last edited by amxyz on Thu Mar 06, 2025 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2197

PostPosted: Tue Mar 04, 2025 9:57 pm    Post subject: Reply with quote

It seems to be picking up a copy of sqlite from /usr/local. Please try moving that away.
Back to top
View user's profile Send private message
amxyz
n00b
n00b


Joined: 13 May 2020
Posts: 27
Location: Turin

PostPosted: Thu Mar 06, 2025 9:01 pm    Post subject: [solved] Can't compile QTBASE-6.8.2-R2 Reply with quote

Thanks for your quick help. Indeed, I had some old libraries in my /usr/local/lib folder, which I removed. After that, I was able to successfully install the newest version of QTBase.
_________________
Superprof: https://www.superprof.de/autorin-computer-magazine-berufserfahrung-der-webentwicklung-gibt-online-nachhilfe-programmierung.html
Github: https://github.com/amxyz-cyber
My Gigs: https://legiit.com/macrolab
Back to top
View user's profile Send private message
amxyz
n00b
n00b


Joined: 13 May 2020
Posts: 27
Location: Turin

PostPosted: Thu Mar 06, 2025 9:16 pm    Post subject: Can't compile QT5Compat Library Reply with quote

After proceeding with my epic update from profile 17.1 to 23.0 amounting to over 840 packages, I faced several issues related to QT. One problem which I can't resolve has to do with trying to install the latest QT5Compat library 6.8.2. If I enter the following command:
Code:
 emerge -1av dev-qt/qt5compat


Emerge stops at the 11th source file, noting that
Quote:
subcommand failed
. The build log can be viewed online:
https://pastebin.com/JtskU21a


The following command results in another output which is also available on Pastebin:
Code:
 emerge --info '=dev-qt/qt5compat-6.8.2::gentoo'

https://pastebin.com/1Vgt1Qy1

Additionally, after having tried to install QT5Compat, I received the exception
Quote:
tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/temp/environment: line 821: 65 Segmentation fault (core dumped) "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"


The complete log of the second error message is as follows:
Quote:

* qt5compat-everywhere-src-6.8.2.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking qt5compat-everywhere-src-6.8.2.tar.xz to /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work
>>> Source unpacked in /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work
>>> Preparing source in /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2 ...
* Source directory (CMAKE_USE_DIR): "/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2"
* Build directory (BUILD_DIR): "/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build"
* C(XX)FLAGS adjusted due to frequent -march=*/-m* issues with Qt:
* "-O2 -pipe -march=x86-64-v2"
* (can override with USE=custom-cflags, but no support will be given)
>>> Source prepared.
>>> Configuring source in /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2 ...
* Source directory (CMAKE_USE_DIR): "/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2"
* Build directory (BUILD_DIR): "/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build"
cmake -C /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr --log-level=STATUS -Wno-dev -DINSTALL_PUBLICBINDIR=/usr/bin -DQT_BUILD_TESTS=OFF -DQT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build/gentoo_toolchain.cmake /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2
loading initial cache file /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 14.2.1
-- The C compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Checking for feature set changes
-- CMAKE_STRIP (original): /usr/bin/x86_64-pc-linux-gnu-strip
-- Performing Test strip --keep-section
-- Performing Test strip --keep-section - TRUE
-- CMAKE_STRIP (used by Qt): /home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build/lib64/qt6/libexec/qt-internal-strip
-- Found Git: /usr/bin/git (found version "2.48.1")
-- Git repo not found, skipping querying git version.
-- Found ICU: /usr/include (found suitable version "76.1", minimum required is "50.1") found components: i18n uc data
-- Performing Test HAVE_ICONV
-- Performing Test HAVE_ICONV - Success
-- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS
-- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success
-- Performing Test HAVE_DASH_DASH_NO_UNDEFINED
-- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/temp/environment: line 821: 65 Segmentation fault (core dumped) "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
* ERROR: dev-qt/qt5compat-6.8.2::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 1970: Called qt6-build_src_configure
* environment, line 1843: Called cmake_src_configure
* environment, line 981: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
*
* If you need support, post the output of `emerge --info '=dev-qt/qt5compat-6.8.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-qt/qt5compat-6.8.2::gentoo'`.
* The complete build log is located at '/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/temp/build.log'.
* The ebuild environment file is located at '/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/temp/environment'.
* Working directory: '/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2_build'
* S: '/home/angela/tmp/gentoo/portage/dev-qt/qt5compat-6.8.2/work/qt5compat-everywhere-src-6.8.2'

>>> Failed to emerge dev-qt/qt5compat-6.8.2, Log file:


Thanks for your help again.
_________________
Superprof: https://www.superprof.de/autorin-computer-magazine-berufserfahrung-der-webentwicklung-gibt-online-nachhilfe-programmierung.html
Github: https://github.com/amxyz-cyber
My Gigs: https://legiit.com/macrolab
Back to top
View user's profile Send private message
amxyz
n00b
n00b


Joined: 13 May 2020
Posts: 27
Location: Turin

PostPosted: Thu Mar 06, 2025 10:54 pm    Post subject: Reply with quote

When trying to reinstall QTBASE 6.8.2 with the following command:
Code:
 emerge -1av qtbase

I receive again a
Quote:
Segmentaition fault error
. Nonetheless, QTBase is still installed on my gentoo system drive:

Quote:

-- Found libproxy-1.0, version 0.5.4
-- Found GLIB2: /usr/lib64/libglib-2.0.so found components: GOBJECT
-- Found GLIB2: /usr/lib64/libglib-2.0.so found components: GIO
/home/angela/tmp/gentoo/portage/dev-qt/qtbase-6.8.2-r2/temp/environment: line 839: 146 Segmentation fault (core dumped) "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
* ERROR: dev-qt/qtbase-6.8.2-r2::gentoo failed (configure phase):
* cmake failed
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 1996: Called qt6-build_src_configure
* environment, line 1861: Called cmake_src_configure
* environment, line 999: Called die
* The specific snippet of code:
* "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";


The complete build log is on pastebin:
https://pastebin.com/z9QAVgvE

I'm really not an expert on qt. DO I have to set up Gentoo completely new, i.e. by downloading the tar files and so on?
_________________
Superprof: https://www.superprof.de/autorin-computer-magazine-berufserfahrung-der-webentwicklung-gibt-online-nachhilfe-programmierung.html
Github: https://github.com/amxyz-cyber
My Gigs: https://legiit.com/macrolab
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31520
Location: here

PostPosted: Fri Mar 07, 2025 6:22 am    Post subject: Reply with quote

Usually the Segmentation fault error is synonymous of hardware problem. Check your dmesg.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum