[Samba] Compiler output from waf build?

Jeremy Allison jra at samba.org
Mon Jul 22 18:26:36 UTC 2024


On Mon, Jul 22, 2024 at 01:34:31PM +0200, Hauke Fath (SPG) via samba wrote:
>Hi,
>
>an attempt to build samba 4.13.17 on FreeBSD fails with
>
>[...]
>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?

  From my samba-waf email folder:

WAF_CMD_FORMAT=string PYTHONHASHSEED=1 WAF_MAKE=1  ./buildtools/bin/waf -v build




More information about the samba mailing list