Today's fun fact: Oldest build of Samba on modern Ubuntu 18.04: autoconf removal!

Andrew Bartlett abartlet at samba.org
Tue Nov 26 01:22:42 UTC 2019


On Fri, 2019-11-22 at 14:24 +1300, Andrew Bartlett via samba-technical
wrote:
> Today's fun fact is that the oldest Samba version I could build (to
> test an AD DC thing) with --enable-selftest on Ubuntu 18.04 was
> d47c1245788505cfaca9a25c855a2503c83e4315 (I didn't finish the bisect,
> but this is close enough). 
> 
> In an interesting coincidence, this is essentially the point where
> the
> old autoconf build system was removed
> (cd4b413cb0574c459c1c24cf07f8d6b44f5fc077).  That probably means that
> if using autoconf you can go back earlier without breaking out the
> VMs
> or docker containers. 
> 
> The command line (quite likely not minimal) I used was:
> 
> ADDITIONAL_CFLAGS="-Wno-error -Wno-error=format-truncation -Wno-
> error=implicit-function-declaration" ./configure --enable-selftest '
> --with-shared-modules=!vfs_ceph' --disable-gnutls
> 
> I removed libcephfs-dev to make it build (ceph has changed API since
> then). 

To do a build where replication is up and working (eg
SELFTEST_TESTENV=vampire_dc make testenv) you need to move forward a
little, to c6ad8a10c12c8a79dc83cab1591e5279edd62bd6 in Samba master
before Samba 4.3.  Presumably that could also be backported.  

Attached is a small perl build fix
(da67acbcfe2167fce9c360a55416ab10e9537a2a) that is also needed.

Anyway, I hope this helps someone trying to quickly reproduce issues on
a modern workstation. 

Andrew Bartlett
-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba




-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl.patch
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20191126/3d7fb5da/perl.bin>


More information about the samba-technical mailing list