Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 Mock Version: 1.1.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'], False, '/var/lib/mock/fedora-16-x86_64/root/', None, 0, True, False, 500, 475, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'] Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libpwquality-1.0.0-2.fc16.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'], False, '/var/lib/mock/fedora-16-x86_64/root/', None, 0, True, False, 500, 475, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zpMENQ + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf libpwquality-1.0.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libpwquality-1.0.0.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpwquality-1.0.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jPnt1r + umask 022 + cd /builddir/build/BUILD + cd libpwquality-1.0.0 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/lib64 --with-pythonsitedir=/usr/lib64/python2.7/site-packages --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for style of include used by make... GNU checking for x86_64-unknown-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-unknown-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1635000 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for x86_64-unknown-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-unknown-linux-gnu-ar... no checking for ar... ar checking for x86_64-unknown-linux-gnu-strip... no checking for strip... strip checking for x86_64-unknown-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for dngettext... yes checking python version... 2.7 checking crack.h usability... yes checking crack.h presence... yes checking for crack.h... yes checking for FascistCheck in -lcrack... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for strcspn... yes checking for strdup... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libpwquality.spec config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating python/Makefile config.status: creating doc/Makefile config.status: creating doc/man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/libpwquality-1.0.0' Making all in po make[2]: Entering directory `/builddir/build/BUILD/libpwquality-1.0.0/po' make[2]: Leaving directory `/builddir/build/BUILD/libpwquality-1.0.0/po' Making all in src make[2]: Entering directory `/builddir/build/BUILD/libpwquality-1.0.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o generate.lo generate.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o check.lo check.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o settings.lo settings.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o error.lo error.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c settings.c -fPIC -DPIC -o .libs/settings.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c generate.c -fPIC -DPIC -o .libs/generate.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c error.c -fPIC -DPIC -o .libs/error.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c check.c -fPIC -DPIC -o .libs/check.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o pam_pwquality.lo pam_pwquality.c gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c pwscore.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c pam_pwquality.c -fPIC -DPIC -o .libs/pam_pwquality.o gcc -DHAVE_CONFIG_H -I. -I.. -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c pwmake.c /bin/sh ../libtool --tag=CC --mode=link gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -no-undefined -Wl,--version-script=./libpwquality.map -version-info 1:0:0 -Wl,-z,relro -o libpwquality.la -rpath /lib64 generate.lo check.lo settings.lo error.lo -lcrack libtool: link: gcc -shared .libs/generate.o .libs/check.o .libs/settings.o .libs/error.o -lcrack -m64 -mtune=generic -Wl,--version-script=./libpwquality.map -Wl,-z -Wl,relro -Wl,-soname -Wl,libpwquality.so.1 -o .libs/libpwquality.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libpwquality.so.1" && ln -s "libpwquality.so.1.0.0" "libpwquality.so.1") libtool: link: (cd ".libs" && rm -f "libpwquality.so" && ln -s "libpwquality.so.1.0.0" "libpwquality.so") libtool: link: ( cd ".libs" && rm -f "libpwquality.la" && ln -s "../libpwquality.la" "libpwquality.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -no-undefined -avoid-version -module -Wl,-z,relro -o pam_pwquality.la -rpath /lib64/security pam_pwquality.lo libpwquality.la -lpam /bin/sh ../libtool --tag=CC --mode=link gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z,relro -o pwscore pwscore.o libpwquality.la /bin/sh ../libtool --tag=CC --mode=link gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z,relro -o pwmake pwmake.o libpwquality.la libtool: link: gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/pwscore pwscore.o ./.libs/libpwquality.so -lcrack libtool: link: gcc -shared .libs/pam_pwquality.o -Wl,-rpath -Wl,/builddir/build/BUILD/libpwquality-1.0.0/src/.libs ./.libs/libpwquality.so -lcrack -lpam -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,pam_pwquality.so -o .libs/pam_pwquality.so libtool: link: gcc -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/pwmake pwmake.o ./.libs/libpwquality.so -lcrack libtool: link: ( cd ".libs" && rm -f "pam_pwquality.la" && ln -s "../pam_pwquality.la" "pam_pwquality.la" ) make[2]: Leaving directory `/builddir/build/BUILD/libpwquality-1.0.0/src' Making all in python make[2]: Entering directory `/builddir/build/BUILD/libpwquality-1.0.0/python' python setup.py build --build-lib=. running build running build_ext building 'pwquality' extension creating build creating build/temp.linux-x86_64-2.7 gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fplugin=python2 -fplugin-arg-python2-script=/test.py -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -I../src -I/usr/include/python2.7 -c pwquality.c -o build/temp.linux-x86_64-2.7/pwquality.o pwquality.c: In function 'initpwquality': pwquality.c:384:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pwquality.c:373:45: error: Unhandled Python exception raised calling 'execute' method Traceback (most recent call last): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 75, in execute self._check_refcounts(fun) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/__init__.py", line 79, in _check_refcounts self.show_possible_null_derefs) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/refcounts.py", line 3668, in check_refcounts limits=limits) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2929, in iter_traces depth + 1): File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2893, in iter_traces transitions = curstate.get_transitions() File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2013, in get_transitions return self._get_transitions_for_stmt(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2029, in _get_transitions_for_stmt return self._get_transitions_for_GimpleCall(stmt) File "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/plugin/python2/libcpychecker/absinterp.py", line 2212, in _get_transitions_for_GimpleCall raise NotImplementedError('not yet implemented: %s' % fnname) NotImplementedError: not yet implemented: PyErr_NewExceptionWithDoc pwquality.c: In function 'pwqsettings_setstr': pwquality.c:289:1: warning: ob_refcnt of new ref from (unknown) pwqerror is 1 too high [enabled by default] pwquality.c:289:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) pwquality.c:289:1: note: but final ob_refcnt is N + 1 pwquality.c:283:33: note: new ref from (unknown) pwqerror allocated at: pwqerror(rc, NULL); pwquality.c:275:12: note: taking False path at: if (value == (PyObject *)Py_None) pwquality.c:278:19: note: reaching: s = PyString_AsString(value); pwquality.c:278:19: note: when PyString_AsString() succeeds at: s = PyString_AsString(value); pwquality.c:280:27: note: PyErr_Occurred() at: if (PyErr_Occurred() == NULL) { pwquality.c:280:12: note: taking True path at: if (PyErr_Occurred() == NULL) { pwquality.c:282:30: note: reaching: (int)(ssize_t)setting, s)) < 0) { pwquality.c:281:20: note: when considering range: -0x80000000 <= value <= -1 at: if ((rc = pwquality_set_str_value(self->pwq, pwquality.c:281:20: note: taking True path at: if ((rc = pwquality_set_str_value(self->pwq, pwquality.c:283:33: note: reaching: pwqerror(rc, NULL); pwquality.c:283:33: note: when pwqerror() succeeds at: pwqerror(rc, NULL); pwquality.c:283:33: note: ob_refcnt is now refs: 1 + N where N >= 0 pwquality.c:289:1: note: returning pwquality.c:271:1: note: graphical error report for function 'pwqsettings_setstr' written out to 'build/temp.linux-x86_64-2.7/pwquality.c.pwqsettings_setstr-refcount-errors.html' pwquality.c: In function 'pwqerror': pwquality.c:198:1: warning: ob_refcnt of '*py_errvalue' is 1 too high [enabled by default] pwquality.c:198:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) pwquality.c:198:1: note: but final ob_refcnt is N + 1 pwquality.c:187:21: note: new ref from call to Py_BuildValue allocated at: py_errvalue = Py_BuildValue("is", rc, msg); pwquality.c:184:12: note: when considering range: -0x80000000 <= value <= -9 at: if (rc == PWQ_ERROR_MEM_ALLOC) pwquality.c:184:12: note: taking False path at: if (rc == PWQ_ERROR_MEM_ALLOC) pwquality.c:187:21: note: reaching: py_errvalue = Py_BuildValue("is", rc, msg); pwquality.c:187:21: note: when Py_BuildValue() succeeds at: py_errvalue = Py_BuildValue("is", rc, msg); pwquality.c:187:21: note: ob_refcnt is now refs: 1 + N where N >= 0 pwquality.c:188:12: note: taking False path at: if (py_errvalue == NULL) pwquality.c:191:45: note: reaching: if (rc == PWQ_ERROR_UNKNOWN_SETTING || rc == PWQ_ERROR_NON_INT_SETTING pwquality.c:191:12: note: taking True path at: if (rc == PWQ_ERROR_UNKNOWN_SETTING || rc == PWQ_ERROR_NON_INT_SETTING pwquality.c:193:32: note: reaching: PyErr_SetObject(PyExc_AttributeError, py_errvalue); pwquality.c:193:32: note: calling PyErr_SetObject() at: PyErr_SetObject(PyExc_AttributeError, py_errvalue); pwquality.c:197:9: note: reaching: return NULL; pwquality.c:193:32: note: ob_refcnt is now refs: 1 + N where N >= 1 pwquality.c:198:1: note: returning pwquality.c:198:1: note: found 4 similar trace(s) to this pwquality.c:177:1: note: graphical error report for function 'pwqerror' written out to 'build/temp.linux-x86_64-2.7/pwquality.c.pwqerror-refcount-errors.html' pwquality.c: In function 'pwqsettings_setint': pwquality.c:251:1: warning: ob_refcnt of new ref from (unknown) pwqerror is 1 too high [enabled by default] pwquality.c:251:1: note: was expecting final ob_refcnt to be N + 0 (for some unknown N) pwquality.c:251:1: note: but final ob_refcnt is N + 1 pwquality.c:245:33: note: new ref from (unknown) pwqerror allocated at: pwqerror(rc, NULL); pwquality.c:241:11: note: when PyInt_AsLong() succeeds at: l = PyInt_AsLong(value); pwquality.c:242:27: note: PyErr_Occurred() at: if (PyErr_Occurred() == NULL) { pwquality.c:242:12: note: taking True path at: if (PyErr_Occurred() == NULL) { pwquality.c:243:50: note: reaching: if ((rc = pwquality_set_int_value(self->pwq, pwquality.c:243:20: note: when considering range: -0x80000000 <= value <= -1 at: if ((rc = pwquality_set_int_value(self->pwq, pwquality.c:243:20: note: taking True path at: if ((rc = pwquality_set_int_value(self->pwq, pwquality.c:245:33: note: reaching: pwqerror(rc, NULL); pwquality.c:245:33: note: when pwqerror() succeeds at: pwqerror(rc, NULL); pwquality.c:245:33: note: ob_refcnt is now refs: 1 + N where N >= 0 pwquality.c:251:1: note: returning pwquality.c:237:1: note: graphical error report for function 'pwqsettings_setint' written out to 'build/temp.linux-x86_64-2.7/pwquality.c.pwqsettings_setint-refcount-errors.html' pwquality.c: In function 'check': pwquality.c:350:30: warning: Mismatching type in call to PyArg_ParseTuple with format code "s|zz" [enabled by default] argument 3 ("&password") had type "char * *" but was expecting "const char * *" for format code "s" pwquality.c:350:30: warning: Mismatching type in call to PyArg_ParseTuple with format code "s|zz" [enabled by default] argument 4 ("&oldpassword") had type "char * *" but was expecting "const char * *" for format code "z" pwquality.c:350:30: warning: Mismatching type in call to PyArg_ParseTuple with format code "s|zz" [enabled by default] argument 5 ("&username") had type "char * *" but was expecting "const char * *" for format code "z" pwquality.c: In function 'set_option': pwquality.c:313:30: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&option") had type "char * *" but was expecting "const char * *" for format code "s" pwquality.c: In function 'read_config': pwquality.c:298:30: warning: Mismatching type in call to PyArg_ParseTuple with format code "|s" [enabled by default] argument 3 ("&cfgfile") had type "char * *" but was expecting "const char * *" for format code "s" error: command 'gcc' failed with exit status 1 make[2]: *** [pwquality.so] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/libpwquality-1.0.0/python' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/libpwquality-1.0.0' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jPnt1r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jPnt1r (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 328, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libpwquality.spec'] LEAVE do --> EXCEPTION RAISED