Re: Help needed: Where's the error?

2022-06-24 Thread Orion Poplawski

On 6/24/22 08:48, Florian Weimer wrote:

* Miro Hrončok:

Thanks. I was searching mostly for "error:" and could not find anything.


It also helps to invoke make with -O if building with -jN, which for
some reason does not happen for this build.


Because it uses %cmake_build instead of %make_build:

-13: cmake_build
  %__cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose

Now, you can pass build-tool flags with:

cmake --build  [] [-- ]

but the problem then becomes that cmake supports multiple build tools, 
most notably ninja which does not support the -O option, and that many 
people need to pass options to cmake.  But I might start calling:


%cmake_build -- -O

although I'm not entirely sure that it really is getting passed to make 
- I can't see it though I don't see -j getting passed in the output but 
I'm pretty sure that gets passed down.


--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane   or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/


smime.p7s
Description: S/MIME Cryptographic Signature
___
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


Re: Help needed: Where's the error?

2022-06-24 Thread Florian Weimer
* Miro Hrončok:

> On 24. 06. 22 16:30, Florian Weimer wrote:
>> * Miro Hrončok:
>> 
>>> 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's here:
>> 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
>> As a rule of thumb, if you see an “Error 2” line from make, look for
>> an
>> “Error 1” line preceding it.
>
> Thanks. I was searching mostly for "error:" and could not find anything.

It also helps to invoke make with -O if building with -jN, which for
some reason does not happen for this build.

Thanks,
Florian
___
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


Re: Help needed: Where's the error?

2022-06-24 Thread Miro Hrončok

On 24. 06. 22 16:30, Florian Weimer wrote:

* Miro Hrončok:


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's here:

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

As a rule of thumb, if you see an “Error 2” line from make, look for an
“Error 1” line preceding it.


Thanks. I was searching mostly for "error:" and could not find anything.

--
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


Re: Help needed: Where's the error?

2022-06-24 Thread Florian Weimer
* Miro Hrončok:

> 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's here:

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

As a rule of thumb, if you see an “Error 2” line from make, look for an
“Error 1” line preceding it.

Thanks,
Florian
___
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


Re: Help needed: Where's the error?

2022-06-24 Thread Miro Hrončok

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


Re: Help needed: Where's the error?

2022-06-24 Thread Daniel P . Berrangé
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.

With regards,
Daniel
-- 
|: https://berrange.com  -o-https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o-https://fstop138.berrange.com :|
|: https://entangle-photo.org-o-https://www.instagram.com/dberrange :|
___
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


Help needed: Where's the error?

2022-06-24 Thread Miro Hrončok

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?

Thanks,
--
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