<div dir="ltr">Hello,<div><br></div><div>I've been maintaining the ntpsec package in the Arch User Repository, and I've been encountering a couple of issues with the new 1.2.4 package.</div><div><br></div><div>The first issue is the endianness check causing a failure, but only when building with makepkg.  </div><div><br></div><div>Here are the commands I use in the build:</div><div>  ./waf configure --prefix /usr --sbindir=/usr/bin --refclock=all --enable-leap-smear --enable-doc --htmldir=/usr/share/doc/ntpsec -v<br>  ./waf build<br></div><div>  ./waf install --destdir="$pkgdir/"<br></div><div><br></div><div>I get the following output in the failure:</div><div>--- Configuring main ---<br>Checking for endianness                   : 20:21:04 runner ['/usr/bin/gcc', '-std=c99', '-D_GNU_SOURCE', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-fexceptions', '-Wp,-D_FORTIFY_SOURCE=3', '-Wformat', '-Werror=format-security', '-fstack-clash-protection', '-fcf-protection', '-fno-omit-frame-pointer', '-mno-omit-leaf-frame-pointer', '-flto=auto', '-DNTPSEC_VERSION="1.2.4"', '-DNTPSEC_VERSION_EXTENDED="1.2.4"', '../../test.c', '-c', '-o/home/gboyce/repo/ntpsec/src/ntpsec-1.2.4/build/.conf_check_c56fba856afc73ffddcea3140594c3eb/testbuild/main/test.c.1.o']<br>20:21:04 runner ['/usr/bin/ar', 'rcs', 'libtestprog.a', 'test.c.1.o']<br>no<br>The configuration failed<br>(complete log in /home/gboyce/repo/ntpsec/src/ntpsec-1.2.4/build/config.log)<br>==> ERROR: A failure occurred in build().<br>    Aborting...<br></div><div><br></div><div>I've attached config.log as well.</div><div><br></div><div>Oddly, if I add CFLAGS="-O2" before the waf configure line, it succeeds.</div><div><br></div><div>The second issue that I experienced is that 1.2.4 does not seem to respect --sbindir anymore.  Specifying --prefix /usr --sbindir /usr/bin results with ntpd in /usr/sbin.  Specifying --sbindir /usr/bin without --prefix /usr results in ntpd being delivered to /usr/local/sbin/ntpd.</div><div><br></div><div>I've been poking around waf a bit to try to better understand either issue, but so far I'm a bit stumped.  </div><div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div><div class="gmail-adL">Do you have any suggestions?</div><div class="gmail-adL"><br></div><div class="gmail-adL">--</div><div class="gmail-adL">Greg</div></div>