Am 11.04.2021 um 19:48 schrieb Helmut Grohne:

> Package: libncurses-dev
> Version: 6.2+20201114-2
> File: /usr/bin/ncurses6-config
> User: [email protected]
> Usertags: rebootstrap
>
> Coinstalling libncurses-dev has another issue besides #720033. There is
> another file conflict on /usr/bin/ncurses6-config. It results from
> embedding LDFLAGS. For all release architectures, those are set up as
> -Wl,-z,relro and due to hardening also -Wl,-z,now. Some architectures
> such as avr32, hppa and ia64 do not implement them and thus the LDFLAGS
> differ. Since they get embedded in /usr/bin/ncurses6-config, we get a
> file conflict.
>
> Looking closer, these flags are actively filtered in ncurses6-config
> such that they do not pose any behavioural difference.

That is a result of me complaining about these flags when they were
introduced, see
https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00037.html.

> So actually fixing this would be possible by fixing the generated
> /usr/bin/ncurses6-config to not contain them. The filtering can either
> happen inside the configure script or applied post build in a
> Debian-specific fixup.

Another option might be to patch misc/ncurses-config.in and remove
@LDFLAGS@ there.

Cheers,
       Sven

Reply via email to