<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've (apparently) managed to fix this bug although I'm not sure what the original code was trying to do.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Originally, d/rules:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style=""><font face="monospace">INCLUDE_PATHS = /usr/include/bamtools</font></div><div class="gmail_default" style=""><font face="monospace"><br></font></div><div class="gmail_default" style=""><font face="monospace">space=</font></div><div class="gmail_default" style=""><font face="monospace">space+=</font></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style=""><font face="monospace">override_dh_auto_configure:</font></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style=""><font face="monospace"> dh_auto_configure -- \</font></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style=""><font face="monospace">   -DCMAKE_INCLUDE_PATH="$(subst $(space),:,$(strip $(INCLUDE_PATHS)))"</font></div></blockquote></blockquote><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></font></div>When the build was attempted on bare metal with </span><span class="gmail_default" style=""><font face="monospace">dpkg-buildpackage</font><font face="arial, sans-serif">, </font></span><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span class="gmail_default" style=""><font face="monospace">DCMAKE_INCLUDE_PATH=/usr/include/bamtools</font></span></div></blockquote><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">which is right.</span></font><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">However, everytime build was attempted inside a chroot with </span><span class="gmail_default" style="">sbuild,</span></font></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"><span class="gmail_default" style="">DCMAKE_INCLUDE_PATH=/usr/include/bamtools:</span></font></div></blockquote><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">and the colon at the end is apparently what results in this error inside a chroot.</span></font><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></span></font></div><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">After changing d/rules to</span></font></div><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font face="monospace">INCLUDE_PATHS=/usr/include/bamtools<br><br>override_dh_auto_configure:<br></font></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font face="monospace">        dh_auto_configure -- \</font></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">-DCMAKE_INCLUDE_PATH="${INCLUDE_PATHS}"<span class="gmail_default" style=""></span></font></div><div><font face="monospace"><span class="gmail_default" style=""><br></span></font></div></blockquote></blockquote><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">the error goes away and the right files are included, outside as well as inside a chroot. </span></font><div><font face="monospace"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've committed this change but I'm not sure what the original code was trying to do so please take a look and sponsor if everything is right.</span></font><span style="font-family:arial,helvetica,sans-serif"></span></div><div><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,</span></span></div><div><span style="font-family:arial,helvetica,sans-serif"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Pranav</span></span></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aYmFsbGFuZXlwcmFuYXZAZ21haWwuY29t&type=zerocontent&guid=a2142613-c7ea-4a2b-938f-1a429221d716"><font color="#ffffff" size="1">ᐧ</font></div>