Hi Jonathan,
Am Montag, dem 22.07.2024 um 13:39 +0000 schrieb Jonathan Cox via
samba:> I also tried to build Samba 4 on Solaris, but I found WAF completely
> incomprehensible compared to CMake, for example. The main problem is
> that Samba uses WAF, but then they essentially wrote an entirely new
> build system on top of WAF in Python just to script all of the things
> WAF can't do.
>
> Therefore, to fix any build issues, one first has to learn WAF, a
> build system almost no projects use, then one has to learn Samba's
> unique build system.
sad but true. AFAIK on top, some Autotools garbage is also present.
> Sorry to sound so pessimistic, but I concluded after several hours of
> research that the build system in Samba is a relic that will require
> great effort to modify or fix.
But in FreeBSD (13.2) samba 4.19 from the packages just works fine.
I didn't check whether the ports are working, but samba36, samba42,
samb43, samba416 and samba419 are present.
> ler output from waf build?
>
> Hi,
>
> an attempt to build samba 4.13.17 on FreeBSD fails with
Why this VERY old version?
>
> [...]
> Waf: Leaving directory
> `/var/obj/pkgsrc/hauke/samba413/work/samba-4.13.17/bin/default'
> Build failed
> ? -> task in 'kdc.objlist' failed with exit status 1:
> ???????? {task 35558747120: c windc.c -> windc.c.14.o}
> ['clang', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
'-O2',
> '-I/opt/local/include', '-I/usr/include/krb5',
'-I/usr/include',
> '-I/opt/local/include/glib-2.0',
'-I/opt/local/include/gio-unix-2.0',
> '-I/opt/local/lib/glib-2.0/include', '-
> I/opt/local/include/python3.10',
> '-MMD', '-D_GNU_SOURCE=1',
'-D_XOPEN_SOURCE_EXTENDED=1',
> '-DHAVE_CONFIG_H=1', '-fPIC',
'-D__STDC_WANT_LIB_EXT1__=1',
> '-D_REENTRANT', '-fstack-protector-strong',
'-fstack-clash-
> protection',
> '-Wfatal-errors', '-DSTATIC_kdc_MODULES=NULL',
> '-DSTATIC_kdc_MODULES_PROTO=extern void
> __kdc_dummy_module_proto(void)',
> '-Isource4/heimdal_build', '-I../../source4/heimdal_build',
> '-Isource4/heimdal/kdc', '-I../../source4/heimdal/kdc',
> '-Iinclude/public', '-I../../include/public',
'-Isource4',
> '-I../../source4', '-Ilib', '-I../../lib',
'-Isource4/lib',
> '-I../../source4/lib', '-Isource4/include', '-
> I../../source4/include',
> '-Iinclude', '-I../../include', '-Ilib/replace',
'-
> I../../lib/replace',
> '-I.', '-I../..', '-Isource4/heimdal/lib/asn1',
> '-I../../source4/heimdal/lib/asn1',
'-Isource4/heimdal/base',
> '-I../../source4/heimdal/base',
'-Isource4/heimdal/include',
> '-I../../source4/heimdal/include',
'-Isource4/heimdal/lib/wind',
> '-I../../source4/heimdal/lib/wind',
'-Isource4/heimdal/lib/hx509',
> '-I../../source4/heimdal/lib/hx509',
'-Isource4/heimdal/lib/hdb',
> '-I../../source4/heimdal/lib/hdb',
'-Isource4/heimdal/lib/ntlm',
> '-I../../source4/heimdal/lib/ntlm',
'-Isource4/heimdal/lib/roken',
> '-I../../source4/heimdal/lib/roken', '-
> Isource4/heimdal_build/include',
> '-I../../source4/heimdal_build/include', '-
> Isource4/heimdal/lib/krb5',
> '-I../../source4/heimdal/lib/krb5',
'-Isource4/heimdal/lib/hcrypto',
> '-I../../source4/heimdal/lib/hcrypto',
'-Isource4/heimdal/lib',
> '-I../../source4/heimdal/lib',
> '-Isource4/heimdal/lib/hcrypto/libtommath',
> '-I../../source4/heimdal/lib/hcrypto/libtommath',
> '-Isource4/heimdal/lib/com_err', '-
> I../../source4/heimdal/lib/com_err',
> '../../source4/heimdal/kdc/windc.c', '-c',
> '-o/var/obj/pkgsrc/hauke/samba413/work/samba-
> 4.13.17/bin/default/source4/heimdal/kdc/windc.c.14.o',
> '-I/opt/local/include', '-I/usr/include/krb5',
'-I/usr/include',
> '-I/opt/local/include/glib-2.0',
'-I/opt/local/include/gio-unix-2.0',
> '-I/opt/local/lib/glib-2.0/include', '-
> I/opt/local/include/python3.10']
> gmake: *** [Makefile:7: all] Error 1
>
>
> My question: How can I coerce the waf build system into providing the
> actual compiler output?
>
> Cheerio,
> Hauke
>
>
> (As they say: You never miss autohell till it's? gone...)
>
> --
> ????? The ASCII Ribbon Campaign??????????????????? Hauke Fath
> ()???? No HTML/RTF in email???????????? Institut f?r
> Nachrichtentechnik
> /\???? No Word docs in email???????????????????? TU Darmstadt
> ????? Respect for open standards????????????? Ruf +49-6151-16-21344
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:? https://lists.samba.org/mailman/options/samba
regards.
--eh.
@Hauke: I try to fix the Samba settings for the FraUAS ....
--
Dr. Erwin Hoffmann | www.fehcom.de
PGP key-id: 20FD6E671A94DC1E
PGP key-fingerprint: 8C6B 155B 0FDA 64F1 BCCE A6B9 20FD 6E67 1A94 DC1E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL:
<http://lists.samba.org/pipermail/samba/attachments/20240722/6751186e/signature.sig>