On Thu, Feb 22, 2024 at 10:21 AM Todd Zullinger <tmz(a)pobox.com> wrote:
Jeffrey Walton wrote:
> I'm new to working with Fedora's Release Engineering. I ran across a
> package that Failed To Build From Source (FTBS) for Fedora 40 at
> <
https://bugzilla.redhat.com/show_bug.cgi?id=2226505>. I have C and
> C++ experience, and I believe I can help.
>
> I'm having trouble making my way around Koji. I can't find the source
> code for wcm-0.20.0-22.fc39 to repro and fix the bug. (The Source
> field does not provide the source files. After cloning, there's only
> one file called 'dead.package').
>
> Where does one find the source code? Or where do I find the package
> sources that Fedora used?
Install fedpkg if you don't already have it. Then run:
fedpkg clone -a wcm
cd wcm
fedpkg switch-branch f39 # or just git switch f39
fedpkg prep
Though since this is an orphaned package, any fixes you
submit may not get applied if the package has no maintainer.
Hopefully the folks who are part of extras-orphan(a)fedoraproject.org or
releng(a)fedoraproject.org will see the patch and apply it. My fingers
are crossed.
More generally, koji shows the build parameters used, which
include:
Src:
git+https://src.fedoraproject.org/rpms/wcm.git#2a4fa39f933f274689c07632e5...
The commit id can be confirmed as the tip of the f39 branch.
That's helpful to know whether someone has already committed
further changes or not.
Thanks Todd. I never would have figured that out.
It is too bad the package source files are not under version control.
Lack of version control makes generating diffs for patches a pain in
the butt.
Jeff