Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst]Build Problem mit dev-qt/qtwayland-5.15.11-r1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Wed Nov 08, 2023 4:38 pm    Post subject: [gelöst]Build Problem mit dev-qt/qtwayland-5.15.11-r1 Reply with quote

Hallo @ all

Ich habe ein Problem mit dem bauen von von den oben genannten Paketen. Ich komme einfach nicht dahinter wie ich das Problem lösen kann.

Hier das build log von dev-qt/qtwayland-5.15.11:
http://dpaste.com/97V7XHMSZ

Hier das build log von dev-qt/qtdeclarative-5.15.11:
http://dpaste.com/CLJZ4T6FW

Ich hoffe mir kann jemand helfen, im moment nutze ich Gnome, da brauche ich qtwayland nicht wirklich. Ich würde aber lieber auf Kde-Plasma umsteigen, dazu benötige ich aber qtwayland und das will einfach nicht funktionieren.

*EDIT*
Zu qtwayland habe ich schon etwas vorschnell einen bug im Gentoo Bug Tracker aufgegeben, hier der Link dazu:
https://bugs.gentoo.org/917005

*EDIT2*
Hier noch einmal meinei emerge --info:
Code:
Portage 3.0.55 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-13, glibc-2.38-r7, 6.6.0-gentoo-OS x86_64)
=================================================================
System uname: Linux-6.6.0-gentoo-OS-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38
KiB Mem:    65735540 total,  56318036 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Wed, 08 Nov 2023 15:47:02 +0000
Head commit of repository gentoo: 41ff52afe13da18a3e06ae4fb76a5180f43cd0b0

sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.4::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.4::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.4::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: yes

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

Ollis-Overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 200
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xorg.conf.d /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=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --with-bdeps=y --jobs=2 --load-average=1 --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 binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://de-mirror.org/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-march=znver3 -O2 -mtune=znver3 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS_FLAGS="-9"
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 aacplus acl acpi activities addc aes aio alsa amd64 ao apng arj aspell avx avx2 bash-completion bluetooth bluray branding btrfs bzip2 c++0x c++11x cacao cairo cdda cdr cgroup cgroups clang cleartype cli client cmake colord console corefonts crypt cups curl dbus dri dri3 drm dts dv dvd dvdr editor eds efi egl elogind emf encode evdev evo exif f16c faac faad fat fbcon fbsplash ffmpeg fftw flac fltk fma fma3 fma4 fontconfig foomaticdb fortran fpm fuse g-sorcery gallium games gbm gcrypt gd gdbm gif gimp git glamor gles gles2 glut glx gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnupg gnutls gold gpg gpm grub gsm gstreamer gtk gtk2 gtk3 gui harfbuzz hunspell hwaccel i18n iconv icu id3tag imagemagick innodb-snappy inotify introspection iproute2 ipv6 iso ispell ithreads jack java javascript jbig jit jpeg jpeg2k jpg json keyring kmod kms l10n ladspa lame largepages latin1 lcms ldap ldapdb legacy-systray lensfun lha libass libglvnd libkms libnotify librtmp libsamplerate libsoxr libtirpc libv4l libva llvm lm_sensors loop-aes lz4 lzma lzo mad mail matroska mediacenter mem-scramble minizip mjpeg mktemp mmap mmx mng mouse mp3 mp4 mpc mpeg mpfr mplayer mtp multilib multitarget nautilus ncurses neon networkmanager nftables nls nptl nptlonly nscd nsplugin ntfs ntp ocaml ogg openal opencl opengl opengpg openldap openmax openmp openrc openssl orc osmesa pae pam pango parted passwdqc passwordsave pclmul pcre pdf perl pgo phonon plasma playlist pm-utils png policykit popcnt postproc ppds pulseaudio python python3 q64 qemu qml qrcode qt5 quad quicktime rar raw readline reencrypt rpm rss rtmp s3tc samba sasl sdl seccomp secure-delete sensors sharedmem shmvideo smp smpeg snappy sndfile sound sox speex spell split-usr sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a sse5 ssl ssse3 startup-notification streaming svg sync-plugin-portage syslog sysprof systeminfo sysvipc taglib tagsoup test-rust tga theora thin threads thumbnail thunderbird tiff timezone tinfo tls tools tracker trayicon truetype udev udisks uefi unarj unicode unlock-notify unrar unzip upower urandom usb user-session v4l v4l2 va vaapi vala vdpau vlc vorbis vpx vulkan wayland webchannel webp widgets winbind wmf wxwidgets x11 x264 x265 xattr xcb xft xlib-xcb xml xorg xpm xrandr xv xvid zbus zip zlib zoo" 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" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" 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="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="canon canon630u canon_dr pixma" VIDEO_CARDS="fbdev nvidia" 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, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Last edited by Child_of_Sun_24 on Mon Nov 13, 2023 6:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Wed Nov 08, 2023 9:41 pm    Post subject: Reply with quote

hm, ich hätte ja gesagt, dass sieht nach einen Fehler im Pakete aus, aber bei mir bauen die pakete...

was für eine version hat denn dein installiertes dev-qt/qtopengl?
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Thu Nov 09, 2023 4:56 am    Post subject: Reply with quote

qtopengl ist in der Version 5.15.11 installiert.

*EDIT*
Ich habe das ganze mal mit einem neuen stage3 archiv versucht und qtwayland gibt mir hier auch den selben Fehler aus.

*EDIT2*

Ich habe es jetzt mit einer neuen stage3 und stable probiert, auch hier der selbe Fehler.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Thu Nov 09, 2023 4:00 pm    Post subject: Reply with quote

hm, sorry, ich habs auch mit einen neuen stage3 probiert, aber da bauen die pakete einfach. welches hast du denn genau genommen? ich habe stage3-amd64-systemd-20231105T170200Z
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Thu Nov 09, 2023 5:21 pm    Post subject: Reply with quote

Ich nutze stage3-amd64-desktop-openrc-20231105T170200Z, vielleicht ein Problem mit openrc, aber das halte ich eher für unwahrscheinlich.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Thu Nov 09, 2023 7:49 pm    Post subject: Reply with quote

Hm, dann liegt es eventuell an unglücklich gesetzten useflags, mit denen die Qt Pakete gebaut wurden (wild geraten).
Christian99 hat beim stage3 Test vermutlich ein anderes Profil mit anderen default useflags genutzt

