Bug 2113144 - cgit: FTBFS in Fedora rawhide/f37
Summary: cgit: FTBFS in Fedora rawhide/f37
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cgit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Todd Zullinger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-08-01 23:19 UTC by Fedora Release Engineering
Modified: 2022-08-02 04:13 UTC (History)
2 users (show)

Fixed In Version: cgit-1.2.3-11.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-02 04:13:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-08-01 23:19 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-08-01 23:19 UTC, Fedora Release Engineering
no flags Details
state.log (951 bytes, text/plain)
2022-08-01 23:19 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-08-01 23:19:25 UTC
cgit failed to build from source in Fedora rawhide/f37

https://koji.fedoraproject.org/koji/taskinfo?taskID=89759768


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Please fix cgit at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
cgit will be orphaned. Before branching of Fedora 38,
cgit will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-08-01 23:19:28 UTC
Created attachment 1900877 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-08-01 23:19:29 UTC
Created attachment 1900878 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-08-01 23:19:30 UTC
Created attachment 1900879 [details]
state.log

Comment 4 Todd Zullinger 2022-08-01 23:55:24 UTC
The error is due to the package note:

  /usr/bin/ld: cannot open linker script file /builddir/build/BUILD/.package_note-cgit-1.2.3-10.fc37.s390x.ld: No such file or directory

I'll need to refresh my memory on how to work around that problem once again (as it bit me with git in the past).  The package note change was just not tested or deployed terribly well, IMO. :(

It should be fixed by setting `%global _package_note_file  %{_builddir}/%{name}-%{version}/.package_note-%{name}-%{version}-%{release}.%{_arch}.ld` to ensure the path exists when the build/install config is defined in %prep.  

I'm testing a scratch build now:

  https://koji.fedoraproject.org/koji/taskinfo?taskID=90371244

Comment 5 Fedora Update System 2022-08-02 04:12:31 UTC
FEDORA-2022-56f08d428d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-56f08d428d

Comment 6 Fedora Update System 2022-08-02 04:13:30 UTC
FEDORA-2022-56f08d428d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.