Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] pyside / shiboken6 findet libclang nicht
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
haegar87
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 168

PostPosted: Sun Apr 13, 2025 9:43 am    Post subject: [gelöst] pyside / shiboken6 findet libclang nicht Reply with quote

Hallo zusammen,

beim Wechsel von Plasma auf Hyprland bin ich spontan auf ein merkwürdiges Problem gestoßen und benötige Hilfe:

Im Rahmen des Wechsels ist ein Neubau von pyside nötig. Dieser schlägt allerdings fehl, da meiner Meinung nach pyside nicht mehr in der Lage ist die libclang zu finden.

Das ist die einzige Fehlermeldung im build. Allerdings macht er anscheinend erstmal weiter.
Code:

[...]
-- optional module Qt6Qml found (). Looked in: /usr/lib64/cmake/Qt6Qml
-- optional module Qt6OpenGLWidgets found (). Looked in: /usr/lib64/cmake/Qt6OpenGLWidgets
-- optional module Qt6SvgWidgets found (). Looked in: /usr/lib64/cmake/Qt6SvgWidgets
-- PySide will be generated using the protected hack!
CMake Warning at /lib/cmake/Shiboken6/ShibokenHelpers.cmake:890 (message):
  Couldn't find libclang.so You will likely need to add it manually to PATH
  to ensure the build succeeds.
Call Stack (most recent call first):
  /lib/cmake/Shiboken6/ShibokenHelpers.cmake:763 (find_libclang)
  cmake/Macros/PySideModules.cmake:193 (shiboken_get_tool_shell_wrapper)
  PySide6/QtCore/CMakeLists.txt:257 (create_pyside_module)


-- Qt6OpenGL: Adding Desktop OpenGL classes
-- Qt6Network: Adding SSL classes
-- Qt6Network: Adding DTLS classes
[...]


Später fliegt er dann aber mit der folgenden Meldung raus:
Code:

-- Configuring done (1.5s)
CMake Error in libpyside/CMakeLists.txt:
  Imported target "Shiboken6::libshiboken" includes non-existent path

    "/include/shiboken6"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in plugins/uitools/CMakeLists.txt:
  Imported target "Shiboken6::libshiboken" includes non-existent path
[...]

Diese Meldung wiederholt sich 12 Mal bevor er endgültig mit
Code:

CMake Generate step failed.  Build files cannot be regenerated correctly.
error: Error configuring pyside6

abbricht.

LLVM ist natürlich installiert:
Code:

