>>> python-pam 0.5.0 Extracting gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/python-pam/PyPAM-0.5.0.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/python-pam-0.5.0//; PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/accts/mlweber1/bin:/accts/mlweber1/libexec/git-core:/accts/mlweber1/usr/bin:/accts/mlweber1/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin" AR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-ar" AS="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-as" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-ld" NM="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-nm" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gcc" GCC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gcc" CPP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-cpp" CXX="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-g++" FC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gfortran" F77="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gfortran" RANLIB="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-ranlib" READELF="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-readelf" STRIP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-strip" OBJCOPY="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-objcopy" OBJDUMP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-as" DEFAULT_LINKER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-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="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl LDSHARED="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gcc -shared" PYTHONPATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib/python2.7/sysconfigdata/" PYTHONNOUSERSITE=1 _PYTHON_SYSCONFIGDATA_NAME="" _python_sysroot=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot _python_prefix=/usr _python_exec_prefix=/usr /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-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 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/security/pam_misc.h:7, from PAMmodule.c:13: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-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; ^~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/i586-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 '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/i586-linux-gcc' failed with exit status 1 make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/python-pam-0.5.0/.stamp_built] Error 1 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot'