Re: Package notes feature causing build paths to be embedded

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

 



On Thu, 27 Jan 2022 at 10:13, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=2043092
>
> This is not about the feature itself but about the way it has been
> implemented.
>
> During builds LDFLAGS is modified so it contains a build path,
> something like:
>
>   -Wl,-dT,/builddir/build/BUILD/.package_note-rubygem-nio4r-2.5.2-6.fc36.x86_64.ld
>
> Many builds embed/store LDFLAGS somewhere.  For OCaml it gets embedded
> in the ocamlopt binary, and in *.cma files.  Similar sort of thing
> happening in Ruby, Perl, Haskell, Python, ...

Also R, which breaks R packages. Tom disabled this feature in the spec
for the time being.

> But the problem is more general than this too.  It also turns up in
> some *.pc (pkgconf) files.
>
> I think this change should be reverted until a cleaner way can be
> found to implement it.

I agree. Switching to %extension_*flags has been proposed, as Python
does, but there was a system-wide change for that [1], and now we are
asked to switch everything to using this without pondering the
consequences because this change overlooked its consequences.

[1] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags

-- 
Iñaki Úcar
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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