<div dir="ltr">Hi,<div>all of this is just FYI in case you run into something similar.</div><div><br><div>Recently nut became an FTBFS package, triggered by a combo of:</div><div>1. nut's build system having an error</div><div>2. nut has default hardening=+all</div><div>3. net-snmp configure options disabled -pie</div><div>4. changes to our toolchain around PIE</div><div><br></div><div>TL;DR:</div><div>- due to PIE now being default chaning hardening= now behaves differently (former "-fPIE" became "", and former "" became "-specs=/usr/share/dpkg/no-pie-compile.specs")</div><div>- if set on cflags in general LDflags need the matching no-pie-link.specs to work</div><div>- if you had cases where cflags and ldflags didn't match properly there are chances they break while before tolerating the issue</div><div><br></div><div>Details on my particular case <a href="https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1711092">https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1711092</a></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div></div></div>