eix -I llvm
[I] llvm-core/llvm
     Verfügbare Versionen:   
     (15)   15.0.7-r7(15/15)^t
     (16)   16.0.6-r5(16/16)^t
     (17)   17.0.6-r3(17/17)^t
     (18)   18.1.8-r6(18/18.1)^t{gpkg}
     (19)   19.1.4(19/19.1)^t{gpkg} 19.1.7(19/19.1)^t{gpkg}
     (20)   ~20.1.1(20/20.1)^t ~20.1.2(20/20.1)^t
     (21)   **21.0.0_pre20250317(21/21.0.0_pre20250317)^t **21.0.0_pre20250322(21/21.0.0_pre20250322)^t **21.0.0_pre20250329(21/21.0.0_pre20250329)^t **21.0.0.9999(21/21.0.0.9999)*l^t
       {+binutils-plugin (+)debug debuginfod doc exegesis libedit +libffi ncurses test verify-sig xar xml z3 zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" LLVM_TARGETS="AArch64 AMDGPU ARC ARM AVR BPF CSKY DirectX Hexagon Lanai LoongArch M68k MSP430 Mips NVPTX PowerPC RISCV SPIRV Sparc SystemZ VE WebAssembly X86 XCore Xtensa"}
     Installierte Versionen: 19.1.7(19/19.1)^t{gpkg}(18:06:46 21.02.2025)(binutils-plugin libffi xml zstd -debug -debuginfod -doc -exegesis -libedit -test -verify-sig -z3 ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32" LLVM_TARGETS="AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore -ARC -CSKY -DirectX -M68k -SPIRV -Xtensa")
     Startseite:             https://llvm.org/
     Beschreibung:           Low Level Virtual Machine

[I] llvm-core/llvm-common
     Verfügbare Versionen:   15.0.7 16.0.6 17.0.6 18.1.8{gpkg} 19.1.4{gpkg} 19.1.7{gpkg:2} ~20.1.1 ~20.1.2 **21.0.0_pre20250317 **21.0.0_pre20250322 **21.0.0_pre20250329 **21.0.0.9999*l {emacs verify-sig}
     Installierte Versionen: 19.1.7{gpkg:2}(11:29:20 13.04.2025)(-emacs -verify-sig)
     Startseite:             https://llvm.org/
     Beschreibung:           Common files shared between multiple slots of LLVM

[I] llvm-core/llvm-toolchain-symlinks
     Verfügbare Versionen:   
     (15)   15-r1
     (16)   16-r1
     (17)   17-r1
     (18)   18-r1{gpkg}
     (19)   19{gpkg:2}
     (20)   ~20-r1
     (21)   **21
       {multilib-symlinks +native-symlinks}
     Installierte Versionen: 19(19){gpkg:2}(11:29:27 13.04.2025)(native-symlinks -multilib-symlinks)
     Startseite:             https://wiki.gentoo.org/wiki/Project:LLVM
     Beschreibung:           Symlinks to use LLVM on binutils-free system

[I] llvm-core/llvmgold
     Verfügbare Versionen:   15 16 17 18{gpkg} 19{gpkg:2} ~20 **21
     Installierte Versionen: 19{gpkg:2}(11:29:33 13.04.2025)
     Startseite:             https://llvm.org/
     Beschreibung:           LLVMgold plugin symlink for autoloading

4 Treffer


Ich hoffe jemand hat einen Rat woran es liegen könnte. LLVM habe ich bereits neu gebaut - ohne Verbesserung.
Hier noch der vollständige build.log => https://paste.rs/qcncg
_________________
"Spielt man die Windows CD rückwärts ab, hört man satanistische Texte!" - "Das ist ja noch harmlos! Wenn man sie vorwärts abspielt, installiert sich das Teufelszeug!"


Last edited by haegar87 on Sun Apr 13, 2025 12:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4744
Location: Germany

PostPosted: Sun Apr 13, 2025 11:44 am    Post subject: Reply with quote

Hi,

da wurde in den letzten Tagen (oder Stunden) noch was gefixt - stelle also bitte sicher das dein ::gentoo Repo auf einem aktuellen stand ist.
Vorschlag: Teste es bitte noch mal nach einem frischen
Code:
emerge --sync


Edit: Schaue dazu zb auch via
Code:
emerge --info | grep "Timestamp of repository gentoo:"
Back to top
View user's profile Send private message
haegar87
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 168

PostPosted: Sun Apr 13, 2025 12:04 pm    Post subject: Reply with quote

Josef.95 wrote:
Hi,

da wurde in den letzten Tagen (oder Stunden) noch was gefixt - stelle also bitte sicher das dein ::gentoo Repo auf einem aktuellen stand ist.
Vorschlag: Teste es bitte noch mal nach einem frischen
Code:
emerge --sync


Edit: Schaue dazu zb auch via
Code:
emerge --info | grep "Timestamp of repository gentoo:"


Danke! Das scheint tatsächlich das Problem gewesen zu sein.
Die Meldungen (von find_libclang) sind zwar immernoch da, aber der build bricht jetzt nicht mehr ab.
_________________
"Spielt man die Windows CD rückwärts ab, hört man satanistische Texte!" - "Das ist ja noch harmlos! Wenn man sie vorwärts abspielt, installiert sich das Teufelszeug!"
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