Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не компилируется dev-qt/qtwidgets
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
macaroni
n00b
n00b


Joined: 16 Dec 2024
Posts: 1

PostPosted: Tue Dec 17, 2024 5:03 am    Post subject: Не компилируется dev-qt/qtwidgets Reply with quote

У меня dev-qt/qtwidgets во время обновления @world завершается с ошибкой при компиляции.
Обновляюсь так:
Code:
emerge -avuUND @world

Ошибка такая:
Quote:
>>> '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/temp/build.log'

* Messages for package dev-qt/qtwidgets-5.15.14:

* ERROR: dev-qt/qtwidgets-5.15.14::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-qt/qtwidgets-5.15.14::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-qt/qtwidgets-5.15.14::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/temp/environment'.
* Working directory: '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14_build/src/plugins/platformthemes'
* S: '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14'



Вывод "emerge --info '=dev-qt/qtwidgets-5.15.14::gentoo":
Quote:

Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r5, 6.8.7-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.7-gentoo-x86_64-x86_64-AMD_Athlon-tm-_II_X3_460_Processor-with-glibc2.40
KiB Mem: 4007028 total, 1438056 free
KiB Swap: 6291452 total, 5846012 free
Timestamp of repository gentoo: Sun, 15 Dec 2024 20:30:00 +0000
Head commit of repository gentoo: badcf5cb9876d7060a0266ad523a3bfbfb1637b5
Timestamp of repository gentoo-zh: Sun, 15 Dec 2024 05:48:34 +0000
Head commit of repository gentoo-zh: 0a36020b08fb156830ceb835fcdd1614dc9012fc

Timestamp of repository guru: Sun, 15 Dec 2024 18:18:57 +0000
Head commit of repository guru: 693586a9502058a1025af3bc74e895c76d53b4f6

Timestamp of repository torbrowser: Thu, 12 Dec 2024 10:33:30 +0000
Head commit of repository torbrowser: f2ee253b54271caf59d3f7abbad5a3468732a85a

Head commit of repository librewolf: 9190b1d169578c7c223de90bb8c346c418307eaa

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake: 3.30.6::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.12.8::gentoo, 3.13.1::gentoo, 3.13.1-r100::gentoo
dev-lang/rust-bin: 1.82.0-r101::gentoo, 1.83.0::gentoo
llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.55.1::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20241116::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::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-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3

gentoo-zh
location: /var/db/repos/gentoo-zh
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
masters: gentoo
volatile: False

guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False

mytest
location: /var/db/repos/mytest
masters: gentoo
volatile: False

torbrowser
location: /var/db/repos/torbrowser
sync-type: git
sync-uri: https://github.com/gentoo-mirror/torbrowser.git
masters: gentoo
volatile: False

librewolf
location: /var/db/repos/librewolf
sync-type: git
sync-uri: https://codeberg.org/librewolf/gentoo.git
masters: gentoo
priority: 50
volatile: False

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE NVIDIA-r2 truecrypt-3.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
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"
CXXFLAGS="-O2 -march=native"
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_HO
ME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instan
ce 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 p
kgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbo
x usersync xattr"
FFLAGS="-O2 -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2 -l2"
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 a52 aac acl acpi alsa amd64 branding btrfs bzip2 cairo cdda cet crypt dbus dri dts elogind encode exif ffmpeg flac gdbm gif gpm gui iconv icu ipv6 jpeg kf6compat lcms lib
notify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nvenc nvidia ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qml qt5 qt6 readline rsync-ver
ify sdl seccomp smp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid
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_groupf
ile 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 mim
e 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="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garm
intxt 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" INP
UT_DEVICES="libinput" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEM
ENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PO
RTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



Вывод "emerge -pqv --verbose-conflicts '=dev-qt/qtwidgets-5.15.14::gentoo'":

Quote:
[ebuild UD] dev-qt/qtwidgets-5.15.14 [5.15.16] USE="X dbus png -debug -gles2-only -gtk -test"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-qt/qtwidgets:5

(dev-qt/qtwidgets-5.15.14:5/5.15::gentoo, ebuild scheduled for merge) USE="X dbus png -debug -gles2-only -gtk -test" ABI_X86="(64)" pulled in by
=dev-qt/qtwidgets-5.15.14::gentoo (Argument)

