Raspbian Package Auto-Building

Build log for samba (2:4.20.1+dfsg-1) on armhf

samba2:4.20.1+dfsg-1armhf → 2024-05-22 12:59:10

sbuild (Debian sbuild) 0.85.0 (04 January 2023) on test2023

+==============================================================================+
| samba 2:4.20.1+dfsg-1 (armhf)                Wed, 22 May 2024 12:56:44 +0000 |
+==============================================================================+

Package: samba
Version: 2:4.20.1+dfsg-1
Source Version: 2:4.20.1+dfsg-1
Distribution: trixie-staging
Machine Architecture: arm64
Host Architecture: armhf
Build Architecture: armhf
Build Type: any

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/trixie-staging-armhf-sbuild-ef262ffd-74c2-44cb-9f2a-c714c37af750' with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/samba-eS5vh8/resolver-hyWk8E' with '<<RESOLVERDIR>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.4.1/private trixie-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private trixie-staging/main Sources [14.6 MB]
Get:3 http://172.17.4.1/private trixie-staging/main armhf Packages [15.3 MB]
Fetched 29.9 MB in 5s (5583 kB/s)
Reading package lists...
W: http://172.17.4.1/private/dists/trixie-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'samba' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/samba-team/samba.git
Please use:
git clone https://salsa.debian.org/samba-team/samba.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 26.4 MB of source archives.
Get:1 http://172.17.4.1/private trixie-staging/main samba 2:4.20.1+dfsg-1 (dsc) [4606 B]
Get:2 http://172.17.4.1/private trixie-staging/main samba 2:4.20.1+dfsg-1 (tar) [26.2 MB]
Get:3 http://172.17.4.1/private trixie-staging/main samba 2:4.20.1+dfsg-1 (diff) [177 kB]
Fetched 26.4 MB in 3s (8716 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/samba-eS5vh8/samba-4.20.1+dfsg' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/samba-eS5vh8' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), dh-exec, build-essential, fakeroot, dh-sequence-python3, bison, docbook-xml, docbook-xsl, xsltproc, flex, perl:any, po-debconf, rpcsvc-proto, libtalloc-dev (>= 2.4.2~), python3-talloc-dev (>= 2.4.2~), libtevent-dev (>= 0.16.1~), libtdb-dev (>= 1.4.10~), python3-tdb (>= 1.4.10~), pkgconf, libacl1-dev, libarchive-dev, libavahi-client-dev, libavahi-common-dev, libblkid-dev, libbsd-dev, libcap-dev, libcmocka-dev (>= 1.1.3), libcups2-dev, libdbus-1-dev, libgnutls28-dev, libgpgme11-dev, libicu-dev, libjansson-dev, libkeyutils-dev, libldap2-dev, liblmdb-dev, libpam0g-dev, libparse-yapp-perl, libpopt-dev, libreadline-dev, libtirpc-dev, libsystemd-dev, libtasn1-6-dev (>= 3.8), libtasn1-bin, liburing-dev, xfslibs-dev, zlib1g-dev (>= 1:1.2.3), python3-dev:any | python3-dev, libpython3-dev, python3-dnspython, python3-etcd, python3-markdown
Filtered Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13), dh-exec, build-essential, fakeroot, dh-sequence-python3, bison, docbook-xml, docbook-xsl, xsltproc, flex, perl:any, po-debconf, rpcsvc-proto, libtalloc-dev (>= 2.4.2~), python3-talloc-dev (>= 2.4.2~), libtevent-dev (>= 0.16.1~), libtdb-dev (>= 1.4.10~), python3-tdb (>= 1.4.10~), pkgconf, libacl1-dev, libarchive-dev, libavahi-client-dev, libavahi-common-dev, libblkid-dev, libbsd-dev, libcap-dev, libcmocka-dev (>= 1.1.3), libcups2-dev, libdbus-1-dev, libgnutls28-dev, libgpgme11-dev, libicu-dev, libjansson-dev, libkeyutils-dev, libldap2-dev, liblmdb-dev, libpam0g-dev, libparse-yapp-perl, libpopt-dev, libreadline-dev, libtirpc-dev, libsystemd-dev, libtasn1-6-dev (>= 3.8), libtasn1-bin, liburing-dev, xfslibs-dev, zlib1g-dev (>= 1:1.2.3), python3-dev:any | python3-dev, libpython3-dev, python3-dnspython, python3-etcd, python3-markdown
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [615 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [1862 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [1486 B]
Fetched 3963 B in 0s (0 B/s)
Reading package lists...
Reading package lists...

Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libalgorithm-diff-perl libalgorithm-merge-perl libarchive-cpio-perl
  libltdl-dev libltdl7 libmail-sendmail-perl libnumber-compare-perl
  libsys-hostname-long-perl libtext-glob-perl
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  bison comerr-dev dh-exec dh-python dmsetup docbook-xml docbook-xsl flex
  icu-devtools libacl1-dev libarchive-dev libarchive13t64 libassuan-dev
  libattr1-dev libavahi-client-dev libavahi-client3 libavahi-common-data
  libavahi-common-dev libavahi-common3 libblkid-dev libbsd-dev libbsd0
  libbz2-dev libcap-dev libcmocka-dev libcmocka0 libcups2-dev libcups2t64
  libcupsimage2-dev libcupsimage2t64 libdbus-1-3 libdbus-1-dev libdeflate-dev
  libdeflate0 libdevmapper1.02.1 libedit2 libevent-2.1-7t64 libexpat1
  libexpat1-dev libext2fs-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0t64
  libgnutls-openssl27t64 libgnutls28-dev libgpg-error-dev libgpgme-dev
  libgpgme11 libgssapi-krb5-2 libicu-dev libidn2-dev libinih1 libjansson-dev
  libjbig-dev libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev
  libjs-jquery libjs-sphinxdoc libjs-underscore libk5crypto3 libkeyutils-dev
  libkrb5-3 libkrb5support0 libldap-dev libldap2-dev liblerc-dev liblerc4
  liblmdb-dev liblmdb0 liblz4-dev liblzma-dev libmd-dev libncurses-dev
  libncurses6 libnsl2 libp11-kit-dev libpam0g-dev libparse-yapp-perl
  libpkgconf3 libpng-dev libpng16-16t64 libpopt-dev libpopt0 libpython3-dev
  libpython3-stdlib libpython3.11-dev libpython3.11-minimal
  libpython3.11-stdlib libpython3.11t64 libreadline-dev libsharpyuv-dev
  libsharpyuv0 libsystemd-dev libtalloc-dev libtalloc2 libtasn1-6-dev
  libtasn1-bin libtdb-dev libtdb1 libtevent-dev libtevent0t64 libtiff-dev
  libtiff6 libtiffxx6 libtirpc-dev libtirpc3t64 libunbound8 liburcu8t64
  liburing-dev liburing2 libwebp-dev libwebp7 libwebpdecoder3 libwebpdemux2
  libwebpmux3 libxml2-dev libxslt1.1 libzstd-dev media-types nettle-dev
  pkg-config pkgconf pkgconf-bin python3 python3-dev python3-distutils
  python3-dnspython python3-etcd python3-lib2to3 python3-markdown
  python3-minimal python3-pkg-resources python3-setuptools python3-six
  python3-talloc python3-talloc-dev python3-tdb python3-urllib3 python3.11
  python3.11-dev python3.11-minimal sgml-base sgml-data uuid-dev xfslibs-dev
  xfsprogs xml-core xsltproc zlib1g-dev
Suggested packages:
  bison-doc doc-base flit python3-build python3-installer python3-wheel
  docbook docbook-defguide docbook-dsssl dbtoepub docbook-xsl-doc-html
  | docbook-xsl-doc-pdf | docbook-xsl-doc-text | docbook-xsl-doc
  docbook-xsl-saxon fop libsaxon-java libxalan2-java libxslthl-java xalan
  flex-doc lrzip manpages-dev cups-common gmp-doc libgmp10-doc libmpfr-dev
  dns-root-data gnutls-bin gnutls-doc krb5-doc krb5-user icu-doc liblzma-doc
  ncurses-doc p11-kit-doc readline-doc python3-doc python3-tk python3-venv
  python3-trio python3-aioquic etcd python-markdown-doc python-setuptools-doc
  python3-brotli python3-cryptography python3-idna python3-openssl
  python3-socks python3.11-venv python3.11-doc binfmt-support sgml-base-doc
  perlsgml w3-recs opensp libxml2-utils xfsdump acl attr quota
Recommended packages:
  libfl-dev bzip2-doc cmocka-doc libcupsfilters-dev libcupsfilters1 dbus
  javascript-common krb5-locales lmdb-doc libgpm2 libpng-tools libtasn1-doc
  ca-certificates python3-cryptography python3-h2 python3-httpcore
  python3-httpx python3-idna python3-pygments python3-yaml
The following NEW packages will be installed:
  bison comerr-dev dh-exec dh-python dmsetup docbook-xml docbook-xsl flex
  icu-devtools libacl1-dev libarchive-dev libarchive13t64 libassuan-dev
  libattr1-dev libavahi-client-dev libavahi-client3 libavahi-common-data
  libavahi-common-dev libavahi-common3 libblkid-dev libbsd-dev libbsd0
  libbz2-dev libcap-dev libcmocka-dev libcmocka0 libcups2-dev libcups2t64
  libcupsimage2-dev libcupsimage2t64 libdbus-1-3 libdbus-1-dev libdeflate-dev
  libdeflate0 libdevmapper1.02.1 libedit2 libevent-2.1-7t64 libexpat1
  libexpat1-dev libext2fs-dev libgmp-dev libgmpxx4ldbl libgnutls-dane0t64
  libgnutls-openssl27t64 libgnutls28-dev libgpg-error-dev libgpgme-dev
  libgpgme11 libgssapi-krb5-2 libicu-dev libidn2-dev libinih1 libjansson-dev
  libjbig-dev libjbig0 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev
  libjs-jquery libjs-sphinxdoc libjs-underscore libkeyutils-dev libkrb5-3
  libldap-dev libldap2-dev liblerc-dev liblerc4 liblmdb-dev liblmdb0
  liblz4-dev liblzma-dev libmd-dev libncurses-dev libncurses6 libnsl2
  libp11-kit-dev libpam0g-dev libparse-yapp-perl libpkgconf3 libpng-dev
  libpng16-16t64 libpopt-dev libpopt0 libpython3-dev libpython3-stdlib
  libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib
  libpython3.11t64 libreadline-dev libsharpyuv-dev libsharpyuv0 libsystemd-dev
  libtalloc-dev libtalloc2 libtasn1-6-dev libtasn1-bin libtdb-dev libtdb1
  libtevent-dev libtevent0t64 libtiff-dev libtiff6 libtiffxx6 libtirpc-dev
  libtirpc3t64 libunbound8 liburcu8t64 liburing-dev liburing2 libwebp-dev
  libwebp7 libwebpdecoder3 libwebpdemux2 libwebpmux3 libxml2-dev libxslt1.1
  libzstd-dev media-types nettle-dev pkg-config pkgconf pkgconf-bin python3
  python3-dev python3-distutils python3-dnspython python3-etcd python3-lib2to3
  python3-markdown python3-minimal python3-pkg-resources python3-setuptools
  python3-six python3-talloc python3-talloc-dev python3-tdb python3-urllib3
  python3.11 python3.11-dev python3.11-minimal sbuild-build-depends-main-dummy
  sgml-base sgml-data uuid-dev xfslibs-dev xfsprogs xml-core xsltproc
  zlib1g-dev
The following packages will be upgraded:
  libk5crypto3 libkrb5support0
2 upgraded, 150 newly installed, 0 to remove and 1 not upgraded.
Need to get 46.6 MB of archives.
After this operation, 184 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [1220 B]
Get:2 http://172.17.4.1/private trixie-staging/main armhf flex armhf 2.6.4-8.2 [391 kB]
Get:3 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-minimal armhf 3.11.9-1+b1 [804 kB]
Get:4 http://172.17.4.1/private trixie-staging/main armhf libexpat1 armhf 2.6.2-1 [80.9 kB]
Get:5 http://172.17.4.1/private trixie-staging/main armhf python3.11-minimal armhf 3.11.9-1+b1 [1574 kB]
Get:6 http://172.17.4.1/private trixie-staging/main armhf python3-minimal armhf 3.11.8-1 [26.3 kB]
Get:7 http://172.17.4.1/private trixie-staging/main armhf media-types all 10.1.0 [26.9 kB]
Get:8 http://172.17.4.1/private trixie-staging/main armhf libkrb5support0 armhf 1.20.1-6+b1 [30.4 kB]
Get:9 http://172.17.4.1/private trixie-staging/main armhf libk5crypto3 armhf 1.20.1-6+b1 [73.9 kB]
Get:10 http://172.17.4.1/private trixie-staging/main armhf libkrb5-3 armhf 1.20.1-6+b1 [286 kB]
Get:11 http://172.17.4.1/private trixie-staging/main armhf libgssapi-krb5-2 armhf 1.20.1-6+b1 [111 kB]
Get:12 http://172.17.4.1/private trixie-staging/main armhf libtirpc3t64 armhf 1.3.4+ds-1.3 [70.4 kB]
Get:13 http://172.17.4.1/private trixie-staging/main armhf libnsl2 armhf 1.3.0-3+b1 [34.6 kB]
Get:14 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-stdlib armhf 3.11.9-1+b1 [1697 kB]
Get:15 http://172.17.4.1/private trixie-staging/main armhf python3.11 armhf 3.11.9-1+b1 [602 kB]
Get:16 http://172.17.4.1/private trixie-staging/main armhf libpython3-stdlib armhf 3.11.8-1 [9332 B]
Get:17 http://172.17.4.1/private trixie-staging/main armhf python3 armhf 3.11.8-1 [27.4 kB]
Get:18 http://172.17.4.1/private trixie-staging/main armhf sgml-base all 1.31 [15.4 kB]
Get:19 http://172.17.4.1/private trixie-staging/main armhf bison armhf 2:3.8.2+dfsg-1 [1114 kB]
Get:20 http://172.17.4.1/private trixie-staging/main armhf comerr-dev armhf 2.1-1.47.1~rc2-1 [53.6 kB]
Get:21 http://172.17.4.1/private trixie-staging/main armhf dh-exec armhf 0.29+b1 [24.5 kB]
Get:22 http://172.17.4.1/private trixie-staging/main armhf python3-pkg-resources all 68.1.2-2 [241 kB]
Get:23 http://172.17.4.1/private trixie-staging/main armhf python3-lib2to3 all 3.12.3-1 [77.6 kB]
Get:24 http://172.17.4.1/private trixie-staging/main armhf python3-distutils all 3.12.3-1 [131 kB]
Get:25 http://172.17.4.1/private trixie-staging/main armhf python3-setuptools all 68.1.2-2 [468 kB]
Get:26 http://172.17.4.1/private trixie-staging/main armhf dh-python all 6.20240422 [107 kB]
Get:27 http://172.17.4.1/private trixie-staging/main armhf libdevmapper1.02.1 armhf 2:1.02.196-1 [125 kB]
Get:28 http://172.17.4.1/private trixie-staging/main armhf dmsetup armhf 2:1.02.196-1 [81.6 kB]
Get:29 http://172.17.4.1/private trixie-staging/main armhf xml-core all 0.19 [20.1 kB]
Get:30 http://172.17.4.1/private trixie-staging/main armhf sgml-data all 2.0.11+nmu1 [179 kB]
Get:31 http://172.17.4.1/private trixie-staging/main armhf docbook-xml all 4.5-13 [77.4 kB]
Get:32 http://172.17.4.1/private trixie-staging/main armhf docbook-xsl all 1.79.2+dfsg-7 [1221 kB]
Get:33 http://172.17.4.1/private trixie-staging/main armhf icu-devtools armhf 72.1-4+b1 [176 kB]
Get:34 http://172.17.4.1/private trixie-staging/main armhf libattr1-dev armhf 1:2.5.2-1 [34.9 kB]
Get:35 http://172.17.4.1/private trixie-staging/main armhf libacl1-dev armhf 2.3.2-2+rpi1 [90.8 kB]
Get:36 http://172.17.4.1/private trixie-staging/main armhf libarchive13t64 armhf 3.7.2-2 [298 kB]
Get:37 http://172.17.4.1/private trixie-staging/main armhf libbz2-dev armhf 1.0.8-5.1 [27.2 kB]
Get:38 http://172.17.4.1/private trixie-staging/main armhf liblz4-dev armhf 1.9.4-1+rpi1+b2 [74.6 kB]
Get:39 http://172.17.4.1/private trixie-staging/main armhf liblzma-dev armhf 5.6.1+really5.4.5-1 [279 kB]
Get:40 http://172.17.4.1/private trixie-staging/main armhf libicu-dev armhf 72.1-4+b1 [9970 kB]
Get:41 http://172.17.4.1/private trixie-staging/main armhf libxml2-dev armhf 2.9.14+dfsg-1.3+b4 [648 kB]
Get:42 http://172.17.4.1/private trixie-staging/main armhf libzstd-dev armhf 1.5.5+dfsg2-2 [301 kB]
Get:43 http://172.17.4.1/private trixie-staging/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [903 kB]
Get:44 http://172.17.4.1/private trixie-staging/main armhf libext2fs-dev armhf 1.47.1~rc2-1 [274 kB]
Get:45 http://172.17.4.1/private trixie-staging/main armhf libgmpxx4ldbl armhf 2:6.3.0+dfsg-2 [328 kB]
Get:46 http://172.17.4.1/private trixie-staging/main armhf libgmp-dev armhf 2:6.3.0+dfsg-2 [577 kB]
Get:47 http://172.17.4.1/private trixie-staging/main armhf nettle-dev armhf 3.9.1-2.2 [1286 kB]
Get:48 http://172.17.4.1/private trixie-staging/main armhf libarchive-dev armhf 3.7.2-2 [502 kB]
Get:49 http://172.17.4.1/private trixie-staging/main armhf libgpg-error-dev armhf 1.49-2 [124 kB]
Get:50 http://172.17.4.1/private trixie-staging/main armhf libassuan-dev armhf 2.5.6-1 [104 kB]
Get:51 http://172.17.4.1/private trixie-staging/main armhf libavahi-common-data armhf 0.8-13+b2 [112 kB]
Get:52 http://172.17.4.1/private trixie-staging/main armhf libavahi-common3 armhf 0.8-13+b2 [40.4 kB]
Get:53 http://172.17.4.1/private trixie-staging/main armhf libdbus-1-3 armhf 1.14.10-4+b1 [178 kB]
Get:54 http://172.17.4.1/private trixie-staging/main armhf libavahi-client3 armhf 0.8-13+b2 [42.9 kB]
Get:55 http://172.17.4.1/private trixie-staging/main armhf libavahi-common-dev armhf 0.8-13+b2 [54.4 kB]
Get:56 http://172.17.4.1/private trixie-staging/main armhf libpkgconf3 armhf 1.8.1-1 [31.3 kB]
Get:57 http://172.17.4.1/private trixie-staging/main armhf pkgconf-bin armhf 1.8.1-1 [27.8 kB]
Get:58 http://172.17.4.1/private trixie-staging/main armhf pkgconf armhf 1.8.1-1 [25.9 kB]
Get:59 http://172.17.4.1/private trixie-staging/main armhf libdbus-1-dev armhf 1.14.10-4+b1 [210 kB]
Get:60 http://172.17.4.1/private trixie-staging/main armhf libavahi-client-dev armhf 0.8-13+b2 [50.9 kB]
Get:61 http://172.17.4.1/private trixie-staging/main armhf uuid-dev armhf 2.40.1-1 [42.0 kB]
Get:62 http://172.17.4.1/private trixie-staging/main armhf libblkid-dev armhf 2.40.1-1 [184 kB]
Get:63 http://172.17.4.1/private trixie-staging/main armhf libbsd0 armhf 0.12.2-1 [127 kB]
Get:64 http://172.17.4.1/private trixie-staging/main armhf libmd-dev armhf 1.1.0-2 [50.9 kB]
Get:65 http://172.17.4.1/private trixie-staging/main armhf libbsd-dev armhf 0.12.2-1 [251 kB]
Get:66 http://172.17.4.1/private trixie-staging/main armhf libcap-dev armhf 1:2.66-5 [388 kB]
Get:67 http://172.17.4.1/private trixie-staging/main armhf libcmocka0 armhf 1.1.7-3 [20.7 kB]
Get:68 http://172.17.4.1/private trixie-staging/main armhf libcmocka-dev armhf 1.1.7-3 [20.4 kB]
Get:69 http://172.17.4.1/private trixie-staging/main armhf libcups2t64 armhf 2.4.7-1.2 [209 kB]
Get:70 http://172.17.4.1/private trixie-staging/main armhf libcupsimage2t64 armhf 2.4.7-1.2 [16.4 kB]
Get:71 http://172.17.4.1/private trixie-staging/main armhf libjpeg62-turbo armhf 1:2.1.5-3 [143 kB]
Get:72 http://172.17.4.1/private trixie-staging/main armhf libjpeg62-turbo-dev armhf 1:2.1.5-3 [258 kB]
Get:73 http://172.17.4.1/private trixie-staging/main armhf libjpeg-dev armhf 1:2.1.5-3 [71.9 kB]
Get:74 http://172.17.4.1/private trixie-staging/main armhf libpng16-16t64 armhf 1.6.43-5 [261 kB]
Get:75 http://172.17.4.1/private trixie-staging/main armhf libpng-dev armhf 1.6.43-5 [339 kB]
Get:76 http://172.17.4.1/private trixie-staging/main armhf libjbig0 armhf 2.1-6.1+b1 [27.2 kB]
Get:77 http://172.17.4.1/private trixie-staging/main armhf libjbig-dev armhf 2.1-6.1+b1 [27.5 kB]
Get:78 http://172.17.4.1/private trixie-staging/main armhf libsharpyuv0 armhf 1.4.0-0.1 [111 kB]
Get:79 http://172.17.4.1/private trixie-staging/main armhf libwebp7 armhf 1.4.0-0.1 [265 kB]
Get:80 http://172.17.4.1/private trixie-staging/main armhf libwebpdemux2 armhf 1.4.0-0.1 [110 kB]
Get:81 http://172.17.4.1/private trixie-staging/main armhf libwebpmux3 armhf 1.4.0-0.1 [120 kB]
Get:82 http://172.17.4.1/private trixie-staging/main armhf libwebpdecoder3 armhf 1.4.0-0.1 [182 kB]
Get:83 http://172.17.4.1/private trixie-staging/main armhf libsharpyuv-dev armhf 1.4.0-0.1 [114 kB]
Get:84 http://172.17.4.1/private trixie-staging/main armhf libwebp-dev armhf 1.4.0-0.1 [391 kB]
Get:85 http://172.17.4.1/private trixie-staging/main armhf libdeflate0 armhf 1.20-1 [35.8 kB]
Get:86 http://172.17.4.1/private trixie-staging/main armhf liblerc4 armhf 4.0.0+ds-4+b1 [132 kB]
Get:87 http://172.17.4.1/private trixie-staging/main armhf libtiff6 armhf 4.5.1+git230720-4 [299 kB]
Get:88 http://172.17.4.1/private trixie-staging/main armhf libtiffxx6 armhf 4.5.1+git230720-4 [149 kB]
Get:89 http://172.17.4.1/private trixie-staging/main armhf libdeflate-dev armhf 1.20-1 [43.5 kB]
Get:90 http://172.17.4.1/private trixie-staging/main armhf liblerc-dev armhf 4.0.0+ds-4+b1 [147 kB]
Get:91 http://172.17.4.1/private trixie-staging/main armhf libtiff-dev armhf 4.5.1+git230720-4 [423 kB]
Get:92 http://172.17.4.1/private trixie-staging/main armhf libcupsimage2-dev armhf 2.4.7-1.2 [6228 B]
Get:93 http://172.17.4.1/private trixie-staging/main armhf libcups2-dev armhf 2.4.7-1.2 [266 kB]
Get:94 http://172.17.4.1/private trixie-staging/main armhf libedit2 armhf 3.1-20230828-1 [76.0 kB]
Get:95 http://172.17.4.1/private trixie-staging/main armhf libevent-2.1-7t64 armhf 2.1.12-stable-8.1+rpi1 [163 kB]
Get:96 http://172.17.4.1/private trixie-staging/main armhf libexpat1-dev armhf 2.6.2-1 [136 kB]
Get:97 http://172.17.4.1/private trixie-staging/main armhf libunbound8 armhf 1.20.0-1 [518 kB]
Get:98 http://172.17.4.1/private trixie-staging/main armhf libgnutls-dane0t64 armhf 3.8.5-2 [428 kB]
Get:99 http://172.17.4.1/private trixie-staging/main armhf libgnutls-openssl27t64 armhf 3.8.5-2 [428 kB]
Get:100 http://172.17.4.1/private trixie-staging/main armhf libidn2-dev armhf 2.3.7-2 [118 kB]
Get:101 http://172.17.4.1/private trixie-staging/main armhf libp11-kit-dev armhf 0.25.3-5 [203 kB]
Get:102 http://172.17.4.1/private trixie-staging/main armhf libtasn1-6-dev armhf 4.19.0-3+b2 [90.1 kB]
Get:103 http://172.17.4.1/private trixie-staging/main armhf libgnutls28-dev armhf 3.8.5-2 [1266 kB]
Get:104 http://172.17.4.1/private trixie-staging/main armhf libgpgme11 armhf 1.18.0-4 [278 kB]
Get:105 http://172.17.4.1/private trixie-staging/main armhf libgpgme-dev armhf 1.18.0-4 [475 kB]
Get:106 http://172.17.4.1/private trixie-staging/main armhf libinih1 armhf 58-1 [6328 B]
Get:107 http://172.17.4.1/private trixie-staging/main armhf libjansson-dev armhf 2.14-2 [38.0 kB]
Get:108 http://172.17.4.1/private trixie-staging/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get:109 http://172.17.4.1/private trixie-staging/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get:110 http://172.17.4.1/private trixie-staging/main armhf libjs-sphinxdoc all 7.2.6-6 [150 kB]
Get:111 http://172.17.4.1/private trixie-staging/main armhf libkeyutils-dev armhf 1.6.3-3 [47.9 kB]
Get:112 http://172.17.4.1/private trixie-staging/main armhf libldap-dev armhf 2.5.17+dfsg-1 [262 kB]
Get:113 http://172.17.4.1/private trixie-staging/main armhf libldap2-dev all 2.5.17+dfsg-1 [24.8 kB]
Get:114 http://172.17.4.1/private trixie-staging/main armhf liblmdb0 armhf 0.9.31-1 [37.4 kB]
Get:115 http://172.17.4.1/private trixie-staging/main armhf liblmdb-dev armhf 0.9.31-1 [53.3 kB]
Get:116 http://172.17.4.1/private trixie-staging/main armhf libncurses6 armhf 6.5-2 [80.7 kB]
Get:117 http://172.17.4.1/private trixie-staging/main armhf libncurses-dev armhf 6.5-2 [289 kB]
Get:118 http://172.17.4.1/private trixie-staging/main armhf libpam0g-dev armhf 1.5.3-7 [118 kB]
Get:119 http://172.17.4.1/private trixie-staging/main armhf libparse-yapp-perl all 1.21-3 [42.5 kB]
Get:120 http://172.17.4.1/private trixie-staging/main armhf libpopt0 armhf 1.19+dfsg-1 [40.4 kB]
Get:121 http://172.17.4.1/private trixie-staging/main armhf libpopt-dev armhf 1.19+dfsg-1 [41.9 kB]
Get:122 http://172.17.4.1/private trixie-staging/main armhf libpython3.11t64 armhf 3.11.9-1+b1 [1639 kB]
Get:123 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-dev armhf 3.11.9-1+b1 [2939 kB]
Get:124 http://172.17.4.1/private trixie-staging/main armhf libpython3-dev armhf 3.11.8-1 [9560 B]
Get:125 http://172.17.4.1/private trixie-staging/main armhf libreadline-dev armhf 8.2-4 [123 kB]
Get:126 http://172.17.4.1/private trixie-staging/main armhf libsystemd-dev armhf 255.3-1+rpi1+b1 [1135 kB]
Get:127 http://172.17.4.1/private trixie-staging/main armhf libtalloc2 armhf 2.4.2-1+b1 [24.0 kB]
Get:128 http://172.17.4.1/private trixie-staging/main armhf pkg-config armhf 1.8.1-1 [13.7 kB]
Get:129 http://172.17.4.1/private trixie-staging/main armhf libtalloc-dev armhf 2.4.2-1+b1 [58.3 kB]
Get:130 http://172.17.4.1/private trixie-staging/main armhf libtasn1-bin armhf 4.19.0-3+b2 [25.9 kB]
Get:131 http://172.17.4.1/private trixie-staging/main armhf libtdb1 armhf 1.4.10-1 [39.7 kB]
Get:132 http://172.17.4.1/private trixie-staging/main armhf libtdb-dev armhf 1.4.10-1 [60.6 kB]
Get:133 http://172.17.4.1/private trixie-staging/main armhf libtevent0t64 armhf 0.16.1-2 [35.2 kB]
Get:134 http://172.17.4.1/private trixie-staging/main armhf libtevent-dev armhf 0.16.1-2 [54.2 kB]
Get:135 http://172.17.4.1/private trixie-staging/main armhf libtirpc-dev armhf 1.3.4+ds-1.3 [172 kB]
Get:136 http://172.17.4.1/private trixie-staging/main armhf liburcu8t64 armhf 0.14.0-3.1 [65.3 kB]
Get:137 http://172.17.4.1/private trixie-staging/main armhf liburing2 armhf 2.6-1 [22.0 kB]
Get:138 http://172.17.4.1/private trixie-staging/main armhf liburing-dev armhf 2.6-1 [202 kB]
Get:139 http://172.17.4.1/private trixie-staging/main armhf libxslt1.1 armhf 1.1.35-1 [221 kB]
Get:140 http://172.17.4.1/private trixie-staging/main armhf python3.11-dev armhf 3.11.9-1+b1 [501 kB]
Get:141 http://172.17.4.1/private trixie-staging/main armhf python3-dev armhf 3.11.8-1 [26.1 kB]
Get:142 http://172.17.4.1/private trixie-staging/main armhf python3-dnspython all 2.6.1-1 [161 kB]
Get:143 http://172.17.4.1/private trixie-staging/main armhf python3-six all 1.16.0-6 [16.3 kB]
Get:144 http://172.17.4.1/private trixie-staging/main armhf python3-urllib3 all 1.26.18-2 [116 kB]
Get:145 http://172.17.4.1/private trixie-staging/main armhf python3-etcd all 0.4.5-4 [32.0 kB]
Get:146 http://172.17.4.1/private trixie-staging/main armhf python3-markdown all 3.6-1 [84.0 kB]
Get:147 http://172.17.4.1/private trixie-staging/main armhf python3-talloc armhf 2.4.2-1+b1 [14.2 kB]
Get:148 http://172.17.4.1/private trixie-staging/main armhf python3-talloc-dev armhf 2.4.2-1+b1 [9752 B]
Get:149 http://172.17.4.1/private trixie-staging/main armhf python3-tdb armhf 1.4.10-1 [15.6 kB]
Get:150 http://172.17.4.1/private trixie-staging/main armhf xfsprogs armhf 6.7.0-3+b5 [876 kB]
Get:151 http://172.17.4.1/private trixie-staging/main armhf xfslibs-dev armhf 6.7.0-3+b5 [115 kB]
Get:152 http://172.17.4.1/private trixie-staging/main armhf xsltproc armhf 1.1.35-1 [126 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 46.6 MB in 5s (8728 kB/s)
Selecting previously unselected package flex.
(Reading database ... 14693 files and directories currently installed.)
Preparing to unpack .../flex_2.6.4-8.2_armhf.deb ...
Unpacking flex (2.6.4-8.2) ...
Selecting previously unselected package libpython3.11-minimal:armhf.
Preparing to unpack .../libpython3.11-minimal_3.11.9-1+b1_armhf.deb ...
Unpacking libpython3.11-minimal:armhf (3.11.9-1+b1) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.6.2-1_armhf.deb ...
Unpacking libexpat1:armhf (2.6.2-1) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.9-1+b1_armhf.deb ...
Unpacking python3.11-minimal (3.11.9-1+b1) ...
Setting up libpython3.11-minimal:armhf (3.11.9-1+b1) ...
Setting up libexpat1:armhf (2.6.2-1) ...
Setting up python3.11-minimal (3.11.9-1+b1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 15106 files and directories currently installed.)
Preparing to unpack .../00-python3-minimal_3.11.8-1_armhf.deb ...
Unpacking python3-minimal (3.11.8-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../01-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Preparing to unpack .../02-libkrb5support0_1.20.1-6+b1_armhf.deb ...
Unpacking libkrb5support0:armhf (1.20.1-6+b1) over (1.20.1-6) ...
Preparing to unpack .../03-libk5crypto3_1.20.1-6+b1_armhf.deb ...
Unpacking libk5crypto3:armhf (1.20.1-6+b1) over (1.20.1-6) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../04-libkrb5-3_1.20.1-6+b1_armhf.deb ...
Unpacking libkrb5-3:armhf (1.20.1-6+b1) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../05-libgssapi-krb5-2_1.20.1-6+b1_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.20.1-6+b1) ...
Selecting previously unselected package libtirpc3t64:armhf.
Preparing to unpack .../06-libtirpc3t64_1.3.4+ds-1.3_armhf.deb ...
Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64'
Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64'
Unpacking libtirpc3t64:armhf (1.3.4+ds-1.3) ...
Selecting previously unselected package libnsl2:armhf.
Preparing to unpack .../07-libnsl2_1.3.0-3+b1_armhf.deb ...
Unpacking libnsl2:armhf (1.3.0-3+b1) ...
Selecting previously unselected package libpython3.11-stdlib:armhf.
Preparing to unpack .../08-libpython3.11-stdlib_3.11.9-1+b1_armhf.deb ...
Unpacking libpython3.11-stdlib:armhf (3.11.9-1+b1) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../09-python3.11_3.11.9-1+b1_armhf.deb ...
Unpacking python3.11 (3.11.9-1+b1) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../10-libpython3-stdlib_3.11.8-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.11.8-1) ...
Setting up python3-minimal (3.11.8-1) ...
Selecting previously unselected package python3.
(Reading database ... 15578 files and directories currently installed.)
Preparing to unpack .../000-python3_3.11.8-1_armhf.deb ...
Unpacking python3 (3.11.8-1) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../001-sgml-base_1.31_all.deb ...
Unpacking sgml-base (1.31) ...
Selecting previously unselected package bison.
Preparing to unpack .../002-bison_2%3a3.8.2+dfsg-1_armhf.deb ...
Unpacking bison (2:3.8.2+dfsg-1) ...
Selecting previously unselected package comerr-dev:armhf.
Preparing to unpack .../003-comerr-dev_2.1-1.47.1~rc2-1_armhf.deb ...
Unpacking comerr-dev:armhf (2.1-1.47.1~rc2-1) ...
Selecting previously unselected package dh-exec.
Preparing to unpack .../004-dh-exec_0.29+b1_armhf.deb ...
Unpacking dh-exec (0.29+b1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../005-python3-pkg-resources_68.1.2-2_all.deb ...
Unpacking python3-pkg-resources (68.1.2-2) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../006-python3-lib2to3_3.12.3-1_all.deb ...
Unpacking python3-lib2to3 (3.12.3-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../007-python3-distutils_3.12.3-1_all.deb ...
Unpacking python3-distutils (3.12.3-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../008-python3-setuptools_68.1.2-2_all.deb ...
Unpacking python3-setuptools (68.1.2-2) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../009-dh-python_6.20240422_all.deb ...
Unpacking dh-python (6.20240422) ...
Selecting previously unselected package libdevmapper1.02.1:armhf.
Preparing to unpack .../010-libdevmapper1.02.1_2%3a1.02.196-1_armhf.deb ...
Unpacking libdevmapper1.02.1:armhf (2:1.02.196-1) ...
Selecting previously unselected package dmsetup.
Preparing to unpack .../011-dmsetup_2%3a1.02.196-1_armhf.deb ...
Unpacking dmsetup (2:1.02.196-1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../012-xml-core_0.19_all.deb ...
Unpacking xml-core (0.19) ...
Selecting previously unselected package sgml-data.
Preparing to unpack .../013-sgml-data_2.0.11+nmu1_all.deb ...
Unpacking sgml-data (2.0.11+nmu1) ...
Selecting previously unselected package docbook-xml.
Preparing to unpack .../014-docbook-xml_4.5-13_all.deb ...
Unpacking docbook-xml (4.5-13) ...
Selecting previously unselected package docbook-xsl.
Preparing to unpack .../015-docbook-xsl_1.79.2+dfsg-7_all.deb ...
Unpacking docbook-xsl (1.79.2+dfsg-7) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../016-icu-devtools_72.1-4+b1_armhf.deb ...
Unpacking icu-devtools (72.1-4+b1) ...
Selecting previously unselected package libattr1-dev:armhf.
Preparing to unpack .../017-libattr1-dev_1%3a2.5.2-1_armhf.deb ...
Unpacking libattr1-dev:armhf (1:2.5.2-1) ...
Selecting previously unselected package libacl1-dev:armhf.
Preparing to unpack .../018-libacl1-dev_2.3.2-2+rpi1_armhf.deb ...
Unpacking libacl1-dev:armhf (2.3.2-2+rpi1) ...
Selecting previously unselected package libarchive13t64:armhf.
Preparing to unpack .../019-libarchive13t64_3.7.2-2_armhf.deb ...
Unpacking libarchive13t64:armhf (3.7.2-2) ...
Selecting previously unselected package libbz2-dev:armhf.
Preparing to unpack .../020-libbz2-dev_1.0.8-5.1_armhf.deb ...
Unpacking libbz2-dev:armhf (1.0.8-5.1) ...
Selecting previously unselected package liblz4-dev:armhf.
Preparing to unpack .../021-liblz4-dev_1.9.4-1+rpi1+b2_armhf.deb ...
Unpacking liblz4-dev:armhf (1.9.4-1+rpi1+b2) ...
Selecting previously unselected package liblzma-dev:armhf.
Preparing to unpack .../022-liblzma-dev_5.6.1+really5.4.5-1_armhf.deb ...
Unpacking liblzma-dev:armhf (5.6.1+really5.4.5-1) ...
Selecting previously unselected package libicu-dev:armhf.
Preparing to unpack .../023-libicu-dev_72.1-4+b1_armhf.deb ...
Unpacking libicu-dev:armhf (72.1-4+b1) ...
Selecting previously unselected package libxml2-dev:armhf.
Preparing to unpack .../024-libxml2-dev_2.9.14+dfsg-1.3+b4_armhf.deb ...
Unpacking libxml2-dev:armhf (2.9.14+dfsg-1.3+b4) ...
Selecting previously unselected package libzstd-dev:armhf.
Preparing to unpack .../025-libzstd-dev_1.5.5+dfsg2-2_armhf.deb ...
Unpacking libzstd-dev:armhf (1.5.5+dfsg2-2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../026-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1) ...
Selecting previously unselected package libext2fs-dev.
Preparing to unpack .../027-libext2fs-dev_1.47.1~rc2-1_armhf.deb ...
Unpacking libext2fs-dev (1.47.1~rc2-1) ...
Selecting previously unselected package libgmpxx4ldbl:armhf.
Preparing to unpack .../028-libgmpxx4ldbl_2%3a6.3.0+dfsg-2_armhf.deb ...
Unpacking libgmpxx4ldbl:armhf (2:6.3.0+dfsg-2) ...
Selecting previously unselected package libgmp-dev:armhf.
Preparing to unpack .../029-libgmp-dev_2%3a6.3.0+dfsg-2_armhf.deb ...
Unpacking libgmp-dev:armhf (2:6.3.0+dfsg-2) ...
Selecting previously unselected package nettle-dev:armhf.
Preparing to unpack .../030-nettle-dev_3.9.1-2.2_armhf.deb ...
Unpacking nettle-dev:armhf (3.9.1-2.2) ...
Selecting previously unselected package libarchive-dev:armhf.
Preparing to unpack .../031-libarchive-dev_3.7.2-2_armhf.deb ...
Unpacking libarchive-dev:armhf (3.7.2-2) ...
Selecting previously unselected package libgpg-error-dev:armhf.
Preparing to unpack .../032-libgpg-error-dev_1.49-2_armhf.deb ...
Unpacking libgpg-error-dev:armhf (1.49-2) ...
Selecting previously unselected package libassuan-dev.
Preparing to unpack .../033-libassuan-dev_2.5.6-1_armhf.deb ...
Unpacking libassuan-dev (2.5.6-1) ...
Selecting previously unselected package libavahi-common-data:armhf.
Preparing to unpack .../034-libavahi-common-data_0.8-13+b2_armhf.deb ...
Unpacking libavahi-common-data:armhf (0.8-13+b2) ...
Selecting previously unselected package libavahi-common3:armhf.
Preparing to unpack .../035-libavahi-common3_0.8-13+b2_armhf.deb ...
Unpacking libavahi-common3:armhf (0.8-13+b2) ...
Selecting previously unselected package libdbus-1-3:armhf.
Preparing to unpack .../036-libdbus-1-3_1.14.10-4+b1_armhf.deb ...
Unpacking libdbus-1-3:armhf (1.14.10-4+b1) ...
Selecting previously unselected package libavahi-client3:armhf.
Preparing to unpack .../037-libavahi-client3_0.8-13+b2_armhf.deb ...
Unpacking libavahi-client3:armhf (0.8-13+b2) ...
Selecting previously unselected package libavahi-common-dev:armhf.
Preparing to unpack .../038-libavahi-common-dev_0.8-13+b2_armhf.deb ...
Unpacking libavahi-common-dev:armhf (0.8-13+b2) ...
Selecting previously unselected package libpkgconf3:armhf.
Preparing to unpack .../039-libpkgconf3_1.8.1-1_armhf.deb ...
Unpacking libpkgconf3:armhf (1.8.1-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../040-pkgconf-bin_1.8.1-1_armhf.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:armhf.
Preparing to unpack .../041-pkgconf_1.8.1-1_armhf.deb ...
Unpacking pkgconf:armhf (1.8.1-1) ...
Selecting previously unselected package libdbus-1-dev:armhf.
Preparing to unpack .../042-libdbus-1-dev_1.14.10-4+b1_armhf.deb ...
Unpacking libdbus-1-dev:armhf (1.14.10-4+b1) ...
Selecting previously unselected package libavahi-client-dev:armhf.
Preparing to unpack .../043-libavahi-client-dev_0.8-13+b2_armhf.deb ...
Unpacking libavahi-client-dev:armhf (0.8-13+b2) ...
Selecting previously unselected package uuid-dev:armhf.
Preparing to unpack .../044-uuid-dev_2.40.1-1_armhf.deb ...
Unpacking uuid-dev:armhf (2.40.1-1) ...
Selecting previously unselected package libblkid-dev:armhf.
Preparing to unpack .../045-libblkid-dev_2.40.1-1_armhf.deb ...
Unpacking libblkid-dev:armhf (2.40.1-1) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../046-libbsd0_0.12.2-1_armhf.deb ...
Unpacking libbsd0:armhf (0.12.2-1) ...
Selecting previously unselected package libmd-dev:armhf.
Preparing to unpack .../047-libmd-dev_1.1.0-2_armhf.deb ...
Unpacking libmd-dev:armhf (1.1.0-2) ...
Selecting previously unselected package libbsd-dev:armhf.
Preparing to unpack .../048-libbsd-dev_0.12.2-1_armhf.deb ...
Unpacking libbsd-dev:armhf (0.12.2-1) ...
Selecting previously unselected package libcap-dev:armhf.
Preparing to unpack .../049-libcap-dev_1%3a2.66-5_armhf.deb ...
Unpacking libcap-dev:armhf (1:2.66-5) ...
Selecting previously unselected package libcmocka0:armhf.
Preparing to unpack .../050-libcmocka0_1.1.7-3_armhf.deb ...
Unpacking libcmocka0:armhf (1.1.7-3) ...
Selecting previously unselected package libcmocka-dev:armhf.
Preparing to unpack .../051-libcmocka-dev_1.1.7-3_armhf.deb ...
Unpacking libcmocka-dev:armhf (1.1.7-3) ...
Selecting previously unselected package libcups2t64:armhf.
Preparing to unpack .../052-libcups2t64_2.4.7-1.2_armhf.deb ...
Unpacking libcups2t64:armhf (2.4.7-1.2) ...
Selecting previously unselected package libcupsimage2t64:armhf.
Preparing to unpack .../053-libcupsimage2t64_2.4.7-1.2_armhf.deb ...
Unpacking libcupsimage2t64:armhf (2.4.7-1.2) ...
Selecting previously unselected package libjpeg62-turbo:armhf.
Preparing to unpack .../054-libjpeg62-turbo_1%3a2.1.5-3_armhf.deb ...
Unpacking libjpeg62-turbo:armhf (1:2.1.5-3) ...
Selecting previously unselected package libjpeg62-turbo-dev:armhf.
Preparing to unpack .../055-libjpeg62-turbo-dev_1%3a2.1.5-3_armhf.deb ...
Unpacking libjpeg62-turbo-dev:armhf (1:2.1.5-3) ...
Selecting previously unselected package libjpeg-dev:armhf.
Preparing to unpack .../056-libjpeg-dev_1%3a2.1.5-3_armhf.deb ...
Unpacking libjpeg-dev:armhf (1:2.1.5-3) ...
Selecting previously unselected package libpng16-16t64:armhf.
Preparing to unpack .../057-libpng16-16t64_1.6.43-5_armhf.deb ...
Unpacking libpng16-16t64:armhf (1.6.43-5) ...
Selecting previously unselected package libpng-dev:armhf.
Preparing to unpack .../058-libpng-dev_1.6.43-5_armhf.deb ...
Unpacking libpng-dev:armhf (1.6.43-5) ...
Selecting previously unselected package libjbig0:armhf.
Preparing to unpack .../059-libjbig0_2.1-6.1+b1_armhf.deb ...
Unpacking libjbig0:armhf (2.1-6.1+b1) ...
Selecting previously unselected package libjbig-dev:armhf.
Preparing to unpack .../060-libjbig-dev_2.1-6.1+b1_armhf.deb ...
Unpacking libjbig-dev:armhf (2.1-6.1+b1) ...
Selecting previously unselected package libsharpyuv0:armhf.
Preparing to unpack .../061-libsharpyuv0_1.4.0-0.1_armhf.deb ...
Unpacking libsharpyuv0:armhf (1.4.0-0.1) ...
Selecting previously unselected package libwebp7:armhf.
Preparing to unpack .../062-libwebp7_1.4.0-0.1_armhf.deb ...
Unpacking libwebp7:armhf (1.4.0-0.1) ...
Selecting previously unselected package libwebpdemux2:armhf.
Preparing to unpack .../063-libwebpdemux2_1.4.0-0.1_armhf.deb ...
Unpacking libwebpdemux2:armhf (1.4.0-0.1) ...
Selecting previously unselected package libwebpmux3:armhf.
Preparing to unpack .../064-libwebpmux3_1.4.0-0.1_armhf.deb ...
Unpacking libwebpmux3:armhf (1.4.0-0.1) ...
Selecting previously unselected package libwebpdecoder3:armhf.
Preparing to unpack .../065-libwebpdecoder3_1.4.0-0.1_armhf.deb ...
Unpacking libwebpdecoder3:armhf (1.4.0-0.1) ...
Selecting previously unselected package libsharpyuv-dev:armhf.
Preparing to unpack .../066-libsharpyuv-dev_1.4.0-0.1_armhf.deb ...
Unpacking libsharpyuv-dev:armhf (1.4.0-0.1) ...
Selecting previously unselected package libwebp-dev:armhf.
Preparing to unpack .../067-libwebp-dev_1.4.0-0.1_armhf.deb ...
Unpacking libwebp-dev:armhf (1.4.0-0.1) ...
Selecting previously unselected package libdeflate0:armhf.
Preparing to unpack .../068-libdeflate0_1.20-1_armhf.deb ...
Unpacking libdeflate0:armhf (1.20-1) ...
Selecting previously unselected package liblerc4:armhf.
Preparing to unpack .../069-liblerc4_4.0.0+ds-4+b1_armhf.deb ...
Unpacking liblerc4:armhf (4.0.0+ds-4+b1) ...
Selecting previously unselected package libtiff6:armhf.
Preparing to unpack .../070-libtiff6_4.5.1+git230720-4_armhf.deb ...
Unpacking libtiff6:armhf (4.5.1+git230720-4) ...
Selecting previously unselected package libtiffxx6:armhf.
Preparing to unpack .../071-libtiffxx6_4.5.1+git230720-4_armhf.deb ...
Unpacking libtiffxx6:armhf (4.5.1+git230720-4) ...
Selecting previously unselected package libdeflate-dev:armhf.
Preparing to unpack .../072-libdeflate-dev_1.20-1_armhf.deb ...
Unpacking libdeflate-dev:armhf (1.20-1) ...
Selecting previously unselected package liblerc-dev:armhf.
Preparing to unpack .../073-liblerc-dev_4.0.0+ds-4+b1_armhf.deb ...
Unpacking liblerc-dev:armhf (4.0.0+ds-4+b1) ...
Selecting previously unselected package libtiff-dev:armhf.
Preparing to unpack .../074-libtiff-dev_4.5.1+git230720-4_armhf.deb ...
Unpacking libtiff-dev:armhf (4.5.1+git230720-4) ...
Selecting previously unselected package libcupsimage2-dev:armhf.
Preparing to unpack .../075-libcupsimage2-dev_2.4.7-1.2_armhf.deb ...
Unpacking libcupsimage2-dev:armhf (2.4.7-1.2) ...
Selecting previously unselected package libcups2-dev:armhf.
Preparing to unpack .../076-libcups2-dev_2.4.7-1.2_armhf.deb ...
Unpacking libcups2-dev:armhf (2.4.7-1.2) ...
Selecting previously unselected package libedit2:armhf.
Preparing to unpack .../077-libedit2_3.1-20230828-1_armhf.deb ...
Unpacking libedit2:armhf (3.1-20230828-1) ...
Selecting previously unselected package libevent-2.1-7t64:armhf.
Preparing to unpack .../078-libevent-2.1-7t64_2.1.12-stable-8.1+rpi1_armhf.deb ...
Unpacking libevent-2.1-7t64:armhf (2.1.12-stable-8.1+rpi1) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../079-libexpat1-dev_2.6.2-1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.6.2-1) ...
Selecting previously unselected package libunbound8:armhf.
Preparing to unpack .../080-libunbound8_1.20.0-1_armhf.deb ...
Unpacking libunbound8:armhf (1.20.0-1) ...
Selecting previously unselected package libgnutls-dane0t64:armhf.
Preparing to unpack .../081-libgnutls-dane0t64_3.8.5-2_armhf.deb ...
Unpacking libgnutls-dane0t64:armhf (3.8.5-2) ...
Selecting previously unselected package libgnutls-openssl27t64:armhf.
Preparing to unpack .../082-libgnutls-openssl27t64_3.8.5-2_armhf.deb ...
Unpacking libgnutls-openssl27t64:armhf (3.8.5-2) ...
Selecting previously unselected package libidn2-dev:armhf.
Preparing to unpack .../083-libidn2-dev_2.3.7-2_armhf.deb ...
Unpacking libidn2-dev:armhf (2.3.7-2) ...
Selecting previously unselected package libp11-kit-dev:armhf.
Preparing to unpack .../084-libp11-kit-dev_0.25.3-5_armhf.deb ...
Unpacking libp11-kit-dev:armhf (0.25.3-5) ...
Selecting previously unselected package libtasn1-6-dev:armhf.
Preparing to unpack .../085-libtasn1-6-dev_4.19.0-3+b2_armhf.deb ...
Unpacking libtasn1-6-dev:armhf (4.19.0-3+b2) ...
Selecting previously unselected package libgnutls28-dev:armhf.
Preparing to unpack .../086-libgnutls28-dev_3.8.5-2_armhf.deb ...
Unpacking libgnutls28-dev:armhf (3.8.5-2) ...
Selecting previously unselected package libgpgme11:armhf.
Preparing to unpack .../087-libgpgme11_1.18.0-4_armhf.deb ...
Unpacking libgpgme11:armhf (1.18.0-4) ...
Selecting previously unselected package libgpgme-dev.
Preparing to unpack .../088-libgpgme-dev_1.18.0-4_armhf.deb ...
Unpacking libgpgme-dev (1.18.0-4) ...
Selecting previously unselected package libinih1:armhf.
Preparing to unpack .../089-libinih1_58-1_armhf.deb ...
Unpacking libinih1:armhf (58-1) ...
Selecting previously unselected package libjansson-dev:armhf.
Preparing to unpack .../090-libjansson-dev_2.14-2_armhf.deb ...
Unpacking libjansson-dev:armhf (2.14-2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../091-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../092-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../093-libjs-sphinxdoc_7.2.6-6_all.deb ...
Unpacking libjs-sphinxdoc (7.2.6-6) ...
Selecting previously unselected package libkeyutils-dev:armhf.
Preparing to unpack .../094-libkeyutils-dev_1.6.3-3_armhf.deb ...
Unpacking libkeyutils-dev:armhf (1.6.3-3) ...
Selecting previously unselected package libldap-dev:armhf.
Preparing to unpack .../095-libldap-dev_2.5.17+dfsg-1_armhf.deb ...
Unpacking libldap-dev:armhf (2.5.17+dfsg-1) ...
Selecting previously unselected package libldap2-dev.
Preparing to unpack .../096-libldap2-dev_2.5.17+dfsg-1_all.deb ...
Unpacking libldap2-dev (2.5.17+dfsg-1) ...
Selecting previously unselected package liblmdb0:armhf.
Preparing to unpack .../097-liblmdb0_0.9.31-1_armhf.deb ...
Unpacking liblmdb0:armhf (0.9.31-1) ...
Selecting previously unselected package liblmdb-dev:armhf.
Preparing to unpack .../098-liblmdb-dev_0.9.31-1_armhf.deb ...
Unpacking liblmdb-dev:armhf (0.9.31-1) ...
Selecting previously unselected package libncurses6:armhf.
Preparing to unpack .../099-libncurses6_6.5-2_armhf.deb ...
Unpacking libncurses6:armhf (6.5-2) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../100-libncurses-dev_6.5-2_armhf.deb ...
Unpacking libncurses-dev:armhf (6.5-2) ...
Selecting previously unselected package libpam0g-dev:armhf.
Preparing to unpack .../101-libpam0g-dev_1.5.3-7_armhf.deb ...
Unpacking libpam0g-dev:armhf (1.5.3-7) ...
Selecting previously unselected package libparse-yapp-perl.
Preparing to unpack .../102-libparse-yapp-perl_1.21-3_all.deb ...
Unpacking libparse-yapp-perl (1.21-3) ...
Selecting previously unselected package libpopt0:armhf.
Preparing to unpack .../103-libpopt0_1.19+dfsg-1_armhf.deb ...
Unpacking libpopt0:armhf (1.19+dfsg-1) ...
Selecting previously unselected package libpopt-dev:armhf.
Preparing to unpack .../104-libpopt-dev_1.19+dfsg-1_armhf.deb ...
Unpacking libpopt-dev:armhf (1.19+dfsg-1) ...
Selecting previously unselected package libpython3.11t64:armhf.
Preparing to unpack .../105-libpython3.11t64_3.11.9-1+b1_armhf.deb ...
Unpacking libpython3.11t64:armhf (3.11.9-1+b1) ...
Selecting previously unselected package libpython3.11-dev:armhf.
Preparing to unpack .../106-libpython3.11-dev_3.11.9-1+b1_armhf.deb ...
Unpacking libpython3.11-dev:armhf (3.11.9-1+b1) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../107-libpython3-dev_3.11.8-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.11.8-1) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../108-libreadline-dev_8.2-4_armhf.deb ...
Unpacking libreadline-dev:armhf (8.2-4) ...
Selecting previously unselected package libsystemd-dev:armhf.
Preparing to unpack .../109-libsystemd-dev_255.3-1+rpi1+b1_armhf.deb ...
Unpacking libsystemd-dev:armhf (255.3-1+rpi1+b1) ...
Selecting previously unselected package libtalloc2:armhf.
Preparing to unpack .../110-libtalloc2_2.4.2-1+b1_armhf.deb ...
Unpacking libtalloc2:armhf (2.4.2-1+b1) ...
Selecting previously unselected package pkg-config:armhf.
Preparing to unpack .../111-pkg-config_1.8.1-1_armhf.deb ...
Unpacking pkg-config:armhf (1.8.1-1) ...
Selecting previously unselected package libtalloc-dev:armhf.
Preparing to unpack .../112-libtalloc-dev_2.4.2-1+b1_armhf.deb ...
Unpacking libtalloc-dev:armhf (2.4.2-1+b1) ...
Selecting previously unselected package libtasn1-bin.
Preparing to unpack .../113-libtasn1-bin_4.19.0-3+b2_armhf.deb ...
Unpacking libtasn1-bin (4.19.0-3+b2) ...
Selecting previously unselected package libtdb1:armhf.
Preparing to unpack .../114-libtdb1_1.4.10-1_armhf.deb ...
Unpacking libtdb1:armhf (1.4.10-1) ...
Selecting previously unselected package libtdb-dev:armhf.
Preparing to unpack .../115-libtdb-dev_1.4.10-1_armhf.deb ...
Unpacking libtdb-dev:armhf (1.4.10-1) ...
Selecting previously unselected package libtevent0t64:armhf.
Preparing to unpack .../116-libtevent0t64_0.16.1-2_armhf.deb ...
Unpacking libtevent0t64:armhf (0.16.1-2) ...
Selecting previously unselected package libtevent-dev:armhf.
Preparing to unpack .../117-libtevent-dev_0.16.1-2_armhf.deb ...
Unpacking libtevent-dev:armhf (0.16.1-2) ...
Selecting previously unselected package libtirpc-dev:armhf.
Preparing to unpack .../118-libtirpc-dev_1.3.4+ds-1.3_armhf.deb ...
Unpacking libtirpc-dev:armhf (1.3.4+ds-1.3) ...
Selecting previously unselected package liburcu8t64:armhf.
Preparing to unpack .../119-liburcu8t64_0.14.0-3.1_armhf.deb ...
Unpacking liburcu8t64:armhf (0.14.0-3.1) ...
Selecting previously unselected package liburing2:armhf.
Preparing to unpack .../120-liburing2_2.6-1_armhf.deb ...
Unpacking liburing2:armhf (2.6-1) ...
Selecting previously unselected package liburing-dev:armhf.
Preparing to unpack .../121-liburing-dev_2.6-1_armhf.deb ...
Unpacking liburing-dev:armhf (2.6-1) ...
Selecting previously unselected package libxslt1.1:armhf.
Preparing to unpack .../122-libxslt1.1_1.1.35-1_armhf.deb ...
Unpacking libxslt1.1:armhf (1.1.35-1) ...
Selecting previously unselected package python3.11-dev.
Preparing to unpack .../123-python3.11-dev_3.11.9-1+b1_armhf.deb ...
Unpacking python3.11-dev (3.11.9-1+b1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../124-python3-dev_3.11.8-1_armhf.deb ...
Unpacking python3-dev (3.11.8-1) ...
Selecting previously unselected package python3-dnspython.
Preparing to unpack .../125-python3-dnspython_2.6.1-1_all.deb ...
Unpacking python3-dnspython (2.6.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../126-python3-six_1.16.0-6_all.deb ...
Unpacking python3-six (1.16.0-6) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../127-python3-urllib3_1.26.18-2_all.deb ...
Unpacking python3-urllib3 (1.26.18-2) ...
Selecting previously unselected package python3-etcd.
Preparing to unpack .../128-python3-etcd_0.4.5-4_all.deb ...
Unpacking python3-etcd (0.4.5-4) ...
Selecting previously unselected package python3-markdown.
Preparing to unpack .../129-python3-markdown_3.6-1_all.deb ...
Unpacking python3-markdown (3.6-1) ...
Selecting previously unselected package python3-talloc:armhf.
Preparing to unpack .../130-python3-talloc_2.4.2-1+b1_armhf.deb ...
Unpacking python3-talloc:armhf (2.4.2-1+b1) ...
Selecting previously unselected package python3-talloc-dev:armhf.
Preparing to unpack .../131-python3-talloc-dev_2.4.2-1+b1_armhf.deb ...
Unpacking python3-talloc-dev:armhf (2.4.2-1+b1) ...
Selecting previously unselected package python3-tdb.
Preparing to unpack .../132-python3-tdb_1.4.10-1_armhf.deb ...
Unpacking python3-tdb (1.4.10-1) ...
Selecting previously unselected package xfsprogs.
Preparing to unpack .../133-xfsprogs_6.7.0-3+b5_armhf.deb ...
Unpacking xfsprogs (6.7.0-3+b5) ...
Selecting previously unselected package xfslibs-dev.
Preparing to unpack .../134-xfslibs-dev_6.7.0-3+b5_armhf.deb ...
Unpacking xfslibs-dev (6.7.0-3+b5) ...
Selecting previously unselected package xsltproc.
Preparing to unpack .../135-xsltproc_1.1.35-1_armhf.deb ...
Unpacking xsltproc (1.1.35-1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../136-sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up media-types (10.1.0) ...
Setting up liblmdb0:armhf (0.9.31-1) ...
Setting up libgnutls-openssl27t64:armhf (3.8.5-2) ...
Setting up libsharpyuv0:armhf (1.4.0-0.1) ...
Setting up liburcu8t64:armhf (0.14.0-3.1) ...
Setting up flex (2.6.4-8.2) ...
Setting up libzstd-dev:armhf (1.5.5+dfsg2-2) ...
Setting up liblerc4:armhf (4.0.0+ds-4+b1) ...
Setting up libparse-yapp-perl (1.21-3) ...
Setting up libattr1-dev:armhf (1:2.5.2-1) ...
Setting up libpam0g-dev:armhf (1.5.3-7) ...
Setting up libinih1:armhf (58-1) ...
Setting up libtdb1:armhf (1.4.10-1) ...
Setting up libdeflate0:armhf (1.20-1) ...
Setting up libwebpdecoder3:armhf (1.4.0-0.1) ...
Setting up libevent-2.1-7t64:armhf (2.1.12-stable-8.1+rpi1) ...
Setting up dh-exec (0.29+b1) ...
Setting up libgpgme11:armhf (1.18.0-4) ...
Setting up libjbig0:armhf (2.1-6.1+b1) ...
Setting up libkrb5support0:armhf (1.20.1-6+b1) ...
Setting up libcmocka0:armhf (1.1.7-3) ...
Setting up libtdb-dev:armhf (1.4.10-1) ...
Setting up libtalloc2:armhf (2.4.2-1+b1) ...
Setting up libunbound8:armhf (1.20.0-1) ...
Setting up libpkgconf3:armhf (1.8.1-1) ...
Setting up libgmpxx4ldbl:armhf (2:6.3.0+dfsg-2) ...
Setting up libexpat1-dev:armhf (2.6.2-1) ...
Setting up libjpeg62-turbo:armhf (1:2.1.5-3) ...
Setting up libgnutls-dane0t64:armhf (3.8.5-2) ...
Setting up libgpg-error-dev:armhf (1.49-2) ...
Setting up libjpeg62-turbo-dev:armhf (1:2.1.5-3) ...
Setting up libtasn1-bin (4.19.0-3+b2) ...
Setting up libldap-dev:armhf (2.5.17+dfsg-1) ...
Setting up uuid-dev:armhf (2.40.1-1) ...
Setting up libavahi-common-data:armhf (0.8-13+b2) ...
Setting up libncurses6:armhf (6.5-2) ...
Setting up libdbus-1-3:armhf (1.14.10-4+b1) ...
Setting up comerr-dev:armhf (2.1-1.47.1~rc2-1) ...
Setting up libpng16-16t64:armhf (1.6.43-5) ...
Setting up icu-devtools (72.1-4+b1) ...
Setting up liblz4-dev:armhf (1.9.4-1+rpi1+b2) ...
Setting up libassuan-dev (2.5.6-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up liblerc-dev:armhf (4.0.0+ds-4+b1) ...
Setting up libcmocka-dev:armhf (1.1.7-3) ...
Setting up libk5crypto3:armhf (1.20.1-6+b1) ...
Setting up libidn2-dev:armhf (2.3.7-2) ...
Setting up liblmdb-dev:armhf (0.9.31-1) ...
Setting up libgpgme-dev (1.18.0-4) ...
Setting up libwebp7:armhf (1.4.0-0.1) ...
Setting up liblzma-dev:armhf (5.6.1+really5.4.5-1) ...
Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1) ...
Setting up libkeyutils-dev:armhf (1.6.3-3) ...
Setting up libtiff6:armhf (4.5.1+git230720-4) ...
Setting up libxslt1.1:armhf (1.1.35-1) ...
Setting up libmd-dev:armhf (1.1.0-2) ...
Setting up bison (2:3.8.2+dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up sgml-base (1.31) ...
Setting up libkrb5-3:armhf (1.20.1-6+b1) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up liburing2:armhf (2.6-1) ...
Setting up libsharpyuv-dev:armhf (1.4.0-0.1) ...
Setting up libext2fs-dev (1.47.1~rc2-1) ...
Setting up libtasn1-6-dev:armhf (4.19.0-3+b2) ...
Setting up libwebpmux3:armhf (1.4.0-0.1) ...
Setting up libbsd0:armhf (0.12.2-1) ...
Setting up libtiffxx6:armhf (4.5.1+git230720-4) ...
Setting up libcap-dev:armhf (1:2.66-5) ...
Setting up libdeflate-dev:armhf (1.20-1) ...
Setting up libarchive13t64:armhf (3.7.2-2) ...
Setting up libicu-dev:armhf (72.1-4+b1) ...
Setting up libbsd-dev:armhf (0.12.2-1) ...
Setting up libjansson-dev:armhf (2.14-2) ...
Setting up libsystemd-dev:armhf (255.3-1+rpi1+b1) ...
Setting up libp11-kit-dev:armhf (0.25.3-5) ...
Setting up liburing-dev:armhf (2.6-1) ...
Setting up libtevent0t64:armhf (0.16.1-2) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up libpopt0:armhf (1.19+dfsg-1) ...
Setting up libacl1-dev:armhf (2.3.2-2+rpi1) ...
Setting up libbz2-dev:armhf (1.0.8-5.1) ...
Setting up libblkid-dev:armhf (2.40.1-1) ...
Setting up libncurses-dev:armhf (6.5-2) ...
Setting up libgmp-dev:armhf (2:6.3.0+dfsg-2) ...
Setting up nettle-dev:armhf (3.9.1-2.2) ...
Setting up libwebpdemux2:armhf (1.4.0-0.1) ...
Setting up libedit2:armhf (3.1-20230828-1) ...
Setting up libpng-dev:armhf (1.6.43-5) ...
Setting up xsltproc (1.1.35-1) ...
Setting up libavahi-common3:armhf (0.8-13+b2) ...
Setting up libjpeg-dev:armhf (1:2.1.5-3) ...
Setting up libjbig-dev:armhf (2.1-6.1+b1) ...
Setting up libreadline-dev:armhf (8.2-4) ...
Setting up pkgconf:armhf (1.8.1-1) ...
Setting up libpopt-dev:armhf (1.19+dfsg-1) ...
Setting up libldap2-dev (2.5.17+dfsg-1) ...
Setting up libtalloc-dev:armhf (2.4.2-1+b1) ...
Setting up libxml2-dev:armhf (2.9.14+dfsg-1.3+b4) ...
Setting up libwebp-dev:armhf (1.4.0-0.1) ...
Setting up libtiff-dev:armhf (4.5.1+git230720-4) ...
Setting up libgssapi-krb5-2:armhf (1.20.1-6+b1) ...
Setting up pkg-config:armhf (1.8.1-1) ...
Setting up libjs-sphinxdoc (7.2.6-6) ...
Setting up libarchive-dev:armhf (3.7.2-2) ...
Setting up libavahi-common-dev:armhf (0.8-13+b2) ...
Setting up xml-core (0.19) ...
Setting up libavahi-client3:armhf (0.8-13+b2) ...
Setting up libgnutls28-dev:armhf (3.8.5-2) ...
Setting up libtirpc3t64:armhf (1.3.4+ds-1.3) ...
Setting up libtevent-dev:armhf (0.16.1-2) ...
Setting up libtirpc-dev:armhf (1.3.4+ds-1.3) ...
Setting up libnsl2:armhf (1.3.0-3+b1) ...
Setting up libcups2t64:armhf (2.4.7-1.2) ...
Setting up libpython3.11-stdlib:armhf (3.11.9-1+b1) ...
Setting up libpython3.11t64:armhf (3.11.9-1+b1) ...
Setting up libcupsimage2t64:armhf (2.4.7-1.2) ...
Setting up libpython3.11-dev:armhf (3.11.9-1+b1) ...
Setting up libpython3-stdlib:armhf (3.11.8-1) ...
Setting up python3.11 (3.11.9-1+b1) ...
Setting up libpython3-dev:armhf (3.11.8-1) ...
Setting up python3.11-dev (3.11.9-1+b1) ...
Setting up python3 (3.11.8-1) ...
Setting up python3-six (1.16.0-6) ...
Setting up python3-tdb (1.4.10-1) ...
Setting up python3-markdown (3.6-1) ...
Setting up python3-urllib3 (1.26.18-2) ...
Setting up python3-dnspython (2.6.1-1) ...
Setting up python3-lib2to3 (3.12.3-1) ...
Setting up python3-pkg-resources (68.1.2-2) ...
Setting up python3-distutils (3.12.3-1) ...
Setting up python3-setuptools (68.1.2-2) ...
Setting up python3-talloc:armhf (2.4.2-1+b1) ...
Setting up python3-etcd (0.4.5-4) ...
Setting up python3-dev (3.11.8-1) ...
Setting up python3-talloc-dev:armhf (2.4.2-1+b1) ...
Setting up dh-python (6.20240422) ...
Setting up libdevmapper1.02.1:armhf (2:1.02.196-1) ...
Setting up dmsetup (2:1.02.196-1) ...
Setting up libcupsimage2-dev:armhf (2.4.7-1.2) ...
Setting up xfsprogs (6.7.0-3+b5) ...
Setting up libcups2-dev:armhf (2.4.7-1.2) ...
Setting up xfslibs-dev (6.7.0-3+b5) ...
Processing triggers for libc-bin (2.38-8+rpi1) ...
Processing triggers for man-db (2.12.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for sgml-base (1.31) ...
Setting up docbook-xsl (1.79.2+dfsg-7) ...
Setting up sgml-data (2.0.11+nmu1) ...
Setting up libdbus-1-dev:armhf (1.14.10-4+b1) ...
Setting up libavahi-client-dev:armhf (0.8-13+b2) ...
Processing triggers for sgml-base (1.31) ...
Setting up docbook-xml (4.5-13) ...
Processing triggers for sgml-base (1.31) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any all)

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 6.1.47-v8+ #1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023 arm64 (aarch64)
Toolchain package versions: binutils_2.41-6+rpi1+b1 dpkg-dev_1.22.5+rpi1 g++-12_12.3.0-14+rpi1 g++-13_13.2.0-16.1+rpi1 gcc-12_12.3.0-14+rpi1 gcc-13_13.2.0-16.1+rpi1 libc6-dev_2.38-8+rpi1 libstdc++-12-dev_12.3.0-14+rpi1 libstdc++-13-dev_13.2.0-16.1+rpi1 libstdc++6_14-20240221-2.1+rpi1 linux-libc-dev_6.5.6-1+rpi1+b1
Package versions: adduser_3.137 apt_2.9.3 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-14 autotools-dev_20220109.1 base-files_13+rpi1 base-passwd_3.6.3 bash_5.2.21-2 binutils_2.41-6+rpi1+b1 binutils-arm-linux-gnueabihf_2.41-6+rpi1+b1 binutils-common_2.41-6+rpi1+b1 bison_2:3.8.2+dfsg-1 bsdextrautils_2.40.1-1 bsdutils_1:2.40.1-1 build-essential_12.10 bzip2_1.0.8-5.1 comerr-dev_2.1-1.47.1~rc2-1 coreutils_9.4-3.1 cpp_4:13.2.0-1+rpi1 cpp-12_12.3.0-14+rpi1 cpp-13_13.2.0-16.1+rpi1 cpp-13-arm-linux-gnueabihf_13.2.0-16.1+rpi1 dash_0.5.12-6 debconf_1.5.86 debhelper_13.15.3 debianutils_5.17 dh-autoreconf_20 dh-exec_0.29+b1 dh-python_6.20240422 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.10-1 dirmngr_2.2.40-3 dmsetup_2:1.02.196-1 docbook-xml_4.5-13 docbook-xsl_1.79.2+dfsg-7 dpkg_1.22.5+rpi1 dpkg-dev_1.22.5+rpi1 dwz_0.15-1+b2 e2fsprogs_1.47.1~rc2-1 fakeroot_1.33-1 file_1:5.45-3 findutils_4.9.0-5 flex_2.6.4-8.2 g++_4:13.2.0-1+rpi1 g++-12_12.3.0-14+rpi1 g++-13_13.2.0-16.1+rpi1 g++-13-arm-linux-gnueabihf_13.2.0-16.1+rpi1 gcc_4:13.2.0-1+rpi1 gcc-10-base_10.4.0-7+rpi1 gcc-12_12.3.0-14+rpi1 gcc-12-base_12.3.0-14+rpi1 gcc-13_13.2.0-16.1+rpi1 gcc-13-arm-linux-gnueabihf_13.2.0-16.1+rpi1 gcc-13-base_13.2.0-16.1+rpi1 gcc-14-base_14-20240221-2.1+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-14 gettext-base_0.21-14 gnupg_2.2.40-3 gnupg-l10n_2.2.40-3 gnupg-utils_2.2.40-3 gpg_2.2.40-3 gpg-agent_2.2.40-3 gpg-wks-client_2.2.40-3 gpg-wks-server_2.2.40-3 gpgconf_2.2.40-3 gpgsm_2.2.40-3 gpgv_2.2.40-3 grep_3.11-4 groff-base_1.23.0-3 gzip_1.12-1.1 hostname_3.23+nmu2 icu-devtools_72.1-4+b1 init-system-helpers_1.66 intltool-debian_0.35.0+20060710.6 libacl1_2.3.2-2+rpi1 libacl1-dev_2.3.2-2+rpi1 libalgorithm-diff-perl_1.201-1 libalgorithm-merge-perl_0.08-5 libapt-pkg6.0t64_2.9.3 libarchive-cpio-perl_0.10-3 libarchive-dev_3.7.2-2 libarchive-zip-perl_1.68-1 libarchive13t64_3.7.2-2 libasan8_14-20240221-2.1+rpi1 libassuan-dev_2.5.6-1 libassuan0_2.5.6-1 libatomic1_14-20240221-2.1+rpi1 libattr1_1:2.5.2-1 libattr1-dev_1:2.5.2-1 libaudit-common_1:3.1.2-2 libaudit1_1:3.1.2-2 libavahi-client-dev_0.8-13+b2 libavahi-client3_0.8-13+b2 libavahi-common-data_0.8-13+b2 libavahi-common-dev_0.8-13+b2 libavahi-common3_0.8-13+b2 libbinutils_2.41-6+rpi1+b1 libblkid-dev_2.40.1-1 libblkid1_2.40.1-1 libbsd-dev_0.12.2-1 libbsd0_0.12.2-1 libbz2-1.0_1.0.8-5.1 libbz2-dev_1.0.8-5.1 libc-bin_2.38-8+rpi1 libc-dev-bin_2.38-8+rpi1 libc6_2.38-8+rpi1 libc6-dev_2.38-8+rpi1 libcap-dev_1:2.66-5 libcap-ng0_0.8.5-1 libcap2_1:2.66-5 libcc1-0_14-20240221-2.1+rpi1 libcmocka-dev_1.1.7-3 libcmocka0_1.1.7-3 libcom-err2_1.47.1~rc2-1 libcrypt-dev_1:4.4.36-4 libcrypt1_1:4.4.36-4 libctf-nobfd0_2.41-6+rpi1+b1 libctf0_2.41-6+rpi1+b1 libcups2-dev_2.4.7-1.2 libcups2t64_2.4.7-1.2 libcupsimage2-dev_2.4.7-1.2 libcupsimage2t64_2.4.7-1.2 libdata-optlist-perl_0.114-1 libdb5.3t64_5.3.28+dfsg2-7 libdbus-1-3_1.14.10-4+b1 libdbus-1-dev_1.14.10-4+b1 libdebconfclient0_0.271 libdebhelper-perl_13.15.3 libdeflate-dev_1.20-1 libdeflate0_1.20-1 libdevmapper1.02.1_2:1.02.196-1 libdpkg-perl_1.22.5+rpi1 libedit2_3.1-20230828-1 libelf1t64_0.191-1+rpi1 libevent-2.1-7t64_2.1.12-stable-8.1+rpi1 libexpat1_2.6.2-1 libexpat1-dev_2.6.2-1 libext2fs-dev_1.47.1~rc2-1 libext2fs2t64_1.47.1~rc2-1 libfakeroot_1.33-1 libffi8_3.4.6-1 libfile-stripnondeterminism-perl_1.13.1-1 libgcc-12-dev_12.3.0-14+rpi1 libgcc-13-dev_13.2.0-16.1+rpi1 libgcc-s1_14-20240221-2.1+rpi1 libgcrypt20_1.10.3-3 libgdbm-compat4t64_1.23-5.1+b1 libgdbm6t64_1.23-5.1+b1 libgmp-dev_2:6.3.0+dfsg-2 libgmp10_2:6.3.0+dfsg-2 libgmpxx4ldbl_2:6.3.0+dfsg-2 libgnutls-dane0t64_3.8.5-2 libgnutls-openssl27t64_3.8.5-2 libgnutls28-dev_3.8.5-2 libgnutls30t64_3.8.5-2 libgomp1_14-20240221-2.1+rpi1 libgpg-error-dev_1.49-2 libgpg-error0_1.49-2 libgpgme-dev_1.18.0-4 libgpgme11_1.18.0-4 libgssapi-krb5-2_1.20.1-6+b1 libhogweed6t64_3.9.1-2.2 libicu-dev_72.1-4+b1 libicu72_72.1-4+b1 libidn2-0_2.3.7-2 libidn2-dev_2.3.7-2 libinih1_58-1 libisl23_0.26-3 libjansson-dev_2.14-2 libjansson4_2.14-2 libjbig-dev_2.1-6.1+b1 libjbig0_2.1-6.1+b1 libjpeg-dev_1:2.1.5-3 libjpeg62-turbo_1:2.1.5-3 libjpeg62-turbo-dev_1:2.1.5-3 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_7.2.6-6 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libk5crypto3_1.20.1-6+b1 libkeyutils-dev_1.6.3-3 libkeyutils1_1.6.3-3 libkrb5-3_1.20.1-6+b1 libkrb5support0_1.20.1-6+b1 libksba8_1.6.6-1 libldap-2.5-0_2.5.17+dfsg-1 libldap-dev_2.5.17+dfsg-1 libldap2-dev_2.5.17+dfsg-1 liblerc-dev_4.0.0+ds-4+b1 liblerc4_4.0.0+ds-4+b1 liblmdb-dev_0.9.31-1 liblmdb0_0.9.31-1 libltdl-dev_2.4.7-7+b1 libltdl7_2.4.7-7+b1 liblz4-1_1.9.4-1+rpi1+b2 liblz4-dev_1.9.4-1+rpi1+b2 liblzma-dev_5.6.1+really5.4.5-1 liblzma5_5.6.1+really5.4.5-1 libmagic-mgc_1:5.45-3 libmagic1t64_1:5.45-3 libmail-sendmail-perl_0.80-3 libmd-dev_1.1.0-2 libmd0_1.1.0-2 libmount1_2.40.1-1 libmpc3_1.3.1-1 libmpfr6_4.2.1-1 libncurses-dev_6.5-2 libncurses6_6.5-2 libncursesw6_6.5-2 libnettle8t64_3.9.1-2.2 libnpth0t64_1.6-3.1 libnsl2_1.3.0-3+b1 libnumber-compare-perl_0.03-3 libp11-kit-dev_0.25.3-5 libp11-kit0_0.25.3-5 libpam-modules_1.5.3-7 libpam-modules-bin_1.5.3-7 libpam-runtime_1.5.3-7 libpam0g_1.5.3-7 libpam0g-dev_1.5.3-7 libparams-util-perl_1.102-3 libparse-yapp-perl_1.21-3 libpcre2-8-0_10.42-4+b1 libperl5.38t64_5.38.2-4 libpipeline1_1.5.7-2 libpkgconf3_1.8.1-1 libpng-dev_1.6.43-5 libpng16-16t64_1.6.43-5 libpopt-dev_1.19+dfsg-1 libpopt0_1.19+dfsg-1 libpython3-dev_3.11.8-1 libpython3-stdlib_3.11.8-1 libpython3.11-dev_3.11.9-1+b1 libpython3.11-minimal_3.11.9-1+b1 libpython3.11-stdlib_3.11.9-1+b1 libpython3.11t64_3.11.9-1+b1 libreadline-dev_8.2-4 libreadline8t64_8.2-4 libsasl2-2_2.1.28+dfsg1-6 libsasl2-modules-db_2.1.28+dfsg1-6 libseccomp2_2.5.5-1+rpi1 libselinux1_3.5-2+b2 libsemanage-common_3.5-1 libsemanage2_3.5-1 libsepol2_3.5-2+b1 libsframe1_2.41-6+rpi1+b1 libsharpyuv-dev_1.4.0-0.1 libsharpyuv0_1.4.0-0.1 libsmartcols1_2.40.1-1 libsqlite3-0_3.45.1-1 libss2_1.47.1~rc2-1 libssl3t64_3.2.1-3 libstdc++-12-dev_12.3.0-14+rpi1 libstdc++-13-dev_13.2.0-16.1+rpi1 libstdc++6_14-20240221-2.1+rpi1 libsub-exporter-perl_0.990-1 libsub-install-perl_0.929-1 libsub-override-perl_0.11-1 libsub-prototype-perl_0.03-2+b2 libsys-hostname-long-perl_1.5-3 libsystemd-dev_255.3-1+rpi1+b1 libsystemd0_255.3-1+rpi1+b1 libtalloc-dev_2.4.2-1+b1 libtalloc2_2.4.2-1+b1 libtasn1-6_4.19.0-3+b2 libtasn1-6-dev_4.19.0-3+b2 libtasn1-bin_4.19.0-3+b2 libtdb-dev_1.4.10-1 libtdb1_1.4.10-1 libtevent-dev_0.16.1-2 libtevent0t64_0.16.1-2 libtext-glob-perl_0.11-3 libtiff-dev_4.5.1+git230720-4 libtiff6_4.5.1+git230720-4 libtiffxx6_4.5.1+git230720-4 libtinfo6_6.5-2 libtirpc-common_1.3.4+ds-1.3 libtirpc-dev_1.3.4+ds-1.3 libtirpc3t64_1.3.4+ds-1.3 libtool_2.4.7-7 libubsan1_14-20240221-2.1+rpi1 libuchardet0_0.0.8-1 libudev1_255.3-1+rpi1+b1 libunbound8_1.20.0-1 libunistring5_1.2-1 liburcu8t64_0.14.0-3.1 liburing-dev_2.6-1 liburing2_2.6-1 libuuid1_2.40.1-1 libwebp-dev_1.4.0-0.1 libwebp7_1.4.0-0.1 libwebpdecoder3_1.4.0-0.1 libwebpdemux2_1.4.0-0.1 libwebpmux3_1.4.0-0.1 libxml2_2.9.14+dfsg-1.3+b4 libxml2-dev_2.9.14+dfsg-1.3+b4 libxslt1.1_1.1.35-1 libxxhash0_0.8.2-2+b1 libzstd-dev_1.5.5+dfsg2-2 libzstd1_1.5.5+dfsg2-2 linux-libc-dev_6.5.6-1+rpi1+b1 login_1:4.13+dfsg1-4 logsave_1.47.1~rc2-1 lsb-base_11.6+rpi1 m4_1.4.19-4 make_4.3-4.1 man-db_2.12.1-1 mawk_1.3.4.20240123-1 media-types_10.1.0 mount_2.40.1-1 nano_8.0-1 ncurses-base_6.5-2 ncurses-bin_6.5-2 netbase_6.4 nettle-dev_3.9.1-2.2 passwd_1:4.13+dfsg1-4 patch_2.7.6-7 perl_5.38.2-4 perl-base_5.38.2-4 perl-modules-5.38_5.38.2-4 pinentry-curses_1.2.1-3 pkg-config_1.8.1-1 pkgconf_1.8.1-1 pkgconf-bin_1.8.1-1 po-debconf_1.0.21+nmu1 python3_3.11.8-1 python3-dev_3.11.8-1 python3-distutils_3.12.3-1 python3-dnspython_2.6.1-1 python3-etcd_0.4.5-4 python3-lib2to3_3.12.3-1 python3-markdown_3.6-1 python3-minimal_3.11.8-1 python3-pkg-resources_68.1.2-2 python3-setuptools_68.1.2-2 python3-six_1.16.0-6 python3-talloc_2.4.2-1+b1 python3-talloc-dev_2.4.2-1+b1 python3-tdb_1.4.10-1 python3-urllib3_1.26.18-2 python3.11_3.11.9-1+b1 python3.11-dev_3.11.9-1+b1 python3.11-minimal_3.11.9-1+b1 raspbian-archive-keyring_20120528.2 readline-common_8.2-4 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.22 sgml-base_1.31 sgml-data_2.0.11+nmu1 sysvinit-utils_3.09-1 tar_1.35+dfsg-3 tzdata_2024a-4 usr-is-merged_39 util-linux_2.40.1-1 uuid-dev_2.40.1-1 xfslibs-dev_6.7.0-3+b5 xfsprogs_6.7.0-3+b5 xml-core_0.19 xsltproc_1.1.35-1 xz-utils_5.6.1+really5.4.5-1 zlib1g_1:1.3.dfsg+really1.3.1-1 zlib1g-dev_1:1.3.dfsg+really1.3.1-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: samba
Binary: samba, samba-libs, samba-common, samba-common-bin, samba-ad-dc, samba-ad-provision, smbclient, samba-testsuite, registry-tools, samba-dev, python3-samba, samba-dsdb-modules, samba-vfs-modules, libsmbclient0, libsmbclient, libsmbclient-dev, winbind, libpam-winbind, libnss-winbind, libwbclient0, libwbclient-dev, ctdb, libldb2, ldb-tools, libldb-dev, python3-ldb, python3-ldb-dev
Architecture: any all
Version: 2:4.20.1+dfsg-1
Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
Uploaders: Steve Langasek <vorlon@debian.org>, Jelmer Vernooij <jelmer@debian.org>, Mathieu Parent <sathieu@debian.org>, Andrew Bartlett <abartlet+debian@catalyst.net.nz>, Michael Tokarev <mjt@tls.msk.ru>
Homepage: https://www.samba.org
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/samba-team/samba
Vcs-Git: https://salsa.debian.org/samba-team/samba.git
Testsuite: autopkgtest
Testsuite-Triggers: cifs-utils, coreutils, passwd, systemd
Build-Depends: dpkg-dev (>= 1.22.5) <!pkg.samba.before-trixie>, debhelper-compat (= 13), dh-exec
Build-Depends-Arch: dh-sequence-python3, bison, docbook-xml, docbook-xsl, xsltproc, flex, perl:any, po-debconf, rpcsvc-proto <!pkg.samba.before-trixie>, libtalloc-dev (>= 2.4.2~), python3-talloc-dev (>= 2.4.2~), libtevent-dev (>= 0.16.1~), libtdb-dev (>= 1.4.10~), python3-tdb (>= 1.4.10~), pkgconf, libacl1-dev, libarchive-dev, libavahi-client-dev, libavahi-common-dev, libblkid-dev, libbsd-dev, libcap-dev [linux-any], libcephfs-dev [amd64 arm64 mips64el ppc64el riscv64 s390x], librados-dev [amd64 arm64 mips64el ppc64el riscv64 s390x], libcmocka-dev (>= 1.1.3), libcups2-dev, libdbus-1-dev, libglusterfs-dev [amd64 arm64 ppc64el ppc64 riscv64 mips64el s390x ia64 sparc64], libgnutls28-dev, libgpgme11-dev, libicu-dev, libjansson-dev, libkeyutils-dev, libkrb5-dev (>= 1.21.0~) <pkg.samba.mitkrb5>, libldap2-dev, liblmdb-dev, libpam0g-dev, libparse-yapp-perl, libpcap-dev [hurd-i386 kfreebsd-any], libpopt-dev, libreadline-dev, libtirpc-dev, libsystemd-dev [linux-any], libtasn1-6-dev (>= 3.8), libtasn1-bin, liburing-dev [linux-any], xfslibs-dev [linux-any], zlib1g-dev (>= 1:1.2.3), python3-dev:any | python3-dev, libpython3-dev, python3-dnspython, python3-etcd, python3-markdown
Package-List:
 ctdb deb net optional arch=any
 ldb-tools deb utils optional arch=any
 libldb-dev deb libdevel optional arch=any
 libldb2 deb libs optional arch=any
 libnss-winbind deb admin optional arch=any
 libpam-winbind deb admin optional arch=any
 libsmbclient deb libs optional arch=any profile=pkg.samba.before-trixie
 libsmbclient-dev deb libdevel optional arch=any
 libsmbclient0 deb libs optional arch=any profile=!pkg.samba.before-trixie
 libwbclient-dev deb libdevel optional arch=any
 libwbclient0 deb libs optional arch=any
 python3-ldb deb python optional arch=any
 python3-ldb-dev deb libdevel optional arch=any
 python3-samba deb python optional arch=any
 registry-tools deb net optional arch=any
 samba deb net optional arch=any
 samba-ad-dc deb net optional arch=all
 samba-ad-provision deb net optional arch=all
 samba-common deb net optional arch=all
 samba-common-bin deb net optional arch=any
 samba-dev deb devel optional arch=any
 samba-dsdb-modules deb libs optional arch=any
 samba-libs deb libs optional arch=any
 samba-testsuite deb net optional arch=any
 samba-vfs-modules deb net optional arch=any
 smbclient deb net optional arch=any
 winbind deb net optional arch=any
Checksums-Sha1:
 cb2ea69942607c791bdea75012ffe6d193aa12f8 26234720 samba_4.20.1+dfsg.orig.tar.xz
 ced4a9653aa72a114875a73861de32e75ea0033e 177456 samba_4.20.1+dfsg-1.debian.tar.xz
Checksums-Sha256:
 fa0c1a494f13970801bdeb4331c9dae626b52d68472e4b93e11098e37c0d89a7 26234720 samba_4.20.1+dfsg.orig.tar.xz
 97339a344a9f85f013ca4cb92044d331f71fbda17b4622b4ac9247def3b8379d 177456 samba_4.20.1+dfsg-1.debian.tar.xz
Files:
 a09e4788b8ad3794cac59e83b36747bc 26234720 samba_4.20.1+dfsg.orig.tar.xz
 c23f205fb820ce69bee059f5f71617aa 177456 samba_4.20.1+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmY7UtgPHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZZAYH/0tWF5OARDAMIhCE29dpZoxQmnRUYwULLuiL
Q70cKMDKWstcic2GzhBWCwkE+DQK0O5UFFEyIF7HpYj0GgoKMKK7Rxd79XaAZ3Yq
zwUG/6gwBwAdwopVM+tvtuyGrEvwKvXekBIXlpHM5EdbEZKJsOz2tgaa1Lp6rgqn
T5JtfY5egHUjI8D6AmDmuAsw0Si3vZMtVg5a76tpalvWadYi6HucG8IIgxYq6L6f
ePzTzbgLK5qlETMZAwdeOBnQ5rVyQXW/SW6NeUjJezfDr5pmcUlZ2XviDDOqUcG/
L/CFrG3aap4AtzMbtsS8yIIZopBFlmc+I/Np567rpBqxFBJYQ/U=
=9lrd
-----END PGP SIGNATURE-----

gpgv: Signature made Wed May  8 10:24:24 2024 UTC
gpgv:                using RSA key 7B73BAD68BE7A2C289314B22701B4F6B1A693E59
gpgv:                issuer "mjt@tls.msk.ru"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./samba_4.20.1+dfsg-1.dsc: no acceptable signature found
dpkg-source: info: extracting samba in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking samba_4.20.1+dfsg.orig.tar.xz
dpkg-source: info: unpacking samba_4.20.1+dfsg-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying libsmbclient-ensure-lfs-221618.patch
dpkg-source: info: applying hurd-compat.patch
dpkg-source: info: applying README_nosmbldap-tools.patch
dpkg-source: info: applying smbclient-pager.patch
dpkg-source: info: applying usershare.patch
dpkg-source: info: applying heimdal-rfc3454.txt
dpkg-source: info: applying add-so-version-to-private-libraries
dpkg-source: info: applying fix-nfs-service-name-to-nfs-kernel-server.patch
dpkg-source: info: applying ctdb-config-enable-syslog-by-default.patch
dpkg-source: info: applying Force-LDB-as-standalone.patch
dpkg-source: info: applying use-bzero-instead-of-memset_s.diff
dpkg-source: info: applying ctdb_etcd_lock-path.patch
dpkg-source: info: applying ctdb-create-piddir.patch
dpkg-source: info: applying silence-waf-uselib_local.diff
dpkg-source: info: applying disable-setuid-confchecks.patch
dpkg-source: info: applying move-msg.sock-from-var-lib-samba-to-run-samba.patch
dpkg-source: info: applying testparm-do-not-fail-if-pid-dir-does-not-exist.patch
dpkg-source: info: applying add-missing-libs-deps.diff
dpkg-source: info: applying heimdal-spelling.patch
dpkg-source: info: applying fruit-disable-useless-size_t-overflow-check.patch
dpkg-source: info: applying meaningful-error-if-no-samba-ad-provision.patch
dpkg-source: info: applying meaningful-error-if-no-python3-markdown.patch
dpkg-source: info: applying ctdb-use-run-instead-of-var-run.patch
dpkg-source: info: applying silence-can-not-convert-group-sid.diff
dpkg-source: info: applying edns0.patch
dpkg-source: info: applying passchange-error-message.patch
dpkg-source: info: applying lower-dns-lookup-mismatch-messages.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=trixie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=trixie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=124
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=trixie-staging-armhf-sbuild-ef262ffd-74c2-44cb-9f2a-c714c37af750
SCHROOT_UID=114
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -mRaspbian pi5 test autobuilder <root@raspbian.org> -B -rfakeroot
dpkg-buildpackage: info: source package samba
dpkg-buildpackage: info: source version 2:4.20.1+dfsg-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 debian/rules clean
# see also debian/clean
dh_clean bin/ testbuild/
[ ! -f VERSION.orig ] || mv -f VERSION.orig VERSION
 debian/rules binary-arch
dh binary-arch
   debian/rules install-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh install-arch
   debian/rules build-arch
make[2]: Entering directory '/<<PKGBUILDDIR>>'
if [ ! -f VERSION.orig ]; then \
  mv VERSION VERSION.orig; \
  sed -r -e 's/^(SAMBA_VERSION_VENDOR_SUFFIX).*/\1=Raspbian/' \
	VERSION.orig > VERSION; \
fi
CC="arm-linux-gnueabihf-gcc" CPP="arm-linux-gnueabihf-gcc -E" LD="arm-linux-gnueabihf-ld" PKGCONFIG="arm-linux-gnueabihf-pkgconf" \
CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2" CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -ffile-prefix-map=../../=" LDFLAGS="-Wl,-z,relro -Wl,-z,now" \
PYTHON=python3 PYTHON_CONFIG=arm-linux-gnueabihf-python3-config \
    PYTHONHASHSEED=1 ./buildtools/bin/waf -j4 -j1 -C configure --prefix=/usr --enable-fhs --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --libdir=/usr/lib/arm-linux-gnueabihf --datadir=/usr/share --with-modulesdir=/usr/lib/arm-linux-gnueabihf/samba --with-pammodulesdir=/lib/arm-linux-gnueabihf/security --with-privatedir=/var/lib/samba/private --with-smbpasswd-file=/etc/samba/smbpasswd --with-piddir=/run/samba --with-lockdir=/run/samba --with-sockets-dir=/run/samba --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba --with-pam --with-syslog --with-utmp --with-winbind --with-automount --with-ldap --with-ads --with-gpgme --enable-avahi --enable-spotlight --with-profiling-data --disable-rpath --disable-rpath-install --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2,vfs_dfs_samba4,auth_samba4,vfs_nfs4acl_xattr --bundled-libraries=NONE,pytevent,ldb --with-cluster-support --enable-etcd-reclock --with-socketpath=/run/ctdb/ctdbd.socket --with-logdir=/var/log/ctdb  --with-quota --with-systemd   --disable-cephfs || \
  { echo "==== contents of config.log:"; cat bin/config.log; false; }
Setting top to                           : /<<PKGBUILDDIR>> 
Setting out to                           : /<<PKGBUILDDIR>>/bin 
Checking for 'gcc' (C compiler)          : arm-linux-gnueabihf-gcc 
Checking for program 'git'               : not found 
Checking for c flags '-MMD'              : yes 
Checking for program 'gdb'               : not found 
Checking for header sys/utsname.h        : yes 
Checking uname sysname type              : Linux 
Checking uname machine type              : aarch64 
Checking uname release type              : 6.1.47-v8+ 
Checking uname version type              : #1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023 
Checking for header stdio.h              : yes 
Checking simple C program                : ok 
Checking compiler accepts ['-Werror']    : yes 
Checking linker accepts ['-Wl,-rpath,.'] : yes 
Checking for rpath library support       : yes 
Checking for -Wl,--version-script support : yes 
Checking compiler accepts ['-fvisibility=hidden'] : yes 
Checking for HAVE_VISIBILITY_ATTR                 : ok 
Checking for library constructor support          : ok 
Checking for library destructor support           : ok 
Checking for __attribute__                        : ok 
Checking compiler accepts ['-fPIC']               : yes 
Checking for inline                               : inline 
Checking for program 'pkg-config'                 : arm-linux-gnueabihf-pkgconf 
Checking for pkg-config version >= '0.0.0'        : yes 
Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1'] : yes 
Checking compiler accepts ['']                           : yes 
Checking for header sys/types.h                          : yes 
Checking for header sys/stat.h                           : yes 
Checking for header stdlib.h                             : yes 
Checking for header stddef.h                             : yes 
Checking for header memory.h                             : yes 
Checking for header string.h                             : yes 
Checking for header strings.h                            : yes 
Checking for header inttypes.h                           : yes 
Checking for header stdint.h                             : yes 
Checking for header unistd.h                             : yes 
Checking for header minix/config.h                       : no 
Checking for header ctype.h                              : yes 
Checking for header standards.h                          : no 
Checking for header stdbool.h                            : yes 
Checking for header stdarg.h                             : yes 
Checking for header vararg.h                             : no 
Checking for header limits.h                             : yes 
Checking for header assert.h                             : yes 
Checking getconf LFS_CFLAGS                              : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
Checking getconf large file support flags work           : ok 
Checking for large file support without additional flags : ok 
Checking for header sys/time.h                           : yes 
Checking for header time.h                               : yes 
Checking for header endian.h                             : yes 
Checking for header sys/endian.h                         : no 
Checking for HAVE_LITTLE_ENDIAN                          : ok 
Checking for HAVE_BIG_ENDIAN                             : not found 
Checking for header signal.h                             : yes 
Checking if signal handlers return int                   : not found 
Checking for variable __FUNCTION__                       : ok 
Checking for va_copy                                     : ok 
Checking for header linux/types.h                        : yes 
Checking for header crypt.h                              : yes 
Checking for header locale.h                             : yes 
Checking for header acl/libacl.h                         : yes 
Checking for header compat.h                             : no 
Checking for header attr/xattr.h                         : yes 
Checking for header dustat.h                             : no 
Checking for header fcntl.h                              : yes 
Checking for header fnmatch.h                            : yes 
Checking for header glob.h                               : yes 
Checking for header history.h                            : no 
Checking for header krb5.h                               : no 
Checking for header langinfo.h                           : yes 
Checking for header ndir.h                               : no 
Checking for header pwd.h                                : yes 
Checking for header shadow.h                             : yes 
Checking for header sys/acl.h                            : yes 
Checking for header sys/attributes.h                     : no 
Checking for header attr/attributes.h                    : yes 
Checking for header sys/capability.h                     : yes 
Checking for header sys/dir.h                            : yes 
Checking for header sys/epoll.h                          : yes 
Checking for header sys/fcntl.h                          : yes 
Checking for header sys/filio.h                          : no 
Checking for header sys/filsys.h                         : no 
Checking for header sys/fs/s5param.h                     : no 
Checking for header sys/id.h                             : no 
Checking for header sys/ioctl.h                          : yes 
Checking for header sys/ipc.h                            : yes 
Checking for header sys/mman.h                           : yes 
Checking for header sys/mode.h                           : no 
Checking for header sys/ndir.h                           : no 
Checking for header sys/priv.h                           : no 
Checking for header sys/resource.h                       : yes 
Checking for header sys/security.h                       : no 
Checking for header sys/shm.h                            : yes 
Checking for header sys/statfs.h                         : yes 
Checking for header sys/statvfs.h                        : yes 
Checking for header sys/termio.h                         : no 
Checking for header sys/vfs.h                            : yes 
Checking for header sys/xattr.h                          : yes 
Checking for header termio.h                             : yes 
Checking for header termios.h                            : yes 
Checking for header sys/file.h                           : yes 
Checking for header sys/ucontext.h                       : yes 
Checking for header sys/wait.h                           : yes 
Checking for declaration of malloc                       : ok 
Checking for header grp.h                                : yes 
Checking for header sys/select.h                         : yes 
Checking for header setjmp.h                             : yes 
Checking for header utime.h                              : yes 
Checking for header sys/syslog.h                         : yes 
Checking for header syslog.h                             : yes 
Checking for header sys/mount.h                          : yes 
Checking for header mntent.h                             : yes 
Checking for header stropts.h                            : no 
Checking for header unix.h                               : no 
Checking for header sys/param.h                          : yes 
Checking for header sys/socket.h                         : yes 
Checking for header netinet/in.h                         : yes 
Checking for header netdb.h                              : yes 
Checking for header arpa/inet.h                          : yes 
Checking for header netinet/in_systm.h                   : yes 
Checking for header netinet/ip.h                         : yes 
Checking for header netinet/tcp.h                        : yes 
Checking for header netinet/in_ip.h                      : no 
Checking for header sys/sockio.h                         : no 
Checking for header sys/un.h                             : yes 
Checking for header sys/uio.h                            : yes 
Checking for header ifaddrs.h                            : yes 
Checking for header direct.h                             : no 
Checking for header dirent.h                             : yes 
Checking for header windows.h                            : no 
Checking for header winsock2.h                           : no 
Checking for header ws2tcpip.h                           : no 
Checking for header errno.h                              : yes 
Checking for header getopt.h                             : yes 
Checking for header iconv.h                              : yes 
Checking for header nss.h                                : yes 
Checking for header sasl/sasl.h                          : no 
Checking for header linux/openat2.h                      : yes 
Checking for inotify_init                                : ok 
Checking for header security/pam_appl.h                  : yes 
Checking for header zlib.h                               : yes 
Checking for header asm/unistd.h                         : yes 
Checking for header sys/unistd.h                         : yes 
Checking for header alloca.h                             : yes 
Checking for header float.h                              : yes 
Checking for header rpc/rpc.h                            : no 
Checking for header rpc/nettype.h                        : no 
Checking for tirpc rpc headers in default system path    : not found 
Checking for libtirpc headers                            : yes 
Checking for header rpc/rpc.h                            : yes 
Checking for header rpc/nettype.h                        : yes 
Checking for header sys/sysctl.h                         : not found 
Checking for header sys/fileio.h                         : no 
Checking for header sys/filesys.h                        : no 
Checking for header sys/dustat.h                         : no 
Checking for header sys/sysmacros.h                      : yes 
Checking for header xfs/libxfs.h                         : no 
Checking for header netgroup.h                           : no 
Checking for header valgrind.h                           : no 
Checking for header valgrind/valgrind.h                  : no 
Checking for header valgrind/memcheck.h                  : no 
Checking for header valgrind/helgrind.h                  : no 
Checking for header valgrind/callgrind.h                 : no 
Checking for header nss_common.h                         : no 
Checking for header nsswitch.h                           : no 
Checking for header ns_api.h                             : no 
Checking for header sys/extattr.h                        : no 
Checking for header sys/ea.h                             : no 
Checking for header sys/proplist.h                       : no 
Checking for header sys/cdefs.h                          : yes 
Checking for header utmp.h                               : yes 
Checking for header utmpx.h                              : yes 
Checking for header lastlog.h                            : yes 
Checking for header syscall.h                            : yes 
Checking for header sys/syscall.h                        : yes 
Checking for header sys/atomic.h                         : no 
Checking for header stdatomic.h                          : yes 
Checking for header libgen.h                             : yes 
Checking compiler accepts -Wno-format-truncation         : yes 
Checking compiler accepts -Wno-unused-function           : yes 
Checking compiler accepts -Wno-strict-overflow           : yes 
Checking compiler accepts -Wno-unused-but-set-variable   : yes 
Checking compiler accepts -Wuse-after-free=1             : yes 
Checking for header sys/prctl.h                          : yes 
Checking for prctl syscall                               : ok 
Checking for O_DIRECT flag to open(2)                    : ok 
Checking for long long                                   : ok 
Checking for intptr_t                                    : ok 
Checking for uintptr_t                                   : ok 
Checking for ptrdiff_t                                   : ok 
Checking for comparison_fn_t                             : ok 
Checking for bool                                        : ok 
Checking for int8_t                                      : ok 
Checking for uint8_t                                     : ok 
Checking for int16_t                                     : ok 
Checking for uint16_t                                    : ok 
Checking for int32_t                                     : ok 
Checking for uint32_t                                    : ok 
Checking for int64_t                                     : ok 
Checking for uint64_t                                    : ok 
Checking for size_t                                      : ok 
Checking for ssize_t                                     : ok 
Checking for ino_t                                       : ok 
Checking for loff_t                                      : ok 
Checking for offset_t                                    : not found 
Checking for volatile int                                : ok 
Checking for uint_t                                      : not found 
Checking for blksize_t                                   : ok 
Checking for blkcnt_t                                    : ok 
Checking if size of bool == 1                            : ok 
Checking if size of char == 1                            : ok 
Checking if size of int == 1                             : not found 
Checking if size of int == 2                             : not found 
Checking if size of int == 4                             : ok 
Checking if size of long long == 1                       : not found 
Checking if size of long long == 2                       : not found 
Checking if size of long long == 4                       : not found 
Checking if size of long long == 8                       : ok 
Checking if size of long == 1                            : not found 
Checking if size of long == 2                            : not found 
Checking if size of long == 4                            : ok 
Checking if size of short == 1                           : not found 
Checking if size of short == 2                           : ok 
Checking if size of size_t == 1                          : not found 
Checking if size of size_t == 2                          : not found 
Checking if size of size_t == 4                          : ok 
Checking if size of ssize_t == 1                         : not found 
Checking if size of ssize_t == 2                         : not found 
Checking if size of ssize_t == 4                         : ok 
Checking if size of int8_t == 1                          : ok 
Checking if size of uint8_t == 1                         : ok 
Checking if size of int16_t == 1                         : not found 
Checking if size of int16_t == 2                         : ok 
Checking if size of uint16_t == 1                        : not found 
Checking if size of uint16_t == 2                        : ok 
Checking if size of int32_t == 1                         : not found 
Checking if size of int32_t == 2                         : not found 
Checking if size of int32_t == 4                         : ok 
Checking if size of uint32_t == 1                        : not found 
Checking if size of uint32_t == 2                        : not found 
Checking if size of uint32_t == 4                        : ok 
Checking if size of int64_t == 1                         : not found 
Checking if size of int64_t == 2                         : not found 
Checking if size of int64_t == 4                         : not found 
Checking if size of int64_t == 8                         : ok 
Checking if size of uint64_t == 1                        : not found 
Checking if size of uint64_t == 2                        : not found 
Checking if size of uint64_t == 4                        : not found 
Checking if size of uint64_t == 8                        : ok 
Checking if size of void* == 1                           : not found 
Checking if size of void* == 2                           : not found 
Checking if size of void* == 4                           : ok 
Checking if size of off_t == 1                           : not found 
Checking if size of off_t == 2                           : not found 
Checking if size of off_t == 4                           : not found 
Checking if size of off_t == 8                           : ok 
Checking if size of dev_t == 1                           : not found 
Checking if size of dev_t == 2                           : not found 
Checking if size of dev_t == 4                           : not found 
Checking if size of dev_t == 8                           : ok 
Checking if size of ino_t == 1                           : not found 
Checking if size of ino_t == 2                           : not found 
Checking if size of ino_t == 4                           : not found 
Checking if size of ino_t == 8                           : ok 
Checking if size of time_t == 1                          : not found 
Checking if size of time_t == 2                          : not found 
Checking if size of time_t == 4                          : not found 
Checking if size of time_t == 8                          : ok 
Checking for socklen_t                                   : ok 
Checking for struct ifaddrs                              : ok 
Checking for struct addrinfo                             : ok 
Checking for struct sockaddr                             : ok 
Checking for HAVE_STRUCT_SOCKADDR_IN6                    : ok 
Checking for struct sockaddr_storage                     : ok 
Checking for sa_family_t                                 : ok 
Checking for sig_atomic_t                                : ok 
Checking for sigsetmask                                  : ok 
Checking for siggetmask                                  : ok 
Checking for sigprocmask                                 : ok 
Checking for sigblock                                    : ok 
Checking for sigaction                                   : ok 
Checking for sigset                                      : ok 
Checking for inet_ntoa                                   : ok 
Checking for inet_aton                                   : ok 
Checking for inet_ntop                                   : ok 
Checking for inet_pton                                   : ok 
Checking for connect                                     : ok 
Checking for gethostbyname                               : ok 
Checking for getaddrinfo                                 : ok 
Checking for getnameinfo                                 : ok 
Checking for freeaddrinfo                                : ok 
Checking for gai_strerror                                : ok 
Checking for socketpair                                  : ok 
Checking for memset_s                                    : not found 
Checking for memset_explicit                             : not found 
Checking for volatile memory protection                  : ok 
Checking for variable IPV6_V6ONLY                        : ok 
Checking for header net/if.h                             : yes 
Checking for HAVE_IPV6                                   : ok 
Checking whether we have ucontext_t                      : ok 
Checking for __sync_fetch_and_add compiler builtin       : ok 
Checking for __sync_add_and_fetch compiler builtin       : ok 
Checking for atomic_add_32 compiler builtin              : not found 
Checking for __atomic_add_fetch compiler builtin         : ok 
Checking for __atomic_load compiler builtin              : ok 
Checking for atomic_thread_fence(memory_order_seq_cst) in stdatomic.h : ok 
Checking for fallthrough attribute                                    : ok 
Checking for strdup                                                   : ok 
Checking for memmem                                                   : ok 
Checking for printf                                                   : ok 
Checking for memset                                                   : ok 
Checking for memcpy                                                   : ok 
Checking for memmove                                                  : ok 
Checking for strcpy                                                   : ok 
Checking for strncpy                                                  : ok 
Checking for bzero                                                    : ok 
Checking for shl_load                                                 : not found 
Checking for shl_unload                                               : not found 
Checking for shl_findsym                                              : not found 
Checking for pipe                                                     : ok 
Checking for strftime                                                 : ok 
Checking for srandom                                                  : ok 
Checking for random                                                   : ok 
Checking for srand                                                    : ok 
Checking for rand                                                     : ok 
Checking for usleep                                                   : ok 
Checking for setbuffer                                                : ok 
Checking for lstat                                                    : ok 
Checking for getpgrp                                                  : ok 
Checking for utime                                                    : ok 
Checking for utimes                                                   : ok 
Checking for setuid                                                   : ok 
Checking for seteuid                                                  : ok 
Checking for setreuid                                                 : ok 
Checking for setresuid                                                : ok 
Checking for setgid                                                   : ok 
Checking for setegid                                                  : ok 
Checking for setregid                                                 : ok 
Checking for setresgid                                                : ok 
Checking for chroot                                                   : ok 
Checking for strerror                                                 : ok 
Checking for vsyslog                                                  : ok 
Checking for setlinebuf                                               : ok 
Checking for mktime                                                   : ok 
Checking for ftruncate                                                : ok 
Checking for chsize                                                   : not found 
Checking for rename                                                   : ok 
Checking for waitpid                                                  : ok 
Checking for wait4                                                    : ok 
Checking for initgroups                                               : ok 
Checking for pread                                                    : ok 
Checking for pwrite                                                   : ok 
Checking for strndup                                                  : ok 
Checking for strcasestr                                               : ok 
Checking for strsep                                                   : ok 
Checking for strtok_r                                                 : ok 
Checking for mkdtemp                                                  : ok 
Checking for dup2                                                     : ok 
Checking for dprintf                                                  : ok 
Checking for vdprintf                                                 : ok 
Checking for isatty                                                   : ok 
Checking for chown                                                    : ok 
Checking for lchown                                                   : ok 
Checking for link                                                     : ok 
Checking for readlink                                                 : ok 
Checking for symlink                                                  : ok 
Checking for realpath                                                 : ok 
Checking for snprintf                                                 : ok 
Checking for vsnprintf                                                : ok 
Checking for asprintf                                                 : ok 
Checking for vasprintf                                                : ok 
Checking for setenv                                                   : ok 
Checking for unsetenv                                                 : ok 
Checking for strnlen                                                  : ok 
Checking for strtoull                                                 : ok 
Checking for __strtoull                                               : not found 
Checking for strtouq                                                  : ok 
Checking for strtoll                                                  : ok 
Checking for __strtoll                                                : not found 
Checking for strtoq                                                   : ok 
Checking for memalign                                                 : ok 
Checking for posix_memalign                                           : ok 
Checking for fmemopen                                                 : ok 
Checking for header malloc.h                                          : yes 
Checking for declaration of memalign                                  : ok 
Checking for posix_fallocate-capable libc                             : ok 
Checking for posix_fallocate                                          : ok 
Checking for prctl                                                    : ok 
Checking for dirname                                                  : ok 
Checking for basename                                                 : ok 
Checking for strlcpy                                                  : ok 
Checking for strlcat                                                  : ok 
Checking for getpeereid                                               : not found 
Checking for library bsd                                              : yes 
Checking for getpeereid in bsd                                        : ok 
Checking for library setproctitle                                     : no 
Checking for setproctitle                                             : not found 
Checking for setproctitle in bsd                                      : ok 
Checking for setproctitle_init                                        : not found 
Checking for setproctitle_init in bsd                                 : ok 
Checking for closefrom                                                : ok 
Checking whether we can use SO_PEERCRED to get socket credentials     : ok 
Checking correct behavior of strtoll                                  : not found 
Checking for if_nameindex                                             : ok 
Checking for if_nametoindex                                           : ok 
Checking for strerror_r                                               : ok 
Checking for syslog                                                   : ok 
Checking for gai_strerror                                             : ok 
Checking for get_current_dir_name                                     : ok 
Checking for timegm                                                   : ok 
Checking for getifaddrs                                               : ok 
Checking for freeifaddrs                                              : ok 
Checking for mmap                                                     : ok 
Checking for setgroups                                                : ok 
Checking for syscall                                                  : ok 
Checking for setsid                                                   : ok 
Checking for getgrent_r                                               : ok 
Checking for getgrgid_r                                               : ok 
Checking for getgrnam_r                                               : ok 
Checking for getgrouplist                                             : ok 
Checking for getpagesize                                              : ok 
Checking for getpwent_r                                               : ok 
Checking for getpwnam_r                                               : ok 
Checking for getpwuid_r                                               : ok 
Checking for epoll_create1                                            : ok 
Checking for getprogname                                              : not found 
Checking for copy_file_range                                          : ok 
Checking for getxattr                                                 : ok 
Checking whether xattr interface takes additional options             : not found 
Checking for dlopen                                                   : ok 
Checking for dlsym                                                    : ok 
Checking for dlerror                                                  : ok 
Checking for dlclose                                                  : ok 
Checking for declaration of dlopen                                    : ok 
Checking C prototype for dlopen                                       : not found 
Checking for fdatasync                                                : ok 
Checking for declaration of fdatasync                                 : ok 
Checking for clock_gettime                                            : ok 
Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok 
Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok 
Checking whether the clock_gettime clock ID CLOCK_REALTIME is available           : ok 
Checking for struct timespec                                                      : ok 
Checking for header arpa/nameser.h                                                : yes 
Checking for header resolv.h                                                      : yes 
Checking for res_search                                                           : ok 
Checking for header libintl.h                                                     : yes 
Checking for library intl                                                         : no 
Checking for declaration of dgettext                                              : ok 
Checking for declaration of gettext                                               : ok 
Checking for declaration of bindtextdomain                                        : ok 
Checking for declaration of textdomain                                            : ok 
Checking for declaration of bind_textdomain_codeset                               : ok 
Checking for bindtextdomain                                                       : ok 
Checking for textdomain                                                           : ok 
Checking for bind_textdomain_codeset                                              : ok 
Checking for dgettext                                                             : ok 
Checking for gettext                                                              : ok 
Checking for pthread_create                                                       : ok 
Checking for pthread_attr_init                                                    : ok 
Checking for pthread_mutexattr_setrobust                                          : ok 
Checking for declaration of PTHREAD_MUTEX_ROBUST                                  : not found 
Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum)                        : ok 
Checking for pthread_mutex_consistent                                             : ok 
Checking for __thread local storage                                               : ok 
Checking for crypt                                                                : not found 
Checking for library crypt                                                        : yes 
Checking for crypt in crypt                                                       : ok 
Checking for crypt_r                                                              : not found 
Checking for crypt_r in crypt                                                     : ok 
Checking for crypt_rn                                                             : not found 
Checking for crypt_rn in crypt                                                    : ok 
Checking for header readline.h                                                    : no 
Checking for header readline/readline.h                                           : yes 
Checking for header readline/history.h                                            : yes 
Checking for variable rl_event_hook                                               : ok 
Checking for variable program_invocation_short_name                               : ok 
Checking for declaration of snprintf                                              : ok 
Checking for declaration of vsnprintf                                             : ok 
Checking for declaration of asprintf                                              : ok 
Checking for declaration of vasprintf                                             : ok 
Checking for declaration of errno                                                 : ok 
Checking for declaration of EWOULDBLOCK                                           : ok 
Checking for declaration of environ                                               : ok 
Checking for declaration of getgrent_r                                            : ok 
Checking for declaration of getpwent_r                                            : ok 
Checking for declaration of pread                                                 : ok 
Checking for declaration of pwrite                                                : ok 
Checking for declaration of setenv                                                : ok 
Checking for declaration of setresgid                                             : ok 
Checking for declaration of setresuid                                             : ok 
Checking for eventfd                                                              : ok 
Checking for header poll.h                                                        : yes 
Checking for poll                                                                 : ok 
Checking for strptime                                                             : ok 
Checking for declaration of strptime                                              : ok 
Checking for working strptime                                                     : ok 
Checking for declaration of gettimeofday                                          : ok 
Checking C prototype for gettimeofday                                             : not found 
Checking C prototype for gettimeofday                                             : ok 
Checking for C99 vsnprintf                                                        : ok 
Checking for HAVE_SHARED_MMAP                                                     : ok 
Checking for HAVE_MREMAP                                                          : ok 
Checking for HAVE_INCOHERENT_MMAP                                                 : not found 
Checking for HAVE_IMMEDIATE_STRUCTURES                                            : ok 
Checking for HAVE_MKDIR_MODE                                                      : ok 
Checking for member st_rdev in struct stat                                        : ok 
Checking for member st_rdev in struct stat                                        : ok 
Checking for member ss_family in struct sockaddr_storage                          : ok 
Checking for member __ss_family in struct sockaddr_storage                        : not found 
Checking for member sa_len in struct sockaddr                                     : not found 
Checking for member sin_len in struct sockaddr_in                                 : not found 
Checking for member sin6_len in struct sockaddr_in6                               : not found 
Checking for HAVE_UNIXSOCKET                                                      : ok 
Checking for HAVE_SECURE_MKSTEMP                                                  : ok 
Checking for HAVE_IFACE_GETIFADDRS                                                : not found 
Checking for HAVE_IFACE_AIX                                                       : not found 
Checking for HAVE_IFACE_IFCONF                                                    : not found 
Checking for HAVE_IFACE_IFREQ                                                     : not found 
Checking for declaration of getpwent_r                                            : ok 
Checking C prototype for getpwent_r                                               : not found 
Checking for declaration of getgrent_r                                            : ok 
Checking C prototype for getgrent_r                                               : not found 
Checking C prototype for getpwent_r                                               : not found 
Checking C prototype for getgrent_r                                               : not found 
Checking for strerror_r                                                           : ok 
Checking for XSI (rather than GNU) prototype for strerror_r                       : not found 
Checking for HAVE_FUSE_FUSE_LOWLEVEL_H                                            : not found 
Checking for program 'i386-mingw32-gcc'                                           : not found 
Checking for program 'i386-mingw32msvc-gcc'                                       : not found 
Checking for program 'i386-w64-mingw32-gcc'                                       : not found 
Checking for program 'i586-mingw32-gcc'                                           : not found 
Checking for program 'i586-mingw32msvc-gcc'                                       : not found 
Checking for program 'i586-w64-mingw32-gcc'                                       : not found 
Checking for program 'i686-mingw32-gcc'                                           : not found 
Checking for program 'i686-mingw32msvc-gcc'                                       : not found 
Checking for program 'i686-w64-mingw32-gcc'                                       : not found 
Checking for program 'x86_64-mingw32-gcc'                                         : not found 
Checking for program 'x86_64-mingw32msvc-gcc'                                     : not found 
Checking for program 'x86_64-w64-mingw32-gcc'                                     : not found 
Checking for program 'amd64-mingw32-gcc'                                          : not found 
Checking for program 'amd64-mingw32msvc-gcc'                                      : not found 
Checking for program 'amd64-w64-mingw32-gcc'                                      : not found 
Checking for program 'perl'                                                       : /usr/bin/perl 
Checking for program 'perl'                                                       : /usr/bin/perl 
Checking for minimum perl version 5.0.0                                           : 5.38.2 
Checking for perl $Config{vendorprefix}:                                          : '/usr' 
Checking for perl $Config{vendorarch}:                                            : '/usr/lib/arm-linux-gnueabihf/perl5/5.38' 
PERL_ARCH_INSTALL_DIR:                                                            : '/usr/lib/arm-linux-gnueabihf/perl5/5.38' 
Checking for perl $Config{vendorlib}:                                             : '/usr/share/perl5' 
PERL_LIB_INSTALL_DIR:                                                             : '/usr/share/perl5' 
PERL_INC:                                                                         : ['/etc/perl', '/usr/local/lib/arm-linux-gnueabihf/perl/5.38.2', '/usr/local/share/perl/5.38.2', '/usr/lib/arm-linux-gnueabihf/perl5/5.38', '/usr/share/perl5', '/usr/lib/arm-linux-gnueabihf/perl-base', '/usr/lib/arm-linux-gnueabihf/perl/5.38', '/usr/share/perl/5.38', '/usr/local/lib/site_perl'] 
Checking for program 'xsltproc'                                                   : /usr/bin/xsltproc 
Checking for program 'python3'                                                    : python3 
Checking for program 'python'                                                     : python3 
Checking for program 'python3'                                                    : /usr/bin/python3 
Checking for python version >= 3.6.0                                              : 3.11.9 
python-config                                                                     : arm-linux-gnueabihf-python3-config 
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags        : yes 
Testing pyembed configuration                                                     : yes 
Asking python-config for pyext '--cflags --libs --ldflags' flags                  : yes 
Testing pyext configuration                                                       : yes 
Dynconfig[BINDIR]:                                                                : '/usr/bin' 
Dynconfig[SBINDIR]:                                                               : '/usr/sbin' 
Dynconfig[LIBDIR]:                                                                : '/usr/lib/arm-linux-gnueabihf' 
Dynconfig[LIBEXECDIR]:                                                            : '/usr/libexec' 
Dynconfig[SAMBA_LIBEXECDIR]:                                                      : '/usr/libexec/samba' 
Dynconfig[DATADIR]:                                                               : '/usr/share' 
Dynconfig[SAMBA_DATADIR]:                                                         : '/usr/share/samba' 
Dynconfig[LOCALEDIR]:                                                             : '/usr/share/locale' 
Dynconfig[PYTHONDIR]:                                                             : '/usr/lib/python3/dist-packages' 
Dynconfig[PYTHONARCHDIR]:                                                         : '/usr/lib/python3/dist-packages' 
Dynconfig[PERL_LIB_INSTALL_DIR]:                                                  : '/usr/share/perl5' 
Dynconfig[PERL_ARCH_INSTALL_DIR]:                                                 : '/usr/lib/arm-linux-gnueabihf/perl5/5.38' 
Dynconfig[INCLUDEDIR]:                                                            : '/usr/include/samba-4.0' 
Dynconfig[SCRIPTSBINDIR]:                                                         : '/usr/sbin' 
Dynconfig[SETUPDIR]:                                                              : '/usr/share/samba/setup' 
Dynconfig[PKGCONFIGDIR]:                                                          : '/usr/lib/arm-linux-gnueabihf/pkgconfig' 
Dynconfig[CODEPAGEDIR]:                                                           : '/usr/share/samba/codepages' 
Dynconfig[PRIVATELIBDIR]:                                                         : '/usr/lib/arm-linux-gnueabihf/samba' 
Dynconfig[MODULESDIR]:                                                            : '/usr/lib/arm-linux-gnueabihf/samba' 
Dynconfig[PAMMODULESDIR]:                                                         : '/lib/arm-linux-gnueabihf/security' 
Dynconfig[CONFIGDIR]:                                                             : '/etc/samba' 
Dynconfig[PRIVATE_DIR]:                                                           : '/var/lib/samba/private' 
Dynconfig[BINDDNS_DIR]:                                                           : '/var/lib/samba/bind-dns' 
Dynconfig[LOCKDIR]:                                                               : '/run/samba' 
Dynconfig[PIDDIR]:                                                                : '/run/samba' 
Dynconfig[STATEDIR]:                                                              : '/var/lib/samba' 
Dynconfig[CACHEDIR]:                                                              : '/var/cache/samba' 
Dynconfig[LOGFILEBASE]:                                                           : '/var/log/samba' 
Dynconfig[SOCKET_DIR]:                                                            : '/run/samba' 
Dynconfig[PRIVILEGED_SOCKET_DIR]:                                                 : '/var/lib/samba' 
Dynconfig[WINBINDD_SOCKET_DIR]:                                                   : '/run/samba/winbindd' 
Dynconfig[NMBDSOCKETDIR]:                                                         : '/run/samba/nmbd' 
Dynconfig[NTP_SIGND_SOCKET_DIR]:                                                  : '/var/lib/samba/ntp_signd' 
Dynconfig[NCALRPCDIR]:                                                            : '/run/samba/ncalrpc' 
Dynconfig[CONFIGFILE]:                                                            : '/etc/samba/smb.conf' 
Dynconfig[LMHOSTSFILE]:                                                           : '/etc/samba/lmhosts' 
Dynconfig[SMB_PASSWD_FILE]:                                                       : '/etc/samba/smbpasswd' 
Checking for getrandom                                                            : ok 
Checking for GnuTLS >= 3.6.13                                                     : not found 
The configuration failed
(complete log in /<<PKGBUILDDIR>>/bin/config.log)
==== contents of config.log:
# project samba configured on Wed May 22 12:58:21 2024 by
# waf 2.0.26 (abi 20, python 30b09f0 on linux)
# using ./buildtools/bin/waf -j4 -j1 -C configure --prefix=/usr --enable-fhs --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --libdir=/usr/lib/arm-linux-gnueabihf --datadir=/usr/share --with-modulesdir=/usr/lib/arm-linux-gnueabihf/samba --with-pammodulesdir=/lib/arm-linux-gnueabihf/security --with-privatedir=/var/lib/samba/private --with-smbpasswd-file=/etc/samba/smbpasswd --with-piddir=/run/samba --with-lockdir=/run/samba --with-sockets-dir=/run/samba --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba --with-pam --with-syslog --with-utmp --with-winbind --with-automount --with-ldap --with-ads --with-gpgme --enable-avahi --enable-spotlight --with-profiling-data --disable-rpath --disable-rpath-install --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2,vfs_dfs_samba4,auth_samba4,vfs_nfs4acl_xattr --bundled-libraries=NONE,pytevent,ldb --with-cluster-support --enable-etcd-reclock --with-socketpath=/run/ctdb/ctdbd.socket --with-logdir=/var/log/ctdb --with-quota --with-systemd --disable-cephfs
#
----------------------------------------
Setting top to
/<<PKGBUILDDIR>>
----------------------------------------
Setting out to
/<<PKGBUILDDIR>>/bin
----------------------------------------
Checking for 'gcc' (C compiler)
find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='CC' -> ['arm-linux-gnueabihf-gcc']
['arm-linux-gnueabihf-gcc', '-dM', '-E', '-']
out: #define __DBL_MIN_EXP__ (-1021)
#define __HQ_FBIT__ 15
#define __UINT_LEAST16_MAX__ 0xffff
#define __ARM_SIZEOF_WCHAR_T 4
#define __SFRACT_IBIT__ 0
#define __ULFRACT_MIN__ 0.0ULR
#define __FLT_MIN__ 1.1754943508222875e-38F
#define __GCC_IEC_559_COMPLEX 2
#define __SIZEOF_LONG__ 4
#define __UFRACT_MAX__ 0XFFFFP-16UR
#define __UINT_LEAST8_TYPE__ unsigned char
#define __FLT_MAX_EXP__ 128
#define __DQ_FBIT__ 63
#define __INTMAX_C(c) c ## LL
#define __ARM_FEATURE_SAT 1
#define __ULFRACT_FBIT__ 32
#define __CHAR_BIT__ 8
#define __USQ_IBIT__ 0
#define __UINT8_MAX__ 0xff
#define __ACCUM_FBIT__ 15
#define __WINT_MAX__ 0xffffffffU
#define __FLT32_MIN_EXP__ (-125)
#define __LONG_WIDTH__ 32
#define __USFRACT_FBIT__ 8
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __SIZE_MAX__ 0xffffffffU
#define __ARM_ARCH_ISA_ARM 1
#define __WCHAR_MAX__ 0xffffffffU
#define __LACCUM_IBIT__ 32
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __DBL_DENORM_MIN__ ((double)4.9406564584124654e-324L)
#define __GCC_ATOMIC_CHAR_LOCK_FREE 1
#define __GCC_IEC_559 2
#define __FLT32X_DECIMAL_DIG__ 17
#define __FLT_EVAL_METHOD__ 0
#define __TQ_IBIT__ 0
#define __LLACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LLK
#define __FLT32_HAS_INFINITY__ 1
#define __FLT64_DECIMAL_DIG__ 17
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define __INTPTR_WIDTH__ 32
#define __SIG_ATOMIC_TYPE__ int
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __ARMEL__ 1
#define __FLT32X_MAX_EXP__ 1024
#define __LFRACT_IBIT__ 0
#define __GNUC_PATCHLEVEL__ 0
#define __FLT32_HAS_DENORM__ 1
#define __USA_FBIT__ 16
#define __UINT_FAST8_MAX__ 0xff
#define __FLT_HAS_QUIET_NAN__ 1
#define __INT8_C(c) c
#define __INT_LEAST8_WIDTH__ 8
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
#define __SA_FBIT__ 15
#define __APCS_32__ 1
#define __SHRT_MAX__ 0x7fff
#define __LDBL_MAX__ 1.7976931348623157e+308L
#define __FRACT_MAX__ 0X7FFFP-15R
#define __LDBL_IS_IEC_60559__ 1
#define __UFRACT_FBIT__ 16
#define __ARM_FP 12
#define __UFRACT_MIN__ 0.0UR
#define __UINT_LEAST8_MAX__ 0xff
#define __GCC_ATOMIC_BOOL_LOCK_FREE 1
#define __UINTMAX_TYPE__ long long unsigned int
#define __LLFRACT_EPSILON__ 0x1P-63LLR
#define __linux 1
#define __FLT_EVAL_METHOD_TS_18661_3__ 0
#define __UINT32_MAX__ 0xffffffffU
#define __ULFRACT_MAX__ 0XFFFFFFFFP-32ULR
#define __TA_IBIT__ 64
#define __LDBL_MAX_EXP__ 1024
#define __WINT_MIN__ 0U
#define __FLT32X_IS_IEC_60559__ 1
#define __INT_LEAST16_WIDTH__ 16
#define __ULLFRACT_MIN__ 0.0ULLR
#define __SCHAR_MAX__ 0x7f
#define __WCHAR_MIN__ 0U
#define __INT64_C(c) c ## LL
#define __UINT16_C(c) c
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define __ATOMIC_SEQ_CST 5
#define __unix 1
#define __SIZEOF_INT__ 4
#define __FLT32X_MANT_DIG__ 53
#define __USACCUM_IBIT__ 8
#define __INT16_TYPE__ short int
#define __STDC_HOSTED__ 1
#define __FLT_DIG__ 6
#define __LFRACT_MIN__ (-0.5LR-0.5LR)
#define __HA_IBIT__ 8
#define __FLT_EPSILON__ 1.1920928955078125e-7F
#define __SHRT_WIDTH__ 16
#define __FLT32_IS_IEC_60559__ 1
#define __USFRACT_IBIT__ 0
#define __LDBL_MIN__ 2.2250738585072014e-308L
#define __STDC_UTF_16__ 1
#define __FRACT_MIN__ (-0.5R-0.5R)
#define __DA_IBIT__ 32
#define __ARM_SIZEOF_MINIMAL_ENUM 4
#define __FLT32X_HAS_INFINITY__ 1
#define __UQQ_FBIT__ 8
#define __UACCUM_MAX__ 0XFFFFFFFFP-16UK
#define __STDC_IEC_559__ 1
#define __STDC_ISO_10646__ 201706L
#define __DECIMAL_DIG__ 17
#define __LFRACT_EPSILON__ 0x1P-31LR
#define __STDC_IEC_559_COMPLEX__ 1
#define __FLT64_EPSILON__ 2.2204460492503131e-16F64
#define __gnu_linux__ 1
#define __INT16_MAX__ 0x7fff
#define __ARM_PCS_VFP 1
#define __LDBL_HAS_QUIET_NAN__ 1
#define __ULACCUM_IBIT__ 32
#define __FLT64_MANT_DIG__ 53
#define __INT_LEAST16_MAX__ 0x7fff
#define __UACCUM_EPSILON__ 0x1P-16UK
#define __GNUC__ 13
#define __ULLACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULLK
#define __HQ_IBIT__ 0
#define __FLT_HAS_DENORM__ 1
#define __SIZEOF_LONG_DOUBLE__ 8
#define __SA_IBIT__ 16
#define __BIGGEST_ALIGNMENT__ 8
#define __INTPTR_TYPE__ int
#define __FLT64_MAX_10_EXP__ 308
#define __DBL_DIG__ 15
#define __ULLACCUM_FBIT__ 32
#define __GNUC_STDC_INLINE__ 1
#define __DBL_IS_IEC_60559__ 1
#define __DQ_IBIT__ 0
#define __DBL_MAX__ ((double)1.7976931348623157e+308L)
#define __ULFRACT_IBIT__ 0
#define __INT_FAST32_MAX__ 0x7fffffff
#define __DBL_HAS_INFINITY__ 1
#define __HAVE_SPECULATION_SAFE_VALUE 1
#define __ACCUM_IBIT__ 16
#define __THUMB_INTERWORK__ 1
#define __UINT_LEAST32_MAX__ 0xffffffffU
#define __LACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LK
#define __FLT32X_HAS_DENORM__ 1
#define __INT_FAST16_TYPE__ int
#define __LDBL_HAS_DENORM__ 1
#define __ARM_FEATURE_LDREX 4
#define __FLT32_DECIMAL_DIG__ 9
#define __INT_LEAST32_MAX__ 0x7fffffff
#define __ACCUM_MAX__ 0X7FFFFFFFP-15K
#define __DBL_MAX_EXP__ 1024
#define __USACCUM_EPSILON__ 0x1P-8UHK
#define __WCHAR_WIDTH__ 32
#define __FLT32_MAX__ 3.4028234663852886e+38F32
#define __SFRACT_MAX__ 0X7FP-7HR
#define __FRACT_IBIT__ 0
#define __PTRDIFF_MAX__ 0x7fffffff
#define __UACCUM_MIN__ 0.0UK
#define __UACCUM_IBIT__ 16
#define __LLACCUM_MIN__ (-0X1P31LLK-0X1P31LLK)
#define __FLT32_HAS_QUIET_NAN__ 1
#define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
#define __ULACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULK
#define __SIZEOF_WINT_T__ 4
#define __ARM_FEATURE_UNALIGNED 1
#define __LONG_LONG_WIDTH__ 64
#define __FLT32_MAX_EXP__ 128
#define __ULLACCUM_MIN__ 0.0ULLK
#define __GXX_ABI_VERSION 1018
#define __UTA_FBIT__ 64
#define __UFRACT_IBIT__ 0
#define __FLT64_IS_IEC_60559__ 1
#define __USQ_FBIT__ 32
#define __ARM_FEATURE_QBIT 1
#define __INT_FAST64_TYPE__ long long int
#define __FLT64_DENORM_MIN__ 4.9406564584124654e-324F64
#define __DBL_MIN__ ((double)2.2250738585072014e-308L)
#define __SIZEOF_POINTER__ 4
#define __DBL_HAS_QUIET_NAN__ 1
#define __FLT32X_EPSILON__ 2.2204460492503131e-16F32x
#define __FLT64_MIN_EXP__ (-1021)
#define __LACCUM_MIN__ (-0X1P31LK-0X1P31LK)
#define __FRACT_FBIT__ 15
#define __FLT64_MIN_10_EXP__ (-307)
#define __ULLFRACT_EPSILON__ 0x1P-64ULLR
#define __REGISTER_PREFIX__ 
#define __UINT16_MAX__ 0xffff
#define __DBL_HAS_DENORM__ 1
#define __ACCUM_MIN__ (-0X1P15K-0X1P15K)
#define __SQ_IBIT__ 0
#define __UINT8_TYPE__ unsigned char
#define __UHA_FBIT__ 8
#define __NO_INLINE__ 1
#define __SFRACT_MIN__ (-0.5HR-0.5HR)
#define __UTQ_FBIT__ 128
#define __DEC_EVAL_METHOD__ 2
#define __FLT_MANT_DIG__ 24
#define __LDBL_DECIMAL_DIG__ 17
#define __VERSION__ "13.2.0"
#define __UINT64_C(c) c ## ULL
#define __FRACT_EPSILON__ 0x1P-15R
#define __ULACCUM_MIN__ 0.0ULK
#define _STDC_PREDEF_H 1
#define __UDA_FBIT__ 32
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define __FLT_MIN_EXP__ (-125)
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __USFRACT_MIN__ 0.0UHR
#define __FLT32_MANT_DIG__ 24
#define __ULLFRACT_FBIT__ 64
#define __STDC_IEC_60559_COMPLEX__ 201404L
#define __UQQ_IBIT__ 0
#define __SCHAR_WIDTH__ 8
#define __INT32_C(c) c
#define __ORDER_PDP_ENDIAN__ 3412
#define __UHQ_FBIT__ 16
#define __LLACCUM_FBIT__ 31
#define __INT_FAST32_TYPE__ int
#define __UINT_LEAST16_TYPE__ short unsigned int
#define unix 1
#define __SIZE_TYPE__ unsigned int
#define __UINT64_MAX__ 0xffffffffffffffffULL
#define __FLT_IS_IEC_60559__ 1
#define __UDQ_FBIT__ 64
#define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
#define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE"
#define __INT8_TYPE__ signed char
#define __ELF__ 1
#define __SACCUM_EPSILON__ 0x1P-7HK
#define __ULFRACT_EPSILON__ 0x1P-32ULR
#define __LLFRACT_FBIT__ 63
#define __FLT_RADIX__ 2
#define __INT_LEAST16_TYPE__ short int
#define __LDBL_EPSILON__ 2.2204460492503131e-16L
#define __UINTMAX_C(c) c ## ULL
#define __SACCUM_MAX__ 0X7FFFP-7HK
#define __FLT32X_MIN__ 2.2250738585072014e-308F32x
#define __SIG_ATOMIC_MAX__ 0x7fffffff
#define __UACCUM_FBIT__ 16
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __USER_LABEL_PREFIX__ 
#define __VFP_FP__ 1
#define __SIZEOF_PTRDIFF_T__ 4
#define __ATOMIC_ACQUIRE 2
#define __unix__ 1
#define __INT_WIDTH__ 32
#define __LACCUM_EPSILON__ 0x1P-31LK
#define __LDBL_DIG__ 15
#define __FLT32X_MIN_EXP__ (-1021)
#define __INT_FAST16_MAX__ 0x7fffffff
#define __ARM_ARCH_6__ 1
#define __GCC_CONSTRUCTIVE_SIZE 64
#define __FLT64_DIG__ 15
#define __UINT_FAST32_MAX__ 0xffffffffU
#define __UINT_LEAST64_TYPE__ long long unsigned int
#define __SFRACT_EPSILON__ 0x1P-7HR
#define __GCC_ASM_FLAG_OUTPUTS__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 0x7fffffffL
#define __SIZEOF_SIZE_T__ 4
#define __FLT_HAS_INFINITY__ 1
#define __GNUC_EXECUTION_CHARSET_NAME "UTF-8"
#define __CHAR_UNSIGNED__ 1
#define __UINT_FAST16_TYPE__ unsigned int
#define __ARM_32BIT_STATE 1
#define __INT_FAST32_WIDTH__ 32
#define __CHAR16_TYPE__ short unsigned int
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __SIZE_WIDTH__ 32
#define __INT64_MAX__ 0x7fffffffffffffffLL
#define __SACCUM_FBIT__ 7
#define __FLT32_DENORM_MIN__ 1.4012984643248171e-45F32
#define __SIG_ATOMIC_WIDTH__ 32
#define __INT_LEAST64_TYPE__ long long int
#define __ARM_FEATURE_CLZ 1
#define __INT_LEAST8_TYPE__ signed char
#define __STDC_VERSION__ 201710L
#define __SQ_FBIT__ 31
#define __USFRACT_MAX__ 0XFFP-8UHR
#define __ARM_ARCH_ISA_THUMB 1
#define __INT_FAST8_MAX__ 0x7f
#define __ARM_ARCH 6
#define __INTPTR_MAX__ 0x7fffffff
#define __QQ_FBIT__ 7
#define linux 1
#define __UTA_IBIT__ 64
#define __FLT64_HAS_QUIET_NAN__ 1
#define __STDC_IEC_60559_BFP__ 201404L
#define __FLT32X_DIG__ 15
#define __PTRDIFF_WIDTH__ 32
#define __LDBL_MANT_DIG__ 53
#define __SFRACT_FBIT__ 7
#define __SACCUM_MIN__ (-0X1P7HK-0X1P7HK)
#define __FLT64_HAS_INFINITY__ 1
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __UINT16_TYPE__ short unsigned int
#define __WCHAR_TYPE__ unsigned int
#define __SIZEOF_FLOAT__ 4
#define __TQ_FBIT__ 127
#define __UINTPTR_MAX__ 0xffffffffU
#define __INT_FAST64_WIDTH__ 64
#define __LDBL_HAS_INFINITY__ 1
#define __ULLACCUM_IBIT__ 32
#define __FLT32_MAX_10_EXP__ 38
#define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __FLT_NORM_MAX__ 3.4028234663852886e+38F
#define __UINT_FAST64_TYPE__ long long unsigned int
#define __LACCUM_FBIT__ 31
#define __HA_FBIT__ 7
#define __UHA_IBIT__ 8
#define __INT64_TYPE__ long long int
#define __UTQ_IBIT__ 0
#define __DBL_MANT_DIG__ 53
#define _TIME_BITS 64
#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1
#define __WINT_TYPE__ unsigned int
#define __UINT_LEAST32_TYPE__ unsigned int
#define __SIZEOF_SHORT__ 2
#define __ULLFRACT_IBIT__ 0
#define __FLT32_NORM_MAX__ 3.4028234663852886e+38F32
#define __LDBL_MIN_EXP__ (-1021)
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
#define __INTMAX_MAX__ 0x7fffffffffffffffLL
#define __arm__ 1
#define __FLT64_MAX__ 1.7976931348623157e+308F64
#define __UDA_IBIT__ 32
#define __INT_MAX__ 0x7fffffff
#define __WINT_WIDTH__ 32
#define __INT_LEAST8_MAX__ 0x7f
#define __INT_LEAST64_WIDTH__ 64
#define __FLT32X_MAX_10_EXP__ 308
#define __LLACCUM_EPSILON__ 0x1P-31LLK
#define __LFRACT_FBIT__ 31
#define __LDBL_MAX_10_EXP__ 308
#define __ATOMIC_RELAXED 0
#define __DBL_EPSILON__ ((double)2.2204460492503131e-16L)
#define __INT_LEAST32_TYPE__ int
#define __ARM_FEATURE_SIMD32 1
#define __UINT8_C(c) c
#define __FLT64_MAX_EXP__ 1024
#define __SIZEOF_WCHAR_T__ 4
#define __UINT64_TYPE__ long long unsigned int
#define __LLFRACT_MAX__ 0X7FFFFFFFFFFFFFFFP-63LLR
#define __FLT64_NORM_MAX__ 1.7976931348623157e+308F64
#define __INT_FAST8_TYPE__ signed char
#define __ULLACCUM_EPSILON__ 0x1P-32ULLK
#define __USACCUM_MAX__ 0XFFFFP-8UHK
#define __UHQ_IBIT__ 0
#define __ARM_FEATURE_COPROC 15
#define __LLACCUM_IBIT__ 32
#define __FLT64_HAS_DENORM__ 1
#define __FLT32_EPSILON__ 1.1920928955078125e-7F32
#define __DBL_DECIMAL_DIG__ 17
#define __STDC_UTF_32__ 1
#define __INT_FAST8_WIDTH__ 8
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLT32X_MAX__ 1.7976931348623157e+308F32x
#define __TA_FBIT__ 63
#define __DBL_NORM_MAX__ ((double)1.7976931348623157e+308L)
#define __USFRACT_EPSILON__ 0x1P-8UHR
#define __GCC_DESTRUCTIVE_SIZE 64
#define _FILE_OFFSET_BITS 64
#define __UDQ_IBIT__ 0
#define __INTMAX_WIDTH__ 64
#define __ORDER_BIG_ENDIAN__ 4321
#define __LFRACT_MAX__ 0X7FFFFFFFP-31LR
#define __ARM_FEATURE_DSP 1
#define __FLT32_DIG__ 6
#define __ACCUM_EPSILON__ 0x1P-15K
#define __UINT32_C(c) c ## U
#define __QQ_IBIT__ 0
#define __FLT_DENORM_MIN__ 1.4012984643248171e-45F
#define __LLFRACT_IBIT__ 0
#define __INT8_MAX__ 0x7f
#define __INT32_MAX__ 0x7fffffff
#define __UINT_FAST32_TYPE__ unsigned int
#define __FLT32X_NORM_MAX__ 1.7976931348623157e+308F32x
#define __CHAR32_TYPE__ unsigned int
#define __FLT32_MIN_10_EXP__ (-37)
#define __FLT_MAX__ 3.4028234663852886e+38F
#define __USACCUM_FBIT__ 8
#define __INT32_TYPE__ int
#define __SIZEOF_DOUBLE__ 8
#define __FLT_MIN_10_EXP__ (-37)
#define __UFRACT_EPSILON__ 0x1P-16UR
#define __FLT64_MIN__ 2.2250738585072014e-308F64
#define __INT_LEAST32_WIDTH__ 32
#define __INTMAX_TYPE__ long long int
#define __FLT32X_HAS_QUIET_NAN__ 1
#define __ATOMIC_CONSUME 1
#define __GNUC_MINOR__ 2
#define __INT_FAST16_WIDTH__ 32
#define __UINTMAX_MAX__ 0xffffffffffffffffULL
#define __FLT32X_DENORM_MIN__ 4.9406564584124654e-324F32x
#define __ATOMIC_ACQ_REL 4
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
#define __INT16_C(c) c
#define __STDC__ 1
#define __PTRDIFF_TYPE__ int
#define __LLFRACT_MIN__ (-0.5LLR-0.5LLR)
#define __USACCUM_MIN__ 0.0UHK
#define __FLT32_MIN__ 1.1754943508222875e-38F32
#define __DA_FBIT__ 31
#define __UINT32_TYPE__ unsigned int
#define __FLT32X_MIN_10_EXP__ (-307)
#define __UINTPTR_TYPE__ unsigned int
#define __USA_IBIT__ 16
#define __ARM_EABI__ 1
#define __linux__ 1
#define __LDBL_MIN_10_EXP__ (-307)
#define __SIZEOF_LONG_LONG__ 8
#define __ULACCUM_EPSILON__ 0x1P-32ULK
#define __SACCUM_IBIT__ 8
#define __GCC_ATOMIC_LLONG_LOCK_FREE 1
#define __FLT_DECIMAL_DIG__ 9
#define __UINT_FAST16_MAX__ 0xffffffffU
#define __LDBL_NORM_MAX__ 1.7976931348623157e+308L
#define __GCC_ATOMIC_SHORT_LOCK_FREE 1
#define __ULLFRACT_MAX__ 0XFFFFFFFFFFFFFFFFP-64ULLR
#define __UINT_FAST8_TYPE__ unsigned char
#define __ULACCUM_FBIT__ 32
#define __ATOMIC_RELEASE 3

find program=['ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='AR' -> ['/usr/bin/ar']
arm-linux-gnueabihf-gcc
----------------------------------------
Checking for program 'git'
not found
find program=['git'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='GIT' -> None
from /<<PKGBUILDDIR>>/buildtools/wafsamba: Could not find the program ['git']
----------------------------------------
Checking for c flags '-MMD'
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"

int main() { return 0; }
<==
[1/1] Compiling bin/.conf_check_776636f30fe60450a7eba006a144d5cc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_776636f30fe60450a7eba006a144d5cc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
----------------------------------------
Checking for program 'gdb'
not found
find program=['gdb'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='GDB' -> None
from /<<PKGBUILDDIR>>/buildtools/wafsamba: Could not find the program ['gdb']
----------------------------------------
Checking for header sys/utsname.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"

#include <sys/utsname.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d66e72164c3510d865fa53d61d04c52a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d66e72164c3510d865fa53d61d04c52a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
----------------------------------------
Checking uname sysname type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1

#include <sys/utsname.h>
 int main(void) { 
                               int printf(const char *format, ...);
                               struct utsname n;
                               if (uname(&n) == -1) return -1;
                               printf("%s", n.sysname);
                               ; return 0; }

<==
[1/3] Compiling bin/.conf_check_1a6e064af602e33679afff41f6e78362/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1a6e064af602e33679afff41f6e78362/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_1a6e064af602e33679afff41f6e78362/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1a6e064af602e33679afff41f6e78362/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_1a6e064af602e33679afff41f6e78362/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_1a6e064af602e33679afff41f6e78362/testbuild/default/testprog']
out: Linux
Linux
----------------------------------------
Checking uname machine type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"

#include <sys/utsname.h>
 int main(void) { 
                               int printf(const char *format, ...);
                               struct utsname n;
                               if (uname(&n) == -1) return -1;
                               printf("%s", n.machine);
                               ; return 0; }

<==
[1/3] Compiling bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_163fcf2ee58fdf2688039e25c0d41f95/testbuild/default/testprog']
out: aarch64
aarch64
----------------------------------------
Checking uname release type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"

#include <sys/utsname.h>
 int main(void) { 
                               int printf(const char *format, ...);
                               struct utsname n;
                               if (uname(&n) == -1) return -1;
                               printf("%s", n.release);
                               ; return 0; }

<==
[1/3] Compiling bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_f49b2a9b712613511e8d6beca9ebaa73/testbuild/default/testprog']
out: 6.1.47-v8+
6.1.47-v8+
----------------------------------------
Checking uname version type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"

#include <sys/utsname.h>
 int main(void) { 
                               int printf(const char *format, ...);
                               struct utsname n;
                               if (uname(&n) == -1) return -1;
                               printf("%s", n.version);
                               ; return 0; }

<==
[1/3] Compiling bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_bcea25fefaf08f0ead3b4456dae9be9a/testbuild/default/testprog']
out: #1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023
#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023
----------------------------------------
Checking for header stdio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"

#include <stdio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_833af32d9f7e01eb0ce32eed45e344cf/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_833af32d9f7e01eb0ce32eed45e344cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
----------------------------------------
Checking simple C program
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1

#include <stdio.h>
 int main(void) { printf("hello world"); return 0; }

<==
[1/3] Compiling bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_da0e0bf715aec668dbf046c9520d6ba0/testbuild/default/testprog']
out: hello world
ok
----------------------------------------
Checking compiler accepts ['-Werror']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_1f8a8240325ece05e54542bb0ad2ef0c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f8a8240325ece05e54542bb0ad2ef0c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
----------------------------------------
Checking linker accepts ['-Wl,-rpath,.']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1

int main(void) { return 0; }

<==
[1/2] Compiling bin/.conf_check_c01f00f690b733353a4664445629573e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c01f00f690b733353a4664445629573e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c01f00f690b733353a4664445629573e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c01f00f690b733353a4664445629573e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now', '-Wl,-rpath,.']
yes
----------------------------------------
Checking for rpath library support
[1/5] Compiling bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/libdir/liblc1.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/5] Compiling bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/main.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../main.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[3/5] Linking bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/liblib1.so

['arm-linux-gnueabihf-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[4/5] Linking bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/prog1

['arm-linux-gnueabihf-gcc', 'main.c.2.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/prog1', '-Wl,-rpath,/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default', '-llib1', '-Wl,-z,relro', '-Wl,-z,now']
[5/5] Processing bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/prog1

['/<<PKGBUILDDIR>>/bin/.conf_check_cc4516ba7a33b7c3e5fbec138c6dac5e/testbuild/default/prog1']
yes
-----------------------------------------
Checking for -Wl,--version-script support
[1/5] Compiling bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/libdir/liblc1.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/5] Compiling bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/main.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '../../main.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[3/5] Linking bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/liblib1.so

['arm-linux-gnueabihf-gcc', '-Wl,--version-script=/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[4/5] Linking bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/prog1

['arm-linux-gnueabihf-gcc', 'main.c.2.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/prog1', '-Wl,-rpath,/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default', '-llib1', '-Wl,-z,relro', '-Wl,-z,now']
[5/5] Processing bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/prog1

['/<<PKGBUILDDIR>>/bin/.conf_check_9dbd4b99b59d11975b1b0b5870e3238d/testbuild/default/prog1']
yes
-------------------------------------------------
Checking compiler accepts ['-fvisibility=hidden']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_487edf8a1d1c87a5f8e3306449b7d68d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_487edf8a1d1c87a5f8e3306449b7d68d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
-------------------------------------------------
Checking for HAVE_VISIBILITY_ATTR
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1


int main(void) { return 0; }
                           __attribute__((visibility("default"))) void vis_foo2(void) {}


<==
[1/2] Compiling bin/.conf_check_95fcd4199031425a679b369496558198/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-fvisibility=hidden', '-Werror', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_95fcd4199031425a679b369496558198/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_95fcd4199031425a679b369496558198/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_95fcd4199031425a679b369496558198/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
-------------------------------------------------
Checking for library constructor support
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1



            void test_constructor_attribute(void) __attribute__ ((constructor));

            void test_constructor_attribute(void)
            {
                return;
            }

            int main(void) {
                return 0;
            }
            

<==
[1/2] Compiling bin/.conf_check_5a1168c464e91b46614e183f73eb5be7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-Werror', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a1168c464e91b46614e183f73eb5be7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5a1168c464e91b46614e183f73eb5be7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a1168c464e91b46614e183f73eb5be7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
-------------------------------------------------
Checking for library destructor support
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1



            void test_destructor_attribute(void) __attribute__ ((destructor));

            void test_destructor_attribute(void)
            {
                return;
            }

            int main(void) {
                return 0;
            }
            

<==
[1/2] Compiling bin/.conf_check_26e11769483ffcfaac8909f61b0287e8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-Werror', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_26e11769483ffcfaac8909f61b0287e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_26e11769483ffcfaac8909f61b0287e8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_26e11769483ffcfaac8909f61b0287e8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
-------------------------------------------------
Checking for __attribute__
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1



            void test_attribute(void) __attribute__ (());

            void test_attribute(void)
            {
                return;
            }

            int main(void) {
                return 0;
            }
            

<==
[1/2] Compiling bin/.conf_check_b86ea4a99ae39773d644eec3d8ceb92d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-Werror', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b86ea4a99ae39773d644eec3d8ceb92d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b86ea4a99ae39773d644eec3d8ceb92d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b86ea4a99ae39773d644eec3d8ceb92d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
-------------------------------------------------
Checking compiler accepts ['-fPIC']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_7fef058ae7f16304786cbb2bb2689d7a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7fef058ae7f16304786cbb2bb2689d7a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
-------------------------------------------------
Checking for inline
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1



        typedef int foo_t;
        static inline foo_t static_foo () {return 0; }
        inline foo_t foo () {return 0; }


<==
[1/1] Compiling bin/.conf_check_e9a295a239bed6483d5ffc24979bef14/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9a295a239bed6483d5ffc24979bef14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
inline
-------------------------------------------------
Checking for program 'pkg-config'
arm-linux-gnueabihf-pkgconf
find program=['pkg-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PKGCONFIG' -> ['arm-linux-gnueabihf-pkgconf']
-------------------------------------------------
Checking for pkg-config version >= '0.0.0'
['arm-linux-gnueabihf-pkgconf', '--atleast-pkgconfig-version=0.0.0']
yes
--------------------------------------------------------
Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_96048eb121a3903e0bf45358cc911668/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-D__STDC_WANT_LIB_EXT1__=1', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_96048eb121a3903e0bf45358cc911668/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts ['']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1


struct foo {int x;char y;};
struct foo bar = { .y = 'X', .x = 1 };

<==
[1/1] Compiling bin/.conf_check_d838c561fc0ada74805cc2f453f6cb98/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d838c561fc0ada74805cc2f453f6cb98/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/types.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1

#include <stdio.h>
#include <sys/types.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c81ef7359bc6d271943aa70cd5c02330/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c81ef7359bc6d271943aa70cd5c02330/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/stat.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8d28f414e0e6639b64688fca371a40b2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8d28f414e0e6639b64688fca371a40b2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header stdlib.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c20c04285e7e35bd9088995d6a4234e9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c20c04285e7e35bd9088995d6a4234e9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header stddef.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e9b4e75f4cd46068692cc9ab841bdd01/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9b4e75f4cd46068692cc9ab841bdd01/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header memory.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a397e373f2b013277985abadc2337668/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a397e373f2b013277985abadc2337668/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header string.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e176d42f43b6e65dbfff236f50d56f73/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e176d42f43b6e65dbfff236f50d56f73/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header strings.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_bdf40944d37ea64e6cad5b367eecb9ee/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bdf40944d37ea64e6cad5b367eecb9ee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header inttypes.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f36bc7bbcbcc3b3f1572147cfd2018b4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f36bc7bbcbcc3b3f1572147cfd2018b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header stdint.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ea4b7ea361419ba925519b9a32031b9a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ea4b7ea361419ba925519b9a32031b9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header unistd.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_bdcbd7b937472a87062ff481d6bbe762/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bdcbd7b937472a87062ff481d6bbe762/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header minix/config.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <minix/config.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b39c7448f90e16f19ef356cbbd72a93f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b39c7448f90e16f19ef356cbbd72a93f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:41:10: fatal error: minix/config.h: No such file or directory
   41 | #include <minix/config.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
--------------------------------------------------------
Checking for header ctype.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_00c82acaca75670314e503015e63cf01/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_00c82acaca75670314e503015e63cf01/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header standards.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <standards.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_0af5624163e4c53cad1f1c931f27aa18/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0af5624163e4c53cad1f1c931f27aa18/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:43:10: fatal error: standards.h: No such file or directory
   43 | #include <standards.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
--------------------------------------------------------
Checking for header stdbool.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5cd3cbf97dfdfc7014a615ea9174bf63/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5cd3cbf97dfdfc7014a615ea9174bf63/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header stdarg.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4ce66475e637a9e95554be4c67f85c76/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4ce66475e637a9e95554be4c67f85c76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header vararg.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <vararg.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a2128ec0ac13c96fbfceaed4d0724aa0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a2128ec0ac13c96fbfceaed4d0724aa0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:47:10: fatal error: vararg.h: No such file or directory
   47 | #include <vararg.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
--------------------------------------------------------
Checking for header limits.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <limits.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_0ec6aab6b800bfe78adfa14a1c8f2b12/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0ec6aab6b800bfe78adfa14a1c8f2b12/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header assert.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <assert.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_399c09808e0013e0bab7e2c5e2bc1447/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_399c09808e0013e0bab7e2c5e2bc1447/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking getconf LFS_CFLAGS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
--------------------------------------------------------
Checking getconf large file support flags work
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { if (sizeof(off_t) < 8) return 1; return 0; }

<==
[1/3] Compiling bin/.conf_check_4591f8c149161d9227212137d99c5db3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4591f8c149161d9227212137d99c5db3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_4591f8c149161d9227212137d99c5db3/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4591f8c149161d9227212137d99c5db3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_4591f8c149161d9227212137d99c5db3/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_4591f8c149161d9227212137d99c5db3/testbuild/default/testprog']
ok
--------------------------------------------------------
Checking for large file support without additional flags
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { if (sizeof(off_t) < 8) return 1; return 0; }

<==
[1/3] Compiling bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_3303a9fed3e67804cd4b52be05137cd0/testbuild/default/testprog']
ok
--------------------------------------------------------
Checking for header sys/time.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8235f4b78f516ce5a13a658f3decd63d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8235f4b78f516ce5a13a658f3decd63d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header time.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
#include <time.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e17517bea1d9b7c01f30aad8cc5cc1db/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e17517bea1d9b7c01f30aad8cc5cc1db/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header endian.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_be0a26aa7d7e5566456da3ebfdcbeded/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_be0a26aa7d7e5566456da3ebfdcbeded/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/endian.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/endian.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_3c53157ab1853c0f2494dde9b6896b76/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3c53157ab1853c0f2494dde9b6896b76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:59:10: fatal error: sys/endian.h: No such file or directory
   59 | #include <sys/endian.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
--------------------------------------------------------
Checking for HAVE_LITTLE_ENDIAN
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
#ifdef __BYTE_ORDER
                        #define B __BYTE_ORDER
                        #elif defined(BYTE_ORDER)
                        #define B BYTE_ORDER
                        #endif

                        #ifdef __LITTLE_ENDIAN
                        #define LITTLE __LITTLE_ENDIAN
                        #elif defined(LITTLE_ENDIAN)
                        #define LITTLE LITTLE_ENDIAN
                        #endif

                        #if !defined(LITTLE) || !defined(B) || LITTLE != B
                        #error Not little endian.
                        #endif
                        int main(void) { return 0; }


<==
[1/2] Compiling bin/.conf_check_e2d13f62d2c174fa4becacc61e765555/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e2d13f62d2c174fa4becacc61e765555/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e2d13f62d2c174fa4becacc61e765555/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e2d13f62d2c174fa4becacc61e765555/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for HAVE_BIG_ENDIAN
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
#ifdef __BYTE_ORDER
                        #define B __BYTE_ORDER
                        #elif defined(BYTE_ORDER)
                        #define B BYTE_ORDER
                        #endif

                        #ifdef __BIG_ENDIAN
                        #define BIG __BIG_ENDIAN
                        #elif defined(BIG_ENDIAN)
                        #define BIG BIG_ENDIAN
                        #endif

                        #if !defined(BIG) || !defined(B) || BIG != B
                        #error Not big endian.
                        #endif
                        int main(void) { return 0; }


<==
[1/2] Compiling bin/.conf_check_ed9cff803f7df0c840d0db106a557d81/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ed9cff803f7df0c840d0db106a557d81/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:74:26: error: #error Not big endian.
   74 |                         #error Not big endian.
      |                          ^~~~~

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
not found
--------------------------------------------------------
Checking for header signal.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_17bca99c4af076e88d9deb76bef21f1d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_17bca99c4af076e88d9deb76bef21f1d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking if signal handlers return int
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
 int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }

<==
[1/2] Compiling bin/.conf_check_36fa40d75eed5fc1abacd726a9b951da/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_36fa40d75eed5fc1abacd726a9b951da/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:63:28: error: void value not ignored as it ought to be
   63 |  int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }
      |                           ~^~~~~~~~~~~~~~~~~~

from /<<PKGBUILDDIR>>/buildtools/wafsamba: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/buildtools/wafsamba: The configuration failed
not found
--------------------------------------------------------
Checking for variable __FUNCTION__
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef __FUNCTION__
                      void *_x; _x=(void *)&__FUNCTION__; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b7058d7ef9d4fdcc0bb53173b319109c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b7058d7ef9d4fdcc0bb53173b319109c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for va_copy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { va_list ap1,ap2; va_copy(ap1,ap2); return 0; }

<==
[1/2] Compiling bin/.conf_check_e9ec0694a59fcbe41beafbf4bdecc8b7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9ec0694a59fcbe41beafbf4bdecc8b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e9ec0694a59fcbe41beafbf4bdecc8b7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9ec0694a59fcbe41beafbf4bdecc8b7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for header linux/types.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <linux/types.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_43890817ee63ba542852a188e4dc5a2e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_43890817ee63ba542852a188e4dc5a2e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header crypt.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <crypt.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_cdd6eda42b008737a0a712c89081290a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cdd6eda42b008737a0a712c89081290a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header locale.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <locale.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f6759b27d2d008bdb9014f88e16a2ff5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f6759b27d2d008bdb9014f88e16a2ff5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header acl/libacl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <acl/libacl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_6960c143b42b3e90cdf768d430346dfe/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6960c143b42b3e90cdf768d430346dfe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header compat.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <compat.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e3690359c6a292ef41f28e1849f63d81/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3690359c6a292ef41f28e1849f63d81/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:74:10: fatal error: compat.h: No such file or directory
   74 | #include <compat.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header attr/xattr.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <attr/xattr.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8aeb29d82b321c9473bc3a78b81c2b00/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8aeb29d82b321c9473bc3a78b81c2b00/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header dustat.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dustat.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a5859a9bc0b27f83a7d506bbe032c370/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a5859a9bc0b27f83a7d506bbe032c370/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:75:10: fatal error: dustat.h: No such file or directory
   75 | #include <dustat.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header fcntl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <fcntl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_53d0ef529e6d975520939f5b0b00b8cf/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_53d0ef529e6d975520939f5b0b00b8cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header fnmatch.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <fnmatch.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_2facf2dfd8162924330bfc7237dee712/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2facf2dfd8162924330bfc7237dee712/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header glob.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <glob.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_3f7a39066c571a135a61ef6b9c7d982b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3f7a39066c571a135a61ef6b9c7d982b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header history.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <history.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_63934897a4a7da122d6d23190202fd45/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_63934897a4a7da122d6d23190202fd45/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:78:10: fatal error: history.h: No such file or directory
   78 | #include <history.h>
      |          ^~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header krb5.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <krb5.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_23db16d0bf99554ccfb5833f8ef32802/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_23db16d0bf99554ccfb5833f8ef32802/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:78:10: fatal error: krb5.h: No such file or directory
   78 | #include <krb5.h>
      |          ^~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header langinfo.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <langinfo.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_2d073760a8981f8669a1041490505c76/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2d073760a8981f8669a1041490505c76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header ndir.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ndir.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_6030844b90f4e91b5a8a96df6c461fb0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6030844b90f4e91b5a8a96df6c461fb0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:79:10: fatal error: ndir.h: No such file or directory
   79 | #include <ndir.h>
      |          ^~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header pwd.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_80e1cb7f406e63602e5898ecb88bb530/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_80e1cb7f406e63602e5898ecb88bb530/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header shadow.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <shadow.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_36f0aed014409f02c1d8bb3cb5766c37/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_36f0aed014409f02c1d8bb3cb5766c37/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/acl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/acl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5d165db044584aa2b97588d5b76aec35/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5d165db044584aa2b97588d5b76aec35/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/attributes.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/attributes.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8567528ffc11995774a2d5603ce76fa8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8567528ffc11995774a2d5603ce76fa8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:82:10: fatal error: sys/attributes.h: No such file or directory
   82 | #include <sys/attributes.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header attr/attributes.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <attr/attributes.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_3db01d39b47abd3d04d6abb3fd128ff8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3db01d39b47abd3d04d6abb3fd128ff8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/capability.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/capability.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_77eb5e387bf1f98da870edd298f1494b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_77eb5e387bf1f98da870edd298f1494b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/dir.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/dir.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4eb524fa96e830166377a97e4cf58b7d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4eb524fa96e830166377a97e4cf58b7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/epoll.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/epoll.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_886e5599552e00a13fcbcb52e47f30b3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_886e5599552e00a13fcbcb52e47f30b3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/fcntl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fcntl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_9b743c1578bfd333a1e6130a2803a89d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9b743c1578bfd333a1e6130a2803a89d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/filio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/filio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_76ae8a67d7a4708f02de10f97f5e2692/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_76ae8a67d7a4708f02de10f97f5e2692/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:87:10: fatal error: sys/filio.h: No such file or directory
   87 | #include <sys/filio.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/filsys.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/filsys.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b2e9bbf77c436ab695f98d574dca408e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b2e9bbf77c436ab695f98d574dca408e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:87:10: fatal error: sys/filsys.h: No such file or directory
   87 | #include <sys/filsys.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/fs/s5param.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fs/s5param.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4ab06cbdb65e8546b887aae5665c0212/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4ab06cbdb65e8546b887aae5665c0212/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:87:10: fatal error: sys/fs/s5param.h: No such file or directory
   87 | #include <sys/fs/s5param.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/id.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/id.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d71b38e94f89f29446fc43589018d608/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d71b38e94f89f29446fc43589018d608/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:87:10: fatal error: sys/id.h: No such file or directory
   87 | #include <sys/id.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/ioctl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ioctl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_da6088855643132075cd3a548804128d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_da6088855643132075cd3a548804128d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/ipc.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ipc.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b975e6553829e2c4c281b910fdeec069/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b975e6553829e2c4c281b910fdeec069/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/mman.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mman.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_17fc83196b60748ee5c919f627cd87e3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_17fc83196b60748ee5c919f627cd87e3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/mode.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mode.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d8cef881c46935aa2d700ab24e04cf9a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d8cef881c46935aa2d700ab24e04cf9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:90:10: fatal error: sys/mode.h: No such file or directory
   90 | #include <sys/mode.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/ndir.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ndir.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e7a54237eec2021e547410b82405082a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e7a54237eec2021e547410b82405082a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:90:10: fatal error: sys/ndir.h: No such file or directory
   90 | #include <sys/ndir.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/priv.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/priv.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_61866ebabb98027b6a40ce9a89a44c53/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_61866ebabb98027b6a40ce9a89a44c53/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:90:10: fatal error: sys/priv.h: No such file or directory
   90 | #include <sys/priv.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/resource.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/resource.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_265a2636b0e47649fcc3027f3b90a0a9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_265a2636b0e47649fcc3027f3b90a0a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/security.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/security.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c30e073d270c97431bce9cb6be41773e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c30e073d270c97431bce9cb6be41773e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:91:10: fatal error: sys/security.h: No such file or directory
   91 | #include <sys/security.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/shm.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/shm.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e471ee5ef1b94bdbbd0874e4f932670c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e471ee5ef1b94bdbbd0874e4f932670c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/statfs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/statfs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_9f46e4c14cad81d66b7395bf0b5111d4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9f46e4c14cad81d66b7395bf0b5111d4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/statvfs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/statvfs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_85036017e3a801778fc5d575853188dc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_85036017e3a801778fc5d575853188dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/termio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/termio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_6e01f7a797413c3da94abad71671ab65/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6e01f7a797413c3da94abad71671ab65/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:94:10: fatal error: sys/termio.h: No such file or directory
   94 | #include <sys/termio.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/vfs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/vfs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_662ca6fbbe9c36ab89456e930fd6eeae/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_662ca6fbbe9c36ab89456e930fd6eeae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/xattr.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/xattr.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_37f1e48cc6f2a00e8754f41a30ae619a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_37f1e48cc6f2a00e8754f41a30ae619a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header termio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <termio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_df0bc8b27c02c499bb3983bae4e88b78/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_df0bc8b27c02c499bb3983bae4e88b78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header termios.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <termios.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b0bcd721098438f9df49895da9d621c8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0bcd721098438f9df49895da9d621c8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/file.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/file.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c12fe0f64cfd23a7110ed5f4465e916c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c12fe0f64cfd23a7110ed5f4465e916c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/ucontext.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ucontext.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_12725a67fafb9ddd401a5b675d7213f1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_12725a67fafb9ddd401a5b675d7213f1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/wait.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/wait.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_edc682e9cf822f8d3167c9b2da1471a6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_edc682e9cf822f8d3167c9b2da1471a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for declaration of malloc
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdlib.h>
 int main(void) { 
                      #ifndef malloc
                      void *_x; _x=(void *)&malloc; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f555b74c6db9f63911312126e2409fc1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f555b74c6db9f63911312126e2409fc1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for header grp.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <grp.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f9da6a2b54437b5143c27187d2c12568/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f9da6a2b54437b5143c27187d2c12568/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/select.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/select.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5fed5e86f5e4e6aa66a5b9f77e40f3e2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5fed5e86f5e4e6aa66a5b9f77e40f3e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header setjmp.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <setjmp.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_22d1ada7116241b2818d801ee6311a04/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_22d1ada7116241b2818d801ee6311a04/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header utime.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <utime.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_2a11bdc6f82323c6bd27cd61f1c02f94/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2a11bdc6f82323c6bd27cd61f1c02f94/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/syslog.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/syslog.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e410678fb8c3247ec80f6a80dca9eb18/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e410678fb8c3247ec80f6a80dca9eb18/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header syslog.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <syslog.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f8567b5bb99a08951f7586e8c77182ac/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f8567b5bb99a08951f7586e8c77182ac/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/mount.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mount.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d8ab96ba585d280ad54a28e1d7623933/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d8ab96ba585d280ad54a28e1d7623933/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header mntent.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <mntent.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d6d49c7e4d4459cbdc9d0bd6d9fa1cd5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d6d49c7e4d4459cbdc9d0bd6d9fa1cd5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header stropts.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stropts.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ed99483ce90584ddc92e00c52c20242d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ed99483ce90584ddc92e00c52c20242d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:110:10: fatal error: stropts.h: No such file or directory
  110 | #include <stropts.h>
      |          ^~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header unix.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <unix.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f710b1663364a13b3701b20ae74724c3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f710b1663364a13b3701b20ae74724c3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:110:10: fatal error: unix.h: No such file or directory
  110 | #include <unix.h>
      |          ^~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/param.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/param.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e10524ea2cb7af79498aaf16faaa630c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e10524ea2cb7af79498aaf16faaa630c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/socket.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a4ae0f9d068e4d511ff003c0263bb1c6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a4ae0f9d068e4d511ff003c0263bb1c6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netinet/in.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d5cf8b732ebf208423e1328b434e4056/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d5cf8b732ebf208423e1328b434e4056/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netdb.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_97af257ec22ff3bab570bfa61cf00933/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_97af257ec22ff3bab570bfa61cf00933/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header arpa/inet.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f1b467fd34098f0533206755c2e635df/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1b467fd34098f0533206755c2e635df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netinet/in_systm.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e2998f865108fd8cf4e011c614f8c40a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e2998f865108fd8cf4e011c614f8c40a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netinet/ip.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_863835a31fed87f6c358937140ca90df/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_863835a31fed87f6c358937140ca90df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netinet/tcp.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5c8cd90031c651ba48f86616d7378187/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5c8cd90031c651ba48f86616d7378187/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header netinet/in_ip.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <netinet/in_ip.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e3403a6f49f8cf874f1366d21dedf317/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3403a6f49f8cf874f1366d21dedf317/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:125:10: fatal error: netinet/in_ip.h: No such file or directory
  125 | #include <netinet/in_ip.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/sockio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <sys/sockio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f638e7e8bb8a6f4bf823248b12873f79/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f638e7e8bb8a6f4bf823248b12873f79/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:125:10: fatal error: sys/sockio.h: No such file or directory
  125 | #include <sys/sockio.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/un.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <sys/un.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_9ec40b03559bab4313c05a4dff34658c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9ec40b03559bab4313c05a4dff34658c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/uio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/uio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_0c06270fcf12e84d369f5a286405a7a6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0c06270fcf12e84d369f5a286405a7a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header ifaddrs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ifaddrs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5f598e7ab2962fbb99ba77e260c49eca/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5f598e7ab2962fbb99ba77e260c49eca/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header direct.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <direct.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_30fb8d1b2734057bd3e70af98571b244/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_30fb8d1b2734057bd3e70af98571b244/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:121:10: fatal error: direct.h: No such file or directory
  121 | #include <direct.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header dirent.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dirent.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ed60743adc32c411b422670bb2ba8760/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ed60743adc32c411b422670bb2ba8760/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header windows.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <windows.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_46ad06ae1024589bd64cfb53e4a48d83/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_46ad06ae1024589bd64cfb53e4a48d83/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:122:10: fatal error: windows.h: No such file or directory
  122 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header winsock2.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <winsock2.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b84ab6259786bb3efa77d28a27157a09/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b84ab6259786bb3efa77d28a27157a09/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:122:10: fatal error: winsock2.h: No such file or directory
  122 | #include <winsock2.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header ws2tcpip.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ws2tcpip.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_02f15d53921fbe9433f852a6d6343b39/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_02f15d53921fbe9433f852a6d6343b39/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:122:10: fatal error: ws2tcpip.h: No such file or directory
  122 | #include <ws2tcpip.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header errno.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_6f0b2be4cad28af034bfdb8c05035681/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6f0b2be4cad28af034bfdb8c05035681/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header getopt.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <getopt.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8e9619f35915abe5fb1b8a98553ff75e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8e9619f35915abe5fb1b8a98553ff75e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header iconv.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <iconv.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a0fdb6a70655aa4963105fb53435ab70/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a0fdb6a70655aa4963105fb53435ab70/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header nss.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <nss.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5a02154c402d2e449bf8dba6e460e176/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a02154c402d2e449bf8dba6e460e176/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sasl/sasl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sasl/sasl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f8e859bb15cadffca4805f3c12f6816d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f8e859bb15cadffca4805f3c12f6816d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:126:10: fatal error: sasl/sasl.h: No such file or directory
  126 | #include <sasl/sasl.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header linux/openat2.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <linux/openat2.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5bfaa052e85dbf0a158466cba0d8adee/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5bfaa052e85dbf0a158466cba0d8adee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for inotify_init
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/inotify.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ec66511e25034107f80f66e19e95defd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ec66511e25034107f80f66e19e95defd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1



                         #define inotify_init __fake__inotify_init
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef inotify_init
                         #if defined __stub_inotify_init || defined __stub___inotify_init
                         #error "bad glibc stub"
                         #endif
                         extern char inotify_init();
                         int main() { return inotify_init(); }
                         

<==
[1/2] Compiling bin/.conf_check_b43030bf7d3617f30bb8c586dcacd6eb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b43030bf7d3617f30bb8c586dcacd6eb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b43030bf7d3617f30bb8c586dcacd6eb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b43030bf7d3617f30bb8c586dcacd6eb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for header security/pam_appl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <security/pam_appl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_644d406521b74b5756e35ed9f702eb12/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_644d406521b74b5756e35ed9f702eb12/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header zlib.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <zlib.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_fd51dc23794cc846e176e6928589f494/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fd51dc23794cc846e176e6928589f494/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header asm/unistd.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <asm/unistd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4d46fa53e017629793919912803e4ae9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4d46fa53e017629793919912803e4ae9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/unistd.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/unistd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_000c9720f52927667ef202f1861d8aa4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_000c9720f52927667ef202f1861d8aa4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header alloca.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <alloca.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b90d47868e9730cd6d9823520e63231b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b90d47868e9730cd6d9823520e63231b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header float.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <float.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b0dbfc0d79cbee740b23c3a8bdeb341a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0dbfc0d79cbee740b23c3a8bdeb341a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header rpc/rpc.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <rpc/rpc.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_e7a060df166537337811dcd25cbf8e96/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e7a060df166537337811dcd25cbf8e96/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:135:10: fatal error: rpc/rpc.h: No such file or directory
  135 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header rpc/nettype.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <rpc/nettype.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ab24dad4fa38f401aa4ccf356cf62d9a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ab24dad4fa38f401aa4ccf356cf62d9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:135:10: fatal error: rpc/nettype.h: No such file or directory
  135 | #include <rpc/nettype.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for tirpc rpc headers in default system path
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
#ifndef _TIRPC_RPC_H
#error "no tirpc headers in system path"
#endif
; return 0; }

<==
[1/2] Compiling bin/.conf_check_647195345acdfdad3d3f1ff10d8de8de/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_647195345acdfdad3d3f1ff10d8de8de/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:137:2: error: #error "no tirpc headers in system path"
  137 | #error "no tirpc headers in system path"
      |  ^~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for libtirpc headers
['arm-linux-gnueabihf-pkgconf', '--cflags', '--libs', 'libtirpc']
out: -I/usr/include/tirpc -ltirpc 

yes
--------------------------------------------------------
Checking for header rpc/rpc.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <rpc/rpc.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_53060c5b4a43bffeeebe861043d9a73e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/include/tirpc', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_53060c5b4a43bffeeebe861043d9a73e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header rpc/nettype.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <rpc/rpc.h>
#include <rpc/nettype.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_01977e3e6022d26fa4e3af79141ffe57/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/usr/include/tirpc', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_01977e3e6022d26fa4e3af79141ffe57/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/sysctl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                    #include <sys/sysctl.h>
                    int main(void) { return 0; }
                    

<==
[1/2] Compiling bin/.conf_check_320af050de90dbe5728d8008bc1b28b1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=cpp', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_320af050de90dbe5728d8008bc1b28b1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:140:30: fatal error: sys/sysctl.h: No such file or directory
  140 |                     #include <sys/sysctl.h>
      |                              ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for header sys/fileio.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fileio.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ba515cd56f246bd2b28af868e5c95297/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ba515cd56f246bd2b28af868e5c95297/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:140:10: fatal error: sys/fileio.h: No such file or directory
  140 | #include <sys/fileio.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/filesys.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/filesys.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_7c34fb551aeeef68fbc56878fa7667a0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7c34fb551aeeef68fbc56878fa7667a0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:140:10: fatal error: sys/filesys.h: No such file or directory
  140 | #include <sys/filesys.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/dustat.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/dustat.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_9d3100bf12edae0b5a0e39d1f89ef579/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9d3100bf12edae0b5a0e39d1f89ef579/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:140:10: fatal error: sys/dustat.h: No such file or directory
  140 | #include <sys/dustat.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/sysmacros.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/sysmacros.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f3df9af0cda087a9481f51fd3581ef82/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f3df9af0cda087a9481f51fd3581ef82/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header xfs/libxfs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <xfs/libxfs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4eb059fda7c3d79bb80a4ddefdceec28/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4eb059fda7c3d79bb80a4ddefdceec28/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: xfs/libxfs.h: No such file or directory
  141 | #include <xfs/libxfs.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header netgroup.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <netgroup.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5d99b8b036994d43c8a6dde8dc1a300c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5d99b8b036994d43c8a6dde8dc1a300c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: netgroup.h: No such file or directory
  141 | #include <netgroup.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header valgrind.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <valgrind.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_695912ca2d8a05021210cbe95bdedab3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_695912ca2d8a05021210cbe95bdedab3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: valgrind.h: No such file or directory
  141 | #include <valgrind.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header valgrind/valgrind.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <valgrind/valgrind.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4276928b1a0ee5a62933ee6cac086ef9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4276928b1a0ee5a62933ee6cac086ef9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: valgrind/valgrind.h: No such file or directory
  141 | #include <valgrind/valgrind.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header valgrind/memcheck.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <valgrind/memcheck.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_eb3501a7603a89067a78cb54f99261aa/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_eb3501a7603a89067a78cb54f99261aa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: valgrind/memcheck.h: No such file or directory
  141 | #include <valgrind/memcheck.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header valgrind/helgrind.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <valgrind/helgrind.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_b667b70582abe262b9b0032a6266667c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b667b70582abe262b9b0032a6266667c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: valgrind/helgrind.h: No such file or directory
  141 | #include <valgrind/helgrind.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header valgrind/callgrind.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <valgrind/callgrind.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_24178f14ca1a5f147facbf09b300a564/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_24178f14ca1a5f147facbf09b300a564/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: valgrind/callgrind.h: No such file or directory
  141 | #include <valgrind/callgrind.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header nss_common.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <nss_common.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c401c72623e16cc4d2d3f71eee6e646e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c401c72623e16cc4d2d3f71eee6e646e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: nss_common.h: No such file or directory
  141 | #include <nss_common.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header nsswitch.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <nsswitch.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4c5e07df41433ca5ea711c4aa9317304/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4c5e07df41433ca5ea711c4aa9317304/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: nsswitch.h: No such file or directory
  141 | #include <nsswitch.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header ns_api.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ns_api.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_95ad444e16899b8448a97f06921e3aea/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_95ad444e16899b8448a97f06921e3aea/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: ns_api.h: No such file or directory
  141 | #include <ns_api.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/extattr.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/extattr.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5f0372f75c8fdc0ae5dd2f35b2e27770/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5f0372f75c8fdc0ae5dd2f35b2e27770/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: sys/extattr.h: No such file or directory
  141 | #include <sys/extattr.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/ea.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ea.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5735a04b3edd95f6528a5ee8f2a6c578/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5735a04b3edd95f6528a5ee8f2a6c578/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: sys/ea.h: No such file or directory
  141 | #include <sys/ea.h>
      |          ^~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/proplist.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/proplist.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_0ddcabeff021751f7b56fb0b86f94cba/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0ddcabeff021751f7b56fb0b86f94cba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:141:10: fatal error: sys/proplist.h: No such file or directory
  141 | #include <sys/proplist.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header sys/cdefs.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/cdefs.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_653334abc923f057d0b2c754389e4bbd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_653334abc923f057d0b2c754389e4bbd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header utmp.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <utmp.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5ffd54fc1ccea16c8eb3b8a32c2d0219/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5ffd54fc1ccea16c8eb3b8a32c2d0219/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header utmpx.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <utmpx.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5cb3945daa039ac3147a93447710c194/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5cb3945daa039ac3147a93447710c194/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header lastlog.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <lastlog.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_67acab191f8ba430bc9576901811c706/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_67acab191f8ba430bc9576901811c706/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header syscall.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <syscall.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8b3a803358a415166901fdb70c0b906e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8b3a803358a415166901fdb70c0b906e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/syscall.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/syscall.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_41d310dda165b80b9c0c55f0fae5f4df/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_41d310dda165b80b9c0c55f0fae5f4df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/atomic.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/atomic.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_df06cbf7d2bcf17eb3e58be795b0f5f6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_df06cbf7d2bcf17eb3e58be795b0f5f6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:147:10: fatal error: sys/atomic.h: No such file or directory
  147 | #include <sys/atomic.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
--------------------------------------------------------
Checking for header stdatomic.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdatomic.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_c12e1a8b88ac98a42053d7aa67c5d9e1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c12e1a8b88ac98a42053d7aa67c5d9e1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header libgen.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libgen.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_dc55fc7a5bea3399eda586e99576d2dd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dc55fc7a5bea3399eda586e99576d2dd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts -Wno-format-truncation
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_4497d524cebba47bf6c578543c5def09/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4497d524cebba47bf6c578543c5def09/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts -Wno-unused-function
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f5a58e61fe98688cc25df4618dc54543/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f5a58e61fe98688cc25df4618dc54543/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts -Wno-strict-overflow
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5c08ea9602985d700aa189fe69efddc7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5c08ea9602985d700aa189fe69efddc7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts -Wno-unused-but-set-variable
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_168e87721f4f059a4ee213f0c7730893/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-but-set-variable', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_168e87721f4f059a4ee213f0c7730893/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking compiler accepts -Wuse-after-free=1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"

int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_f73622c4e777427c96b70dfb9544a595/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wuse-after-free=1', '-Werror', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f73622c4e777427c96b70dfb9544a595/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for header sys/prctl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/prctl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_9b3f0deb07455b433480dc234818234e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9b3f0deb07455b433480dc234818234e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for prctl syscall
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/prctl.h>

                    #include <sys/prctl.h>
                    int main(void) {
                        prctl(0);
                        return 0;
                    }
                    

<==
[1/2] Compiling bin/.conf_check_0ce36146a850d72134c29acdcdbe6dbd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0ce36146a850d72134c29acdcdbe6dbd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_0ce36146a850d72134c29acdcdbe6dbd/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0ce36146a850d72134c29acdcdbe6dbd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for O_DIRECT flag to open(2)
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                    #include <unistd.h>
                    #ifdef HAVE_FCNTL_H
                    #include <fcntl.h>
                    #endif
                    int main(void) { int fd = open("/dev/null", O_DIRECT); }
                    

<==
[1/2] Compiling bin/.conf_check_d37a7a00a41b447942089b922a6a486e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d37a7a00a41b447942089b922a6a486e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d37a7a00a41b447942089b922a6a486e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d37a7a00a41b447942089b922a6a486e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for long long
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { long long _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_40e9e10c9f0e564aab9aacf0a40cbb0b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_40e9e10c9f0e564aab9aacf0a40cbb0b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for intptr_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { intptr_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_608df43eb4d08ccc4f5f35cf27631729/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_608df43eb4d08ccc4f5f35cf27631729/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uintptr_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uintptr_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_6aa18f16d619e039633933c01b6641b0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6aa18f16d619e039633933c01b6641b0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for ptrdiff_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { ptrdiff_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_4b40c1171607994a4a725ce8f09fd2f4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4b40c1171607994a4a725ce8f09fd2f4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for comparison_fn_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { comparison_fn_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_0e6df31d9a262dc26b56123a81706429/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0e6df31d9a262dc26b56123a81706429/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for bool
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdbool.h>
 int main(void) { bool _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_02deb55d3e50b0bea31765a273d82a5f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_02deb55d3e50b0bea31765a273d82a5f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for int8_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { int8_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_993d7ed3b2c430671352f1ddadc768e7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_993d7ed3b2c430671352f1ddadc768e7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uint8_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uint8_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_69b2f74454573b9e0691af1c45691035/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_69b2f74454573b9e0691af1c45691035/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for int16_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { int16_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_a86c13e12c514079794512cd86352284/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a86c13e12c514079794512cd86352284/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uint16_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uint16_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_a67da39388ef6681450a419ed4386138/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a67da39388ef6681450a419ed4386138/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for int32_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { int32_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_9818c228bc5b03ec5e400d217e3b453a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9818c228bc5b03ec5e400d217e3b453a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uint32_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uint32_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_06ab1794bfa42f5516a5e0bda8171d6d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_06ab1794bfa42f5516a5e0bda8171d6d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for int64_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { int64_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_5cac6295c55f2e899cd9bdff5c930faa/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5cac6295c55f2e899cd9bdff5c930faa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uint64_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uint64_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_f58eb0f0bd86d3ae1db5bc9400104b5f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f58eb0f0bd86d3ae1db5bc9400104b5f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for size_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { size_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_5588a3dd1c3fef7abfeaf4cc74489adb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5588a3dd1c3fef7abfeaf4cc74489adb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for ssize_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { ssize_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_8f8f4eb78c9ed6f7634284d5136c6c77/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f8f4eb78c9ed6f7634284d5136c6c77/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for ino_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { ino_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_18aa6317311dd130c823e78037122f19/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_18aa6317311dd130c823e78037122f19/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for loff_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { loff_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_c29d2b1354196492a5d7f1800069d15c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c29d2b1354196492a5d7f1800069d15c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for offset_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { offset_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_3af82766eec0712285c6a6c705d7dfdc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3af82766eec0712285c6a6c705d7dfdc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:175:19: error: unknown type name ‘offset_t’; did you mean ‘offsetof’?
  175 |  int main(void) { offset_t _x; return 0; }
      |                   ^~~~~~~~
      |                   offsetof

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for volatile int
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { volatile int _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_f7879fad0d6eb7816a187cd72aaf4eaf/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f7879fad0d6eb7816a187cd72aaf4eaf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for uint_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { uint_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_1bec844e204bf0409b7249afd2c9a21d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1bec844e204bf0409b7249afd2c9a21d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:178:19: error: unknown type name ‘uint_t’; did you mean ‘uint8_t’?
  178 |  int main(void) { uint_t _x; return 0; }
      |                   ^~~~~~
      |                   uint8_t

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for blksize_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
 int main(void) { blksize_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_d8c510caac60241a4b6746915dad939e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d8c510caac60241a4b6746915dad939e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for blkcnt_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
 int main(void) { blkcnt_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_14ccbe9588724b5379afb562b32ea418/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_14ccbe9588724b5379afb562b32ea418/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking if size of bool == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(bool))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_e034069852df7df9706446e858b6e819/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e034069852df7df9706446e858b6e819/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e034069852df7df9706446e858b6e819/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e034069852df7df9706446e858b6e819/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of char == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(char))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_73a0f723e652922dd0ce6cbc52848059/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_73a0f723e652922dd0ce6cbc52848059/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_73a0f723e652922dd0ce6cbc52848059/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_73a0f723e652922dd0ce6cbc52848059/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of int == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_3f964b6dd9e0c1596685189f3a7b164b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3f964b6dd9e0c1596685189f3a7b164b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:184:30: error: size of array ‘test_array’ is negative
  184 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
/* #undef SIZEOF_INT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_006c4a2bbbc99cf5205bd62a8c86d655/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_006c4a2bbbc99cf5205bd62a8c86d655/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:185:30: error: size of array ‘test_array’ is negative
  185 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
/* #undef SIZEOF_INT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_4d04dbb03c05d01c78cefcad35f58a17/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4d04dbb03c05d01c78cefcad35f58a17/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4d04dbb03c05d01c78cefcad35f58a17/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4d04dbb03c05d01c78cefcad35f58a17/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of long long == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_01d281e055f83bb7beba148cb34f9a7d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_01d281e055f83bb7beba148cb34f9a7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:185:30: error: size of array ‘test_array’ is negative
  185 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of long long == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_c7327e4951fbf9178fcfc684738b5c27/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c7327e4951fbf9178fcfc684738b5c27/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:186:30: error: size of array ‘test_array’ is negative
  186 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of long long == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_2c0f0cff51786863e6bf1d734aefa0e3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2c0f0cff51786863e6bf1d734aefa0e3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:186:30: error: size of array ‘test_array’ is negative
  186 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of long long == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
/* #undef SIZEOF_LONG_LONG */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_9e7f12a09a1cc398973bde6be5640cc9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9e7f12a09a1cc398973bde6be5640cc9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9e7f12a09a1cc398973bde6be5640cc9/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9e7f12a09a1cc398973bde6be5640cc9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of long == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_13c3f2a1ada040a1d21cb5d6ecb7833f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_13c3f2a1ada040a1d21cb5d6ecb7833f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:186:30: error: size of array ‘test_array’ is negative
  186 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of long == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
/* #undef SIZEOF_LONG */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_490f07e4ccca209e2cad74c157dc3718/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_490f07e4ccca209e2cad74c157dc3718/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:187:30: error: size of array ‘test_array’ is negative
  187 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of long == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
/* #undef SIZEOF_LONG */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_67aed7bc9a473651df8cef698e3da8cd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_67aed7bc9a473651df8cef698e3da8cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_67aed7bc9a473651df8cef698e3da8cd/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_67aed7bc9a473651df8cef698e3da8cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of short == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_f5eb6091ea21894b63898d53984a1580/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f5eb6091ea21894b63898d53984a1580/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:187:30: error: size of array ‘test_array’ is negative
  187 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of short == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
/* #undef SIZEOF_SHORT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_6920f6e6c3fd5efbbb4148d7fb927c4d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6920f6e6c3fd5efbbb4148d7fb927c4d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_6920f6e6c3fd5efbbb4148d7fb927c4d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6920f6e6c3fd5efbbb4148d7fb927c4d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of size_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_6da138a5de1cf008781e0c0dbb97b268/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6da138a5de1cf008781e0c0dbb97b268/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:188:30: error: size of array ‘test_array’ is negative
  188 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of size_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
/* #undef SIZEOF_SIZE_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_83a1d743f3a4b27eaf7ca527824b0310/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_83a1d743f3a4b27eaf7ca527824b0310/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:189:30: error: size of array ‘test_array’ is negative
  189 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of size_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
/* #undef SIZEOF_SIZE_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_53b3e2f5af110064193fde489758d934/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_53b3e2f5af110064193fde489758d934/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_53b3e2f5af110064193fde489758d934/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_53b3e2f5af110064193fde489758d934/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of ssize_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_3c0edaf08d5efbe9d377e1e4d9d9b964/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3c0edaf08d5efbe9d377e1e4d9d9b964/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:189:30: error: size of array ‘test_array’ is negative
  189 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of ssize_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
/* #undef SIZEOF_SSIZE_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_a61af86c6ee0319ae88a3b72bac97b73/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a61af86c6ee0319ae88a3b72bac97b73/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:190:30: error: size of array ‘test_array’ is negative
  190 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of ssize_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
/* #undef SIZEOF_SSIZE_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_a867c1b16d5af949904cc87a586763d8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a867c1b16d5af949904cc87a586763d8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_a867c1b16d5af949904cc87a586763d8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a867c1b16d5af949904cc87a586763d8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of int8_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int8_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_99d3f24a749bceaf1d1c7da46dc1fabc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_99d3f24a749bceaf1d1c7da46dc1fabc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_99d3f24a749bceaf1d1c7da46dc1fabc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_99d3f24a749bceaf1d1c7da46dc1fabc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of uint8_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint8_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_869ac2ec5e9fda62aed570222c52272d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_869ac2ec5e9fda62aed570222c52272d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_869ac2ec5e9fda62aed570222c52272d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_869ac2ec5e9fda62aed570222c52272d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of int16_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_5c9f368be639ad1ef1c2bdbaaffb7344/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5c9f368be639ad1ef1c2bdbaaffb7344/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:192:30: error: size of array ‘test_array’ is negative
  192 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int16_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
/* #undef SIZEOF_INT16_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_6518e9b782eb795b4d4ab20467b0c9af/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6518e9b782eb795b4d4ab20467b0c9af/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_6518e9b782eb795b4d4ab20467b0c9af/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6518e9b782eb795b4d4ab20467b0c9af/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of uint16_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_62cc3e497c4b21477412377ada7e59e6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62cc3e497c4b21477412377ada7e59e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:193:30: error: size of array ‘test_array’ is negative
  193 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint16_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
/* #undef SIZEOF_UINT16_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_371f0a720d415a046fa4399b6aba2df8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_371f0a720d415a046fa4399b6aba2df8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_371f0a720d415a046fa4399b6aba2df8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_371f0a720d415a046fa4399b6aba2df8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of int32_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_4a1f90a4a042be41217e2c5cac57c231/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4a1f90a4a042be41217e2c5cac57c231/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:194:30: error: size of array ‘test_array’ is negative
  194 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int32_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
/* #undef SIZEOF_INT32_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_66943777e4afed83232bfd536d8ccfc5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_66943777e4afed83232bfd536d8ccfc5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:195:30: error: size of array ‘test_array’ is negative
  195 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int32_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
/* #undef SIZEOF_INT32_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_c67b248e4db1884863739eecbfbdc480/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c67b248e4db1884863739eecbfbdc480/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c67b248e4db1884863739eecbfbdc480/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c67b248e4db1884863739eecbfbdc480/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of uint32_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_140e5266a42b9d8bb50bd9fd9e0898a4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_140e5266a42b9d8bb50bd9fd9e0898a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:195:30: error: size of array ‘test_array’ is negative
  195 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint32_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
/* #undef SIZEOF_UINT32_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_f19f6c0b8b1078cdbcb1ca6600a0dfbd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f19f6c0b8b1078cdbcb1ca6600a0dfbd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:196:30: error: size of array ‘test_array’ is negative
  196 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint32_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
/* #undef SIZEOF_UINT32_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_b4a3623c4bca94b4da80ce4f69b2c9ef/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b4a3623c4bca94b4da80ce4f69b2c9ef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b4a3623c4bca94b4da80ce4f69b2c9ef/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b4a3623c4bca94b4da80ce4f69b2c9ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of int64_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_1aa6e4f56230cfb3aa810486f3d7ff98/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1aa6e4f56230cfb3aa810486f3d7ff98/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:196:30: error: size of array ‘test_array’ is negative
  196 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int64_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_01bae32cdaca66b076bacbcf665f0655/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_01bae32cdaca66b076bacbcf665f0655/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:197:30: error: size of array ‘test_array’ is negative
  197 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int64_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_19a22eba246a900c05135be6deb35246/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_19a22eba246a900c05135be6deb35246/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:197:30: error: size of array ‘test_array’ is negative
  197 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of int64_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
/* #undef SIZEOF_INT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_581d8ed15824acc784719d88467da509/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_581d8ed15824acc784719d88467da509/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_581d8ed15824acc784719d88467da509/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_581d8ed15824acc784719d88467da509/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of uint64_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_8ee8d809423d517144155342e2cb4eb8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8ee8d809423d517144155342e2cb4eb8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:197:30: error: size of array ‘test_array’ is negative
  197 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint64_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_79c0192f9a6371f13914c0ed420a4ec3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_79c0192f9a6371f13914c0ed420a4ec3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:198:30: error: size of array ‘test_array’ is negative
  198 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint64_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_1b139a41dd26a2c58cf43ec45972f606/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1b139a41dd26a2c58cf43ec45972f606/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:198:30: error: size of array ‘test_array’ is negative
  198 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of uint64_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
/* #undef SIZEOF_UINT64_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_1f0e59e4206339ee727e955a449abca4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f0e59e4206339ee727e955a449abca4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_1f0e59e4206339ee727e955a449abca4/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f0e59e4206339ee727e955a449abca4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of void* == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_1162ea4850de7cfb6bc8270852ee1a75/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1162ea4850de7cfb6bc8270852ee1a75/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:198:30: error: size of array ‘test_array’ is negative
  198 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of void* == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
/* #undef SIZEOF_VOID_P */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_194813e86f963ca30bfd20be72b6d583/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_194813e86f963ca30bfd20be72b6d583/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:199:30: error: size of array ‘test_array’ is negative
  199 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of void* == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
/* #undef SIZEOF_VOID_P */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_0a7e7b778a6853d8d66cd98406456e67/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0a7e7b778a6853d8d66cd98406456e67/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_0a7e7b778a6853d8d66cd98406456e67/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0a7e7b778a6853d8d66cd98406456e67/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of off_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_bb225bb844bc08c88d888b016369fa91/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bb225bb844bc08c88d888b016369fa91/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:199:30: error: size of array ‘test_array’ is negative
  199 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of off_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
/* #undef SIZEOF_OFF_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_1f3444d3c1c7d9ef687ae4e938b384df/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f3444d3c1c7d9ef687ae4e938b384df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:200:30: error: size of array ‘test_array’ is negative
  200 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of off_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
/* #undef SIZEOF_OFF_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_ccf6cabed5f907b93864c9a4bfa9b9dc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ccf6cabed5f907b93864c9a4bfa9b9dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:200:30: error: size of array ‘test_array’ is negative
  200 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of off_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
/* #undef SIZEOF_OFF_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_41555b76f1b86f2f7da29a7d461529cb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_41555b76f1b86f2f7da29a7d461529cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_41555b76f1b86f2f7da29a7d461529cb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_41555b76f1b86f2f7da29a7d461529cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of dev_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_27b0813abba53ff4a72ee1df14ac114d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_27b0813abba53ff4a72ee1df14ac114d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:200:30: error: size of array ‘test_array’ is negative
  200 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of dev_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_6029b3abb81ea159b05904edc033e6b7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6029b3abb81ea159b05904edc033e6b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:201:30: error: size of array ‘test_array’ is negative
  201 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of dev_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_d4b8a15a6fe61b3035d868d4ce63b323/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d4b8a15a6fe61b3035d868d4ce63b323/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:201:30: error: size of array ‘test_array’ is negative
  201 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of dev_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
/* #undef SIZEOF_DEV_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_918fea5d13e83b74d60e26023bdc57ce/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_918fea5d13e83b74d60e26023bdc57ce/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_918fea5d13e83b74d60e26023bdc57ce/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_918fea5d13e83b74d60e26023bdc57ce/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of ino_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_41aae3cd56c3591b3af8497a25f20a3a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_41aae3cd56c3591b3af8497a25f20a3a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:201:30: error: size of array ‘test_array’ is negative
  201 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of ino_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_7070714d5254b5d4d53fb6ee745f75c4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7070714d5254b5d4d53fb6ee745f75c4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:202:30: error: size of array ‘test_array’ is negative
  202 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of ino_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_ba264a6e16589c9e9e0df9c20b75a8dc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ba264a6e16589c9e9e0df9c20b75a8dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:202:30: error: size of array ‘test_array’ is negative
  202 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of ino_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
/* #undef SIZEOF_INO_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_fd78636d025ce7c3ed473f5b96e9424c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fd78636d025ce7c3ed473f5b96e9424c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fd78636d025ce7c3ed473f5b96e9424c/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fd78636d025ce7c3ed473f5b96e9424c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking if size of time_t == 1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_9caf121ea7660efc8fea1dc9d940759c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9caf121ea7660efc8fea1dc9d940759c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:202:30: error: size of array ‘test_array’ is negative
  202 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of time_t == 2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_27109494cfc8e9be274eff4bb466baab/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_27109494cfc8e9be274eff4bb466baab/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:203:30: error: size of array ‘test_array’ is negative
  203 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of time_t == 4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_c45ee1a8a8e53f99b05051faccd31f99/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c45ee1a8a8e53f99b05051faccd31f99/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:203:30: error: size of array ‘test_array’ is negative
  203 |  int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; }
      |                              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking if size of time_t == 8
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
/* #undef SIZEOF_TIME_T */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 8)];; return 0; }

<==
[1/2] Compiling bin/.conf_check_acc09ff2a5216a0e20c34e89dd88b318/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_acc09ff2a5216a0e20c34e89dd88b318/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_acc09ff2a5216a0e20c34e89dd88b318/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_acc09ff2a5216a0e20c34e89dd88b318/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for socklen_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
 int main(void) { socklen_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_5beb151f2f3231f041756d2975535080/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5beb151f2f3231f041756d2975535080/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for struct ifaddrs
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ifaddrs.h>
 int main(void) { struct ifaddrs _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_59804a52b0f4d30e29fca20a1ad509c5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_59804a52b0f4d30e29fca20a1ad509c5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for struct addrinfo
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <netdb.h>
 int main(void) { struct addrinfo _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_78d2bcb433f451424ea6a1668c54f35d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_78d2bcb433f451424ea6a1668c54f35d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for struct sockaddr
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
 int main(void) { struct sockaddr _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_f3cf2cd39986b0a9fc3077af98fe96d4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f3cf2cd39986b0a9fc3077af98fe96d4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for HAVE_STRUCT_SOCKADDR_IN6
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr_in6 x; return 0; }

<==
[1/2] Compiling bin/.conf_check_e38116fa6b24514fa8f35080da735f6f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e38116fa6b24514fa8f35080da735f6f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e38116fa6b24514fa8f35080da735f6f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e38116fa6b24514fa8f35080da735f6f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for struct sockaddr_storage
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
 int main(void) { struct sockaddr_storage _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_e615b4c42bb4026a4318028a18efe741/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e615b4c42bb4026a4318028a18efe741/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for sa_family_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
 int main(void) { sa_family_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_6c3ffa76cbaf0042dfbeab69bb096e64/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6c3ffa76cbaf0042dfbeab69bb096e64/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for sig_atomic_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
 int main(void) { sig_atomic_t _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_88ea4b136c26138f58d99b865bf07f59/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_88ea4b136c26138f58d99b865bf07f59/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for sigsetmask
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1



                         #define sigsetmask __fake__sigsetmask
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef sigsetmask
                         #if defined __stub_sigsetmask || defined __stub___sigsetmask
                         #error "bad glibc stub"
                         #endif
                         extern char sigsetmask();
                         int main() { return sigsetmask(); }
                         

<==
[1/2] Compiling bin/.conf_check_82e6877325fcc70078af4b32d4c8f800/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_82e6877325fcc70078af4b32d4c8f800/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_82e6877325fcc70078af4b32d4c8f800/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_82e6877325fcc70078af4b32d4c8f800/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for siggetmask
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1



                         #define siggetmask __fake__siggetmask
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef siggetmask
                         #if defined __stub_siggetmask || defined __stub___siggetmask
                         #error "bad glibc stub"
                         #endif
                         extern char siggetmask();
                         int main() { return siggetmask(); }
                         

<==
[1/2] Compiling bin/.conf_check_90c0607fe638b578a8f1fabb7b5bce39/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_90c0607fe638b578a8f1fabb7b5bce39/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_90c0607fe638b578a8f1fabb7b5bce39/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_90c0607fe638b578a8f1fabb7b5bce39/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_90c0607fe638b578a8f1fabb7b5bce39/testbuild/default/test.c:211:(.text.startup+0x10): warning: warning: `siggetmask' is obsolete; `sigprocmask' is best

ok
--------------------------------------------------------
Checking for sigprocmask
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1



                         #define sigprocmask __fake__sigprocmask
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef sigprocmask
                         #if defined __stub_sigprocmask || defined __stub___sigprocmask
                         #error "bad glibc stub"
                         #endif
                         extern char sigprocmask();
                         int main() { return sigprocmask(); }
                         

<==
[1/2] Compiling bin/.conf_check_7c6f52da1d8341dbb85a573f5a9ed709/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7c6f52da1d8341dbb85a573f5a9ed709/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7c6f52da1d8341dbb85a573f5a9ed709/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7c6f52da1d8341dbb85a573f5a9ed709/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for sigblock
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1



                         #define sigblock __fake__sigblock
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef sigblock
                         #if defined __stub_sigblock || defined __stub___sigblock
                         #error "bad glibc stub"
                         #endif
                         extern char sigblock();
                         int main() { return sigblock(); }
                         

<==
[1/2] Compiling bin/.conf_check_19baec6d055d5534983971ba9729927f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_19baec6d055d5534983971ba9729927f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_19baec6d055d5534983971ba9729927f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_19baec6d055d5534983971ba9729927f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for sigaction
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1



                         #define sigaction __fake__sigaction
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef sigaction
                         #if defined __stub_sigaction || defined __stub___sigaction
                         #error "bad glibc stub"
                         #endif
                         extern char sigaction();
                         int main() { return sigaction(); }
                         

<==
[1/2] Compiling bin/.conf_check_c9e2b437dc8f036992bb88525899d2cb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c9e2b437dc8f036992bb88525899d2cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c9e2b437dc8f036992bb88525899d2cb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c9e2b437dc8f036992bb88525899d2cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for sigset
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1



                         #define sigset __fake__sigset
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef sigset
                         #if defined __stub_sigset || defined __stub___sigset
                         #error "bad glibc stub"
                         #endif
                         extern char sigset();
                         int main() { return sigset(); }
                         

<==
[1/2] Compiling bin/.conf_check_2f734d5b2d344270abd11c3d3f582764/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2f734d5b2d344270abd11c3d3f582764/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2f734d5b2d344270abd11c3d3f582764/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2f734d5b2d344270abd11c3d3f582764/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for inet_ntoa
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1



                         #define inet_ntoa __fake__inet_ntoa
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef inet_ntoa
                         #if defined __stub_inet_ntoa || defined __stub___inet_ntoa
                         #error "bad glibc stub"
                         #endif
                         extern char inet_ntoa();
                         int main() { return inet_ntoa(); }
                         

<==
[1/2] Compiling bin/.conf_check_d5647cb93b7d58b16468d77c4a414046/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d5647cb93b7d58b16468d77c4a414046/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d5647cb93b7d58b16468d77c4a414046/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d5647cb93b7d58b16468d77c4a414046/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for inet_aton
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1



                         #define inet_aton __fake__inet_aton
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef inet_aton
                         #if defined __stub_inet_aton || defined __stub___inet_aton
                         #error "bad glibc stub"
                         #endif
                         extern char inet_aton();
                         int main() { return inet_aton(); }
                         

<==
[1/2] Compiling bin/.conf_check_294160cde71a53b0a8ee60e6e9ab1877/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_294160cde71a53b0a8ee60e6e9ab1877/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_294160cde71a53b0a8ee60e6e9ab1877/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_294160cde71a53b0a8ee60e6e9ab1877/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for inet_ntop
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1



                         #define inet_ntop __fake__inet_ntop
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef inet_ntop
                         #if defined __stub_inet_ntop || defined __stub___inet_ntop
                         #error "bad glibc stub"
                         #endif
                         extern char inet_ntop();
                         int main() { return inet_ntop(); }
                         

<==
[1/2] Compiling bin/.conf_check_4b626535f91d683227f6fb7999651074/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4b626535f91d683227f6fb7999651074/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4b626535f91d683227f6fb7999651074/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4b626535f91d683227f6fb7999651074/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for inet_pton
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1



                         #define inet_pton __fake__inet_pton
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef inet_pton
                         #if defined __stub_inet_pton || defined __stub___inet_pton
                         #error "bad glibc stub"
                         #endif
                         extern char inet_pton();
                         int main() { return inet_pton(); }
                         

<==
[1/2] Compiling bin/.conf_check_d1826e923b26f6de1de695ed439754ed/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1826e923b26f6de1de695ed439754ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d1826e923b26f6de1de695ed439754ed/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1826e923b26f6de1de695ed439754ed/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for connect
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1



                         #define connect __fake__connect
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef connect
                         #if defined __stub_connect || defined __stub___connect
                         #error "bad glibc stub"
                         #endif
                         extern char connect();
                         int main() { return connect(); }
                         

<==
[1/2] Compiling bin/.conf_check_c30d9b82f52b1079d5484ffe08e3be42/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c30d9b82f52b1079d5484ffe08e3be42/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c30d9b82f52b1079d5484ffe08e3be42/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c30d9b82f52b1079d5484ffe08e3be42/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for gethostbyname
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1



                         #define gethostbyname __fake__gethostbyname
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef gethostbyname
                         #if defined __stub_gethostbyname || defined __stub___gethostbyname
                         #error "bad glibc stub"
                         #endif
                         extern char gethostbyname();
                         int main() { return gethostbyname(); }
                         

<==
[1/2] Compiling bin/.conf_check_8f323897e101973b2e4a2ab069b20e8b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f323897e101973b2e4a2ab069b20e8b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_8f323897e101973b2e4a2ab069b20e8b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f323897e101973b2e4a2ab069b20e8b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for getaddrinfo
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1



                         #define getaddrinfo __fake__getaddrinfo
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getaddrinfo
                         #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
                         #error "bad glibc stub"
                         #endif
                         extern char getaddrinfo();
                         int main() { return getaddrinfo(); }
                         

<==
[1/2] Compiling bin/.conf_check_6cb51a3db2c127b5e101188a2a64aff7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6cb51a3db2c127b5e101188a2a64aff7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_6cb51a3db2c127b5e101188a2a64aff7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6cb51a3db2c127b5e101188a2a64aff7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for getnameinfo
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1



                         #define getnameinfo __fake__getnameinfo
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getnameinfo
                         #if defined __stub_getnameinfo || defined __stub___getnameinfo
                         #error "bad glibc stub"
                         #endif
                         extern char getnameinfo();
                         int main() { return getnameinfo(); }
                         

<==
[1/2] Compiling bin/.conf_check_8ab964ac3677f2fe927fbb12dbd563af/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8ab964ac3677f2fe927fbb12dbd563af/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_8ab964ac3677f2fe927fbb12dbd563af/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8ab964ac3677f2fe927fbb12dbd563af/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for freeaddrinfo
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1



                         #define freeaddrinfo __fake__freeaddrinfo
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef freeaddrinfo
                         #if defined __stub_freeaddrinfo || defined __stub___freeaddrinfo
                         #error "bad glibc stub"
                         #endif
                         extern char freeaddrinfo();
                         int main() { return freeaddrinfo(); }
                         

<==
[1/2] Compiling bin/.conf_check_dfb98242373e858c00c1e45e87ca85f5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dfb98242373e858c00c1e45e87ca85f5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_dfb98242373e858c00c1e45e87ca85f5/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dfb98242373e858c00c1e45e87ca85f5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for gai_strerror
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1



                         #define gai_strerror __fake__gai_strerror
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef gai_strerror
                         #if defined __stub_gai_strerror || defined __stub___gai_strerror
                         #error "bad glibc stub"
                         #endif
                         extern char gai_strerror();
                         int main() { return gai_strerror(); }
                         

<==
[1/2] Compiling bin/.conf_check_c2a1927ed1e6279383359e3a29b0e99b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c2a1927ed1e6279383359e3a29b0e99b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c2a1927ed1e6279383359e3a29b0e99b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c2a1927ed1e6279383359e3a29b0e99b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for socketpair
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1



                         #define socketpair __fake__socketpair
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef socketpair
                         #if defined __stub_socketpair || defined __stub___socketpair
                         #error "bad glibc stub"
                         #endif
                         extern char socketpair();
                         int main() { return socketpair(); }
                         

<==
[1/2] Compiling bin/.conf_check_a95d57087f6de08d0279fbc70b75381f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a95d57087f6de08d0279fbc70b75381f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_a95d57087f6de08d0279fbc70b75381f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a95d57087f6de08d0279fbc70b75381f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for memset_s
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1



                         #define memset_s __fake__memset_s
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef memset_s
                         #if defined __stub_memset_s || defined __stub___memset_s
                         #error "bad glibc stub"
                         #endif
                         extern char memset_s();
                         int main() { return memset_s(); }
                         

<==
[1/2] Compiling bin/.conf_check_8f46df8ac9ca6dbe227901f65deb5d83/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f46df8ac9ca6dbe227901f65deb5d83/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_8f46df8ac9ca6dbe227901f65deb5d83/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f46df8ac9ca6dbe227901f65deb5d83/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_8f46df8ac9ca6dbe227901f65deb5d83/testbuild/default/test.c:227:(.text.startup+0x10): undefined reference to `memset_s'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_3e121b8532c26cfa2122d4a839b6bd0f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3e121b8532c26cfa2122d4a839b6bd0f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:229:39: error: ‘memset_s’ undeclared (first use in this function); did you mean ‘memset’?
  229 |  int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; }
      |                                       ^~~~~~~~
      |                                       memset
../../test.c:229:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for memset_explicit
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */



                         #define memset_explicit __fake__memset_explicit
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef memset_explicit
                         #if defined __stub_memset_explicit || defined __stub___memset_explicit
                         #error "bad glibc stub"
                         #endif
                         extern char memset_explicit();
                         int main() { return memset_explicit(); }
                         

<==
[1/2] Compiling bin/.conf_check_09b63b3c83fa1320dbefd88554ccb486/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_09b63b3c83fa1320dbefd88554ccb486/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_09b63b3c83fa1320dbefd88554ccb486/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_09b63b3c83fa1320dbefd88554ccb486/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_09b63b3c83fa1320dbefd88554ccb486/testbuild/default/test.c:228:(.text.startup+0x10): undefined reference to `memset_explicit'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_4378cab1bc77df7acf523f436779370f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4378cab1bc77df7acf523f436779370f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:230:39: error: ‘memset_explicit’ undeclared (first use in this function)
  230 |  int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~~~~~~
../../test.c:230:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for volatile memory protection
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                    #include <string.h>

                    int main(void)
                    {
                        char buf[] = "This is some content";
                        memset(buf, '', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory");
                        return 0;
                    }
                    

<==
[1/2] Compiling bin/.conf_check_4804c9f96df4d18bb16bc1f7467d3d1f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4804c9f96df4d18bb16bc1f7467d3d1f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:236:37: warning: null character(s) preserved in literal
  236 |                         memset(buf, ' ', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory");
      |                                     ^

[2/2] Linking bin/.conf_check_4804c9f96df4d18bb16bc1f7467d3d1f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4804c9f96df4d18bb16bc1f7467d3d1f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for variable IPV6_V6ONLY
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
 int main(void) { 
                      #ifndef IPV6_V6ONLY
                      void *_x; _x=(void *)&IPV6_V6ONLY; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f1d848f5e715994e804bf125c4540a38/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1d848f5e715994e804bf125c4540a38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
--------------------------------------------------------
Checking for header net/if.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <net/if.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_bf15e1d929993849b57958457341b0f3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bf15e1d929993849b57958457341b0f3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
--------------------------------------------------------
Checking for HAVE_IPV6
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <net/if.h>
 int main(void) { 
                       struct sockaddr_storage sa_store;
                       struct addrinfo *ai = NULL;
                       struct in6_addr in6addr;
                       int idx = if_nametoindex("iface1");
                       int s = socket(AF_INET6, SOCK_STREAM, 0);
                       int ret = getaddrinfo(NULL, NULL, NULL, &ai);
                       if (ret != 0) {
                           const char *es = gai_strerror(ret);
                       }
                       freeaddrinfo(ai);
                       {
                          int val = 1;
                          #ifdef HAVE_LINUX_IPV6_V6ONLY_26
                          #define IPV6_V6ONLY 26
                          #endif
                          ret = setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
                                           (const void *)&val, sizeof(val));
                       }
                       ; return 0; }

<==
[1/2] Compiling bin/.conf_check_f9f23c3f6c6ee107361237e6096fe978/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f9f23c3f6c6ee107361237e6096fe978/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_f9f23c3f6c6ee107361237e6096fe978/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f9f23c3f6c6ee107361237e6096fe978/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking whether we have ucontext_t
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
#include <sys/ucontext.h>
 int main(void) { 
                       ucontext_t uc;
                       sigaddset(&uc.uc_sigmask, SIGUSR1);
                       ; return 0; }

<==
[1/2] Compiling bin/.conf_check_5d73de4a1c55d0a4baed1a58fef466cd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5d73de4a1c55d0a4baed1a58fef466cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5d73de4a1c55d0a4baed1a58fef466cd/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5d73de4a1c55d0a4baed1a58fef466cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for __sync_fetch_and_add compiler builtin
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                    int i;
                    (void)__sync_fetch_and_add(&i, 1);
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_0a66eba422f765f7f9c209e413636ca0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0a66eba422f765f7f9c209e413636ca0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_0a66eba422f765f7f9c209e413636ca0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0a66eba422f765f7f9c209e413636ca0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for __sync_add_and_fetch compiler builtin
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                    int i;
                    (void)__sync_add_and_fetch(&i, 1);
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_782ea75029686f4412a448742b717650/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_782ea75029686f4412a448742b717650/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_782ea75029686f4412a448742b717650/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_782ea75029686f4412a448742b717650/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for atomic_add_32 compiler builtin
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdint.h>
 int main(void) { 
                    int32_t i;
                    atomic_add_32(&i, 1);
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_c5d0b3d96d8cfc4913cf89aeb482ae86/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c5d0b3d96d8cfc4913cf89aeb482ae86/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:240:21: error: implicit declaration of function ‘atomic_add_32’ [-Werror=implicit-function-declaration]
  240 |                     atomic_add_32(&i, 1);
      |                     ^~~~~~~~~~~~~
cc1: some warnings being treated as errors

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
--------------------------------------------------------
Checking for __atomic_add_fetch compiler builtin
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdint.h>
 int main(void) { 
                    uint32_t i,j;
                    j = __atomic_add_fetch(&i,1,__ATOMIC_SEQ_CST)
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_c71feb96fad22815fd28dc4caa9ccda5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c71feb96fad22815fd28dc4caa9ccda5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c71feb96fad22815fd28dc4caa9ccda5/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c71feb96fad22815fd28dc4caa9ccda5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
--------------------------------------------------------
Checking for __atomic_load compiler builtin
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdint.h>
 int main(void) { 
                    uint32_t i,j;
                    __atomic_load(&i,&j,__ATOMIC_SEQ_CST)
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_19555f4e6e6b4b0b039bc81b013c1aac/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_19555f4e6e6b4b0b039bc81b013c1aac/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_19555f4e6e6b4b0b039bc81b013c1aac/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_19555f4e6e6b4b0b039bc81b013c1aac/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for atomic_thread_fence(memory_order_seq_cst) in stdatomic.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdatomic.h>
 int main(void) { atomic_thread_fence(memory_order_seq_cst);; return 0; }

<==
[1/2] Compiling bin/.conf_check_42adfdb79df44e9e3c0867ddb185907d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_42adfdb79df44e9e3c0867ddb185907d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_42adfdb79df44e9e3c0867ddb185907d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_42adfdb79df44e9e3c0867ddb185907d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for fallthrough attribute
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                    #define FALL_THROUGH __attribute__((fallthrough))

                    enum direction_e {
                        UP = 0,
                        DOWN,
                    };

                    int main(void) {
                        enum direction_e key = UP;
                        int i = 10;
                        int j = 0;

                        switch (key) {
                        case UP:
                            i = 5;
                            FALL_THROUGH;
                        case DOWN:
                            j = i * 2;
                            break;
                        default:
                            break;
                        }

                        if (j < i) {
                            return 1;
                        }

                        return 0;
                    }
                    

<==
[1/2] Compiling bin/.conf_check_2d1f4e68929b308ef7ce569de8457efc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=missing-declarations', '-Werror', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2d1f4e68929b308ef7ce569de8457efc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2d1f4e68929b308ef7ce569de8457efc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2d1f4e68929b308ef7ce569de8457efc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strdup
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef strdup
                      void *_x; _x=(void *)&strdup; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_bb1ce3c682dce4a091c62eeaa7d08af0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bb1ce3c682dce4a091c62eeaa7d08af0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for memmem
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef memmem
                      void *_x; _x=(void *)&memmem; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_07b44acec6f989b12cf4df01ba62e1d9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_07b44acec6f989b12cf4df01ba62e1d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for printf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef printf
                      void *_x; _x=(void *)&printf; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f012e62211eacaea6bbd1230e3de45f0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f012e62211eacaea6bbd1230e3de45f0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for memset
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef memset
                      void *_x; _x=(void *)&memset; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b1c107d2d03df12299da9a2f9ceccca2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b1c107d2d03df12299da9a2f9ceccca2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for memcpy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef memcpy
                      void *_x; _x=(void *)&memcpy; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_8f90a044db9b3d8944c096cc58fe29c1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f90a044db9b3d8944c096cc58fe29c1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for memmove
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef memmove
                      void *_x; _x=(void *)&memmove; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_04a7ab0f8a57225d4a724d657db98865/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_04a7ab0f8a57225d4a724d657db98865/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for strcpy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef strcpy
                      void *_x; _x=(void *)&strcpy; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_4430b73566c76635250759e818794ac7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4430b73566c76635250759e818794ac7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for strncpy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef strncpy
                      void *_x; _x=(void *)&strncpy; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_982eac9328c223ba23321df5fc5d2429/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_982eac9328c223ba23321df5fc5d2429/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for bzero
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef bzero
                      void *_x; _x=(void *)&bzero; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_e858d5d30233a011d5cecde8b235437e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e858d5d30233a011d5cecde8b235437e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for shl_load
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1



                         #define shl_load __fake__shl_load
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef shl_load
                         #if defined __stub_shl_load || defined __stub___shl_load
                         #error "bad glibc stub"
                         #endif
                         extern char shl_load();
                         int main() { return shl_load(); }
                         

<==
[1/2] Compiling bin/.conf_check_fb2ebcad3bd37e98b150fa1d43dcb969/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fb2ebcad3bd37e98b150fa1d43dcb969/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fb2ebcad3bd37e98b150fa1d43dcb969/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fb2ebcad3bd37e98b150fa1d43dcb969/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_fb2ebcad3bd37e98b150fa1d43dcb969/testbuild/default/test.c:251:(.text.startup+0x10): undefined reference to `shl_load'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_0d0414c0dfe172cc7cd08d106c2a3bc4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0d0414c0dfe172cc7cd08d106c2a3bc4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:253:39: error: ‘shl_load’ undeclared (first use in this function)
  253 |  int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; }
      |                                       ^~~~~~~~
../../test.c:253:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for shl_unload
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */



                         #define shl_unload __fake__shl_unload
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef shl_unload
                         #if defined __stub_shl_unload || defined __stub___shl_unload
                         #error "bad glibc stub"
                         #endif
                         extern char shl_unload();
                         int main() { return shl_unload(); }
                         

<==
[1/2] Compiling bin/.conf_check_bf1cf47a1a78db67c37b3f19abaae5c4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bf1cf47a1a78db67c37b3f19abaae5c4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bf1cf47a1a78db67c37b3f19abaae5c4/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bf1cf47a1a78db67c37b3f19abaae5c4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_bf1cf47a1a78db67c37b3f19abaae5c4/testbuild/default/test.c:252:(.text.startup+0x10): undefined reference to `shl_unload'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_7f37935352b21ccfb780421f91bcf875/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7f37935352b21ccfb780421f91bcf875/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:254:39: error: ‘shl_unload’ undeclared (first use in this function)
  254 |  int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~
../../test.c:254:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for shl_findsym
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */



                         #define shl_findsym __fake__shl_findsym
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef shl_findsym
                         #if defined __stub_shl_findsym || defined __stub___shl_findsym
                         #error "bad glibc stub"
                         #endif
                         extern char shl_findsym();
                         int main() { return shl_findsym(); }
                         

<==
[1/2] Compiling bin/.conf_check_1f555e0f5a3a765bded866fad6bf915a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f555e0f5a3a765bded866fad6bf915a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_1f555e0f5a3a765bded866fad6bf915a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1f555e0f5a3a765bded866fad6bf915a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_1f555e0f5a3a765bded866fad6bf915a/testbuild/default/test.c:253:(.text.startup+0x10): undefined reference to `shl_findsym'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_60e15a12b2f499f240915033dcc55847/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_60e15a12b2f499f240915033dcc55847/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:255:39: error: ‘shl_findsym’ undeclared (first use in this function)
  255 |  int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~~
../../test.c:255:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for pipe
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */



                         #define pipe __fake__pipe
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pipe
                         #if defined __stub_pipe || defined __stub___pipe
                         #error "bad glibc stub"
                         #endif
                         extern char pipe();
                         int main() { return pipe(); }
                         

<==
[1/2] Compiling bin/.conf_check_d1cdc204565b77a1c7c651169afaad87/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1cdc204565b77a1c7c651169afaad87/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d1cdc204565b77a1c7c651169afaad87/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1cdc204565b77a1c7c651169afaad87/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strftime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1



                         #define strftime __fake__strftime
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strftime
                         #if defined __stub_strftime || defined __stub___strftime
                         #error "bad glibc stub"
                         #endif
                         extern char strftime();
                         int main() { return strftime(); }
                         

<==
[1/2] Compiling bin/.conf_check_e4c8b62144ffcb17cdc1ff212386c715/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e4c8b62144ffcb17cdc1ff212386c715/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:254:38: warning: conflicting types for built-in function ‘strftime’; expected ‘unsigned int(char *, unsigned int,  const char *, const void *)’ [-Wbuiltin-declaration-mismatch]
  254 |                          extern char strftime();
      |                                      ^~~~~~~~
../../test.c:247:1: note: ‘strftime’ is declared in header ‘<time.h>’
  246 |                          # include <limits.h>
  +++ |+#include <time.h>
  247 |                          #else

[2/2] Linking bin/.conf_check_e4c8b62144ffcb17cdc1ff212386c715/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e4c8b62144ffcb17cdc1ff212386c715/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for srandom
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1



                         #define srandom __fake__srandom
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef srandom
                         #if defined __stub_srandom || defined __stub___srandom
                         #error "bad glibc stub"
                         #endif
                         extern char srandom();
                         int main() { return srandom(); }
                         

<==
[1/2] Compiling bin/.conf_check_40c026cd8c8a4d33775f638f87a5b9d3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_40c026cd8c8a4d33775f638f87a5b9d3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_40c026cd8c8a4d33775f638f87a5b9d3/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_40c026cd8c8a4d33775f638f87a5b9d3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for random
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1



                         #define random __fake__random
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef random
                         #if defined __stub_random || defined __stub___random
                         #error "bad glibc stub"
                         #endif
                         extern char random();
                         int main() { return random(); }
                         

<==
[1/2] Compiling bin/.conf_check_680d3ca8dec3661e0b7f925b1383e29e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_680d3ca8dec3661e0b7f925b1383e29e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_680d3ca8dec3661e0b7f925b1383e29e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_680d3ca8dec3661e0b7f925b1383e29e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for srand
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1



                         #define srand __fake__srand
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef srand
                         #if defined __stub_srand || defined __stub___srand
                         #error "bad glibc stub"
                         #endif
                         extern char srand();
                         int main() { return srand(); }
                         

<==
[1/2] Compiling bin/.conf_check_7d60e16cdae97d640c75a7f8c879781c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7d60e16cdae97d640c75a7f8c879781c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7d60e16cdae97d640c75a7f8c879781c/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7d60e16cdae97d640c75a7f8c879781c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for rand
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1



                         #define rand __fake__rand
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef rand
                         #if defined __stub_rand || defined __stub___rand
                         #error "bad glibc stub"
                         #endif
                         extern char rand();
                         int main() { return rand(); }
                         

<==
[1/2] Compiling bin/.conf_check_3a3a1f6537cb0025879852a9ee57798b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3a3a1f6537cb0025879852a9ee57798b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3a3a1f6537cb0025879852a9ee57798b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3a3a1f6537cb0025879852a9ee57798b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for usleep
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1



                         #define usleep __fake__usleep
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef usleep
                         #if defined __stub_usleep || defined __stub___usleep
                         #error "bad glibc stub"
                         #endif
                         extern char usleep();
                         int main() { return usleep(); }
                         

<==
[1/2] Compiling bin/.conf_check_84b0e8be237e3236b4f530d640ed5736/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_84b0e8be237e3236b4f530d640ed5736/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_84b0e8be237e3236b4f530d640ed5736/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_84b0e8be237e3236b4f530d640ed5736/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setbuffer
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1



                         #define setbuffer __fake__setbuffer
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setbuffer
                         #if defined __stub_setbuffer || defined __stub___setbuffer
                         #error "bad glibc stub"
                         #endif
                         extern char setbuffer();
                         int main() { return setbuffer(); }
                         

<==
[1/2] Compiling bin/.conf_check_6a358130926fe6cf28e85b39a4e1b6b4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6a358130926fe6cf28e85b39a4e1b6b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_6a358130926fe6cf28e85b39a4e1b6b4/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6a358130926fe6cf28e85b39a4e1b6b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for lstat
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1



                         #define lstat __fake__lstat
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef lstat
                         #if defined __stub_lstat || defined __stub___lstat
                         #error "bad glibc stub"
                         #endif
                         extern char lstat();
                         int main() { return lstat(); }
                         

<==
[1/2] Compiling bin/.conf_check_32f403cdd1cf56f6a16f63b7aec58bb2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_32f403cdd1cf56f6a16f63b7aec58bb2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_32f403cdd1cf56f6a16f63b7aec58bb2/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_32f403cdd1cf56f6a16f63b7aec58bb2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpgrp
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1



                         #define getpgrp __fake__getpgrp
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpgrp
                         #if defined __stub_getpgrp || defined __stub___getpgrp
                         #error "bad glibc stub"
                         #endif
                         extern char getpgrp();
                         int main() { return getpgrp(); }
                         

<==
[1/2] Compiling bin/.conf_check_abd7835233f2e93ccceb63c7da6d788b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_abd7835233f2e93ccceb63c7da6d788b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_abd7835233f2e93ccceb63c7da6d788b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_abd7835233f2e93ccceb63c7da6d788b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for utime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1



                         #define utime __fake__utime
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef utime
                         #if defined __stub_utime || defined __stub___utime
                         #error "bad glibc stub"
                         #endif
                         extern char utime();
                         int main() { return utime(); }
                         

<==
[1/2] Compiling bin/.conf_check_85034ca740e5cba8eb134c6a83c4bba0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_85034ca740e5cba8eb134c6a83c4bba0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_85034ca740e5cba8eb134c6a83c4bba0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_85034ca740e5cba8eb134c6a83c4bba0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for utimes
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1



                         #define utimes __fake__utimes
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef utimes
                         #if defined __stub_utimes || defined __stub___utimes
                         #error "bad glibc stub"
                         #endif
                         extern char utimes();
                         int main() { return utimes(); }
                         

<==
[1/2] Compiling bin/.conf_check_131927d1842a40df63e16ce0d400d086/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_131927d1842a40df63e16ce0d400d086/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_131927d1842a40df63e16ce0d400d086/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_131927d1842a40df63e16ce0d400d086/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setuid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1



                         #define setuid __fake__setuid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setuid
                         #if defined __stub_setuid || defined __stub___setuid
                         #error "bad glibc stub"
                         #endif
                         extern char setuid();
                         int main() { return setuid(); }
                         

<==
[1/2] Compiling bin/.conf_check_047e1a4fe18a87b2677f9abe8f521e52/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_047e1a4fe18a87b2677f9abe8f521e52/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_047e1a4fe18a87b2677f9abe8f521e52/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_047e1a4fe18a87b2677f9abe8f521e52/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for seteuid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1



                         #define seteuid __fake__seteuid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef seteuid
                         #if defined __stub_seteuid || defined __stub___seteuid
                         #error "bad glibc stub"
                         #endif
                         extern char seteuid();
                         int main() { return seteuid(); }
                         

<==
[1/2] Compiling bin/.conf_check_8755ac6c072b2116e845d00797c8142f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8755ac6c072b2116e845d00797c8142f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_8755ac6c072b2116e845d00797c8142f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8755ac6c072b2116e845d00797c8142f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setreuid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1



                         #define setreuid __fake__setreuid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setreuid
                         #if defined __stub_setreuid || defined __stub___setreuid
                         #error "bad glibc stub"
                         #endif
                         extern char setreuid();
                         int main() { return setreuid(); }
                         

<==
[1/2] Compiling bin/.conf_check_a0c107643077640a0068e4fc3abb2f28/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a0c107643077640a0068e4fc3abb2f28/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_a0c107643077640a0068e4fc3abb2f28/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a0c107643077640a0068e4fc3abb2f28/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setresuid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1



                         #define setresuid __fake__setresuid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setresuid
                         #if defined __stub_setresuid || defined __stub___setresuid
                         #error "bad glibc stub"
                         #endif
                         extern char setresuid();
                         int main() { return setresuid(); }
                         

<==
[1/2] Compiling bin/.conf_check_bc851da552ecb0481210be5ab3d646ae/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bc851da552ecb0481210be5ab3d646ae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bc851da552ecb0481210be5ab3d646ae/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bc851da552ecb0481210be5ab3d646ae/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setgid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1



                         #define setgid __fake__setgid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setgid
                         #if defined __stub_setgid || defined __stub___setgid
                         #error "bad glibc stub"
                         #endif
                         extern char setgid();
                         int main() { return setgid(); }
                         

<==
[1/2] Compiling bin/.conf_check_4c5a001ed6d38a9c302e35f6a3884341/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4c5a001ed6d38a9c302e35f6a3884341/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4c5a001ed6d38a9c302e35f6a3884341/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4c5a001ed6d38a9c302e35f6a3884341/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setegid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1



                         #define setegid __fake__setegid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setegid
                         #if defined __stub_setegid || defined __stub___setegid
                         #error "bad glibc stub"
                         #endif
                         extern char setegid();
                         int main() { return setegid(); }
                         

<==
[1/2] Compiling bin/.conf_check_fe1dbd68371a89c5a035b2931167cde0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fe1dbd68371a89c5a035b2931167cde0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fe1dbd68371a89c5a035b2931167cde0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fe1dbd68371a89c5a035b2931167cde0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setregid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1



                         #define setregid __fake__setregid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setregid
                         #if defined __stub_setregid || defined __stub___setregid
                         #error "bad glibc stub"
                         #endif
                         extern char setregid();
                         int main() { return setregid(); }
                         

<==
[1/2] Compiling bin/.conf_check_306ea3defb5d4565c45cbafd9490ff93/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_306ea3defb5d4565c45cbafd9490ff93/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_306ea3defb5d4565c45cbafd9490ff93/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_306ea3defb5d4565c45cbafd9490ff93/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setresgid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1



                         #define setresgid __fake__setresgid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setresgid
                         #if defined __stub_setresgid || defined __stub___setresgid
                         #error "bad glibc stub"
                         #endif
                         extern char setresgid();
                         int main() { return setresgid(); }
                         

<==
[1/2] Compiling bin/.conf_check_5c34e3bd940a5b068877a19978b86e77/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5c34e3bd940a5b068877a19978b86e77/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5c34e3bd940a5b068877a19978b86e77/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5c34e3bd940a5b068877a19978b86e77/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for chroot
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1



                         #define chroot __fake__chroot
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef chroot
                         #if defined __stub_chroot || defined __stub___chroot
                         #error "bad glibc stub"
                         #endif
                         extern char chroot();
                         int main() { return chroot(); }
                         

<==
[1/2] Compiling bin/.conf_check_15169ff1111891a9d0865566796deabc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_15169ff1111891a9d0865566796deabc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_15169ff1111891a9d0865566796deabc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_15169ff1111891a9d0865566796deabc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strerror
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1



                         #define strerror __fake__strerror
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strerror
                         #if defined __stub_strerror || defined __stub___strerror
                         #error "bad glibc stub"
                         #endif
                         extern char strerror();
                         int main() { return strerror(); }
                         

<==
[1/2] Compiling bin/.conf_check_0e8783accb39ef3fa92981df08a2fb2d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0e8783accb39ef3fa92981df08a2fb2d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_0e8783accb39ef3fa92981df08a2fb2d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0e8783accb39ef3fa92981df08a2fb2d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for vsyslog
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1



                         #define vsyslog __fake__vsyslog
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef vsyslog
                         #if defined __stub_vsyslog || defined __stub___vsyslog
                         #error "bad glibc stub"
                         #endif
                         extern char vsyslog();
                         int main() { return vsyslog(); }
                         

<==
[1/2] Compiling bin/.conf_check_575ea29f9220136a30382b478257acf8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_575ea29f9220136a30382b478257acf8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_575ea29f9220136a30382b478257acf8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_575ea29f9220136a30382b478257acf8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setlinebuf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1



                         #define setlinebuf __fake__setlinebuf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setlinebuf
                         #if defined __stub_setlinebuf || defined __stub___setlinebuf
                         #error "bad glibc stub"
                         #endif
                         extern char setlinebuf();
                         int main() { return setlinebuf(); }
                         

<==
[1/2] Compiling bin/.conf_check_8fd4363165259acfa10ebfd56753bd14/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8fd4363165259acfa10ebfd56753bd14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_8fd4363165259acfa10ebfd56753bd14/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8fd4363165259acfa10ebfd56753bd14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for mktime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1



                         #define mktime __fake__mktime
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef mktime
                         #if defined __stub_mktime || defined __stub___mktime
                         #error "bad glibc stub"
                         #endif
                         extern char mktime();
                         int main() { return mktime(); }
                         

<==
[1/2] Compiling bin/.conf_check_7e20d79730c1fce9a1b7762605c5f6d2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7e20d79730c1fce9a1b7762605c5f6d2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7e20d79730c1fce9a1b7762605c5f6d2/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7e20d79730c1fce9a1b7762605c5f6d2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for ftruncate
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1



                         #define ftruncate __fake__ftruncate
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef ftruncate
                         #if defined __stub_ftruncate || defined __stub___ftruncate
                         #error "bad glibc stub"
                         #endif
                         extern char ftruncate();
                         int main() { return ftruncate(); }
                         

<==
[1/2] Compiling bin/.conf_check_c5657bcad2551406216e53c50a876df9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c5657bcad2551406216e53c50a876df9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c5657bcad2551406216e53c50a876df9/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c5657bcad2551406216e53c50a876df9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for chsize
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1



                         #define chsize __fake__chsize
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef chsize
                         #if defined __stub_chsize || defined __stub___chsize
                         #error "bad glibc stub"
                         #endif
                         extern char chsize();
                         int main() { return chsize(); }
                         

<==
[1/2] Compiling bin/.conf_check_1cc73bb3de3f3783534b769d195a988a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1cc73bb3de3f3783534b769d195a988a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_1cc73bb3de3f3783534b769d195a988a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1cc73bb3de3f3783534b769d195a988a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_1cc73bb3de3f3783534b769d195a988a/testbuild/default/test.c:280:(.text.startup+0x10): undefined reference to `chsize'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_128132658233d6424548116eb68283fb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_128132658233d6424548116eb68283fb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:282:39: error: ‘chsize’ undeclared (first use in this function)
  282 |  int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; }
      |                                       ^~~~~~
../../test.c:282:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for rename
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */



                         #define rename __fake__rename
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef rename
                         #if defined __stub_rename || defined __stub___rename
                         #error "bad glibc stub"
                         #endif
                         extern char rename();
                         int main() { return rename(); }
                         

<==
[1/2] Compiling bin/.conf_check_06b379ce97d32f785322d2c889da83a9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_06b379ce97d32f785322d2c889da83a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_06b379ce97d32f785322d2c889da83a9/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_06b379ce97d32f785322d2c889da83a9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for waitpid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1



                         #define waitpid __fake__waitpid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef waitpid
                         #if defined __stub_waitpid || defined __stub___waitpid
                         #error "bad glibc stub"
                         #endif
                         extern char waitpid();
                         int main() { return waitpid(); }
                         

<==
[1/2] Compiling bin/.conf_check_9d80061240c38856262ce88e7c4bc2c7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9d80061240c38856262ce88e7c4bc2c7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9d80061240c38856262ce88e7c4bc2c7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9d80061240c38856262ce88e7c4bc2c7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for wait4
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1



                         #define wait4 __fake__wait4
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef wait4
                         #if defined __stub_wait4 || defined __stub___wait4
                         #error "bad glibc stub"
                         #endif
                         extern char wait4();
                         int main() { return wait4(); }
                         

<==
[1/2] Compiling bin/.conf_check_9543b8a01f8a2ca71c6d83dfde18b1a4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9543b8a01f8a2ca71c6d83dfde18b1a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9543b8a01f8a2ca71c6d83dfde18b1a4/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9543b8a01f8a2ca71c6d83dfde18b1a4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for initgroups
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1



                         #define initgroups __fake__initgroups
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef initgroups
                         #if defined __stub_initgroups || defined __stub___initgroups
                         #error "bad glibc stub"
                         #endif
                         extern char initgroups();
                         int main() { return initgroups(); }
                         

<==
[1/2] Compiling bin/.conf_check_e0d7ffc008ef5ea5dc28fed67bd98305/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e0d7ffc008ef5ea5dc28fed67bd98305/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e0d7ffc008ef5ea5dc28fed67bd98305/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e0d7ffc008ef5ea5dc28fed67bd98305/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for pread
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1



                         #define pread __fake__pread
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pread
                         #if defined __stub_pread || defined __stub___pread
                         #error "bad glibc stub"
                         #endif
                         extern char pread();
                         int main() { return pread(); }
                         

<==
[1/2] Compiling bin/.conf_check_2315432b9cc72e54d07066049a0c3687/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2315432b9cc72e54d07066049a0c3687/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2315432b9cc72e54d07066049a0c3687/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2315432b9cc72e54d07066049a0c3687/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for pwrite
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1



                         #define pwrite __fake__pwrite
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pwrite
                         #if defined __stub_pwrite || defined __stub___pwrite
                         #error "bad glibc stub"
                         #endif
                         extern char pwrite();
                         int main() { return pwrite(); }
                         

<==
[1/2] Compiling bin/.conf_check_b0b2c3826ccb8a35c73b35d775e15ada/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0b2c3826ccb8a35c73b35d775e15ada/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b0b2c3826ccb8a35c73b35d775e15ada/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0b2c3826ccb8a35c73b35d775e15ada/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strndup
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1



                         #define strndup __fake__strndup
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strndup
                         #if defined __stub_strndup || defined __stub___strndup
                         #error "bad glibc stub"
                         #endif
                         extern char strndup();
                         int main() { return strndup(); }
                         

<==
[1/2] Compiling bin/.conf_check_cf1cd305a1c47aefe0a368ae674f743b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cf1cd305a1c47aefe0a368ae674f743b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:286:38: warning: conflicting types for built-in function ‘strndup’; expected ‘char *(const char *, unsigned int)’ [-Wbuiltin-declaration-mismatch]
  286 |                          extern char strndup();
      |                                      ^~~~~~~

[2/2] Linking bin/.conf_check_cf1cd305a1c47aefe0a368ae674f743b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cf1cd305a1c47aefe0a368ae674f743b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strcasestr
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1



                         #define strcasestr __fake__strcasestr
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strcasestr
                         #if defined __stub_strcasestr || defined __stub___strcasestr
                         #error "bad glibc stub"
                         #endif
                         extern char strcasestr();
                         int main() { return strcasestr(); }
                         

<==
[1/2] Compiling bin/.conf_check_39e3f6ac41d7de30fea1dd00f9de6824/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_39e3f6ac41d7de30fea1dd00f9de6824/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_39e3f6ac41d7de30fea1dd00f9de6824/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_39e3f6ac41d7de30fea1dd00f9de6824/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strsep
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1



                         #define strsep __fake__strsep
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strsep
                         #if defined __stub_strsep || defined __stub___strsep
                         #error "bad glibc stub"
                         #endif
                         extern char strsep();
                         int main() { return strsep(); }
                         

<==
[1/2] Compiling bin/.conf_check_74c6a8e11a9b9af987610827e2a3229b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_74c6a8e11a9b9af987610827e2a3229b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_74c6a8e11a9b9af987610827e2a3229b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_74c6a8e11a9b9af987610827e2a3229b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strtok_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1



                         #define strtok_r __fake__strtok_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strtok_r
                         #if defined __stub_strtok_r || defined __stub___strtok_r
                         #error "bad glibc stub"
                         #endif
                         extern char strtok_r();
                         int main() { return strtok_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_ef3c864ef0fb85ab72d250e01036fa8d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ef3c864ef0fb85ab72d250e01036fa8d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ef3c864ef0fb85ab72d250e01036fa8d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ef3c864ef0fb85ab72d250e01036fa8d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for mkdtemp
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1



                         #define mkdtemp __fake__mkdtemp
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef mkdtemp
                         #if defined __stub_mkdtemp || defined __stub___mkdtemp
                         #error "bad glibc stub"
                         #endif
                         extern char mkdtemp();
                         int main() { return mkdtemp(); }
                         

<==
[1/2] Compiling bin/.conf_check_a743b0cde373afdf5272ef684eadfb81/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a743b0cde373afdf5272ef684eadfb81/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_a743b0cde373afdf5272ef684eadfb81/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a743b0cde373afdf5272ef684eadfb81/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for dup2
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1



                         #define dup2 __fake__dup2
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dup2
                         #if defined __stub_dup2 || defined __stub___dup2
                         #error "bad glibc stub"
                         #endif
                         extern char dup2();
                         int main() { return dup2(); }
                         

<==
[1/2] Compiling bin/.conf_check_1679c4a9a5e61099cd9cbad9ec30ac58/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1679c4a9a5e61099cd9cbad9ec30ac58/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_1679c4a9a5e61099cd9cbad9ec30ac58/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1679c4a9a5e61099cd9cbad9ec30ac58/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for dprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1



                         #define dprintf __fake__dprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dprintf
                         #if defined __stub_dprintf || defined __stub___dprintf
                         #error "bad glibc stub"
                         #endif
                         extern char dprintf();
                         int main() { return dprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_6bda8bfc0624f2860dc252d8326aae73/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6bda8bfc0624f2860dc252d8326aae73/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_6bda8bfc0624f2860dc252d8326aae73/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6bda8bfc0624f2860dc252d8326aae73/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for vdprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1



                         #define vdprintf __fake__vdprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef vdprintf
                         #if defined __stub_vdprintf || defined __stub___vdprintf
                         #error "bad glibc stub"
                         #endif
                         extern char vdprintf();
                         int main() { return vdprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_c714fc63bb8beb7287e6a988073de6cf/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c714fc63bb8beb7287e6a988073de6cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c714fc63bb8beb7287e6a988073de6cf/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c714fc63bb8beb7287e6a988073de6cf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for isatty
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1



                         #define isatty __fake__isatty
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef isatty
                         #if defined __stub_isatty || defined __stub___isatty
                         #error "bad glibc stub"
                         #endif
                         extern char isatty();
                         int main() { return isatty(); }
                         

<==
[1/2] Compiling bin/.conf_check_c9d83af77a688d50bb6a0ceb786da8e0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c9d83af77a688d50bb6a0ceb786da8e0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c9d83af77a688d50bb6a0ceb786da8e0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c9d83af77a688d50bb6a0ceb786da8e0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for chown
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1



                         #define chown __fake__chown
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef chown
                         #if defined __stub_chown || defined __stub___chown
                         #error "bad glibc stub"
                         #endif
                         extern char chown();
                         int main() { return chown(); }
                         

<==
[1/2] Compiling bin/.conf_check_ed409af02f745551526471379bce608a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ed409af02f745551526471379bce608a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ed409af02f745551526471379bce608a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ed409af02f745551526471379bce608a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for lchown
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1



                         #define lchown __fake__lchown
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef lchown
                         #if defined __stub_lchown || defined __stub___lchown
                         #error "bad glibc stub"
                         #endif
                         extern char lchown();
                         int main() { return lchown(); }
                         

<==
[1/2] Compiling bin/.conf_check_2567c0eeaefd25785fe02b9c3b737814/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2567c0eeaefd25785fe02b9c3b737814/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2567c0eeaefd25785fe02b9c3b737814/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2567c0eeaefd25785fe02b9c3b737814/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for link
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1



                         #define link __fake__link
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef link
                         #if defined __stub_link || defined __stub___link
                         #error "bad glibc stub"
                         #endif
                         extern char link();
                         int main() { return link(); }
                         

<==
[1/2] Compiling bin/.conf_check_e3d2b522409c475cf1356e40d47ecdbb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3d2b522409c475cf1356e40d47ecdbb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e3d2b522409c475cf1356e40d47ecdbb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3d2b522409c475cf1356e40d47ecdbb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for readlink
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1



                         #define readlink __fake__readlink
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef readlink
                         #if defined __stub_readlink || defined __stub___readlink
                         #error "bad glibc stub"
                         #endif
                         extern char readlink();
                         int main() { return readlink(); }
                         

<==
[1/2] Compiling bin/.conf_check_bc985006bd1091844080cd5c609ef46b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bc985006bd1091844080cd5c609ef46b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bc985006bd1091844080cd5c609ef46b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bc985006bd1091844080cd5c609ef46b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for symlink
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1



                         #define symlink __fake__symlink
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef symlink
                         #if defined __stub_symlink || defined __stub___symlink
                         #error "bad glibc stub"
                         #endif
                         extern char symlink();
                         int main() { return symlink(); }
                         

<==
[1/2] Compiling bin/.conf_check_fcfb4713c769be71d61671103177301f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fcfb4713c769be71d61671103177301f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fcfb4713c769be71d61671103177301f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fcfb4713c769be71d61671103177301f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for realpath
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1



                         #define realpath __fake__realpath
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef realpath
                         #if defined __stub_realpath || defined __stub___realpath
                         #error "bad glibc stub"
                         #endif
                         extern char realpath();
                         int main() { return realpath(); }
                         

<==
[1/2] Compiling bin/.conf_check_e3619772cf5f61e18420c1a85f8ee6c8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3619772cf5f61e18420c1a85f8ee6c8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e3619772cf5f61e18420c1a85f8ee6c8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e3619772cf5f61e18420c1a85f8ee6c8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for snprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1



                         #define snprintf __fake__snprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef snprintf
                         #if defined __stub_snprintf || defined __stub___snprintf
                         #error "bad glibc stub"
                         #endif
                         extern char snprintf();
                         int main() { return snprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_018554e5c8cae32474eb2dc435dae2b5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_018554e5c8cae32474eb2dc435dae2b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:301:38: warning: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, unsigned int,  const char *, ...)’ [-Wbuiltin-declaration-mismatch]
  301 |                          extern char snprintf();
      |                                      ^~~~~~~~
../../test.c:294:1: note: ‘snprintf’ is declared in header ‘<stdio.h>’
  293 |                          # include <limits.h>
  +++ |+#include <stdio.h>
  294 |                          #else

[2/2] Linking bin/.conf_check_018554e5c8cae32474eb2dc435dae2b5/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_018554e5c8cae32474eb2dc435dae2b5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for vsnprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1



                         #define vsnprintf __fake__vsnprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef vsnprintf
                         #if defined __stub_vsnprintf || defined __stub___vsnprintf
                         #error "bad glibc stub"
                         #endif
                         extern char vsnprintf();
                         int main() { return vsnprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_5a17a622964a6c5a122beb291affacc1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a17a622964a6c5a122beb291affacc1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:302:38: warning: conflicting types for built-in function ‘vsnprintf’; expected ‘int(char *, unsigned int,  const char *, __va_list)’ [-Wbuiltin-declaration-mismatch]
  302 |                          extern char vsnprintf();
      |                                      ^~~~~~~~~
../../test.c:295:1: note: ‘vsnprintf’ is declared in header ‘<stdio.h>’
  294 |                          # include <limits.h>
  +++ |+#include <stdio.h>
  295 |                          #else

[2/2] Linking bin/.conf_check_5a17a622964a6c5a122beb291affacc1/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a17a622964a6c5a122beb291affacc1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for asprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1



                         #define asprintf __fake__asprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef asprintf
                         #if defined __stub_asprintf || defined __stub___asprintf
                         #error "bad glibc stub"
                         #endif
                         extern char asprintf();
                         int main() { return asprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_00ced1c1f89740aeeef6931f86e478bc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_00ced1c1f89740aeeef6931f86e478bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_00ced1c1f89740aeeef6931f86e478bc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_00ced1c1f89740aeeef6931f86e478bc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for vasprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1



                         #define vasprintf __fake__vasprintf
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef vasprintf
                         #if defined __stub_vasprintf || defined __stub___vasprintf
                         #error "bad glibc stub"
                         #endif
                         extern char vasprintf();
                         int main() { return vasprintf(); }
                         

<==
[1/2] Compiling bin/.conf_check_e157b317d33ea01163f7098075ab5520/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e157b317d33ea01163f7098075ab5520/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e157b317d33ea01163f7098075ab5520/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e157b317d33ea01163f7098075ab5520/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setenv
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1



                         #define setenv __fake__setenv
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setenv
                         #if defined __stub_setenv || defined __stub___setenv
                         #error "bad glibc stub"
                         #endif
                         extern char setenv();
                         int main() { return setenv(); }
                         

<==
[1/2] Compiling bin/.conf_check_c5ceef9984251281fb7ccb1e39da3ae5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c5ceef9984251281fb7ccb1e39da3ae5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c5ceef9984251281fb7ccb1e39da3ae5/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c5ceef9984251281fb7ccb1e39da3ae5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for unsetenv
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1



                         #define unsetenv __fake__unsetenv
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef unsetenv
                         #if defined __stub_unsetenv || defined __stub___unsetenv
                         #error "bad glibc stub"
                         #endif
                         extern char unsetenv();
                         int main() { return unsetenv(); }
                         

<==
[1/2] Compiling bin/.conf_check_40d3d9f8ad95e3581cd4d36c0af8ab4c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_40d3d9f8ad95e3581cd4d36c0af8ab4c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_40d3d9f8ad95e3581cd4d36c0af8ab4c/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_40d3d9f8ad95e3581cd4d36c0af8ab4c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strnlen
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1



                         #define strnlen __fake__strnlen
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strnlen
                         #if defined __stub_strnlen || defined __stub___strnlen
                         #error "bad glibc stub"
                         #endif
                         extern char strnlen();
                         int main() { return strnlen(); }
                         

<==
[1/2] Compiling bin/.conf_check_b0861a8a2d2ae7aa8c99c9df658c289e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0861a8a2d2ae7aa8c99c9df658c289e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:307:38: warning: conflicting types for built-in function ‘strnlen’; expected ‘unsigned int(const char *, unsigned int)’ [-Wbuiltin-declaration-mismatch]
  307 |                          extern char strnlen();
      |                                      ^~~~~~~

[2/2] Linking bin/.conf_check_b0861a8a2d2ae7aa8c99c9df658c289e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b0861a8a2d2ae7aa8c99c9df658c289e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strtoull
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1



                         #define strtoull __fake__strtoull
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strtoull
                         #if defined __stub_strtoull || defined __stub___strtoull
                         #error "bad glibc stub"
                         #endif
                         extern char strtoull();
                         int main() { return strtoull(); }
                         

<==
[1/2] Compiling bin/.conf_check_e91e990e6bc1aa6a81b1f75831201e79/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e91e990e6bc1aa6a81b1f75831201e79/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e91e990e6bc1aa6a81b1f75831201e79/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e91e990e6bc1aa6a81b1f75831201e79/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for __strtoull
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1



                         #define __strtoull __fake____strtoull
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef __strtoull
                         #if defined __stub___strtoull || defined __stub_____strtoull
                         #error "bad glibc stub"
                         #endif
                         extern char __strtoull();
                         int main() { return __strtoull(); }
                         

<==
[1/2] Compiling bin/.conf_check_60e012f2eb31de538b0c4e7029ea20b0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_60e012f2eb31de538b0c4e7029ea20b0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_60e012f2eb31de538b0c4e7029ea20b0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_60e012f2eb31de538b0c4e7029ea20b0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_60e012f2eb31de538b0c4e7029ea20b0/testbuild/default/test.c:310:(.text.startup+0x10): undefined reference to `__strtoull'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_b7f248885e623ff55f83f94317ede8aa/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b7f248885e623ff55f83f94317ede8aa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:312:39: error: ‘__strtoull’ undeclared (first use in this function); did you mean ‘strtoull’?
  312 |  int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~
      |                                       strtoull
../../test.c:312:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for strtouq
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */



                         #define strtouq __fake__strtouq
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strtouq
                         #if defined __stub_strtouq || defined __stub___strtouq
                         #error "bad glibc stub"
                         #endif
                         extern char strtouq();
                         int main() { return strtouq(); }
                         

<==
[1/2] Compiling bin/.conf_check_ea8de121e42521262c8915981a42e105/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ea8de121e42521262c8915981a42e105/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ea8de121e42521262c8915981a42e105/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ea8de121e42521262c8915981a42e105/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strtoll
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1



                         #define strtoll __fake__strtoll
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strtoll
                         #if defined __stub_strtoll || defined __stub___strtoll
                         #error "bad glibc stub"
                         #endif
                         extern char strtoll();
                         int main() { return strtoll(); }
                         

<==
[1/2] Compiling bin/.conf_check_746a1244ef884561cf96bd8756834814/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_746a1244ef884561cf96bd8756834814/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_746a1244ef884561cf96bd8756834814/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_746a1244ef884561cf96bd8756834814/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for __strtoll
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1



                         #define __strtoll __fake____strtoll
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef __strtoll
                         #if defined __stub___strtoll || defined __stub_____strtoll
                         #error "bad glibc stub"
                         #endif
                         extern char __strtoll();
                         int main() { return __strtoll(); }
                         

<==
[1/2] Compiling bin/.conf_check_5033e1c8809192e35281af03447112e6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5033e1c8809192e35281af03447112e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5033e1c8809192e35281af03447112e6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5033e1c8809192e35281af03447112e6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_5033e1c8809192e35281af03447112e6/testbuild/default/test.c:313:(.text.startup+0x10): undefined reference to `__strtoll'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_3174b6e81d80c1965ee3a84ca25ff67b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3174b6e81d80c1965ee3a84ca25ff67b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:315:39: error: ‘__strtoll’ undeclared (first use in this function); did you mean ‘strtoll’?
  315 |  int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; }
      |                                       ^~~~~~~~~
      |                                       strtoll
../../test.c:315:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for strtoq
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */



                         #define strtoq __fake__strtoq
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strtoq
                         #if defined __stub_strtoq || defined __stub___strtoq
                         #error "bad glibc stub"
                         #endif
                         extern char strtoq();
                         int main() { return strtoq(); }
                         

<==
[1/2] Compiling bin/.conf_check_80e6e03289256d5ca51bf814641a2b88/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_80e6e03289256d5ca51bf814641a2b88/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_80e6e03289256d5ca51bf814641a2b88/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_80e6e03289256d5ca51bf814641a2b88/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for memalign
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1



                         #define memalign __fake__memalign
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef memalign
                         #if defined __stub_memalign || defined __stub___memalign
                         #error "bad glibc stub"
                         #endif
                         extern char memalign();
                         int main() { return memalign(); }
                         

<==
[1/2] Compiling bin/.conf_check_faab1bfb09a73d12a4c8bd7bf0ee93c7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_faab1bfb09a73d12a4c8bd7bf0ee93c7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_faab1bfb09a73d12a4c8bd7bf0ee93c7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_faab1bfb09a73d12a4c8bd7bf0ee93c7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for posix_memalign
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1



                         #define posix_memalign __fake__posix_memalign
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef posix_memalign
                         #if defined __stub_posix_memalign || defined __stub___posix_memalign
                         #error "bad glibc stub"
                         #endif
                         extern char posix_memalign();
                         int main() { return posix_memalign(); }
                         

<==
[1/2] Compiling bin/.conf_check_0108091d87dc9db428974247cfc85b18/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0108091d87dc9db428974247cfc85b18/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:315:38: warning: conflicting types for built-in function ‘posix_memalign’; expected ‘int(void **, unsigned int,  unsigned int)’ [-Wbuiltin-declaration-mismatch]
  315 |                          extern char posix_memalign();
      |                                      ^~~~~~~~~~~~~~

[2/2] Linking bin/.conf_check_0108091d87dc9db428974247cfc85b18/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0108091d87dc9db428974247cfc85b18/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for fmemopen
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1



                         #define fmemopen __fake__fmemopen
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef fmemopen
                         #if defined __stub_fmemopen || defined __stub___fmemopen
                         #error "bad glibc stub"
                         #endif
                         extern char fmemopen();
                         int main() { return fmemopen(); }
                         

<==
[1/2] Compiling bin/.conf_check_cb02ae2a3068347a72d254e1389f2a6e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cb02ae2a3068347a72d254e1389f2a6e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_cb02ae2a3068347a72d254e1389f2a6e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cb02ae2a3068347a72d254e1389f2a6e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for header malloc.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <malloc.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ec86b7b68c0b2294171d1e51ce0a442b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ec86b7b68c0b2294171d1e51ce0a442b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------
Checking for declaration of memalign
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <malloc.h>
 int main(void) { 
                      #ifndef memalign
                      void *_x; _x=(void *)&memalign; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_3149123c381e3e80a53ac91f86df38e2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3149123c381e3e80a53ac91f86df38e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for posix_fallocate-capable libc
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
#define _XOPEN_SOURCE 600
#include <stdlib.h>
#if defined(__GLIBC__) && ((__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4))
#error probably broken posix_fallocate
#endif
; return 0; }

<==
[1/2] Compiling bin/.conf_check_5a163985dac188c4a9c1e28075dd8e42/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a163985dac188c4a9c1e28075dd8e42/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:322: warning: "_XOPEN_SOURCE" redefined
  322 | #define _XOPEN_SOURCE 600
      | 
In file included from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ../../test.c:307:
/usr/include/features.h:216: note: this is the location of the previous definition
  216 | # define _XOPEN_SOURCE  700
      | 

[2/2] Linking bin/.conf_check_5a163985dac188c4a9c1e28075dd8e42/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a163985dac188c4a9c1e28075dd8e42/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for posix_fallocate
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1



                         #define posix_fallocate __fake__posix_fallocate
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef posix_fallocate
                         #if defined __stub_posix_fallocate || defined __stub___posix_fallocate
                         #error "bad glibc stub"
                         #endif
                         extern char posix_fallocate();
                         int main() { return posix_fallocate(); }
                         

<==
[1/2] Compiling bin/.conf_check_89af9f76b1b32e67dc0fa958e75906f7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_89af9f76b1b32e67dc0fa958e75906f7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_89af9f76b1b32e67dc0fa958e75906f7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_89af9f76b1b32e67dc0fa958e75906f7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for prctl
ok
---------------------------------------------------------------------
Checking for dirname
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1



                         #define dirname __fake__dirname
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dirname
                         #if defined __stub_dirname || defined __stub___dirname
                         #error "bad glibc stub"
                         #endif
                         extern char dirname();
                         int main() { return dirname(); }
                         

<==
[1/2] Compiling bin/.conf_check_73da64022f6cb21ca58a31c951f21651/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_73da64022f6cb21ca58a31c951f21651/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_73da64022f6cb21ca58a31c951f21651/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_73da64022f6cb21ca58a31c951f21651/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for basename
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1



                         #define basename __fake__basename
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef basename
                         #if defined __stub_basename || defined __stub___basename
                         #error "bad glibc stub"
                         #endif
                         extern char basename();
                         int main() { return basename(); }
                         

<==
[1/2] Compiling bin/.conf_check_512777d79466f9e4ab269a280e7bcb7f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_512777d79466f9e4ab269a280e7bcb7f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_512777d79466f9e4ab269a280e7bcb7f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_512777d79466f9e4ab269a280e7bcb7f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strlcpy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1



                         #define strlcpy __fake__strlcpy
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strlcpy
                         #if defined __stub_strlcpy || defined __stub___strlcpy
                         #error "bad glibc stub"
                         #endif
                         extern char strlcpy();
                         int main() { return strlcpy(); }
                         

<==
[1/2] Compiling bin/.conf_check_efedd5d0f918c5bbe5326b507b00bf1a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_efedd5d0f918c5bbe5326b507b00bf1a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_efedd5d0f918c5bbe5326b507b00bf1a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_efedd5d0f918c5bbe5326b507b00bf1a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strlcat
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1



                         #define strlcat __fake__strlcat
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strlcat
                         #if defined __stub_strlcat || defined __stub___strlcat
                         #error "bad glibc stub"
                         #endif
                         extern char strlcat();
                         int main() { return strlcat(); }
                         

<==
[1/2] Compiling bin/.conf_check_407027d29ef1348bf36185cc3f4e24ea/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_407027d29ef1348bf36185cc3f4e24ea/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_407027d29ef1348bf36185cc3f4e24ea/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_407027d29ef1348bf36185cc3f4e24ea/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpeereid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1



                         #define getpeereid __fake__getpeereid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpeereid
                         #if defined __stub_getpeereid || defined __stub___getpeereid
                         #error "bad glibc stub"
                         #endif
                         extern char getpeereid();
                         int main() { return getpeereid(); }
                         

<==
[1/2] Compiling bin/.conf_check_f8da8c98e2943eba0a9e884b03efe124/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f8da8c98e2943eba0a9e884b03efe124/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_f8da8c98e2943eba0a9e884b03efe124/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f8da8c98e2943eba0a9e884b03efe124/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_f8da8c98e2943eba0a9e884b03efe124/testbuild/default/test.c:326:(.text.startup+0x10): undefined reference to `getpeereid'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
/* #undef HAVE_GETPEEREID */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_c7ab057e8ad02fe5697de629074d6f50/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c7ab057e8ad02fe5697de629074d6f50/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:328:39: error: ‘getpeereid’ undeclared (first use in this function)
  328 |  int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~
../../test.c:328:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for library bsd
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
/* #undef HAVE_GETPEEREID */


int main(int argc, char **argv) {
	(void)argc; (void)argv;
	return 0;
}

<==
[1/2] Compiling bin/.conf_check_fca89f864536bf5e1aceb1c38295b974/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fca89f864536bf5e1aceb1c38295b974/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fca89f864536bf5e1aceb1c38295b974/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fca89f864536bf5e1aceb1c38295b974/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lbsd', '-Wl,-z,relro', '-Wl,-z,now']
yes
---------------------------------------------------------------------
Checking for getpeereid in bsd
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
/* #undef HAVE_GETPEEREID */
#define HAVE_LIBBSD 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <bsd/unistd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_12dd3ea4e82b862eaae2728a3b467779/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_12dd3ea4e82b862eaae2728a3b467779/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
/* #undef HAVE_GETPEEREID */
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1



                         #define getpeereid __fake__getpeereid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpeereid
                         #if defined __stub_getpeereid || defined __stub___getpeereid
                         #error "bad glibc stub"
                         #endif
                         extern char getpeereid();
                         int main() { return getpeereid(); }
                         

<==
[1/2] Compiling bin/.conf_check_ae3718addca3d5923d1961d0858a6853/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ae3718addca3d5923d1961d0858a6853/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ae3718addca3d5923d1961d0858a6853/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ae3718addca3d5923d1961d0858a6853/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lbsd', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for library setproctitle
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1


int main(int argc, char **argv) {
	(void)argc; (void)argv;
	return 0;
}

<==
[1/2] Compiling bin/.conf_check_2a5b97f3eec7e3ae15ef7b6efcc5f30e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2a5b97f3eec7e3ae15ef7b6efcc5f30e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2a5b97f3eec7e3ae15ef7b6efcc5f30e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2a5b97f3eec7e3ae15ef7b6efcc5f30e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lsetproctitle', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: cannot find -lsetproctitle: No such file or directory
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
---------------------------------------------------------------------
Checking for setproctitle
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <setproctitle.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_8f9d8b6fcb94d68e67687aa3ca5832a1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_8f9d8b6fcb94d68e67687aa3ca5832a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:330:10: fatal error: setproctitle.h: No such file or directory
  330 | #include <setproctitle.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1



                         #define setproctitle __fake__setproctitle
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setproctitle
                         #if defined __stub_setproctitle || defined __stub___setproctitle
                         #error "bad glibc stub"
                         #endif
                         extern char setproctitle();
                         int main() { return setproctitle(); }
                         

<==
[1/2] Compiling bin/.conf_check_4f59967a93224b870420cc8d0d63cab6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4f59967a93224b870420cc8d0d63cab6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4f59967a93224b870420cc8d0d63cab6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4f59967a93224b870420cc8d0d63cab6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_4f59967a93224b870420cc8d0d63cab6/testbuild/default/test.c:329:(.text.startup+0x10): undefined reference to `setproctitle'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
/* #undef HAVE_SETPROCTITLE */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <setproctitle.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_04785f09e60ffaf0d8f0d01eaff1d518/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_04785f09e60ffaf0d8f0d01eaff1d518/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:331:10: fatal error: setproctitle.h: No such file or directory
  331 | #include <setproctitle.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
/* #undef HAVE_SETPROCTITLE */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <setproctitle.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_04785f09e60ffaf0d8f0d01eaff1d518/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_04785f09e60ffaf0d8f0d01eaff1d518/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:331:10: fatal error: setproctitle.h: No such file or directory
  331 | #include <setproctitle.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
/* #undef HAVE_SETPROCTITLE */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_98875ef725fae06983b65978ca1af014/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_98875ef725fae06983b65978ca1af014/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:331:39: error: ‘setproctitle’ undeclared (first use in this function)
  331 |  int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~~~
../../test.c:331:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for setproctitle in bsd
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
/* #undef HAVE_SETPROCTITLE */



                         #define setproctitle __fake__setproctitle
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setproctitle
                         #if defined __stub_setproctitle || defined __stub___setproctitle
                         #error "bad glibc stub"
                         #endif
                         extern char setproctitle();
                         int main() { return setproctitle(); }
                         

<==
[1/2] Compiling bin/.conf_check_68cddb54f7c7d18bc1cd1f6706c23c11/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_68cddb54f7c7d18bc1cd1f6706c23c11/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_68cddb54f7c7d18bc1cd1f6706c23c11/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_68cddb54f7c7d18bc1cd1f6706c23c11/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lbsd', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setproctitle_init
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1



                         #define setproctitle_init __fake__setproctitle_init
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setproctitle_init
                         #if defined __stub_setproctitle_init || defined __stub___setproctitle_init
                         #error "bad glibc stub"
                         #endif
                         extern char setproctitle_init();
                         int main() { return setproctitle_init(); }
                         

<==
[1/2] Compiling bin/.conf_check_d874819f3f92f02ebc0161a01e9d80a1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d874819f3f92f02ebc0161a01e9d80a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d874819f3f92f02ebc0161a01e9d80a1/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d874819f3f92f02ebc0161a01e9d80a1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_d874819f3f92f02ebc0161a01e9d80a1/testbuild/default/test.c:330:(.text.startup+0x10): undefined reference to `setproctitle_init'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
/* #undef HAVE_SETPROCTITLE_INIT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)setproctitle_init; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_c6fb3c244eeb8225df2fe4fe574fd2e0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c6fb3c244eeb8225df2fe4fe574fd2e0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:332:39: error: ‘setproctitle_init’ undeclared (first use in this function)
  332 |  int main(void) { void *__x = (void *)setproctitle_init; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~~~~~~~~
../../test.c:332:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for setproctitle_init in bsd
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
/* #undef HAVE_SETPROCTITLE_INIT */



                         #define setproctitle_init __fake__setproctitle_init
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setproctitle_init
                         #if defined __stub_setproctitle_init || defined __stub___setproctitle_init
                         #error "bad glibc stub"
                         #endif
                         extern char setproctitle_init();
                         int main() { return setproctitle_init(); }
                         

<==
[1/2] Compiling bin/.conf_check_78a82b9656659f2e67ffa87b3d951b90/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_78a82b9656659f2e67ffa87b3d951b90/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_78a82b9656659f2e67ffa87b3d951b90/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_78a82b9656659f2e67ffa87b3d951b90/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lbsd', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for closefrom
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1



                         #define closefrom __fake__closefrom
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef closefrom
                         #if defined __stub_closefrom || defined __stub___closefrom
                         #error "bad glibc stub"
                         #endif
                         extern char closefrom();
                         int main() { return closefrom(); }
                         

<==
[1/2] Compiling bin/.conf_check_3d622af2f563dfd442839d2245759177/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3d622af2f563dfd442839d2245759177/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3d622af2f563dfd442839d2245759177/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3d622af2f563dfd442839d2245759177/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking whether we can use SO_PEERCRED to get socket credentials
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/socket.h>
 int main(void) { 
                struct ucred cred;
                socklen_t cred_len;
                int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);; return 0; }

<==
[1/2] Compiling bin/.conf_check_e9aa8924525734881c7ee29c47d05df8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9aa8924525734881c7ee29c47d05df8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_e9aa8924525734881c7ee29c47d05df8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e9aa8924525734881c7ee29c47d05df8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking correct behavior of strtoll
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
 int main(void) { 
                        long long nb = strtoll("Text", NULL, 0);
                        if (errno == EINVAL) {
                            return 0;
                        } else {
                            return 1;
                        }
                        ; return 0; }

<==
[1/3] Compiling bin/.conf_check_1544f6124258e3698bdc0659144704f8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1544f6124258e3698bdc0659144704f8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_1544f6124258e3698bdc0659144704f8/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1544f6124258e3698bdc0659144704f8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_1544f6124258e3698bdc0659144704f8/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_1544f6124258e3698bdc0659144704f8/testbuild/default/testprog']
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed False
not found
---------------------------------------------------------------------
Checking for if_nameindex
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */



                         #define if_nameindex __fake__if_nameindex
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef if_nameindex
                         #if defined __stub_if_nameindex || defined __stub___if_nameindex
                         #error "bad glibc stub"
                         #endif
                         extern char if_nameindex();
                         int main() { return if_nameindex(); }
                         

<==
[1/2] Compiling bin/.conf_check_c31648342f0d4850654f06b469fcc478/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c31648342f0d4850654f06b469fcc478/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c31648342f0d4850654f06b469fcc478/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c31648342f0d4850654f06b469fcc478/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for if_nametoindex
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1



                         #define if_nametoindex __fake__if_nametoindex
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef if_nametoindex
                         #if defined __stub_if_nametoindex || defined __stub___if_nametoindex
                         #error "bad glibc stub"
                         #endif
                         extern char if_nametoindex();
                         int main() { return if_nametoindex(); }
                         

<==
[1/2] Compiling bin/.conf_check_3beafa897290066f99f7425b70837467/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3beafa897290066f99f7425b70837467/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3beafa897290066f99f7425b70837467/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3beafa897290066f99f7425b70837467/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for strerror_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1



                         #define strerror_r __fake__strerror_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strerror_r
                         #if defined __stub_strerror_r || defined __stub___strerror_r
                         #error "bad glibc stub"
                         #endif
                         extern char strerror_r();
                         int main() { return strerror_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_800eb76ffd2b02efcc1c0040e920c349/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_800eb76ffd2b02efcc1c0040e920c349/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_800eb76ffd2b02efcc1c0040e920c349/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_800eb76ffd2b02efcc1c0040e920c349/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for syslog
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1



                         #define syslog __fake__syslog
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef syslog
                         #if defined __stub_syslog || defined __stub___syslog
                         #error "bad glibc stub"
                         #endif
                         extern char syslog();
                         int main() { return syslog(); }
                         

<==
[1/2] Compiling bin/.conf_check_835028fd145188da7a55b5920a4baad6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_835028fd145188da7a55b5920a4baad6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_835028fd145188da7a55b5920a4baad6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_835028fd145188da7a55b5920a4baad6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for gai_strerror
ok
---------------------------------------------------------------------
Checking for get_current_dir_name
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1



                         #define get_current_dir_name __fake__get_current_dir_name
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef get_current_dir_name
                         #if defined __stub_get_current_dir_name || defined __stub___get_current_dir_name
                         #error "bad glibc stub"
                         #endif
                         extern char get_current_dir_name();
                         int main() { return get_current_dir_name(); }
                         

<==
[1/2] Compiling bin/.conf_check_041618e2580e2f53d02256f710ca7d45/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_041618e2580e2f53d02256f710ca7d45/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_041618e2580e2f53d02256f710ca7d45/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_041618e2580e2f53d02256f710ca7d45/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for timegm
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1



                         #define timegm __fake__timegm
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef timegm
                         #if defined __stub_timegm || defined __stub___timegm
                         #error "bad glibc stub"
                         #endif
                         extern char timegm();
                         int main() { return timegm(); }
                         

<==
[1/2] Compiling bin/.conf_check_3719caac652a3f0cff8a6e9c045df3c3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3719caac652a3f0cff8a6e9c045df3c3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3719caac652a3f0cff8a6e9c045df3c3/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3719caac652a3f0cff8a6e9c045df3c3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getifaddrs
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1



                         #define getifaddrs __fake__getifaddrs
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getifaddrs
                         #if defined __stub_getifaddrs || defined __stub___getifaddrs
                         #error "bad glibc stub"
                         #endif
                         extern char getifaddrs();
                         int main() { return getifaddrs(); }
                         

<==
[1/2] Compiling bin/.conf_check_993bab78caf48ddc9ee5f79c1a7edefe/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_993bab78caf48ddc9ee5f79c1a7edefe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_993bab78caf48ddc9ee5f79c1a7edefe/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_993bab78caf48ddc9ee5f79c1a7edefe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for freeifaddrs
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1



                         #define freeifaddrs __fake__freeifaddrs
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef freeifaddrs
                         #if defined __stub_freeifaddrs || defined __stub___freeifaddrs
                         #error "bad glibc stub"
                         #endif
                         extern char freeifaddrs();
                         int main() { return freeifaddrs(); }
                         

<==
[1/2] Compiling bin/.conf_check_df2a1cd9bde35eb5d202b946daaf4844/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_df2a1cd9bde35eb5d202b946daaf4844/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_df2a1cd9bde35eb5d202b946daaf4844/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_df2a1cd9bde35eb5d202b946daaf4844/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for mmap
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1



                         #define mmap __fake__mmap
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef mmap
                         #if defined __stub_mmap || defined __stub___mmap
                         #error "bad glibc stub"
                         #endif
                         extern char mmap();
                         int main() { return mmap(); }
                         

<==
[1/2] Compiling bin/.conf_check_f045ade03f86fd6a8b6a64ae83024f42/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f045ade03f86fd6a8b6a64ae83024f42/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_f045ade03f86fd6a8b6a64ae83024f42/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f045ade03f86fd6a8b6a64ae83024f42/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setgroups
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1



                         #define setgroups __fake__setgroups
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setgroups
                         #if defined __stub_setgroups || defined __stub___setgroups
                         #error "bad glibc stub"
                         #endif
                         extern char setgroups();
                         int main() { return setgroups(); }
                         

<==
[1/2] Compiling bin/.conf_check_52b693aa30c1da381072cdf66bd8ed37/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_52b693aa30c1da381072cdf66bd8ed37/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_52b693aa30c1da381072cdf66bd8ed37/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_52b693aa30c1da381072cdf66bd8ed37/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for syscall
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1



                         #define syscall __fake__syscall
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef syscall
                         #if defined __stub_syscall || defined __stub___syscall
                         #error "bad glibc stub"
                         #endif
                         extern char syscall();
                         int main() { return syscall(); }
                         

<==
[1/2] Compiling bin/.conf_check_9b1d5857a8026366e30bb4a5b6a5909e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9b1d5857a8026366e30bb4a5b6a5909e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9b1d5857a8026366e30bb4a5b6a5909e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9b1d5857a8026366e30bb4a5b6a5909e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for setsid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1



                         #define setsid __fake__setsid
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef setsid
                         #if defined __stub_setsid || defined __stub___setsid
                         #error "bad glibc stub"
                         #endif
                         extern char setsid();
                         int main() { return setsid(); }
                         

<==
[1/2] Compiling bin/.conf_check_7d645fc0b51597848036ecbbc6ba0b3d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7d645fc0b51597848036ecbbc6ba0b3d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7d645fc0b51597848036ecbbc6ba0b3d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7d645fc0b51597848036ecbbc6ba0b3d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getgrent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1



                         #define getgrent_r __fake__getgrent_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getgrent_r
                         #if defined __stub_getgrent_r || defined __stub___getgrent_r
                         #error "bad glibc stub"
                         #endif
                         extern char getgrent_r();
                         int main() { return getgrent_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_fe048565f7bb086e42f56a932290987e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fe048565f7bb086e42f56a932290987e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_fe048565f7bb086e42f56a932290987e/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fe048565f7bb086e42f56a932290987e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getgrgid_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1



                         #define getgrgid_r __fake__getgrgid_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getgrgid_r
                         #if defined __stub_getgrgid_r || defined __stub___getgrgid_r
                         #error "bad glibc stub"
                         #endif
                         extern char getgrgid_r();
                         int main() { return getgrgid_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_c8b4046c019b954d285a130facc8f8a6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c8b4046c019b954d285a130facc8f8a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c8b4046c019b954d285a130facc8f8a6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c8b4046c019b954d285a130facc8f8a6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getgrnam_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1



                         #define getgrnam_r __fake__getgrnam_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getgrnam_r
                         #if defined __stub_getgrnam_r || defined __stub___getgrnam_r
                         #error "bad glibc stub"
                         #endif
                         extern char getgrnam_r();
                         int main() { return getgrnam_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_7061a0525e5de3739751ad75e1f20362/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7061a0525e5de3739751ad75e1f20362/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7061a0525e5de3739751ad75e1f20362/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7061a0525e5de3739751ad75e1f20362/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getgrouplist
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1



                         #define getgrouplist __fake__getgrouplist
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getgrouplist
                         #if defined __stub_getgrouplist || defined __stub___getgrouplist
                         #error "bad glibc stub"
                         #endif
                         extern char getgrouplist();
                         int main() { return getgrouplist(); }
                         

<==
[1/2] Compiling bin/.conf_check_4bf2a5d81c673c9a270e05a6fe55da0a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4bf2a5d81c673c9a270e05a6fe55da0a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4bf2a5d81c673c9a270e05a6fe55da0a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4bf2a5d81c673c9a270e05a6fe55da0a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpagesize
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1



                         #define getpagesize __fake__getpagesize
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpagesize
                         #if defined __stub_getpagesize || defined __stub___getpagesize
                         #error "bad glibc stub"
                         #endif
                         extern char getpagesize();
                         int main() { return getpagesize(); }
                         

<==
[1/2] Compiling bin/.conf_check_71004b2c214fb160c2e7644f4cf75932/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_71004b2c214fb160c2e7644f4cf75932/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_71004b2c214fb160c2e7644f4cf75932/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_71004b2c214fb160c2e7644f4cf75932/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpwent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1



                         #define getpwent_r __fake__getpwent_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpwent_r
                         #if defined __stub_getpwent_r || defined __stub___getpwent_r
                         #error "bad glibc stub"
                         #endif
                         extern char getpwent_r();
                         int main() { return getpwent_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_5a15bf28c0191009f10dd90539696f57/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a15bf28c0191009f10dd90539696f57/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5a15bf28c0191009f10dd90539696f57/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5a15bf28c0191009f10dd90539696f57/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpwnam_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1



                         #define getpwnam_r __fake__getpwnam_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpwnam_r
                         #if defined __stub_getpwnam_r || defined __stub___getpwnam_r
                         #error "bad glibc stub"
                         #endif
                         extern char getpwnam_r();
                         int main() { return getpwnam_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_4321e8cc0f4de1a685b432ad9f2aa4fc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4321e8cc0f4de1a685b432ad9f2aa4fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_4321e8cc0f4de1a685b432ad9f2aa4fc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4321e8cc0f4de1a685b432ad9f2aa4fc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getpwuid_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1



                         #define getpwuid_r __fake__getpwuid_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getpwuid_r
                         #if defined __stub_getpwuid_r || defined __stub___getpwuid_r
                         #error "bad glibc stub"
                         #endif
                         extern char getpwuid_r();
                         int main() { return getpwuid_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_43cccdaf3dba82d09a0777e6814bc67f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_43cccdaf3dba82d09a0777e6814bc67f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_43cccdaf3dba82d09a0777e6814bc67f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_43cccdaf3dba82d09a0777e6814bc67f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for epoll_create1
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1



                         #define epoll_create1 __fake__epoll_create1
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef epoll_create1
                         #if defined __stub_epoll_create1 || defined __stub___epoll_create1
                         #error "bad glibc stub"
                         #endif
                         extern char epoll_create1();
                         int main() { return epoll_create1(); }
                         

<==
[1/2] Compiling bin/.conf_check_7e787a3cad2cb45d5013f759a9d2b21a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7e787a3cad2cb45d5013f759a9d2b21a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_7e787a3cad2cb45d5013f759a9d2b21a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_7e787a3cad2cb45d5013f759a9d2b21a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getprogname
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1



                         #define getprogname __fake__getprogname
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getprogname
                         #if defined __stub_getprogname || defined __stub___getprogname
                         #error "bad glibc stub"
                         #endif
                         extern char getprogname();
                         int main() { return getprogname(); }
                         

<==
[1/2] Compiling bin/.conf_check_d4857fd77cb3353ec7293ab10e1b89a1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d4857fd77cb3353ec7293ab10e1b89a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d4857fd77cb3353ec7293ab10e1b89a1/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d4857fd77cb3353ec7293ab10e1b89a1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_d4857fd77cb3353ec7293ab10e1b89a1/testbuild/default/test.c:355:(.text.startup+0x10): undefined reference to `getprogname'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_54b7ba1db1381533215346bd40b61782/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_54b7ba1db1381533215346bd40b61782/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:357:39: error: ‘getprogname’ undeclared (first use in this function)
  357 |  int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; }
      |                                       ^~~~~~~~~~~
../../test.c:357:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for copy_file_range
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */



                         #define copy_file_range __fake__copy_file_range
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef copy_file_range
                         #if defined __stub_copy_file_range || defined __stub___copy_file_range
                         #error "bad glibc stub"
                         #endif
                         extern char copy_file_range();
                         int main() { return copy_file_range(); }
                         

<==
[1/2] Compiling bin/.conf_check_9823e448844842cd71520e338b6297bb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9823e448844842cd71520e338b6297bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9823e448844842cd71520e338b6297bb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9823e448844842cd71520e338b6297bb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for getxattr
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1



                         #define getxattr __fake__getxattr
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getxattr
                         #if defined __stub_getxattr || defined __stub___getxattr
                         #error "bad glibc stub"
                         #endif
                         extern char getxattr();
                         int main() { return getxattr(); }
                         

<==
[1/2] Compiling bin/.conf_check_eb58dc29ad8944a8c7e6e8c28fb692f1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_eb58dc29ad8944a8c7e6e8c28fb692f1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_eb58dc29ad8944a8c7e6e8c28fb692f1/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_eb58dc29ad8944a8c7e6e8c28fb692f1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking whether xattr interface takes additional options
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <attr/xattr.h>
#include <sys/xattr.h>
 int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; }

<==
[1/2] Compiling bin/.conf_check_9256173a5096987dffe66ea088909587/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9256173a5096987dffe66ea088909587/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:363:19: error: too many arguments to function ‘getxattr’
  363 |  int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; }
      |                   ^~~~~~~~
In file included from /usr/include/attr/xattr.h:27,
                 from ../../test.c:361:
/usr/include/arm-linux-gnueabihf/sys/xattr.h:60:16: note: declared here
   60 | extern ssize_t getxattr (const char *__path, const char *__name,
      |                ^~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for dlopen
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dlfcn.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_649915b37e440f2c02a9ea88a1175571/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_649915b37e440f2c02a9ea88a1175571/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ebb08e7f4848d6bbe17abf90145181df/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ebb08e7f4848d6bbe17abf90145181df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:363:10: fatal error: dl.h: No such file or directory
  363 | #include <dl.h>
      |          ^~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1



                         #define dlopen __fake__dlopen
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dlopen
                         #if defined __stub_dlopen || defined __stub___dlopen
                         #error "bad glibc stub"
                         #endif
                         extern char dlopen();
                         int main() { return dlopen(); }
                         

<==
[1/2] Compiling bin/.conf_check_81bd86421b619180e55ddabccfe9182d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_81bd86421b619180e55ddabccfe9182d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_81bd86421b619180e55ddabccfe9182d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_81bd86421b619180e55ddabccfe9182d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for dlsym
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1



                         #define dlsym __fake__dlsym
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dlsym
                         #if defined __stub_dlsym || defined __stub___dlsym
                         #error "bad glibc stub"
                         #endif
                         extern char dlsym();
                         int main() { return dlsym(); }
                         

<==
[1/2] Compiling bin/.conf_check_2ed964271978420ef88bd8693bfa30cc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2ed964271978420ef88bd8693bfa30cc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2ed964271978420ef88bd8693bfa30cc/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2ed964271978420ef88bd8693bfa30cc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for dlerror
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1



                         #define dlerror __fake__dlerror
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dlerror
                         #if defined __stub_dlerror || defined __stub___dlerror
                         #error "bad glibc stub"
                         #endif
                         extern char dlerror();
                         int main() { return dlerror(); }
                         

<==
[1/2] Compiling bin/.conf_check_b5e1a3c5f984b4b5c33f71ae1023b17b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b5e1a3c5f984b4b5c33f71ae1023b17b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b5e1a3c5f984b4b5c33f71ae1023b17b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b5e1a3c5f984b4b5c33f71ae1023b17b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for dlclose
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1



                         #define dlclose __fake__dlclose
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dlclose
                         #if defined __stub_dlclose || defined __stub___dlclose
                         #error "bad glibc stub"
                         #endif
                         extern char dlclose();
                         int main() { return dlclose(); }
                         

<==
[1/2] Compiling bin/.conf_check_c2a933f015fa7857fc0275a14b6f6490/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c2a933f015fa7857fc0275a14b6f6490/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_c2a933f015fa7857fc0275a14b6f6490/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c2a933f015fa7857fc0275a14b6f6490/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for declaration of dlopen
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dlfcn.h>
 int main(void) { 
                      #ifndef dlopen
                      void *_x; _x=(void *)&dlopen; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_ad5056bb6d895c087b1a011b123355d9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ad5056bb6d895c087b1a011b123355d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking C prototype for dlopen
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dlfcn.h>
 int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; }

<==
[1/1] Compiling bin/.conf_check_d2e5bd74985a6c86e11d9e27560d4bde/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d2e5bd74985a6c86e11d9e27560d4bde/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:369:25: error: conflicting types for ‘dlopen’; have ‘void *(const char *, unsigned int)’
  369 |  int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; }
      |                         ^~~~~~
In file included from ../../test.c:368:
/usr/include/dlfcn.h:56:14: note: previous declaration of ‘dlopen’ with type ‘void *(const char *, int)’
   56 | extern void *dlopen (const char *__file, int __mode) __THROWNL;
      |              ^~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------
Checking for fdatasync
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */



                         #define fdatasync __fake__fdatasync
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef fdatasync
                         #if defined __stub_fdatasync || defined __stub___fdatasync
                         #error "bad glibc stub"
                         #endif
                         extern char fdatasync();
                         int main() { return fdatasync(); }
                         

<==
[1/2] Compiling bin/.conf_check_3ffd1f7ae07fd76fa1bf25808fdf8f3f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3ffd1f7ae07fd76fa1bf25808fdf8f3f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3ffd1f7ae07fd76fa1bf25808fdf8f3f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3ffd1f7ae07fd76fa1bf25808fdf8f3f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------
Checking for declaration of fdatasync
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef fdatasync
                      void *_x; _x=(void *)&fdatasync; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_87c06e310763abba485f0ed243a7e2bc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_87c06e310763abba485f0ed243a7e2bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------
Checking for clock_gettime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1



                         #define clock_gettime __fake__clock_gettime
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef clock_gettime
                         #if defined __stub_clock_gettime || defined __stub___clock_gettime
                         #error "bad glibc stub"
                         #endif
                         extern char clock_gettime();
                         int main() { return clock_gettime(); }
                         

<==
[1/2] Compiling bin/.conf_check_1349d02087e03d1bd780f8acd16ad330/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1349d02087e03d1bd780f8acd16ad330/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_1349d02087e03d1bd780f8acd16ad330/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1349d02087e03d1bd780f8acd16ad330/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                #if TIME_WITH_SYS_TIME
                # include <sys/time.h>
                # include <time.h>
                #else
                # if HAVE_SYS_TIME_H
                #  include <sys/time.h>
                # else
                #  include <time.h>
                # endif
                #endif
                clockid_t clk = CLOCK_MONOTONIC; return 0; }

<==
[1/2] Compiling bin/.conf_check_2401e898d3207e0a4a332b804c5bc386/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2401e898d3207e0a4a332b804c5bc386/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2401e898d3207e0a4a332b804c5bc386/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2401e898d3207e0a4a332b804c5bc386/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                #if TIME_WITH_SYS_TIME
                # include <sys/time.h>
                # include <time.h>
                #else
                # if HAVE_SYS_TIME_H
                #  include <sys/time.h>
                # else
                #  include <time.h>
                # endif
                #endif
                clockid_t clk = CLOCK_PROCESS_CPUTIME_ID; return 0; }

<==
[1/2] Compiling bin/.conf_check_bb9fcf829938cd57fb968f3fcb65c465/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bb9fcf829938cd57fb968f3fcb65c465/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bb9fcf829938cd57fb968f3fcb65c465/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bb9fcf829938cd57fb968f3fcb65c465/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking whether the clock_gettime clock ID CLOCK_REALTIME is available
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                #if TIME_WITH_SYS_TIME
                # include <sys/time.h>
                # include <time.h>
                #else
                # if HAVE_SYS_TIME_H
                #  include <sys/time.h>
                # else
                #  include <time.h>
                # endif
                #endif
                clockid_t clk = CLOCK_REALTIME; return 0; }

<==
[1/2] Compiling bin/.conf_check_3eec65836af2fbb7094c677f0f30541a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3eec65836af2fbb7094c677f0f30541a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3eec65836af2fbb7094c677f0f30541a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3eec65836af2fbb7094c677f0f30541a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for struct timespec
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
#include <time.h>
 int main(void) { struct timespec _x; return 0; }

<==
[1/1] Compiling bin/.conf_check_02ef34a636f0c62d765801b29eebd587/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_02ef34a636f0c62d765801b29eebd587/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for header arpa/nameser.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_70f61fc7935802db027eceaf786b2960/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_70f61fc7935802db027eceaf786b2960/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for header resolv.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_ad385d4829b6fc6ed178e455e4102cd0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ad385d4829b6fc6ed178e455e4102cd0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for res_search
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1



                         #define res_search __fake__res_search
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef res_search
                         #if defined __stub_res_search || defined __stub___res_search
                         #error "bad glibc stub"
                         #endif
                         extern char res_search();
                         int main() { return res_search(); }
                         

<==
[1/2] Compiling bin/.conf_check_b1ee159c1424e310f19296527628f167/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b1ee159c1424e310f19296527628f167/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b1ee159c1424e310f19296527628f167/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b1ee159c1424e310f19296527628f167/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for header libintl.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_5bbf4a39a48b32f3833074b959d59410/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5bbf4a39a48b32f3833074b959d59410/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for library intl
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1


int main(int argc, char **argv) {
	(void)argc; (void)argv;
	return 0;
}

<==
[1/2] Compiling bin/.conf_check_62bbab3d90d361cc3f10ff7a47aa68a3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62bbab3d90d361cc3f10ff7a47aa68a3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_62bbab3d90d361cc3f10ff7a47aa68a3/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62bbab3d90d361cc3f10ff7a47aa68a3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lintl', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: cannot find -lintl: No such file or directory
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
---------------------------------------------------------------------------------
Checking for declaration of dgettext
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
 int main(void) { 
                      #ifndef dgettext
                      void *_x; _x=(void *)&dgettext; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_da947ab5208200a5060473f3afca6205/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_da947ab5208200a5060473f3afca6205/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of gettext
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
 int main(void) { 
                      #ifndef gettext
                      void *_x; _x=(void *)&gettext; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b75f99a5225404c90881642d03f1ff38/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b75f99a5225404c90881642d03f1ff38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of bindtextdomain
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
 int main(void) { 
                      #ifndef bindtextdomain
                      void *_x; _x=(void *)&bindtextdomain; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b622843bbb6154513935cfdc1817ab00/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b622843bbb6154513935cfdc1817ab00/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of textdomain
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
 int main(void) { 
                      #ifndef textdomain
                      void *_x; _x=(void *)&textdomain; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_85e09829ad9b1c5e3752aca9449c61dc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_85e09829ad9b1c5e3752aca9449c61dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of bind_textdomain_codeset
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libintl.h>
 int main(void) { 
                      #ifndef bind_textdomain_codeset
                      void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_d76a57c6e86fbefa8b9584e6987d5d28/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d76a57c6e86fbefa8b9584e6987d5d28/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for bindtextdomain
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1



                         #define bindtextdomain __fake__bindtextdomain
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef bindtextdomain
                         #if defined __stub_bindtextdomain || defined __stub___bindtextdomain
                         #error "bad glibc stub"
                         #endif
                         extern char bindtextdomain();
                         int main() { return bindtextdomain(); }
                         

<==
[1/2] Compiling bin/.conf_check_dfe1948fba5ddfa9a69225f384bd2e82/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dfe1948fba5ddfa9a69225f384bd2e82/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_dfe1948fba5ddfa9a69225f384bd2e82/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dfe1948fba5ddfa9a69225f384bd2e82/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for textdomain
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1



                         #define textdomain __fake__textdomain
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef textdomain
                         #if defined __stub_textdomain || defined __stub___textdomain
                         #error "bad glibc stub"
                         #endif
                         extern char textdomain();
                         int main() { return textdomain(); }
                         

<==
[1/2] Compiling bin/.conf_check_f1970e3d1797ba77116c1492fe436113/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1970e3d1797ba77116c1492fe436113/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_f1970e3d1797ba77116c1492fe436113/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1970e3d1797ba77116c1492fe436113/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for bind_textdomain_codeset
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1



                         #define bind_textdomain_codeset __fake__bind_textdomain_codeset
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef bind_textdomain_codeset
                         #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
                         #error "bad glibc stub"
                         #endif
                         extern char bind_textdomain_codeset();
                         int main() { return bind_textdomain_codeset(); }
                         

<==
[1/2] Compiling bin/.conf_check_2320afc4339e0f9870d2208cc93b656f/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2320afc4339e0f9870d2208cc93b656f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_2320afc4339e0f9870d2208cc93b656f/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2320afc4339e0f9870d2208cc93b656f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for dgettext
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1



                         #define dgettext __fake__dgettext
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef dgettext
                         #if defined __stub_dgettext || defined __stub___dgettext
                         #error "bad glibc stub"
                         #endif
                         extern char dgettext();
                         int main() { return dgettext(); }
                         

<==
[1/2] Compiling bin/.conf_check_b8f29a01f29b867388c7762ec7ffa224/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b8f29a01f29b867388c7762ec7ffa224/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:386:38: warning: conflicting types for built-in function ‘dgettext’; expected ‘char *(const char *, const char *)’ [-Wbuiltin-declaration-mismatch]
  386 |                          extern char dgettext();
      |                                      ^~~~~~~~

[2/2] Linking bin/.conf_check_b8f29a01f29b867388c7762ec7ffa224/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b8f29a01f29b867388c7762ec7ffa224/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for gettext
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1



                         #define gettext __fake__gettext
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef gettext
                         #if defined __stub_gettext || defined __stub___gettext
                         #error "bad glibc stub"
                         #endif
                         extern char gettext();
                         int main() { return gettext(); }
                         

<==
[1/2] Compiling bin/.conf_check_f60692b2f5be9a91ba36cc5752ece8cb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f60692b2f5be9a91ba36cc5752ece8cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:387:38: warning: conflicting types for built-in function ‘gettext’; expected ‘char *(const char *)’ [-Wbuiltin-declaration-mismatch]
  387 |                          extern char gettext();
      |                                      ^~~~~~~

[2/2] Linking bin/.conf_check_f60692b2f5be9a91ba36cc5752ece8cb/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f60692b2f5be9a91ba36cc5752ece8cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for pthread_create
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pthread.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a8c7f23e20f83e6de1fe306699cbd450/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a8c7f23e20f83e6de1fe306699cbd450/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1



                         #define pthread_create __fake__pthread_create
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pthread_create
                         #if defined __stub_pthread_create || defined __stub___pthread_create
                         #error "bad glibc stub"
                         #endif
                         extern char pthread_create();
                         int main() { return pthread_create(); }
                         

<==
[1/2] Compiling bin/.conf_check_950c9f0edd9605aa0569852d7c9bd9ec/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_950c9f0edd9605aa0569852d7c9bd9ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_950c9f0edd9605aa0569852d7c9bd9ec/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_950c9f0edd9605aa0569852d7c9bd9ec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for pthread_attr_init
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1



                         #define pthread_attr_init __fake__pthread_attr_init
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pthread_attr_init
                         #if defined __stub_pthread_attr_init || defined __stub___pthread_attr_init
                         #error "bad glibc stub"
                         #endif
                         extern char pthread_attr_init();
                         int main() { return pthread_attr_init(); }
                         

<==
[1/2] Compiling bin/.conf_check_295e7d28474a0141467df678d25c4145/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_295e7d28474a0141467df678d25c4145/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_295e7d28474a0141467df678d25c4145/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_295e7d28474a0141467df678d25c4145/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for pthread_mutexattr_setrobust
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1



                         #define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pthread_mutexattr_setrobust
                         #if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust
                         #error "bad glibc stub"
                         #endif
                         extern char pthread_mutexattr_setrobust();
                         int main() { return pthread_mutexattr_setrobust(); }
                         

<==
[1/2] Compiling bin/.conf_check_d1c4b55b9cee05edcd697b55a003cda1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1c4b55b9cee05edcd697b55a003cda1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d1c4b55b9cee05edcd697b55a003cda1/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d1c4b55b9cee05edcd697b55a003cda1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for declaration of PTHREAD_MUTEX_ROBUST
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pthread.h>
 int main(void) { 
                      #ifndef PTHREAD_MUTEX_ROBUST
                      void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_4a4c905b6c080cdb0dbcdcf03888a5a1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_4a4c905b6c080cdb0dbcdcf03888a5a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:398:44: error: lvalue required as unary ‘&’ operand
  398 |                       void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x;
      |                                            ^

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum)
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
/* #undef HAVE_DECL_PTHREAD_MUTEX_ROBUST */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pthread.h>
 int main(void) { 
                      return (int)PTHREAD_MUTEX_ROBUST;
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_09a63c480d067c1d5a611c28d81cf09e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_09a63c480d067c1d5a611c28d81cf09e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for pthread_mutex_consistent
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1



                         #define pthread_mutex_consistent __fake__pthread_mutex_consistent
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef pthread_mutex_consistent
                         #if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent
                         #error "bad glibc stub"
                         #endif
                         extern char pthread_mutex_consistent();
                         int main() { return pthread_mutex_consistent(); }
                         

<==
[1/2] Compiling bin/.conf_check_d9325e7a34a987e2a44a61a19bfd7127/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d9325e7a34a987e2a44a61a19bfd7127/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d9325e7a34a987e2a44a61a19bfd7127/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d9325e7a34a987e2a44a61a19bfd7127/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for __thread local storage
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

        __thread int tls;

        int main(void) {
            return 0;
        }
        

<==
[1/2] Compiling bin/.conf_check_ac076ed36d795fda8dfbe80c8a2637ef/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ac076ed36d795fda8dfbe80c8a2637ef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ac076ed36d795fda8dfbe80c8a2637ef/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ac076ed36d795fda8dfbe80c8a2637ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for crypt
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1



                         #define crypt __fake__crypt
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt
                         #if defined __stub_crypt || defined __stub___crypt
                         #error "bad glibc stub"
                         #endif
                         extern char crypt();
                         int main() { return crypt(); }
                         

<==
[1/2] Compiling bin/.conf_check_b2f07bc1bf003dcc48dd6c8761e23017/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b2f07bc1bf003dcc48dd6c8761e23017/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b2f07bc1bf003dcc48dd6c8761e23017/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b2f07bc1bf003dcc48dd6c8761e23017/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_b2f07bc1bf003dcc48dd6c8761e23017/testbuild/default/test.c:398:(.text.startup+0x10): undefined reference to `crypt'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
/* #undef HAVE_CRYPT */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_13159de220de05dd9099e2f9124b07d6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_13159de220de05dd9099e2f9124b07d6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_13159de220de05dd9099e2f9124b07d6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_13159de220de05dd9099e2f9124b07d6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_13159de220de05dd9099e2f9124b07d6/testbuild/default/test.c:400:(.text.startup+0x8): undefined reference to `crypt'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for library crypt
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
/* #undef HAVE_CRYPT */


int main(int argc, char **argv) {
	(void)argc; (void)argv;
	return 0;
}

<==
[1/2] Compiling bin/.conf_check_a274612e0cb050d6c733b816824329cd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a274612e0cb050d6c733b816824329cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_a274612e0cb050d6c733b816824329cd/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a274612e0cb050d6c733b816824329cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lcrypt', '-Wl,-z,relro', '-Wl,-z,now']
yes
---------------------------------------------------------------------------------
Checking for crypt in crypt
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
/* #undef HAVE_CRYPT */
#define HAVE_LIBCRYPT 1



                         #define crypt __fake__crypt
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt
                         #if defined __stub_crypt || defined __stub___crypt
                         #error "bad glibc stub"
                         #endif
                         extern char crypt();
                         int main() { return crypt(); }
                         

<==
[1/2] Compiling bin/.conf_check_d627e23ba2a7762161fa6ca7a37274cd/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d627e23ba2a7762161fa6ca7a37274cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_d627e23ba2a7762161fa6ca7a37274cd/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d627e23ba2a7762161fa6ca7a37274cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lcrypt', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for crypt_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1



                         #define crypt_r __fake__crypt_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt_r
                         #if defined __stub_crypt_r || defined __stub___crypt_r
                         #error "bad glibc stub"
                         #endif
                         extern char crypt_r();
                         int main() { return crypt_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_3b7bfd283a3f499f19d0679eb70ea4a0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3b7bfd283a3f499f19d0679eb70ea4a0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_3b7bfd283a3f499f19d0679eb70ea4a0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3b7bfd283a3f499f19d0679eb70ea4a0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_3b7bfd283a3f499f19d0679eb70ea4a0/testbuild/default/test.c:400:(.text.startup+0x10): undefined reference to `crypt_r'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
/* #undef HAVE_CRYPT_R */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_747e56fc75d3c67be04369c8ae25afc3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_747e56fc75d3c67be04369c8ae25afc3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:402:39: error: ‘crypt_r’ undeclared (first use in this function); did you mean ‘crypt’?
  402 |  int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; }
      |                                       ^~~~~~~
      |                                       crypt
../../test.c:402:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for crypt_r in crypt
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
/* #undef HAVE_CRYPT_R */



                         #define crypt_r __fake__crypt_r
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt_r
                         #if defined __stub_crypt_r || defined __stub___crypt_r
                         #error "bad glibc stub"
                         #endif
                         extern char crypt_r();
                         int main() { return crypt_r(); }
                         

<==
[1/2] Compiling bin/.conf_check_bf5705c85a67af1b22314659c395ac60/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bf5705c85a67af1b22314659c395ac60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bf5705c85a67af1b22314659c395ac60/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bf5705c85a67af1b22314659c395ac60/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lcrypt', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for crypt_rn
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1



                         #define crypt_rn __fake__crypt_rn
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt_rn
                         #if defined __stub_crypt_rn || defined __stub___crypt_rn
                         #error "bad glibc stub"
                         #endif
                         extern char crypt_rn();
                         int main() { return crypt_rn(); }
                         

<==
[1/2] Compiling bin/.conf_check_bec2104a3fd95b3ee1cce4a14b78a6ab/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bec2104a3fd95b3ee1cce4a14b78a6ab/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_bec2104a3fd95b3ee1cce4a14b78a6ab/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_bec2104a3fd95b3ee1cce4a14b78a6ab/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
err: /usr/bin/ld: test.c.1.o: in function `main':
./bin/.conf_check_bec2104a3fd95b3ee1cce4a14b78a6ab/testbuild/default/test.c:401:(.text.startup+0x10): undefined reference to `crypt_rn'
collect2: error: ld returned 1 exit status

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
/* #undef HAVE_CRYPT_RN */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; }

<==
[1/2] Compiling bin/.conf_check_9253dbb710fc205b05e05e0d666dde41/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9253dbb710fc205b05e05e0d666dde41/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:403:39: error: ‘crypt_rn’ undeclared (first use in this function); did you mean ‘crypt’?
  403 |  int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; }
      |                                       ^~~~~~~~
      |                                       crypt
../../test.c:403:39: note: each undeclared identifier is reported only once for each function it appears in

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for crypt_rn in crypt
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
/* #undef HAVE_CRYPT_RN */



                         #define crypt_rn __fake__crypt_rn
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef crypt_rn
                         #if defined __stub_crypt_rn || defined __stub___crypt_rn
                         #error "bad glibc stub"
                         #endif
                         extern char crypt_rn();
                         int main() { return crypt_rn(); }
                         

<==
[1/2] Compiling bin/.conf_check_ca90be3ac039fcf0a8dd5410b1d136f3/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ca90be3ac039fcf0a8dd5410b1d136f3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_ca90be3ac039fcf0a8dd5410b1d136f3/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_ca90be3ac039fcf0a8dd5410b1d136f3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lcrypt', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for header readline.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <readline.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_30387cbe252f52bdf95a007d45c76b8a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_30387cbe252f52bdf95a007d45c76b8a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:403:10: fatal error: readline.h: No such file or directory
  403 | #include <readline.h>
      |          ^~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
---------------------------------------------------------------------------------
Checking for header readline/readline.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <readline/readline.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_d5fd21da532121b3b246b4943c2ddc0c/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d5fd21da532121b3b246b4943c2ddc0c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for header readline/history.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <readline/history.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_2c42033b3f9a8c20cbb585ed7d81a59b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2c42033b3f9a8c20cbb585ed7d81a59b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for variable rl_event_hook
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <readline/readline.h>
#include <readline/history.h>
 int main(void) { 
                      #ifndef rl_event_hook
                      void *_x; _x=(void *)&rl_event_hook; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f570dc5b957b54024fb01aeee90293e8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f570dc5b957b54024fb01aeee90293e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for variable program_invocation_short_name
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
 int main(void) { 
                      #ifndef program_invocation_short_name
                      void *_x; _x=(void *)&program_invocation_short_name; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_a2b491de75a26b058965671dbb4642f9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a2b491de75a26b058965671dbb4642f9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of snprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef snprintf
                      void *_x; _x=(void *)&snprintf; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_414c042320444bacebbb5e8d8cf2f1fc/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_414c042320444bacebbb5e8d8cf2f1fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of vsnprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef vsnprintf
                      void *_x; _x=(void *)&vsnprintf; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f1b1855af283ebea12b1469b5d58c929/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1b1855af283ebea12b1469b5d58c929/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of asprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef asprintf
                      void *_x; _x=(void *)&asprintf; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_3d976d6b3dd2b6d7fcd5817f15db406a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3d976d6b3dd2b6d7fcd5817f15db406a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of vasprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef vasprintf
                      void *_x; _x=(void *)&vasprintf; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_076ee51089407f3413b8089d6d1093a2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_076ee51089407f3413b8089d6d1093a2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of errno
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
 int main(void) { 
                      #ifndef errno
                      void *_x; _x=(void *)&errno; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_66fa0973acf012ed5d170a2ebed8bce1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_66fa0973acf012ed5d170a2ebed8bce1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of EWOULDBLOCK
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <errno.h>
 int main(void) { 
                      #ifndef EWOULDBLOCK
                      void *_x; _x=(void *)&EWOULDBLOCK; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_58e952e754b221926154a9e56fd2e2a1/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_58e952e754b221926154a9e56fd2e2a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of environ
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <unistd.h>
 int main(void) { 
                      #ifndef environ
                      void *_x; _x=(void *)&environ; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_16250cd2ea4d23da370f10a15fcc4dda/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_16250cd2ea4d23da370f10a15fcc4dda/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of getgrent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
#include <grp.h>
 int main(void) { 
                      #ifndef getgrent_r
                      void *_x; _x=(void *)&getgrent_r; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f78241d7c23b58b5f355a154e5faf7a4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f78241d7c23b58b5f355a154e5faf7a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of getpwent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
#include <grp.h>
 int main(void) { 
                      #ifndef getpwent_r
                      void *_x; _x=(void *)&getpwent_r; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_fde9ab26b394683fb8b1b09d57f74a7b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_fde9ab26b394683fb8b1b09d57f74a7b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of pread
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef pread
                      void *_x; _x=(void *)&pread; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b34557b4fec337851c399aa21585c4cb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b34557b4fec337851c399aa21585c4cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of pwrite
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef pwrite
                      void *_x; _x=(void *)&pwrite; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_205d1d845f3885a5898f1fa11e10f418/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_205d1d845f3885a5898f1fa11e10f418/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of setenv
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef setenv
                      void *_x; _x=(void *)&setenv; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_5ca2b7e0034f1fe8605e18a530047e0a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5ca2b7e0034f1fe8605e18a530047e0a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of setresgid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef setresgid
                      void *_x; _x=(void *)&setresgid; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_6c4c8c357736084cea53445f1788aa3e/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6c4c8c357736084cea53445f1788aa3e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for declaration of setresuid
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                      #ifndef setresuid
                      void *_x; _x=(void *)&setresuid; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f38e499487044f8c81d07b4c80ea92a2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f38e499487044f8c81d07b4c80ea92a2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for eventfd
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/eventfd.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_3615cba9553f7a3c2278fd4444bb40a2/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_3615cba9553f7a3c2278fd4444bb40a2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1



                         #define eventfd __fake__eventfd
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef eventfd
                         #if defined __stub_eventfd || defined __stub___eventfd
                         #error "bad glibc stub"
                         #endif
                         extern char eventfd();
                         int main() { return eventfd(); }
                         

<==
[1/2] Compiling bin/.conf_check_cbb15cf63e825c57afa1c35d8bcb83c0/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cbb15cf63e825c57afa1c35d8bcb83c0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_cbb15cf63e825c57afa1c35d8bcb83c0/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_cbb15cf63e825c57afa1c35d8bcb83c0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for header poll.h
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <poll.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_dc17919c0121415ec7c8e79fb95bbdd4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_dc17919c0121415ec7c8e79fb95bbdd4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
yes
---------------------------------------------------------------------------------
Checking for poll
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1



                         #define poll __fake__poll
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef poll
                         #if defined __stub_poll || defined __stub___poll
                         #error "bad glibc stub"
                         #endif
                         extern char poll();
                         int main() { return poll(); }
                         

<==
[1/2] Compiling bin/.conf_check_5212376188fad347f767183aca5e0ac7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5212376188fad347f767183aca5e0ac7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_5212376188fad347f767183aca5e0ac7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_5212376188fad347f767183aca5e0ac7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for strptime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1



                         #define strptime __fake__strptime
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef strptime
                         #if defined __stub_strptime || defined __stub___strptime
                         #error "bad glibc stub"
                         #endif
                         extern char strptime();
                         int main() { return strptime(); }
                         

<==
[1/2] Compiling bin/.conf_check_86f540f71552365da2b8debbd24cc3a7/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_86f540f71552365da2b8debbd24cc3a7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_86f540f71552365da2b8debbd24cc3a7/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_86f540f71552365da2b8debbd24cc3a7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for declaration of strptime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <time.h>
 int main(void) { 
                      #ifndef strptime
                      void *_x; _x=(void *)&strptime; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_1ccbe248153d0242f2560480b46b6230/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1ccbe248153d0242f2560480b46b6230/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for working strptime
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#define LIBREPLACE_CONFIGURE_TEST_STRPTIME
                       #include "tests/strptime.c"

<==
[1/3] Compiling bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_2333e0a00b5af42fa4e8bc3b8d6f4d60/testbuild/default/testprog']
ok
---------------------------------------------------------------------------------
Checking for declaration of gettimeofday
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
 int main(void) { 
                      #ifndef gettimeofday
                      void *_x; _x=(void *)&gettimeofday; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_f1f1de6e2837692c5f49cec9437a9972/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f1f1de6e2837692c5f49cec9437a9972/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking C prototype for gettimeofday
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
 int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; }

<==
[1/1] Compiling bin/.conf_check_9cf12f6a0833e1ac9e7e2ac8a911e546/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9cf12f6a0833e1ac9e7e2ac8a911e546/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:431:23: error: conflicting types for ‘gettimeofday’; have ‘int(struct timeval *, struct timezone *)’
  431 |  int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; }
      |                       ^~~~~~~~~~~~
In file included from /usr/include/features.h:502,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ../../test.c:416:
/usr/include/arm-linux-gnueabihf/sys/time.h:71:12: note: previous declaration of ‘gettimeofday’ with type ‘int(struct timeval * restrict,  void * restrict)’
   71 | extern int __REDIRECT_NTH (gettimeofday, (struct timeval *__restrict __tv,
      |            ^~~~~~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking C prototype for gettimeofday
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
 int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; }

<==
[1/1] Compiling bin/.conf_check_a51243254582d87e976dfd1a59a32e59/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a51243254582d87e976dfd1a59a32e59/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for C99 vsnprintf
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include "tests/snprintf.c"

<==
[1/3] Compiling bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from ../../test.c:432:
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c: In function ‘foo’:
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:23:44: warning: unknown escape sequence: '\$'
   23 |         if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6);
      |                                            ^
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:23:44: warning: unknown escape sequence: '\$'
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:24:33: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=]
   24 |         if (snprintf(buf, 20, "%s", 0) < 3) exit(7);
      |                                ~^   ~
      |                                 |   |
      |                                 |   int
      |                                 char *
      |                                %d
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:19:13: warning: ‘hello’ directive output truncated writing 5 bytes into a region of size 3 [-Wformat-truncation=]
   19 |         if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(3);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
                 from ../../test.c:418:
In function ‘snprintf’,
    inlined from ‘foo’ at /<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:19:6:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output 6 bytes into a destination of size 3
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c: In function ‘foo’:
/<<PKGBUILDDIR>>/lib/replace/tests/snprintf.c:24:13: warning: ‘%s’ directive argument is null [-Wformat-truncation=]
   24 |         if (snprintf(buf, 20, "%s", 0) < 3) exit(7);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~

[2/3] Linking bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_37810e7575c3b2b91ed81256b73dea85/testbuild/default/testprog']
out: 1
ok
---------------------------------------------------------------------------------
Checking for HAVE_SHARED_MMAP
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1


#include "tests/shared_mmap.c"

<==
[1/3] Compiling bin/.conf_check_62d85a781e109316ea973155434b41a6/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62d85a781e109316ea973155434b41a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from ../../test.c:420:
/<<PKGBUILDDIR>>/lib/replace/tests/shared_mmap.c: In function ‘main’:
/<<PKGBUILDDIR>>/lib/replace/tests/shared_mmap.c:31:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   31 |                 write(fd,&i,sizeof(i));
      |                 ^~~~~~~~~~~~~~~~~~~~~~

[2/3] Linking bin/.conf_check_62d85a781e109316ea973155434b41a6/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62d85a781e109316ea973155434b41a6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_62d85a781e109316ea973155434b41a6/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_62d85a781e109316ea973155434b41a6/testbuild/default/testprog']
ok
---------------------------------------------------------------------------------
Checking for HAVE_MREMAP
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1


#include "tests/shared_mremap.c"

<==
[1/3] Compiling bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_6138584266f02b9b3cfe02ab646e855d/testbuild/default/testprog']
ok
---------------------------------------------------------------------------------
Checking for HAVE_INCOHERENT_MMAP
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1


#include "tests/incoherent_mmap.c"

<==
[1/3] Compiling bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from ../../test.c:422:
/<<PKGBUILDDIR>>/lib/replace/tests/incoherent_mmap.c: In function ‘main’:
/<<PKGBUILDDIR>>/lib/replace/tests/incoherent_mmap.c:48:17: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |                 pwrite(fd, &c, 1, 0);
      |                 ^~~~~~~~~~~~~~~~~~~~

[2/3] Linking bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_6840e9c3fca7b24b385436a8a4303212/testbuild/default/testprog']
from /<<PKGBUILDDIR>>/lib/replace: The configuration failed False
not found
---------------------------------------------------------------------------------
Checking for HAVE_IMMEDIATE_STRUCTURES
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                    typedef struct {unsigned x;} FOOBAR;
                    #define X_FOOBAR(x) ((FOOBAR) { x })
                    #define FOO_ONE X_FOOBAR(1)
                    FOOBAR f = FOO_ONE;
                    static const struct {
                        FOOBAR y;
                    } f2[] = {
                        {FOO_ONE}
                    };
                    static const FOOBAR f3[] = {FOO_ONE};
                    ; return 0; }

<==
[1/2] Compiling bin/.conf_check_f54cc274fa8d9f804ad1a04266386f15/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f54cc274fa8d9f804ad1a04266386f15/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_f54cc274fa8d9f804ad1a04266386f15/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_f54cc274fa8d9f804ad1a04266386f15/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for HAVE_MKDIR_MODE
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/stat.h>
 int main(void) { mkdir("foo",0777); return 0; }

<==
[1/2] Compiling bin/.conf_check_abb2d539d658c024686b38e29781389b/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_abb2d539d658c024686b38e29781389b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_abb2d539d658c024686b38e29781389b/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_abb2d539d658c024686b38e29781389b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for member st_rdev in struct stat
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/stat.h>
 int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; }

<==
[1/1] Compiling bin/.conf_check_694f2bb86e312e71c90ce1628eb02615/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_694f2bb86e312e71c90ce1628eb02615/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for member st_rdev in struct stat
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/stat.h>
 int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; }

<==
[1/1] Compiling bin/.conf_check_22923e7e275735f86489eb8942a49571/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_22923e7e275735f86489eb8942a49571/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for member ss_family in struct sockaddr_storage
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.ss_family; return 0; }

<==
[1/1] Compiling bin/.conf_check_214f1345759c28d870fc9b8d743ec466/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_214f1345759c28d870fc9b8d743ec466/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking for member __ss_family in struct sockaddr_storage
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; }

<==
[1/1] Compiling bin/.conf_check_714e9ab1f1aebaef3563b6822cb1a55d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_714e9ab1f1aebaef3563b6822cb1a55d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:443:70: error: ‘struct sockaddr_storage’ has no member named ‘__ss_family’; did you mean ‘ss_family’?
  443 |  int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; }
      |                                                                      ^~~~~~~~~~~
      |                                                                      ss_family

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for member sa_len in struct sockaddr
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; }

<==
[1/1] Compiling bin/.conf_check_d0d8e0f053dc1a36287abb4b8dc84308/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d0d8e0f053dc1a36287abb4b8dc84308/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:444:61: error: ‘struct sockaddr’ has no member named ‘sa_len’
  444 |  int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; }
      |                                                             ^

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for member sin_len in struct sockaddr_in
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; }

<==
[1/1] Compiling bin/.conf_check_d278076de233d0436011e66571b0141a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_d278076de233d0436011e66571b0141a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:445:64: error: ‘struct sockaddr_in’ has no member named ‘sin_len’
  445 |  int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; }
      |                                                                ^

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for member sin6_len in struct sockaddr_in6
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
 int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; }

<==
[1/1] Compiling bin/.conf_check_62b0850573eebabd81361a66c5552125/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_62b0850573eebabd81361a66c5552125/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:446:65: error: ‘struct sockaddr_in6’ has no member named ‘sin6_len’
  446 |  int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; }
      |                                                                 ^

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for HAVE_UNIXSOCKET
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <sys/un.h>
 int main(void) { struct sockaddr_un sunaddr; sunaddr.sun_family = AF_UNIX;; return 0; }

<==
[1/2] Compiling bin/.conf_check_b4e68dc17eec92c273fb59263fcaed86/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b4e68dc17eec92c273fb59263fcaed86/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_b4e68dc17eec92c273fb59263fcaed86/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b4e68dc17eec92c273fb59263fcaed86/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for HAVE_SECURE_MKSTEMP
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
 int main(void) { 
                    struct stat st;
                    char tpl[20]="/tmp/test.XXXXXX";
                    char tpl2[20]="/tmp/test.XXXXXX";
                    int fd = mkstemp(tpl);
                    int fd2 = mkstemp(tpl2);
                    if (fd == -1) {
                          if (fd2 != -1) {
                                  unlink(tpl2);
                          }
                          exit(1);
                    }
                    if (fd2 == -1) exit(1);
                    unlink(tpl);
                    unlink(tpl2);
                    if (fstat(fd, &st) != 0) exit(1);
                    if ((st.st_mode & 0777) != 0600) exit(1);
                    if (strcmp(tpl, "/tmp/test.XXXXXX") == 0) {
                          exit(1);
                    }
                    if (strcmp(tpl, tpl2) == 0) {
                          exit(1);
                    }
                    exit(0);
                    ; return 0; }

<==
[1/3] Compiling bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/3] Linking bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
[3/3] Processing bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/testbuild/default/testprog

['/<<PKGBUILDDIR>>/bin/.conf_check_0e611d6313bfc35559315e1dd9a42b4a/testbuild/default/testprog']
ok
---------------------------------------------------------------------------------
Checking for HAVE_IFACE_GETIFADDRS
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                           #define HAVE_IFACE_GETIFADDRS 1
                           #define NO_CONFIG_H 1
                           #define AUTOCONF_TEST 1
                           #include "replace.c"
                           #include "inet_ntop.c"
                           #include "snprintf.c"
                           #include "getifaddrs.c"
                           #define getifaddrs_test main
                           #include "tests/getifaddrs.c"
                           

<==
[1/3] Compiling bin/.conf_check_6d92ee5b33e2c45ac79a90df8a186bcb/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_6d92ee5b33e2c45ac79a90df8a186bcb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from /<<PKGBUILDDIR>>/lib/replace/replace.c:26,
                 from ../../test.c:451:
/<<PKGBUILDDIR>>/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required
   45 | #error -D__STDC_WANT_LIB_EXT1__=1 required
      |  ^~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for HAVE_IFACE_AIX
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                           #define HAVE_IFACE_AIX 1
                           #define NO_CONFIG_H 1
                           #define AUTOCONF_TEST 1
                           #include "replace.c"
                           #include "inet_ntop.c"
                           #include "snprintf.c"
                           #include "getifaddrs.c"
                           #define getifaddrs_test main
                           #include "tests/getifaddrs.c"
                           

<==
[1/3] Compiling bin/.conf_check_1552deecf123a878c5bef2cbeb0ae4af/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_1552deecf123a878c5bef2cbeb0ae4af/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from /<<PKGBUILDDIR>>/lib/replace/replace.c:26,
                 from ../../test.c:452:
/<<PKGBUILDDIR>>/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required
   45 | #error -D__STDC_WANT_LIB_EXT1__=1 required
      |  ^~~~~
In file included from ../../test.c:455:
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c: In function ‘rep_getifaddrs’:
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c:318:36: error: ‘struct sockaddr’ has no member named ‘sa_len’
  318 |                 inc = ifr->ifr_addr.sa_len;
      |                                    ^
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c:321:38: warning: passing argument 1 of ‘freeaddrinfo’ from incompatible pointer type [-Wincompatible-pointer-types]
  321 |                         freeaddrinfo(*ifap);
      |                                      ^~~~~
      |                                      |
      |                                      struct ifaddrs *
In file included from /<<PKGBUILDDIR>>/lib/replace/system/network.h:54,
                 from /<<PKGBUILDDIR>>/lib/replace/replace.c:30:
/usr/include/netdb.h:666:44: note: expected ‘struct addrinfo *’ but argument is of type ‘struct ifaddrs *’
  666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
      |                           ~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c:340:38: warning: passing argument 1 of ‘freeaddrinfo’ from incompatible pointer type [-Wincompatible-pointer-types]
  340 |                         freeaddrinfo(*ifap);
      |                                      ^~~~~
      |                                      |
      |                                      struct ifaddrs *
/usr/include/netdb.h:666:44: note: expected ‘struct addrinfo *’ but argument is of type ‘struct ifaddrs *’
  666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
      |                           ~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c:347:38: warning: passing argument 1 of ‘freeaddrinfo’ from incompatible pointer type [-Wincompatible-pointer-types]
  347 |                         freeaddrinfo(*ifap);
      |                                      ^~~~~
      |                                      |
      |                                      struct ifaddrs *
/usr/include/netdb.h:666:44: note: expected ‘struct addrinfo *’ but argument is of type ‘struct ifaddrs *’
  666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
      |                           ~~~~~~~~~~~~~~~~~^~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for HAVE_IFACE_IFCONF
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                           #define HAVE_IFACE_IFCONF 1
                           #define NO_CONFIG_H 1
                           #define AUTOCONF_TEST 1
                           #include "replace.c"
                           #include "inet_ntop.c"
                           #include "snprintf.c"
                           #include "getifaddrs.c"
                           #define getifaddrs_test main
                           #include "tests/getifaddrs.c"
                           

<==
[1/3] Compiling bin/.conf_check_2cd5a0276a5bfa5341860eaf382e58a4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_2cd5a0276a5bfa5341860eaf382e58a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from /<<PKGBUILDDIR>>/lib/replace/replace.c:26,
                 from ../../test.c:453:
/<<PKGBUILDDIR>>/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required
   45 | #error -D__STDC_WANT_LIB_EXT1__=1 required
      |  ^~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for HAVE_IFACE_IFREQ
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                           #define HAVE_IFACE_IFREQ 1
                           #define NO_CONFIG_H 1
                           #define AUTOCONF_TEST 1
                           #include "replace.c"
                           #include "inet_ntop.c"
                           #include "snprintf.c"
                           #include "getifaddrs.c"
                           #define getifaddrs_test main
                           #include "tests/getifaddrs.c"
                           

<==
[1/3] Compiling bin/.conf_check_e306121c1150f5b8ec73a6241dd760ed/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_e306121c1150f5b8ec73a6241dd760ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: In file included from /<<PKGBUILDDIR>>/lib/replace/replace.c:26,
                 from ../../test.c:454:
/<<PKGBUILDDIR>>/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required
   45 | #error -D__STDC_WANT_LIB_EXT1__=1 required
      |  ^~~~~
In file included from ../../test.c:457:
/<<PKGBUILDDIR>>/lib/replace/getifaddrs.c:181:10: fatal error: sys/stropts.h: No such file or directory
  181 | #include <sys/stropts.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for declaration of getpwent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
 int main(void) { 
                      #ifndef getpwent_r
                      void *_x; _x=(void *)&getpwent_r; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_479edfbdc5eacd27d9fb60d4df120c52/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_479edfbdc5eacd27d9fb60d4df120c52/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking C prototype for getpwent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
 int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; }

<==
[1/1] Compiling bin/.conf_check_32bd795f379fcd85ea58d97717833c44/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_32bd795f379fcd85ea58d97717833c44/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:453:34: error: conflicting types for ‘getpwent_r’; have ‘struct passwd *(struct passwd *, char *, int)’
  453 |  int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; }
      |                                  ^~~~~~~~~~
In file included from ../../test.c:452:
/usr/include/pwd.h:139:12: note: previous declaration of ‘getpwent_r’ with type ‘int(struct passwd * restrict,  char * restrict,  size_t,  struct passwd ** restrict)’ {aka ‘int(struct passwd * restrict,  char * restrict,  unsigned int,  struct passwd ** restrict)’}
  139 | extern int getpwent_r (struct passwd *__restrict __resultbuf,
      |            ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace/system: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace/system: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for declaration of getgrent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <grp.h>
 int main(void) { 
                      #ifndef getgrent_r
                      void *_x; _x=(void *)&getgrent_r; return (int)_x;
                      #endif
                      return 0
                      ; return 0; }

<==
[1/1] Compiling bin/.conf_check_b9e96c9afef04dc2a728a942584617d8/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_b9e96c9afef04dc2a728a942584617d8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
ok
---------------------------------------------------------------------------------
Checking C prototype for getgrent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <grp.h>
 int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; }

<==
[1/1] Compiling bin/.conf_check_33e8802becac1ed9c8395fd7d55ce5b5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_33e8802becac1ed9c8395fd7d55ce5b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:455:33: error: conflicting types for ‘getgrent_r’; have ‘struct group *(struct group *, char *, int)’
  455 |  int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; }
      |                                 ^~~~~~~~~~
In file included from ../../test.c:454:
/usr/include/grp.h:131:12: note: previous declaration of ‘getgrent_r’ with type ‘int(struct group * restrict,  char * restrict,  size_t,  struct group ** restrict)’ {aka ‘int(struct group * restrict,  char * restrict,  unsigned int,  struct group ** restrict)’}
  131 | extern int getgrent_r (struct group *__restrict __resultbuf,
      |            ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace/system: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace/system: The configuration failed
not found
---------------------------------------------------------------------------------
Checking C prototype for getpwent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
 int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; }

<==
[1/1] Compiling bin/.conf_check_55ae3dfabe28264caae27735899287d4/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_55ae3dfabe28264caae27735899287d4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:456:34: error: conflicting types for ‘getpwent_r’; have ‘struct passwd *(struct passwd *, char *, size_t)’ {aka ‘struct passwd *(struct passwd *, char *, unsigned int)’}
  456 |  int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; }
      |                                  ^~~~~~~~~~
In file included from ../../test.c:455:
/usr/include/pwd.h:139:12: note: previous declaration of ‘getpwent_r’ with type ‘int(struct passwd * restrict,  char * restrict,  size_t,  struct passwd ** restrict)’ {aka ‘int(struct passwd * restrict,  char * restrict,  unsigned int,  struct passwd ** restrict)’}
  139 | extern int getpwent_r (struct passwd *__restrict __resultbuf,
      |            ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace/system: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace/system: The configuration failed
not found
---------------------------------------------------------------------------------
Checking C prototype for getgrent_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <grp.h>
 int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; }

<==
[1/1] Compiling bin/.conf_check_71e95e02b3e90a7f1fccb1796292c676/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_71e95e02b3e90a7f1fccb1796292c676/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c: In function ‘main’:
../../test.c:456:33: error: conflicting types for ‘getgrent_r’; have ‘struct group *(struct group *, char *, size_t)’ {aka ‘struct group *(struct group *, char *, unsigned int)’}
  456 |  int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; }
      |                                 ^~~~~~~~~~
In file included from ../../test.c:455:
/usr/include/grp.h:131:12: note: previous declaration of ‘getgrent_r’ with type ‘int(struct group * restrict,  char * restrict,  size_t,  struct group ** restrict)’ {aka ‘int(struct group * restrict,  char * restrict,  unsigned int,  struct group ** restrict)’}
  131 | extern int getgrent_r (struct group *__restrict __resultbuf,
      |            ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace/system: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace/system: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for strerror_r
ok
---------------------------------------------------------------------------------
Checking for XSI (rather than GNU) prototype for strerror_r
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <string.h>
int strerror_r(int errnum, char *buf, size_t buflen);

<==
[1/1] Compiling bin/.conf_check_c63e4f5d621f4bff24481a3f5b6e7a7d/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_c63e4f5d621f4bff24481a3f5b6e7a7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:456:5: error: conflicting types for ‘strerror_r’; have ‘int(int,  char *, size_t)’ {aka ‘int(int,  char *, unsigned int)’}
  456 | int strerror_r(int errnum, char *buf, size_t buflen);
      |     ^~~~~~~~~~
In file included from /usr/include/memory.h:29,
                 from ../../test.c:446:
/usr/include/string.h:444:14: note: previous declaration of ‘strerror_r’ with type ‘char *(int,  char *, size_t)’ {aka ‘char *(int,  char *, unsigned int)’}
  444 | extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
      |              ^~~~~~~~~~

from /<<PKGBUILDDIR>>/lib/replace: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Utils.py", line 833, in wrap
    return cache[k]
           ~~~~~^^^
KeyError: (<samba_waf18.ConfigurationContext object at 0xf72bca30>,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/lib/replace: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for HAVE_FUSE_FUSE_LOWLEVEL_H
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
/* #undef STRERROR_R_XSI_NOT_GNU */

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

                       #define FUSE_USE_VERSION 26
                       #define _FILE_OFFSET_BITS 64
                       #include "fuse/fuse_lowlevel.h"
                       int main(void) { return 0; }
                       

<==
[1/2] Compiling bin/.conf_check_db2b7c37472f81e111c9960600794aac/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/<<PKGBUILDDIR>>/examples/fuse', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_db2b7c37472f81e111c9960600794aac/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
err: ../../test.c:459:33: fatal error: fuse/fuse_lowlevel.h: No such file or directory
  459 |                        #include "fuse/fuse_lowlevel.h"
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

from /<<PKGBUILDDIR>>/examples/fuse: Test does not build: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Configure.py", line 602, in run_build
    bld.compile()
  File "/<<PKGBUILDDIR>>/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /<<PKGBUILDDIR>>/examples/fuse: The configuration failed
not found
---------------------------------------------------------------------------------
Checking for program 'i386-mingw32-gcc'
not found
find program=['i386-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i386-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'i386-mingw32msvc-gcc'
not found
find program=['i386-mingw32msvc-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i386-mingw32msvc-gcc']
---------------------------------------------------------------------------------
Checking for program 'i386-w64-mingw32-gcc'
not found
find program=['i386-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i386-w64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'i586-mingw32-gcc'
not found
find program=['i586-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i586-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'i586-mingw32msvc-gcc'
not found
find program=['i586-mingw32msvc-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i586-mingw32msvc-gcc']
---------------------------------------------------------------------------------
Checking for program 'i586-w64-mingw32-gcc'
not found
find program=['i586-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i586-w64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'i686-mingw32-gcc'
not found
find program=['i686-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i686-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'i686-mingw32msvc-gcc'
not found
find program=['i686-mingw32msvc-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i686-mingw32msvc-gcc']
---------------------------------------------------------------------------------
Checking for program 'i686-w64-mingw32-gcc'
not found
find program=['i686-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN32' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['i686-w64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'x86_64-mingw32-gcc'
not found
find program=['x86_64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['x86_64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'x86_64-mingw32msvc-gcc'
not found
find program=['x86_64-mingw32msvc-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['x86_64-mingw32msvc-gcc']
---------------------------------------------------------------------------------
Checking for program 'x86_64-w64-mingw32-gcc'
not found
find program=['x86_64-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['x86_64-w64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'amd64-mingw32-gcc'
not found
find program=['amd64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['amd64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'amd64-mingw32msvc-gcc'
not found
find program=['amd64-mingw32msvc-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['amd64-mingw32msvc-gcc']
---------------------------------------------------------------------------------
Checking for program 'amd64-w64-mingw32-gcc'
not found
find program=['amd64-w64-mingw32-gcc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='WINEXE_CC_WIN64' -> None
from /<<PKGBUILDDIR>>/examples/winexe: Could not find the program ['amd64-w64-mingw32-gcc']
---------------------------------------------------------------------------------
Checking for program 'perl'
/usr/bin/perl
find program=['perl'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PERL' -> ['/usr/bin/perl']
---------------------------------------------------------------------------------
Checking for program 'perl'
/usr/bin/perl
find program=['perl'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PERL' -> ['/usr/bin/perl']
---------------------------------------------------------------------------------
Checking for minimum perl version 5.0.0
find program=['perl'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PERL' -> ['/usr/bin/perl']
['/usr/bin/perl', '-e', 'printf "%vd", $^V']
out: 5.38.2
5.38.2
---------------------------------------------------------------------------------
Checking for perl $Config{vendorprefix}:
'/usr'
---------------------------------------------------------------------------------
Checking for perl $Config{vendorarch}:
'/usr/lib/arm-linux-gnueabihf/perl5/5.38'
---------------------------------------------------------------------------------
PERL_ARCH_INSTALL_DIR: 
'/usr/lib/arm-linux-gnueabihf/perl5/5.38'
---------------------------------------------------------------------------------
Checking for perl $Config{vendorlib}:
'/usr/share/perl5'
---------------------------------------------------------------------------------
PERL_LIB_INSTALL_DIR: 
'/usr/share/perl5'
---------------------------------------------------------------------------------
PERL_INC: 
['/etc/perl', '/usr/local/lib/arm-linux-gnueabihf/perl/5.38.2', '/usr/local/share/perl/5.38.2', '/usr/lib/arm-linux-gnueabihf/perl5/5.38', '/usr/share/perl5', '/usr/lib/arm-linux-gnueabihf/perl-base', '/usr/lib/arm-linux-gnueabihf/perl/5.38', '/usr/share/perl/5.38', '/usr/local/lib/site_perl']
---------------------------------------------------------------------------------
Checking for program 'xsltproc'
/usr/bin/xsltproc
find program=['xsltproc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='XSLTPROC' -> ['/usr/bin/xsltproc']
---------------------------------------------------------------------------------
Checking for program 'python3'
python3
find program=['python3'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON' -> ['python3']
---------------------------------------------------------------------------------
Checking for program 'python'
python3
find program=['python'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON' -> ['python3']
['python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n']
out: cpython-311

---------------------------------------------------------------------------------
Checking for program 'python3'
/usr/bin/python3
find program=['python3'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON3' -> ['/usr/bin/python3']
['python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))']
out: 3
11
9
final
0

['python3', '-c', "\ntry:\n\tfrom distutils.sysconfig import get_config_var, get_python_lib\nexcept ImportError:\n\tfrom sysconfig import get_config_var, get_path\n\tdef get_python_lib(*k, **kw):\n\t\tkeyword='platlib' if kw.get('plat_specific') else 'purelib'\n\t\tif 'prefix' in kw:\n\t\t\treturn get_path(keyword, vars={'installed_base': kw['prefix'], 'platbase': kw['prefix']})\n\t\treturn get_path(keyword)\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr') or ''))"]
out: '/usr/lib/python3/dist-packages'

'/usr/lib/python3/dist-packages'

['python3', '-c', "\ntry:\n\tfrom distutils.sysconfig import get_config_var, get_python_lib\nexcept ImportError:\n\tfrom sysconfig import get_config_var, get_path\n\tdef get_python_lib(*k, **kw):\n\t\tkeyword='platlib' if kw.get('plat_specific') else 'purelib'\n\t\tif 'prefix' in kw:\n\t\t\treturn get_path(keyword, vars={'installed_base': kw['prefix'], 'platbase': kw['prefix']})\n\t\treturn get_path(keyword)\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr') or ''))"]
out: '/usr/lib/python3/dist-packages'

'/usr/lib/python3/dist-packages'

---------------------------------------------------------------------------------
Checking for python version >= 3.6.0
3.11.9
['python3', '-c', "\ntry:\n\tfrom distutils.sysconfig import get_config_var, get_python_lib\nexcept ImportError:\n\tfrom sysconfig import get_config_var, get_path\n\tdef get_python_lib(*k, **kw):\n\t\tkeyword='platlib' if kw.get('plat_specific') else 'purelib'\n\t\tif 'prefix' in kw:\n\t\t\treturn get_path(keyword, vars={'installed_base': kw['prefix'], 'platbase': kw['prefix']})\n\t\treturn get_path(keyword)\n\nprint(repr(get_config_var('prefix') or ''))\nprint(repr(get_config_var('SO') or ''))\nprint(repr(get_config_var('EXT_SUFFIX') or ''))\nprint(repr(get_config_var('LDFLAGS') or ''))\nprint(repr(get_config_var('LIBDIR') or ''))\nprint(repr(get_config_var('LIBPL') or ''))\nprint(repr(get_config_var('INCLUDEPY') or ''))\nprint(repr(get_config_var('Py_ENABLE_SHARED') or ''))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET') or ''))\nprint(repr(get_config_var('LDSHARED') or ''))\nprint(repr(get_config_var('CFLAGS') or ''))\nprint(repr(get_config_var('LDVERSION') or ''))"]
out: '/usr'
''
'.cpython-311-arm-linux-gnueabihf.so'
' '
'/usr/lib/arm-linux-gnueabihf'
'/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf'
'/usr/include/python3.11'
1
''
'arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions  '
'-Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration   -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security'
'3.11'

err: <string>:13: DeprecationWarning: SO is deprecated, use EXT_SUFFIX

'/usr'
''
'.cpython-311-arm-linux-gnueabihf.so'
' '
'/usr/lib/arm-linux-gnueabihf'
'/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf'
'/usr/include/python3.11'
1
''
'arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions  '
'-Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration   -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security'
'3.11'

Configuration returned from ['python3']:
prefix = '/usr'
SO = ''
EXT_SUFFIX = '.cpython-311-arm-linux-gnueabihf.so'
LDFLAGS = ' '
LIBDIR = '/usr/lib/arm-linux-gnueabihf'
LIBPL = '/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf'
INCLUDEPY = '/usr/include/python3.11'
Py_ENABLE_SHARED = 1
MACOSX_DEPLOYMENT_TARGET = ''
LDSHARED = 'arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions  '
CFLAGS = '-Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration   -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security'
LDVERSION = '3.11'

---------------------------------------------------------------------------------
python-config
arm-linux-gnueabihf-python3-config
find program=['python3-config', 'python3.11-config', 'python-config-3.11', 'python3.11m-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON_CONFIG' -> ['arm-linux-gnueabihf-python3-config']
---------------------------------------------------------------------------------
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags
['arm-linux-gnueabihf-python3-config', '--cflags', '--libs', '--ldflags', '--embed']
out: -I/usr/include/python3.11 -I/usr/include/python3.11  -Wsign-compare -g -Werror=implicit-function-declaration   -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security  -DNDEBUG -g -fwrapv -O2 -Wall
-lpython3.11 -ldl  -lm 
-L/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -ldl  -lm 

Unhandled flag '-Wsign-compare'
Unhandled flag '-Werror=implicit-function-declaration'
Unhandled flag '-Wformat'
Unhandled flag '-Werror=format-security'
Unhandled flag '-Wall'
yes
---------------------------------------------------------------------------------
Testing pyembed configuration
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
/* #undef STRERROR_R_XSI_NOT_GNU */
/* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */
#define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv
#define PYTHONDIR "/usr/lib/python3/dist-packages"
#define PYTHONARCHDIR "/usr/lib/python3/dist-packages"
#define HAVE_PYEMBED 1


#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
	void Py_Initialize(void);
	void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main(int argc, char **argv)
{
   (void)argc; (void)argv;
   Py_Initialize();
   Py_Finalize();
   return 0;
}

<==
[1/2] Compiling bin/.conf_check_db801b490d36fdcbc703f3ce0fa901a5/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-g', '-fstack-protector-strong', '-fstack-clash-protection', '-g', '-fwrapv', '-O2', '-I/usr/include/python3.11', '-DNDEBUG', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_db801b490d36fdcbc703f3ce0fa901a5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_db801b490d36fdcbc703f3ce0fa901a5/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_db801b490d36fdcbc703f3ce0fa901a5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf', '-lpython3.11', '-ldl', '-lm', '-lpython3.11', '-ldl', '-lm', '-Wl,-z,relro', '-Wl,-z,now']
yes
---------------------------------------------------------------------------------
Asking python-config for pyext '--cflags --libs --ldflags' flags
['arm-linux-gnueabihf-python3-config', '--cflags', '--libs', '--ldflags']
out: -I/usr/include/python3.11 -I/usr/include/python3.11  -Wsign-compare -g -Werror=implicit-function-declaration   -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security  -DNDEBUG -g -fwrapv -O2 -Wall
 -ldl  -lm 
-L/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf  -ldl  -lm 

Unhandled flag '-Wsign-compare'
Unhandled flag '-Werror=implicit-function-declaration'
Unhandled flag '-Wformat'
Unhandled flag '-Werror=format-security'
Unhandled flag '-Wall'
yes
---------------------------------------------------------------------------------
Testing pyext configuration
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
/* #undef STRERROR_R_XSI_NOT_GNU */
/* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */
#define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv
#define PYTHONDIR "/usr/lib/python3/dist-packages"
#define PYTHONARCHDIR "/usr/lib/python3/dist-packages"
#define HAVE_PYEMBED 1
#define HAVE_PYEXT 1


#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
	void Py_Initialize(void);
	void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main(int argc, char **argv)
{
   (void)argc; (void)argv;
   Py_Initialize();
   Py_Finalize();
   return 0;
}

<==
[1/2] Compiling bin/.conf_check_9ac122fdc064a66d2d525f163da7b0ba/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-fPIC', '-g', '-fstack-protector-strong', '-fstack-clash-protection', '-g', '-fwrapv', '-O2', '-I/usr/include/python3.11', '-DNDEBUG', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9ac122fdc064a66d2d525f163da7b0ba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_9ac122fdc064a66d2d525f163da7b0ba/testbuild/default/testprog.cpython-311-arm-linux-gnueabihf.so

['arm-linux-gnueabihf-gcc', '-shared', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_9ac122fdc064a66d2d525f163da7b0ba/testbuild/default/testprog.cpython-311-arm-linux-gnueabihf.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf', '-L/usr/lib/arm-linux-gnueabihf', '-ldl', '-lm', '-ldl', '-lm', '-Wl,-z,relro', '-Wl,-z,now']
yes
---------------------------------------------------------------------------------
Dynconfig[BINDIR]: 
'/usr/bin'
---------------------------------------------------------------------------------
Dynconfig[SBINDIR]: 
'/usr/sbin'
---------------------------------------------------------------------------------
Dynconfig[LIBDIR]: 
'/usr/lib/arm-linux-gnueabihf'
---------------------------------------------------------------------------------
Dynconfig[LIBEXECDIR]: 
'/usr/libexec'
---------------------------------------------------------------------------------
Dynconfig[SAMBA_LIBEXECDIR]: 
'/usr/libexec/samba'
---------------------------------------------------------------------------------
Dynconfig[DATADIR]: 
'/usr/share'
---------------------------------------------------------------------------------
Dynconfig[SAMBA_DATADIR]: 
'/usr/share/samba'
---------------------------------------------------------------------------------
Dynconfig[LOCALEDIR]: 
'/usr/share/locale'
---------------------------------------------------------------------------------
Dynconfig[PYTHONDIR]: 
'/usr/lib/python3/dist-packages'
---------------------------------------------------------------------------------
Dynconfig[PYTHONARCHDIR]: 
'/usr/lib/python3/dist-packages'
---------------------------------------------------------------------------------
Dynconfig[PERL_LIB_INSTALL_DIR]: 
'/usr/share/perl5'
---------------------------------------------------------------------------------
Dynconfig[PERL_ARCH_INSTALL_DIR]: 
'/usr/lib/arm-linux-gnueabihf/perl5/5.38'
---------------------------------------------------------------------------------
Dynconfig[INCLUDEDIR]: 
'/usr/include/samba-4.0'
---------------------------------------------------------------------------------
Dynconfig[SCRIPTSBINDIR]: 
'/usr/sbin'
---------------------------------------------------------------------------------
Dynconfig[SETUPDIR]: 
'/usr/share/samba/setup'
---------------------------------------------------------------------------------
Dynconfig[PKGCONFIGDIR]: 
'/usr/lib/arm-linux-gnueabihf/pkgconfig'
---------------------------------------------------------------------------------
Dynconfig[CODEPAGEDIR]: 
'/usr/share/samba/codepages'
---------------------------------------------------------------------------------
Dynconfig[PRIVATELIBDIR]: 
'/usr/lib/arm-linux-gnueabihf/samba'
---------------------------------------------------------------------------------
Dynconfig[MODULESDIR]: 
'/usr/lib/arm-linux-gnueabihf/samba'
---------------------------------------------------------------------------------
Dynconfig[PAMMODULESDIR]: 
'/lib/arm-linux-gnueabihf/security'
---------------------------------------------------------------------------------
Dynconfig[CONFIGDIR]: 
'/etc/samba'
---------------------------------------------------------------------------------
Dynconfig[PRIVATE_DIR]: 
'/var/lib/samba/private'
---------------------------------------------------------------------------------
Dynconfig[BINDDNS_DIR]: 
'/var/lib/samba/bind-dns'
---------------------------------------------------------------------------------
Dynconfig[LOCKDIR]: 
'/run/samba'
---------------------------------------------------------------------------------
Dynconfig[PIDDIR]: 
'/run/samba'
---------------------------------------------------------------------------------
Dynconfig[STATEDIR]: 
'/var/lib/samba'
---------------------------------------------------------------------------------
Dynconfig[CACHEDIR]: 
'/var/cache/samba'
---------------------------------------------------------------------------------
Dynconfig[LOGFILEBASE]: 
'/var/log/samba'
---------------------------------------------------------------------------------
Dynconfig[SOCKET_DIR]: 
'/run/samba'
---------------------------------------------------------------------------------
Dynconfig[PRIVILEGED_SOCKET_DIR]: 
'/var/lib/samba'
---------------------------------------------------------------------------------
Dynconfig[WINBINDD_SOCKET_DIR]: 
'/run/samba/winbindd'
---------------------------------------------------------------------------------
Dynconfig[NMBDSOCKETDIR]: 
'/run/samba/nmbd'
---------------------------------------------------------------------------------
Dynconfig[NTP_SIGND_SOCKET_DIR]: 
'/var/lib/samba/ntp_signd'
---------------------------------------------------------------------------------
Dynconfig[NCALRPCDIR]: 
'/run/samba/ncalrpc'
---------------------------------------------------------------------------------
Dynconfig[CONFIGFILE]: 
'/etc/samba/smb.conf'
---------------------------------------------------------------------------------
Dynconfig[LMHOSTSFILE]: 
'/etc/samba/lmhosts'
---------------------------------------------------------------------------------
Dynconfig[SMB_PASSWD_FILE]: 
'/etc/samba/smbpasswd'
---------------------------------------------------------------------------------
Checking for getrandom
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
/* #undef STRERROR_R_XSI_NOT_GNU */
/* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */
#define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv
/* #undef PYTHONDIR */
/* #undef PYTHONARCHDIR */
#define HAVE_PYEMBED 1
#define HAVE_PYEXT 1
#define HAVE_PYTHON_H 1

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/random.h>
int main(void) { return 0; }

<==
[1/1] Compiling bin/.conf_check_a28a478abfa0f45e2355194b3c8c1877/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_a28a478abfa0f45e2355194b3c8c1877/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/<<PKGBUILDDIR>>"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "aarch64"
#define SYSTEM_UNAME_RELEASE "6.1.47-v8+"
#define SYSTEM_UNAME_VERSION "#1 SMP PREEMPT Fri Sep  1 07:05:33 BST 2023"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define LINUX 1
#define BOOL_DEFINED 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_DECL_MALLOC 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_NSS_H 1
#define HAVE_LINUX_OPENAT2_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_INOTIFY_INIT 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
/* #undef HAVE_RPC_RPC_HEADERS */
#define HAVE_TIRPC 1
#define HAVE_RPC_RPC_H 1
#define HAVE_RPC_NETTYPE_H 1
/* #undef HAVE_SYS_SYSCTL_H */
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_WNO_FORMAT_TRUNCATION "1"
#define HAVE_WNO_UNUSED_FUNCTION "1"
#define HAVE_WNO_STRICT_OVERFLOW "1"
#define HAVE_WNO_UNUSED_BUT_SET_VARIABLE "1"
#define HAVE_WUSE_AFTER_FREE_1 "1"
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_SSIZE_T 4
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_SIGSETMASK 1
#define HAVE_SIGGETMASK 1
#define HAVE_SIGPROCMASK 1
#define HAVE_SIGBLOCK 1
#define HAVE_SIGACTION 1
#define HAVE_SIGSET 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
/* #undef HAVE_MEMSET_S */
/* #undef HAVE_MEMSET_EXPLICIT */
#define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_NET_IF_H 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE___SYNC_FETCH_AND_ADD 1
#define HAVE___SYNC_ADD_AND_FETCH 1
/* #undef HAVE_ATOMIC_ADD_32 */
#define HAVE___ATOMIC_ADD_FETCH 1
#define HAVE___ATOMIC_ADD_LOAD 1
#define HAVE_ATOMIC_THREAD_FENCE 1
#define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1
#define HAVE_FALLTHROUGH_ATTRIBUTE 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRSEP 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_FMEMOPEN 1
#define HAVE_MALLOC_H 1
#define HAVE_DECL_MEMALIGN 1
#define _POSIX_FALLOCATE_CAPABLE_LIBC 1
#define HAVE_POSIX_FALLOCATE 1
#define HAVE_DIRNAME 1
#define HAVE_BASENAME 1
#define HAVE_STRLCPY 1
#define HAVE_STRLCAT 1
#define HAVE_GETPEEREID 1
#define HAVE_LIBBSD 1
#define HAVE_BSD_UNISTD_H 1
#define HAVE_SETPROCTITLE 1
#define HAVE_SETPROCTITLE_INIT 1
#define HAVE_CLOSEFROM 1
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMEINDEX 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE1 1
/* #undef HAVE_GETPROGNAME */
#define HAVE_COPY_FILE_RANGE 1
#define HAVE_XATTR_SUPPORT 1
#define HAVE_GETXATTR 1
#define HAVE_XATTR_XATTR 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_PTHREAD_ATTR_INIT 1
#define HAVE_PTHREAD 1
#define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1
#define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1
#define HAVE_PTHREAD_MUTEX_CONSISTENT 1
#define HAVE_ROBUST_MUTEXES 1
#define HAVE___THREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_CRYPT_R 1
#define HAVE_CRYPT_RN 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_DECL_EWOULDBLOCK 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_DECL_GETTIMEOFDAY 1
/* #undef HAVE_GETTIMEOFDAY_TZ */
#define HAVE_GETTIMEOFDAY_TZ_VOID 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
/* #undef HAVE_SOCK_SIN6_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
/* #undef HAVE_IFACE_GETIFADDRS */
/* #undef HAVE_IFACE_AIX */
/* #undef HAVE_IFACE_IFCONF */
/* #undef HAVE_IFACE_IFREQ */
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
/* #undef STRERROR_R_XSI_NOT_GNU */
/* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */
#define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv
/* #undef PYTHONDIR */
/* #undef PYTHONARCHDIR */
#define HAVE_PYEMBED 1
#define HAVE_PYEXT 1
#define HAVE_PYTHON_H 1
#define HAVE_SYS_RANDOM_H 1



                         #define getrandom __fake__getrandom
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef getrandom
                         #if defined __stub_getrandom || defined __stub___getrandom
                         #error "bad glibc stub"
                         #endif
                         extern char getrandom();
                         int main() { return getrandom(); }
                         

<==
[1/2] Compiling bin/.conf_check_886be66500afb6cad848f59fea84f7d9/test.c

['arm-linux-gnueabihf-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-g', '-O2', '-Werror=implicit-function-declaration', '-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-fstack-clash-protection', '-Wformat', '-Werror=format-security', '-ffile-prefix-map=../../=', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/<<PKGBUILDDIR>>/bin/.conf_check_886be66500afb6cad848f59fea84f7d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_TIME_BITS=64', '-Wdate-time', '-D_FORTIFY_SOURCE=2']
[2/2] Linking bin/.conf_check_886be66500afb6cad848f59fea84f7d9/testbuild/default/testprog

['arm-linux-gnueabihf-gcc', 'test.c.1.o', '-o/<<PKGBUILDDIR>>/bin/.conf_check_886be66500afb6cad848f59fea84f7d9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-Wl,-z,relro', '-Wl,-z,now']
ok
---------------------------------------------------------------------------------
Checking for GnuTLS >= 3.6.13
['arm-linux-gnueabihf-pkgconf', 'gnutls >= 3.6.13', '--cflags', '--libs', 'gnutls']
out: 

err: Package libbrotlienc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbrotlienc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbrotlienc', required by 'gnutls', not found
Package 'libbrotlidec', required by 'gnutls', not found
Package 'libbrotlienc', required by 'gnutls', not found
Package 'libbrotlidec', required by 'gnutls', not found

not found
from /<<PKGBUILDDIR>>: The configuration failed
make[2]: *** [debian/rules:164: bin/configured.stamp] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:157: install-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:157: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-05-22T12:59:04Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build Type: any
Build-Space: 192752
Build-Time: 47
Distribution: trixie-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 80
Job: samba_2:4.20.1+dfsg-1
Machine Architecture: arm64
Package: samba
Package-Time: 140
Source-Version: 2:4.20.1+dfsg-1
Space: 192752
Status: attempted
Version: 2:4.20.1+dfsg-1
--------------------------------------------------------------------------------
Finished at 2024-05-22T12:59:04Z
Build needed 00:02:20, 192752k disk space