On Tue, Apr 15, 2025 at 06:26:00PM +0100, Daniel P. Berrangé wrote:
> When building in Koji, /sbin & /usr/sbin are symlinks to /usr/bin.
> In meson.build libvirt searchs for a bunch of programs, unfortunately
> searching in /sbin & /usr/sbin, before /bin & /usr/bin. The qualified
> paths of the programs detected then get built into the binary RPMs to
> be executed later at runtime.

Yeah, this is a problem. With the symlinks this kind of autodetection
becomes very fragile. I think the best option is to just hardcode the
path to the desired value, i.e. the actual path from F41 to maintain
compatibility. I did that in systemd:
https://src.fedoraproject.org/rpms/systemd/c/6f0d03443d2f5695e05146e3bd17f6dab84ab459.

> I presume it's too late todo anything about this now, so this mail
> is mostly a heads up in case other maintainers have packages affected
> by this kind of problem, which will only affect upgraded hosts.

At this point, I think it's most reasonable to just finish the merge,
i.e. rebuilt the packages that need to be rebuilt. The situation where
upgraded systems are not fully merged and look different than new
installations is not something that we want to support.

Zbyszek
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to