Control: tags -1 serious James Cowgill: > Package: debhelper > Version: 12.2 > Severity: important > Control: affects -1 src:nethack > > Hi, > > I noticed when upgrading nethack, dh_shlibdeps no longer finds the main > nethack ELF binaries. debhelper 12.1.1 works correctly. > > [...] > > I think this is caused by the fix for #931996. Nethack installs these > files with the setgid bit by default, which changes the output of file > in a way that's no longer detected properly: > > $ file --brief debian/nethack-x11/usr/lib/games/nethack/nethack-x11 > setgid ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), > dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, > BuildID[sha1]=1485534d83c00eb43ac9e8ddf15cab6c5b062ad7, for GNU/Linux > 3.2.0, stripped > > It's pretty easy to fix this in nethack if I need to, but I don't think > something like this should break in debhelper without a compat bump. > > James >
Hi Christoph, Can you help me come up with a more reliable regex / handling of file(1) output that satisfy your request from #931996 and also avoiding regressions like this bug? Because this generates wrong dependency info, I will "revert" the change (i.e. remove the anchor) now to limit the breakage as it can slip into testing. This will in turn reduce the pressure for us to find a better solution. Thanks, ~Niels

