On 24. 06. 22 16:14, Daniel P. Berrangé wrote:
On Fri, Jun 24, 2022 at 04:06:05PM +0200, Miro Hrončok wrote:
Hello.

Could you help me find the error in the build.log?

Here in this PR's CI build:

https://src.fedoraproject.org/rpms/python-pyside2/pull-request/9
https://koji.fedoraproject.org/koji/taskinfo?taskID=88664870

Anything but ppc64le.

The build ends with:

gmake[2]: Leaving directory
'/builddir/build/BUILD/pyside-setup-opensource-src-5.15.2/redhat-linux-build'
[ 48%] Built target QtGui
gmake[1]: Leaving directory
'/builddir/build/BUILD/pyside-setup-opensource-src-5.15.2/redhat-linux-build'
gmake: *** [Makefile:139: all] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.8E2Rni (%build)
     Bad exit status from /var/tmp/rpm-tmp.8E2Rni (%build)

But why? Where is the error?

It is much earlier in the logfile

INFO:generate_pyi:Generated: 
/builddir/build/BUILD/pyside-setup-opensource-src-5.15.2/redhat-linux-build/sources/pyside2/PySide2/QtCore.pyi
free(): invalid pointer
gmake[2]: Leaving directory 
'/builddir/build/BUILD/pyside-setup-opensource-src-5.15.2/redhat-linux-build'
Subprocess aborted
gmake[2]: *** 
[sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi.dir/build.make:73: 
sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:4978: 
sources/pyside2/PySide2/QtCore/CMakeFiles/QtCore_pyi.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....


To find it, 'grep gmake build.log' to cull all the compiler command
lines that obscure it.

Awesome, thank you!

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to