@Child_of_Sun_24
zeige bitte mal die Ausgabe von
Code:
emerge -pv $(qlist -IC dev-qt) --exclude=dev-qt/*:6

(funktionierende Beispielausgabe von hier https://dpaste.com/7RL5WBWD5 )
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Fri Nov 10, 2023 6:29 am    Post subject: Reply with quote

Die Ausgabe ist:

Code:
emerge -pv $(qlist -IC dev-qt) --exclude=dev-qt/*:6

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 1.26 s (backtrack: 0/20).

[ebuild   R    ] dev-qt/qtcore-5.15.11-r1:5/5.15.11::gentoo  USE="icu -debug -old-kernel -test" 0 KiB
[ebuild   R    ] dev-qt/qtdbus-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB
[ebuild   R    ] dev-qt/qtxml-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB
[ebuild   R    ] dev-qt/qtgui-5.15.11:5/5.15.11::gentoo  USE="X dbus egl evdev jpeg libinput png udev vulkan -accessibility -debug -eglfs -gles2-only -ibus -linuxfb -test -tslib -tuio -vnc -wayland" 0 KiB
[ebuild   R    ] dev-qt/qtwidgets-5.15.11:5/5.15::gentoo  USE="X png -dbus -debug -gles2-only -gtk -test" 0 KiB
[ebuild   R    ] dev-qt/qtx11extras-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB
[ebuild   R    ] dev-qt/qtsvg-5.15.11:5/5.15::gentoo  USE="-debug -test" 0 KiB

Total: 7 packages (7 reinstalls), Size of downloads: 0 KiB


Habe es jetzt mit einer systemd stage 3 getestet, als Profil das default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr aber der selbe Fehler kommt wieder, auch getestet habe ich einen älteren Kernel, ältere linux-headers, eine ältere libglvnd, eine ältere mesa Version und eine ältere libxkbcommon hat alles zu dem selben Fehler geführt.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Fri Nov 10, 2023 10:29 am    Post subject: Reply with quote

hab jetzt vom stage3 standard profil (default/linux/amd64/17.1/systemd) auf deines gewechselt.

qtgui wird mit dbus jpeg vulkan und wayland neu gebaut
bei qtwayland hat sich nix an den flags geändert
bei qtdeclarative kommt vulkan dazu

geht auch.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Fri Nov 10, 2023 12:38 pm    Post subject: Reply with quote

Jo, teste mal bitte ob USE=wayland beim dev-qt/qtgui Paket enablen hilft.
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Fri Nov 10, 2023 3:44 pm    Post subject: Reply with quote

Nein das hinzufügen von der wayland use flag hat nichts geändert, aber mir ist gerade noch eingefallen das ich auch probleme mit qtwidgets habe wenn ich es mit den Useflags dbus installiere (Dementsprechend muss ich auch die useflag gtk deaktivieren da diese die useflag dbus braucht):

http://dpaste.com/7VK7PFJ2M

Ich hatte das total vergessen und ist mir erst gerade bei dem bearbeiten der useflags für qtgui aufgefallen.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Fri Nov 10, 2023 5:05 pm    Post subject: Reply with quote

sehr seltsam,
mach doch mal bitte
Code:
grep -rn "class Q_DBUS_EXPORT QDBusMessage" /usr/include/

das ist die definition des angeblich fehlenden typs.
Wegen gleicher qtversionen sollte da wie bei mir
Code:

/usr/include/qt5/QtDBus/qdbusmessage.h:58:class Q_DBUS_EXPORT QDBusMessage


wenn das nicht ist, dann stimmt irgendwas mit deinen headern nicht.
wenn es ist, dann findet der kompiler die falschen header....
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Fri Nov 10, 2023 5:16 pm    Post subject: Reply with quote

Da kommt:

Code:
/usr/include/qt5/QtDBus/qdbusmessage.h:58:class Q_DBUS_EXPORT QDBusMessage


Also müsste richtig sein.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Fri Nov 10, 2023 10:03 pm    Post subject: Reply with quote

hm, dann scheint dein Kompiler einen anderen Header zu nehmen, aber keine Ahnung wieso....
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Sat Nov 11, 2023 9:15 pm    Post subject: Reply with quote

Ich habe jetzt mein komplettes system neu installiert, bin auf systemd gewechselt, trotzdem kommt immer noch der selbe Fehler bei allen drei Paketen, das einzige was ich übernommen habe waren das world file und die make.conf.

Ich lade mal aus lauter verzweiflung meine make.conf hoch vielleicht fällt ja jemandem was auf:
http://dpaste.com/HPNAFYC3N
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Mon Nov 13, 2023 10:17 am    Post subject: Reply with quote

hm, außer dass mal alte sachen aufgeräumt werden könnten, seh ich nix das direkt falsch aussieht.
Aber wenn das noch der letzte Unterschied ist, dann probier doch mal, was mit der original stage3 make.conf passiert
Back to top
View user's profile Send private message
Child_of_Sun_24
Guru
Guru


Joined: 28 Jul 2004
Posts: 578

PostPosted: Mon Nov 13, 2023 3:32 pm    Post subject: Reply with quote

Habe es jetzt geschafft, habe eine neue make.conf erstellt ohne die LDFLAGS und ohne die Useflags und ein paar andere optionen sind auch rausgeflogen. Damit habe ich dann eine neue Installation gemacht und siehe da der Fehler ist verschwunden.

Ich weiß allerdings nicht was letztendlich der Auslöser war, bin nur froh das es jetzt funktioniert.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Thu Nov 16, 2023 12:34 pm    Post subject: Reply with quote

Insteressant.
Würd mich ja eigentlich schon mal interessieren, was genau diesen Effekt verursacht hat. Aber hauptsache es geht wieder.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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