>>> python-pam 0.5.0 Downloading URL transformed to HTTPS due to an HSTS policy --2020-04-26 03:06:41-- https://pkgs.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871/PyPAM-0.5.0.tar.gz Resolving pkgs.fedoraproject.org (pkgs.fedoraproject.org)... 209.132.181.4 Connecting to pkgs.fedoraproject.org (pkgs.fedoraproject.org)|209.132.181.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://src.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871/PyPAM-0.5.0.tar.gz [following] --2020-04-26 03:06:41-- https://src.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871/PyPAM-0.5.0.tar.gz Resolving src.fedoraproject.org (src.fedoraproject.org)... 209.132.181.15, 209.132.181.16 Connecting to src.fedoraproject.org (src.fedoraproject.org)|209.132.181.15|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 105206 (103K) [application/x-gzip] Saving to: '/tmp/instance-0/output-1/build/.PyPAM-0.5.0.tar.gz.mHj19d/output' 0K .......... .......... .......... .......... .......... 48% 649K 0s 50K .......... .......... .......... .......... .......... 97% 1.32M 0s 100K .. 100% 119M=0.1s 2020-04-26 03:06:41 (901 KB/s) - '/tmp/instance-0/output-1/build/.PyPAM-0.5.0.tar.gz.mHj19d/output' saved [105206/105206] PyPAM-0.5.0.tar.gz: OK (sha256: 796ac019b9ee805696d0d277d8fb912fa2391b6ac070dc6f9f1a9a0fadbc3a5a) >>> python-pam 0.5.0 Extracting gzip -d -c /tmp/instance-0/dl/python-pam/PyPAM-0.5.0.tar.gz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/python-pam-0.5.0 -xf - >>> python-pam 0.5.0 Patching Applying 0001-dealloc.patch using patch: patching file PAMmodule.c Applying 0002-nofree.patch using patch: patching file PAMmodule.c Applying 0003-memory-errors-CVE2012-1502.patch using patch: patching file PAMmodule.c >>> python-pam 0.5.0 Configuring >>> python-pam 0.5.0 Building (cd /tmp/instance-0/output-1/build/python-pam-0.5.0//; PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/x86_64-linux-ar" AS="/tmp/instance-0/output-1/host/bin/x86_64-linux-as" LD="/tmp/instance-0/output-1/host/bin/x86_64-linux-ld" NM="/tmp/instance-0/output-1/host/bin/x86_64-linux-nm" CC="/tmp/instance-0/output-1/host/bin/x86_64-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/x86_64-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/x86_64-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/x86_64-linux-g++" FC="/tmp/instance-0/output-1/host/bin/x86_64-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/x86_64-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/x86_64-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/x86_64-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/x86_64-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/x86_64-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/x86_64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/x86_64-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/x86_64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl LDSHARED="/tmp/instance-0/output-1/host/bin/x86_64-linux-gcc -shared" PYTHONPATH="/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/python2.7/sysconfigdata/" PYTHONNOUSERSITE=1 _PYTHON_SYSCONFIGDATA_NAME="" _python_sysroot=/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot _python_prefix=/usr _python_exec_prefix=/usr /tmp/instance-0/output-1/host/bin/python setup.py build --executable=/usr/bin/python ) running build running build_ext building 'PAMmodule' extension creating build/temp.linux-x86_64-2.7 /tmp/instance-0/output-1/host/bin/x86_64-linux-gcc -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/python2.7 -c PAMmodule.c -o build/temp.linux-x86_64-2.7/PAMmodule.o -std=c99 In file included from /tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/security/pam_client.h:26:18: error: unknown type name 'u_int32_t' typedef struct { u_int32_t length; u_int8_t control; } *pamc_bp_t; ^~~~~~~~~ /tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/security/pam_client.h:26:36: error: unknown type name 'u_int8_t' typedef struct { u_int32_t length; u_int8_t control; } *pamc_bp_t; ^~~~~~~~ PAMmodule.c: In function 'PyPAM_conv': PAMmodule.c:111:21: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] spr->resp = strdup(resp_text); ^~~~~~ strcmp PAMmodule.c:111:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] spr->resp = strdup(resp_text); ^ PAMmodule.c: In function 'PyPAM_start': PAMmodule.c:189:33: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] if (service) _self->service = strdup(service); ^ PAMmodule.c:190:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] if (user) _self->user = strdup(user); ^ PAMmodule.c: In function 'PyPAM_set_item': PAMmodule.c:356:15: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] n_val = strdup(s_val); ^ At top level: PAMmodule.c:10:13: warning: 'revision' defined but not used [-Wunused-variable] static char revision[] = "$Id: PAMmodule.c,v 1.3 2007/04/18 03:55:11 rob Exp $"; ^~~~~~~~ error: command '/tmp/instance-0/output-1/host/bin/x86_64-linux-gcc' failed with exit status 1 make: *** [package/pkg-generic.mk:269: /tmp/instance-0/output-1/build/python-pam-0.5.0/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'