(dev-qt/qtwidgets-5.15.16:5/5.15::gentoo, installed) USE="X dbus png -debug -gles2-only -gtk -test" ABI_X86="(64)" pulled in by
=dev-qt/qtwidgets-5.15.16*[gles2-only=] required by (dev-qt/qtdeclarative-5.15.16-1:5/5.15::gentoo, installed) USE="jit vulkan widgets -debug -gles2-only -localstorage -test
" ABI_X86="(64)"
^ ^^^^^^^^


=dev-qt/qtwidgets-5.15.16*[gles2-only=] required by (dev-qt/qtmultimedia-5.15.16-1:5/5.15::gentoo, installed) USE="alsa pulseaudio qml widgets -debug -gles2-only -gstreamer
-openal -test" ABI_X86="(64)"
^ ^^^^^^^^


=dev-qt/qtwidgets-5.15.16* required by (dev-qt/qtsvg-5.15.16:5/5.15::gentoo, installed) USE="-debug -test" ABI_X86="(64)"
^ ^^^^^^^^

=dev-qt/qtwidgets-5.15.16*[gles2-only=] required by (dev-qt/qtprintsupport-5.15.16-1:5/5.15::gentoo, installed) USE="-cups -debug -gles2-only -test" ABI_X86="(64)"
^ ^^^^^^^^

=dev-qt/qtwidgets-5.15.16*[gles2-only=] required by (dev-qt/qtopengl-5.15.16-1:5/5.15::gentoo, installed) USE="-debug -gles2-only -test" ABI_X86="(64)"



