Re: F28 System Wide Change: Removal of Sun RPC Interfaces From glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/06/2018 10:01 AM, Zbigniew Jędrzejewski-Szmek wrote:

Are there some instructions how a maintainer would go about porting a package?
Something like "dnf uninstall blah && dnf install libtirpc-devel; build
your package; verify that the resulting package does not depend on foo"?

$ mock -r fedora-rawhide-x86_64 --init
$ mock -r fedora-rawhide-x86_64 --dnf-cmd --enablerepo=local update

should give you a chroot with the latest glibc from rawhide, which already has the headers removed. (The second line is needed because that glibc version has not entered the compose yet.) After adding

BuildRequires: libtirpc-devel

to the spec file, you can try a build with:

$ mock -r fedora-rawhide-x86_64 --no-clean yourpackage.spec

Not sure if it is possible to do this in a more direct manner.

I doubt it is possible to construct a realistic build environment on anything but latest rawhide. It's not just about the headers—some configure checks do not use them, and would incorrectly detect the presence of the functions on earlier glibc versions, where they aren't compat symbols.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux