<div dir="ltr"><div>Hi,</div><div>re-post - this time also reaching out to the full ubuntu-devel list so that this could be decided before the impending FF next week.</div><div><br></div><div><b>TL;DR:</b> is just dh/dh_auto_configure cross build safe enough these days to allow liblockfile becoming a syncpackage in zesty?</div><div><br></div><div><b>Options:</b></div><div><ul><li>Yes a sync should be safe for zesty</li><li>No, we still need the delta (adapted to new d/rules)</li><li>No, we want to wait until it stabilized again in Debian and only consider it in zesty+1 (I have never touched any of the reverse-depends to this so it is hard for me to decide)</li></ul></div><div><br></div><div><b>Details:</b></div><div><ul><li>about the changes in liblockfile: <a href="https://github.com/miquels/liblockfile/blob/master/Changelog">https://github.com/miquels/liblockfile/blob/master/Changelog</a><br></li><li>about the Ubuntu delta, see my older mail forwarded below</li></ul></div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Christian Ehrhardt</b> <span dir="ltr"><<a href="mailto:christian.ehrhardt@canonical.com">christian.ehrhardt@canonical.com</a>></span><br>Date: Wed, Jan 25, 2017 at 4:17 PM<br>Subject: liblockfile cross compilation guidance<br>To: Adam Conrad <<a href="mailto:adam.conrad@canonical.com">adam.conrad@canonical.com</a>><br>Cc: Matthias Klose <<a href="mailto:matthias.klose@canonical.com">matthias.klose@canonical.com</a>>, Jon Grimm <<a href="mailto:jon.grimm@canonical.com">jon.grimm@canonical.com</a>><br><br><br><div dir="ltr"><div>Hi,</div><div>I asked on IRC before [1] but it might have been lost.</div><div>TL;DR: is just dh/dh_auto_configure cross build safe enough these days?<br></div><div><br></div><div>I need your advise and experience on general packaging and cross compilation on that.</div><div>The old change is from you Adam, so I wanted to ask you.</div><div>Similar (to me) changes I've seen often are from Doko, so I set him on CC for an extra pack of experience.</div><div><br></div><div>Background:</div><div>The package liblockfile was all-the-same for quite a while.</div><div>Recently there seems to be an influx of upstream and Debian packaging activity.</div><div><br></div><div>Our only Delta is "Explicitly set CC with DEB_HOST_GNU_TYPE if we're cross-compiling."</div><div><div><font face="monospace, monospace"> DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)<br></font></div><div><font face="monospace, monospace">+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)</font></div><div><font face="monospace, monospace">+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)</font></div><div><font face="monospace, monospace">+</font></div><div><font face="monospace, monospace">+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_<wbr>BUILD_GNU_TYPE))</font></div><div><font face="monospace, monospace">+       export CC = $(DEB_HOST_GNU_TYPE)-gcc</font></div><div><font face="monospace, monospace">+       INSTALL += --strip-program=$(DEB_HOST_<wbr>GNU_TYPE)-strip</font></div><div><font face="monospace, monospace">+endif</font></div><div><br></div></div><div><br></div><div><br></div><div>But the new d/rules dropped almost all and uses almost only dh defaults in the more recent packaging:</div><div><div><font face="monospace, monospace">%:</font></div><div><font face="monospace, monospace">        dh $@</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">override_dh_auto_configure:</font></div><div><font face="monospace, monospace">        dh_auto_configure -- --enable-shared --with-mailgroup</font></div></div><div><br></div><div>The older Delta is 5 years old since the package didn't change at all.</div><div>But the question that I can't answer alone is, if just dh/dh_auto_configure would be cross build safe enough these days?<br></div><div>And if so if this shall just become a sync then, because that was the only delta that is left</div><div><br></div><div>[1]: <a href="https://irclogs.ubuntu.com/2017/01/24/%23ubuntu-devel.html#t16:16" target="_blank">https://irclogs.ubuntu.com/<wbr>2017/01/24/%23ubuntu-devel.<wbr>html#t16:16</a><br></div><div><br></div><div>-- <br></div></div></div><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>