Bug 1729455
| Summary: | Sometimes fails to build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Milan Crha <mcrha> |
| Component: | highlight | Assignee: | Kevin Fenzi <kevin> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | jochen, kevin, lxtnow, rosset.filipe |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | highlight-3.52-2.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-29 01:08:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Milan Crha
2019-07-12 10:48:16 UTC
For the record, the relevant part of the build log from the successful build looks like this: DEBUG: g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/app/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/app/lib64 -o highlight arg_parser.o cmdlineoptions.o main.o help.o -L. -lhighlight -llua -lm -ldl DEBUG: make[1]: Leaving directory '/builddir/build/BUILD/highlight-3.52/src' DEBUG: make[2]: Entering directory '/builddir/build/BUILD/highlight-3.52/src/gui-qt' DEBUG: g++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -I. -I../include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qrc_highlight-gui.o qrc_highlight-gui.cpp DEBUG: make[2]: Leaving directory '/builddir/build/BUILD/highlight-3.52/src/gui-qt' I was talking with upstream about this failure that came back to 3.52 release. Can you please try to disable paralell builds? (we had to disable it in the past). https://gitlab.com/saalen/highlight/issues/128 Disabled parallel builds -> https://src.fedoraproject.org/rpms/highlight/c/8087f140dbdf823606bb53fb7fa8f516508e5b2d?branch=master FEDORA-2019-3bff004fa1 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3bff004fa1 highlight-3.52-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3bff004fa1 Thanks, it looks promising, I ran 4 builds and all of them succeeded, while before the change "every second" build failed. For the change itself, I'm wondering whether you could still use the %make_build macro, only pass to it -j1 argument as an override for the -jNNN provided by the macro itself. I'm not used to these things, thus I can be completely wrong about it. highlight-3.52-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |