[Bug general/26195] 0.180 + master: build fails

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu Jul 2 21:40:31 GMT 2020


Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
                 CC|                            |mark at klomp dot org

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Frank Ch. Eigler from comment #2)
> Created attachment 12678 [details]
> proposed fix

Thanks, that seems the best way forward.
It is unfortunate that they broke API (even though it is ABI compatible...)
I see this is also causing elfutils on Fedora rawhide to fail to build.
Will backport this once it lands in git master.

(In reply to kloczek from comment #3)
> Tested. That patch works :)

Thanks for testing.

> BTW instead
> https://sourceware.org/git/?p=elfutils.git;a=commit;
> h=bca87ed8a200b8845e82b06fa94e69cd637dfea3
> I've started using my own patch which changes 's, /usr/bin/env
> bash,/usr/bin/sh' because none of those scripts has anything bash specific

Are you sure about that? It could be copy/paste causing some files to have bash
instead of sh, but I am not sure they really are "pure" posix shell. But if
they really are, then that would be a nicer to use /bin/sh than /usr/bin/env

> and according to FHS +2.0 Posix SH has fixed patch which is /usr/bin/sh.
> Using /usr/bin/env is risky from point of view of non-repeatable results.

But not everything follows FHS +2.0 apparently. At least my Guix install only
has /bin/sh and /usr/bin/env

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list