Вот вывод последних сообщений компилации с ошибоками:
Quote:
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14_build/src/plugins/platformthemes/xdgdesktopportal/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal -I/usr/include/qt5 -I/usr/include/qt5/QtThemeSupport -I/usr/include/qt5/QtThemeSupport/5.15.14 -I/usr/include/qt5/QtThemeSupport/5.15.14/QtThemeSupport -I/usr/include/qt5/QtGui/5.15.14 -I/usr/include/qt5/QtGui/5.15.14/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -I. -I/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 -I/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/14/include -I/usr/include /var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog_p.h -o .moc/moc_qxdgdesktopportalfiledialog_p.cpp
x86_64-pc-linux-gnu-g++ -c -O2 -march=native -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal -I. -I/usr/include/qt5 -I/usr/include/qt5/QtThemeSupport -I/usr/include/qt5/QtThemeSupport/5.15.14 -I/usr/include/qt5/QtThemeSupport/5.15.14/QtThemeSupport -I/usr/include/qt5/QtGui/5.15.14 -I/usr/include/qt5/QtGui/5.15.14/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -I.moc -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-g++ -o .obj/main.o /var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/main.cpp
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp: In constructor ‘QXdgDesktopPortalTheme::QXdgDesktopPortalTheme()’:
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:102:5: error: ‘QDBusMessage’ was not declared in this scope
102 | QDBusMessage message = QDBusMessage::createMethodCall(QLatin1String("org.freedesktop.portal.Desktop"),
| ^~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:106:5: error: ‘message’ was not declared in this scope
106 | message << QLatin1String("org.freedesktop.portal.FileChooser") << QLatin1String("version");
| ^~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:107:5: error: ‘QDBusPendingCall’ was not declared in this scope
107 | QDBusPendingCall pendingCall = QDBusConnection::sessionBus().asyncCall(message);
| ^~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:108:5: error: ‘QDBusPendingCallWatcher’ was not declared in this scope
108 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:108:30: error: ‘watcher’ was not declared in this scope
108 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:108:44: error: expected type-specifier before ‘QDBusPendingCallWatcher’
108 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:109:32: error: ‘QDBusPendingCallWatcher’ is not a class, namespace, or enumeration
109 | QObject::connect(watcher, &QDBusPendingCallWatcher::finished, [d] (QDBusPendingCallWatcher *watcher) {
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:109:72: error: ‘QDBusPendingCallWatcher’ is not a type
109 | QObject::connect(watcher, &QDBusPendingCallWatcher::finished, [d] (QDBusPendingCallWatcher *watcher) {
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp: In lambda function:
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:110:9: error: ‘QDBusPendingReply’ was not declared in this scope
110 | QDBusPendingReply<QVariant> reply = *watcher;
| ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:110:35: error: expected primary-expression before ‘>’ token
110 | QDBusPendingReply<QVariant> reply = *watcher;
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:110:37: error: ‘reply’ was not declared in this scope
110 | QDBusPendingReply<QVariant> reply = *watcher;
| ^~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportaltheme.cpp:114:18: error: request for member ‘deleteLater’ in ‘* watcher’, which is of non-class type ‘int’
114 | watcher->deleteLater();
| ^~~~~~~~~~~
x86_64-pc-linux-gnu-g++ -c -O2 -march=native -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_THEME_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal -I. -I/usr/include/qt5 -I/usr/include/qt5/QtThemeSupport -I/usr/include/qt5/QtThemeSupport/5.15.14 -I/usr/include/qt5/QtThemeSupport/5.15.14/QtThemeSupport -I/usr/include/qt5/QtGui/5.15.14 -I/usr/include/qt5/QtGui/5.15.14/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtCore -I.moc -I/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-g++ -o .obj/qxdgdesktopportalfiledialog.o /var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp
make[1]: *** [Makefile:492: .obj/qxdgdesktopportaltheme.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/include/qt5/QtCore/qfuture.h:45,
from /usr/include/qt5/QtCore/QtCore:97,
from /usr/include/qt5/QtDBus/QtDBusDepends:3,
from /usr/include/qt5/QtDBus/QtDBus:3,
from /var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:44:
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
284 | explicit QFutureInterface<void>(State initialState = NoState)
| ^~~~~
/usr/include/qt5/QtCore/qfutureinterface.h:284:37: note: remove the ‘< >’
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:60:1: error: ‘QDBusArgument’ does not name a type; did you mean ‘QArgument’?
60 | QDBusArgument &operator <<(QDBusArgument &arg, const QXdgDesktopPortalFileDialog::FilterCondition &filterCondition)
| ^~~~~~~~~~~~~
| QArgument
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:68:7: error: ‘QDBusArgument’ does not name a type; did you mean ‘QArgument’?
68 | const QDBusArgument &operator >>(const QDBusArgument &arg, QXdgDesktopPortalFileDialog::FilterCondition &filterCondition)
| ^~~~~~~~~~~~~
| QArgument
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:81:1: error: ‘QDBusArgument’ does not name a type; did you mean ‘QArgument’?
81 | QDBusArgument &operator <<(QDBusArgument &arg, const QXdgDesktopPortalFileDialog::Filter filter)
| ^~~~~~~~~~~~~
| QArgument
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:89:7: error: ‘QDBusArgument’ does not name a type; did you mean ‘QArgument’?
89 | const QDBusArgument &operator >>(const QDBusArgument &arg, QXdgDesktopPortalFileDialog::Filter &filter)
| ^~~~~~~~~~~~~
| QArgument
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp: In member function ‘void QXdgDesktopPortalFileDialog::openPortal(Qt::WindowFlags, Qt::WindowModality, QWindow*)’:
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:189:5: error: ‘QDBusMessage’ was not declared in this scope
189 | QDBusMessage message = QDBusMessage::createMethodCall(QLatin1String("org.freedesktop.portal.Desktop"),
| ^~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:212:5: error: ‘qDBusRegisterMetaType’ was not declared in this scope; did you mean ‘qRegisterMetaType’?
212 | qDBusRegisterMetaType<FilterCondition>();
| ^~~~~~~~~~~~~~~~~~~~~
| qRegisterMetaType
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:212:42: error: expected primary-expression before ‘>’ token
212 | qDBusRegisterMetaType<FilterCondition>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:212:44: error: expected primary-expression before ‘)’ token
212 | qDBusRegisterMetaType<FilterCondition>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:213:46: error: expected primary-expression before ‘>’ token
213 | qDBusRegisterMetaType<FilterConditionList>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:213:48: error: expected primary-expression before ‘)’ token
213 | qDBusRegisterMetaType<FilterConditionList>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:214:33: error: expected primary-expression before ‘>’ token
214 | qDBusRegisterMetaType<Filter>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:214:35: error: expected primary-expression before ‘)’ token
214 | qDBusRegisterMetaType<Filter>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:215:37: error: expected primary-expression before ‘>’ token
215 | qDBusRegisterMetaType<FilterList>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:215:39: error: expected primary-expression before ‘)’ token
215 | qDBusRegisterMetaType<FilterList>();
| ^
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:297:5: error: ‘message’ was not declared in this scope
297 | message << parentWindowId << d->title << options;
| ^~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:299:5: error: ‘QDBusPendingCall’ was not declared in this scope
299 | QDBusPendingCall pendingCall = QDBusConnection::sessionBus().asyncCall(message);
| ^~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:300:5: error: ‘QDBusPendingCallWatcher’ was not declared in this scope
300 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:300:30: error: ‘watcher’ was not declared in this scope
300 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:300:44: error: expected type-specifier before ‘QDBusPendingCallWatcher’
300 | QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall);
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:301:23: error: ‘QDBusPendingCallWatcher’ is not a class, namespace, or enumeration
301 | connect(watcher, &QDBusPendingCallWatcher::finished, this, [=] (QDBusPendingCallWatcher *watcher) {
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:301:69: error: ‘QDBusPendingCallWatcher’ is not a type
301 | connect(watcher, &QDBusPendingCallWatcher::finished, this, [=] (QDBusPendingCallWatcher *watcher) {
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp: In lambda function:
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:302:9: error: ‘QDBusPendingReply’ was not declared in this scope
302 | QDBusPendingReply<QDBusObjectPath> reply = *watcher;
| ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:302:27: error: ‘QDBusObjectPath’ was not declared in this scope
302 | QDBusPendingReply<QDBusObjectPath> reply = *watcher;
| ^~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:302:44: error: ‘reply’ was not declared in this scope
302 | QDBusPendingReply<QDBusObjectPath> reply = *watcher;
| ^~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:314:13: error: ‘QDBusConnection’ has not been declared
314 | QDBusConnection::sessionBus().connect(nullptr,
| ^~~~~~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:321:18: error: request for member ‘deleteLater’ in ‘* watcher’, which is of non-class type ‘int’
321 | watcher->deleteLater();
| ^~~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp: In member function ‘void QXdgDesktopPortalFileDialog::gotResponse(uint, const QVariantMap&)’:
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:463:43: error: ‘qdbus_cast’ was not declared in this scope
463 | const Filter selectedFilter = qdbus_cast<Filter>(results.value(QStringLiteral("current_filter")));
| ^~~~~~~~~~
/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14/src/plugins/platformthemes/xdgdesktopportal/qxdgdesktopportalfiledialog.cpp:463:60: error: expected primary-expression before ‘>’ token
463 | const Filter selectedFilter = qdbus_cast<Filter>(results.value(QStringLiteral("current_filter")));
| ^
make[1]: *** [Makefile:496: .obj/qxdgdesktopportalfiledialog.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwidgets-5.15.14/work/qtbase-everywhere-src-5.15.14_build/src/plugins/platformthemes/xdgdesktopportal'
make: *** [Makefile:47: sub-xdgdesktopportal-make_first] Error 2


Надеюсь, это всё что нужно было запостить. Простите, если что-то лишнее здесь есть или чего-то не хватает, скажите если что-то ещё нужно. Я просто новичок в Gentoo.


И ещё. Эта проблема возникает только на моей установленной системе, если же скачать stage и в нём установить qtwidgets с моей конфигурацией Portage, то всё пройдёт гладко. Таким способом у меня получилось сделать бинарный пакет qtwidgets версии 5.15.16 и установить его в мою систему. Но этого было мало и некоторые пакеты в моей системе компилировались с ошибкой. Их тоже получилось заменить бинарными пакетами. Но почему-то, после такого, некоторые программы (например firefox) при запуске через некоторое время внезапно завершались, а некоторые программы вообще не запускались (например keepassxc).
После этого ко мне пришла идея переключиться только на стабильные пакеты (до этого у меня в make.conf была переменная ACCEPT_KEYWORDS="~amd64"). Но это не помогло, и при обновлении системы qtwidgets версии 5.15.14 тоже не компилировался.
И вот я здесь, надеюсь на вашу помощь, спасибо! Извиняюсь ещё раз если слишком непонятно всё изложено или неправильно отформатировано сообщение.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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