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. 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. In any case, I think that embedding the buildflags like this is a bad idea and worth reporting. They've always been architecture-dependent and it is not entirely unlikely that it'll hunt us at a later time for a release architecture. Helmut

