Bug 2290330

Summary: The build randomly fails due to Makefile issues (concurrency)
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: libecpgAssignee: Ales Nezbeda <anezbeda>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fjanus, hhorak, osloup, pkubat, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libecpg-16.4-1.fc40 libecpg-16.4-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-11 01:24:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Raiskup 2024-06-04 07:26:55 UTC
Reproducible by:
$ while fedpkg compile; do echo OK; done
... eventually after a few iterations ...
[mock-build] make[2]: Leaving directory '/builddir/build/BUILD/libecpg-16.3-build/postgresql-16.3/src/port'
[mock-build] ar: unable to copy file 'libpgport_shlib.a'; reason: No such file or directory
[mock-build] make[2]: *** [Makefile:107: libpgport_shlib.a] Error 1
[mock-build] make[1]: *** [../../../../src/Makefile.global:608: submake-libpgport] Error 2
[mock-build] make: *** [Makefile:17: all-preproc-recurse] Error 2
[mock-build] make: *** Waiting for unfinished jobs....
[mock-build] make[2]: Entering directory '/builddir/build/BUILD/libecpg-16.3-build/postgresql-16.3/src/port'
... seems like the error is always a bit different ...
[mock-build] lto1: fatal error: bytecode stream in file ‘../../../../src/common/libpgcommon_shlib.a’ generated with GCC compiler older than 10.0
[mock-build] compilation terminated.
[mock-build] lto-wrapper: fatal error: gcc returned 1 exit status
[mock-build] compilation terminated.
[mock-build] /usr/bin/ld: error: lto-wrapper failed
[mock-build] collect2: error: ld returned 1 exit status
[mock-build] make[1]: *** [../../../../src/Makefile.shlib:278: libpgtypes.so.3.16] Error 1
[mock-build] make: *** [Makefile:17: all-pgtypeslib-recurse] Error 2
[mock-build] make: *** Waiting for unfinished jobs....
....

Reproducible: Sometimes

Comment 1 Fedora Update System 2024-09-02 17:15:45 UTC
FEDORA-2024-9c882e3435 (libecpg-16.4-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c882e3435

Comment 2 Fedora Update System 2024-09-02 17:51:00 UTC
FEDORA-2024-d36b1cd10c (libecpg-16.4-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d36b1cd10c

Comment 3 Fedora Update System 2024-09-03 01:52:33 UTC
FEDORA-2024-d36b1cd10c has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d36b1cd10c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d36b1cd10c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-09-03 03:49:47 UTC
FEDORA-2024-9c882e3435 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9c882e3435`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c882e3435

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-09-11 01:24:41 UTC
FEDORA-2024-d36b1cd10c (libecpg-16.4-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-09-13 20:48:05 UTC
FEDORA-2024-9c882e3435 (libecpg-16.4-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.