Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871750 - dev-python/pyside2-5.15.2-r2 - /.../pyside.cpp: fatal error: qapp_macro.h: No such file or directory
Summary: dev-python/pyside2-5.15.2-r2 - /.../pyside.cpp: fatal error: qapp_macro.h: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 17:30 UTC by Toralf Förster
Modified: 2022-09-23 11:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.26 KB, text/plain)
2022-09-19 17:30 UTC, Toralf Förster
Details
dev-python:pyside2-5.15.2-r2:20220919-150503.log (dev-python:pyside2-5.15.2-r2:20220919-150503.log,31.07 KB, text/plain)
2022-09-19 17:30 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,88.74 KB, application/x-bzip)
2022-09-19 17:30 UTC, Toralf Förster
Details
environment (environment,143.40 KB, text/plain)
2022-09-19 17:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.69 KB, application/x-bzip)
2022-09-19 17:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.65 KB, application/x-bzip)
2022-09-19 17:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-19 17:30:12 UTC
too long lines were shrinked:

[10/904] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIBPYSIDE -DPYSIDE_QML_PRIVATE_API_SUPPORT=1 -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -I/usr/include/qt5/QtQml/5.15.5 -I/usr/include/qt5/QtQml/5.15.5/QtQml -I/usr/include/qt5/QtNetwork/5.15.5 -I/usr/include/qt5
[11/904] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIBPYSIDE -DPYSIDE_QML_PRIVATE_API_SUPPORT=1 -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -I/usr/include/qt5/QtQml/5.15.5 -I/usr/include/qt5/QtQml/5.15.5/QtQml -I/usr/include/qt5/QtNetwork/5.15.5 -I/usr/include/qt5
FAILED: libpyside/CMakeFiles/pyside2.dir/pyside.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIBPYSIDE -DPYSIDE_QML_PRIVATE_API_SUPPORT=1 -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -I/usr/include/qt5/QtQml/5.15.5 -I/usr/include/qt5/QtQml/5.15.5/QtQml -I/usr/include/qt5/QtNetwork/5.15.5 -I/usr/include/qt5/QtNetwor
/var/tmp/portage/dev-python/pyside2-5.15.2-r2/work/pyside-setup-opensource-src-5.15.2/sources/pyside2/libpyside/pyside.cpp:61:10: fatal error: qapp_macro.h: No such file or directory
   61 | #include <qapp_macro.h>
      |          ^~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220913-130006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	OpenJDK 17.0.5_p5 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit c399e470b865efcb2c4088363d7828fc4f869619
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 19 13:46:53 2022 +0000

    2022-09-19 13:46:53 UTC

emerge -qpvO dev-python/pyside2
[ebuild  N    ] dev-python/pyside2-5.15.2-r2  USE="designer gles2-only gui location network positioning printsupport qml quick svg webchannel widgets xml -3d -charts -concurrent -datavis -help -multimedia -script -scripttools -scxml -sensors -speech -sql -test -testlib -webengine -websockets -x11extras -xmlpatterns" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-09-19 17:30:13 UTC
Created attachment 812887 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-19 17:30:14 UTC
Created attachment 812890 [details]
dev-python:pyside2-5.15.2-r2:20220919-150503.log
Comment 3 Toralf Förster gentoo-dev 2022-09-19 17:30:15 UTC
Created attachment 812893 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-19 17:30:17 UTC
Created attachment 812896 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-19 17:30:18 UTC
Created attachment 812899 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-19 17:30:19 UTC
Created attachment 812902 [details]
logs.tar.bz2
Comment 7 Bernd 2022-09-23 11:20:06 UTC
I think we should drop 5.15.2. Version 5.15.5 has been stabilised and I don't see a package depending on 5.15.2. The issue might very well be related to shiboken-5.15.5 generating incompatible code for pyside-5.15.2.
Comment 8 Larry the Git Cow gentoo-dev 2022-09-23 11:26:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72379f1af1073df5a1abccc54f31d4682f334d86

commit 72379f1af1073df5a1abccc54f31d4682f334d86
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-09-23 11:25:40 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-09-23 11:26:21 +0000

    dev-python/pyside2: drop 5.15.2-r2
    
    Closes: https://bugs.gentoo.org/871750
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/pyside2/Manifest                 |   1 -
 dev-python/pyside2/pyside2-5.15.2-r2.ebuild | 216 ----------------------------
 2 files changed, 217 deletions(-)
Comment 9 Andrew Ammerlaan gentoo-dev 2022-09-23 11:27:48 UTC
(In reply to Bernd from comment #7)
> I think we should drop 5.15.2. Version 5.15.5 has been stabilised and I
> don't see a package depending on 5.15.2. The issue might very well be
> related to shiboken-5.15.5 generating incompatible code for pyside-5.15.2.

If that is the case then we should adjust the shiboken2 dependency in pyside2 to always pull in the same version of shiboken.
Comment 10 Bernd 2022-09-23 11:43:27 UTC
(In reply to Andrew Ammerlaan from comment #9)
> (In reply to Bernd from comment #7)
> > I think we should drop 5.15.2. Version 5.15.5 has been stabilised and I
> > don't see a package depending on 5.15.2. The issue might very well be
> > related to shiboken-5.15.5 generating incompatible code for pyside-5.15.2.
> 
> If that is the case then we should adjust the shiboken2 dependency in
> pyside2 to always pull in the same version of shiboken.

Not sure if that's the case, it was just an assumption based on a find grepping through all the files in my /usr/include/qt5 for qapp_macro.h, with almost all Qt5 related packages being installed. It didn't find any file which includes this header and no file has that name.

Anyway, it might be a good idea to strictly depend on the same shiboken version. Earlier pyside versions had a loose dependency on the shiboken versions used, but IIRC newer versions are more strict to that.

Thanks for the quick removal, I didn't mention to clean up shiboken2-5.15.2 as well, because I thought that's obvious. Sorry, should have mentioned it.