Description of problem: $ cobc -xF test.cob /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/gnucobol-3.1.2/.package_note-gnucobol-3.1.2-6.fc36.x86_64.ld: No such file or directory collect2: error: ld returned 1 exit status Version-Release number of selected component (if applicable): Name : gnucobol Version : 3.1.2 Release : 6.fc36 Architecture: x86_64 How reproducible: Every time. Steps to Reproduce: 1. Make a test cobol file 2. Try to build with -xF 3. Wait Actual results: $ cobc -xF test.cob /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/gnucobol-3.1.2/.package_note-gnucobol-3.1.2-6.fc36.x86_64.ld: No such file or directory collect2: error: ld returned 1 exit status Expected results: test binary to be created. Additional info: libcob installed. $ rpm -ql libcob /usr/lib/.build-id /usr/lib/.build-id/df /usr/lib/.build-id/df/1a5b91934b419f01aa24afb1b6d4a0db9e943c /usr/lib64/gnucobol/CBL_OC_DUMP.so /usr/lib64/libcob.so.4 /usr/lib64/libcob.so.4.1.0 /usr/share/licenses/libcob /usr/share/licenses/libcob/COPYING.LESSER ld finds it. $ sudo ldconfig -v |grep libcob libcob.so.4 -> libcob.so.4.1.0 Similar problem reported here: https://forums.fedoraforum.org/showthread.php?328481-gnucobol-installation-fedora-36&p=1859204 I'll dump any more investigation / solutions here as I find them.
The original version included your fix (i imagine, for this issue). $ rpm -qi --changelog gnucobol | less * Mon Jul 18 2022 Gwyn Ciesla <gwync> - 3.1.2-6 - Rebuild to fix linker issue. If this is the linker issue, i dont think its fixed. However, when I rebuild it locally , it works. $ dnf download --source gnucobol $ sudo dnf builddep gnucobol &> /dev/null $ rpmbuild -bb ~/rpmbuild/SPECS/gnucobol.spec # sudo rpm -i /home/wmealing/rpmbuild/RPMS/x86_64/libcob-3.1.2-6.fc36.x86_64.rpm /home/wmealing/rpmbuild/RPMS/x86_64/gnucobol-3.1.2-6.fc36.x86_64.rpm $ rpm -qi gnucobol Name : gnucobol Version : 3.1.2 Release : 6.fc36 Architecture: x86_64 Install Date: Wed 07 Sep 2022 05:28:41 PM AEST Group : Unspecified Size : 2800459 License : GPLv3+ and LGPLv3+ and GFDL Signature : (none) Source RPM : gnucobol-3.1.2-6.fc36.src.rpm Build Date : Wed 07 Sep 2022 05:27:53 PM AEST Build Host : wmealing-laptop $ cobc -xF test.cob $ ./test HI
Ah, I finally figured out the root cause. Update coming.
Nice, I just checked in on this, thought it might be related to https://www.spinics.net/lists/fedora-devel/msg296646.html Thanks for the quick response.
Exactly that. :)
FEDORA-2022-3a2ba075a3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3a2ba075a3
FEDORA-2022-c73cbe32c8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c73cbe32c8
FEDORA-2022-eb9191009b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-eb9191009b
Confirmed that the Fedora36 version is fixed via https://koji.fedoraproject.org/koji/buildinfo?buildID=2059678 No action required on your end Gwyn.
FEDORA-2022-c73cbe32c8 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-c73cbe32c8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c73cbe32c8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-3a2ba075a3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-3a2ba075a3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3a2ba075a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-eb9191009b has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-eb9191009b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-eb9191009b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-c73cbe32c8 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-eb9191009b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-3a2ba075a3 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.