An update of Debian Testing within the last two month did break the build process of Samba. I use to configure Samba-4.5.1 by this command: ./configure --prefix=/usr/local/samba \ --with-piddir=/usr/local/samba/var/run \ --with-syslog \ --with-quotas \ --with-acl-support \ --enable-debug \ --enable-cups \ --enable-selftest \ --with-ads \ --with-shared-modules=idmap_ad But after a short while this stops throwing an error: ...... Checking for perl 5.0.0 : ok 5.24.1 Checking for perl $Config{vendorprefix}: : '/usr' PERL_ARCH_INSTALL_DIR: : '${LIBDIR}/perl5' PERL_LIB_INSTALL_DIR: : '${DATADIR}/perl5' Traceback (most recent call last): File "./buildtools/bin/waf", line 76, in <module> Scripting.prepare(t, cwd, VERSION, wafdir) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 145, in prepare prepare_impl(t, cwd, ver, wafdir) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 135, in prepare_impl main() File "/usr/src/samba/samba-4.5.1/wscript", line 347, in main wildcard_main(wildcard_cmd) File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main fun(ctx) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Scripting.py", line 241, in configure conf.sub_config(['']) File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Configure.py", line 237, in sub_config self.recurse(k, name='configure') File "/usr/src/samba/samba-4.5.1/third_party/waf/wafadmin/Utils.py", line 656, in recurse f(self) File "/usr/src/samba/samba-4.5.1/wscript", line 103, in configure conf.SAMBA_CHECK_PERL(mandatory=True) File "./buildtools/wafsamba/samba_perl.py", line 52, in SAMBA_CHECK_PERL perl_inc.remove('.') ValueError: list.remove(x): x not in list I did test this on an AMD64 machine and on a ARM, i.e. it is platform independent. The same error is thrown when compiling Samba-4.5.0 - despite of the fact, that it did compile two month ago when 4.5.0 was released. Therefore I conclude that an update in Debian testing is responsible for breaking it without knowing exactly what or when it did break.
Created attachment 12607 [details] Proposed patch for master and other releases The fix is pretty simple, I expect this will get into master soon.
Thank You for the patch Andrew! It works like a charm. I have two file servers, both under Debian testing. The compilation now works on both, but the main server still has issues. As the second server works fully OK, for me it looks like the patch is fully working.
Created attachment 12664 [details] Patch for 4.4 and 4.5
Comment on attachment 12664 [details] Patch for 4.4 and 4.5 Thanks. Sorry for not doing this earlier.
It's OK. I just ran into it again and wondered what happened, so I thought I would move it along. :-) Karolin, this is ready for both 4.4 and 4.5 - same patch applies. Thanks!
(In reply to Martin Schwenke from comment #5) Pushed to autobuild-v4-{5,4}-test.
(In reply to Karolin Seeger from comment #6) Pushed to both branches. Closing out bug report. Thanks!