Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'], False, '/var/lib/mock/fedora-17-x86_64/root/', None, 0, True, False, 500, 475, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-ethtool-0.7-4.fc17.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'], False, '/var/lib/mock/fedora-17-x86_64/root/', None, 0, True, False, 500, 475, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.poTA2I + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf python-ethtool-0.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/python-ethtool-0.7.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-ethtool-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WxJNAG + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build running build running build_ext building 'ethtool' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/python-ethtool gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o Checking python-ethtool/ethtool.c... FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) Width 100 given in format string (no. 1) is larger than destination buffer 'driver[100]', use %99s to prevent overflowing it.Width 100 given in format string (no. 2) is larger than destination buffer 'dev[100]', use %99s to prevent overflowing it.Possible null pointer dereference: end - otherwise it is redundant to check it against null.Possible null pointer dereference: end - otherwise it is scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmpTeKCBq/2013-01-29-1'. python-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] python-ethtool/ethtool.c:123:2: warning: Value stored to 'ret' is never read ret = fgets(buffer, 256, fd); ret = fgets(buffer, 256, fd); ^ ~~~~~~~~~~~~~~~~~~~~~~ python-ethtool/ethtool.c:123:32: warning: Value stored to 'ret' is never read ret = fgets(buffer, 256, fd); ret = fgets(buffer, 256, fd); ^ ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmpTeKCBq/2013-01-29-1' redundant to check it against null.Memory leak: fetch_devsUninitialized variable: errFAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmpTeKCBq', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/ethtool.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o'] Value stored to 'ret' is never readValue stored to 'ret' is never readValue stored to 'ret' is never readValue stored to 'ret' is never readFAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstpython-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] python-ethtool/ethtool.c: In function 'get_flags': python-ethtool/ethtool.c:351:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c:377:22: warning: Mismatching type in call to Py_BuildValue with format code "h" [enabled by default] argument 2 ("D.13357") had type "int" but was expecting "short int" for format code "h" python-ethtool/ethtool.c: In function 'get_sg': python-ethtool/ethtool.c:696:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.5") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'get_dev_value': python-ethtool/ethtool.c:622:22: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_gso': python-ethtool/ethtool.c:686:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.10") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'get_ufo': python-ethtool/ethtool.c:676:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.11") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'dev_set_int_value': python-ethtool/ethtool.c:644:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "si" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c:644:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "si" [enabled by default] argument 4 ("&eval.data") had type "u32 *" (pointing to 32 bits) but was expecting "int *" (pointing to 32 bits) for format code "i" python-ethtool/ethtool.c: In function 'get_tso': python-ethtool/ethtool.c:657:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.13") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'set_ringparam': python-ethtool/ethtool.c:869:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "sO" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'set_coalesce': python-ethtool/ethtool.c:829:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "sO" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_broadcast': python-ethtool/ethtool.c:432:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_netmask': python-ethtool/ethtool.c:388:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_ipaddress': python-ethtool/ethtool.c:200:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_hwaddress': python-ethtool/ethtool.c:153:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_businfo': python-ethtool/ethtool.c:550:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_module': python-ethtool/ethtool.c:477:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" ack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/ethtool.c.firehose.xml"})) Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to Py_BuildValue with format code "h" argument 2 ("D.13357") had type "int" but was expecting "short int" for format code "h" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.5") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.10") had type "int" but was expecting "char" for format code "b" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.11") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "si" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "si" argument 4 ("&eval.data") had type "u32 *" (pointing to 32 bits) but was expecting "int *" (pointing to 32 bits) for format code "i" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.13") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "sO" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "sO" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char python-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" FAKE-GCC: parse_gcc_stderr("python-ethtool/ethtool.c: In function 'get_devices':\npython-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]\n") variable 'ret' set but not usedgcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o Checking python-ethtool/etherinfo.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmppg36uD/2013-01-29-1'. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmppg36uD/2013-01-29-1' FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmppg36uD', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr('') gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o Checking python-ethtool/etherinfo_obj.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmpPyGpjk/2013-01-29-1'. python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmpPyGpjk/2013-01-29-1' python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmpPyGpjk', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo_obj.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo_obj.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr("python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default]\npython-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default]\n") gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o Checking python-ethtool/etherinfo_ipv6_obj.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmpezkpQ2/2013-01-29-1'. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmpezkpQ2/2013-01-29-1' FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmpezkpQ2', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo_ipv6_obj.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo_ipv6_obj.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr('') creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -L/usr/lib64 -lnl -lpython2.7 -o build/lib.linux-x86_64-2.7/ethtool.so FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -L/usr/lib64 -lnl -lpython2.7 -o build/lib.linux-x86_64-2.7/ethtool.so FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: parse_gcc_stderr('') + a2x -d manpage -f manpage man/pethtool.8.asciidoc Note: meta source : no *info/productname or alternative pethtool Note: meta source : see http://docbook.sf.net/el/productname pethtool Note: meta source : no refentry/refmeta/refmiscinfo@class=source pethtool Note: meta source : see http://docbook.sf.net/el/refmiscinfo pethtool Note: meta version: no *info/productnumber or alternative pethtool Note: meta version: see http://docbook.sf.net/el/productnumber pethtool Note: meta version: no refentry/refmeta/refmiscinfo@class=version pethtool Note: meta version: see http://docbook.sf.net/el/refmiscinfo pethtool Warn: meta source : no fallback for source, so inserted a fixme pethtool Note: meta manual : no titled ancestor of refentry pethtool Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual pethtool Note: meta manual : see http://docbook.sf.net/el/refmiscinfo pethtool Warn: meta manual : no fallback for manual, so inserted a fixme pethtool Note: Writing pethtool.8 + a2x -d manpage -f manpage man/pifconfig.8.asciidoc Note: meta source : no *info/productname or alternative pifconfig Note: meta source : see http://docbook.sf.net/el/productname pifconfig Note: meta source : no refentry/refmeta/refmiscinfo@class=source pifconfig Note: meta source : see http://docbook.sf.net/el/refmiscinfo pifconfig Note: meta version: no *info/productnumber or alternative pifconfig Note: meta version: see http://docbook.sf.net/el/productnumber pifconfig Note: meta version: no refentry/refmeta/refmiscinfo@class=version pifconfig Note: meta version: see http://docbook.sf.net/el/refmiscinfo pifconfig Warn: meta source : no fallback for source, so inserted a fixme pifconfig Note: meta manual : no titled ancestor of refentry pifconfig Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual pifconfig Note: meta manual : see http://docbook.sf.net/el/refmiscinfo pifconfig Warn: meta manual : no fallback for manual, so inserted a fixme pifconfig Note: Writing pifconfig.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Nv35Kk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + cd python-ethtool-0.7 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/ethtool.so -> /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages/ethtool-0.7-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/man/man8 + cp -p pethtool.py /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin/pethtool + cp -p pifconfig.py /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin/pifconfig + /usr/bin/gzip -c man/pethtool.8 + /usr/bin/gzip -c man/pifconfig.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/python-ethtool-0.7 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages/ethtool.so 141 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-ethtool-0.7-4.fc17.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QfLQ00 + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + exit 0 Provides: ethtool.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libnl.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-ethtool-debuginfo-0.7-4.fc17.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 Wrote: /builddir/build/RPMS/python-ethtool-0.7-4.fc17.x86_64.rpm Wrote: /builddir/build/RPMS/python-ethtool-debuginfo-0.7-4.fc17.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RNe2G5 + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + exit 0 Child return code was: 0 LEAVE do --> Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 Mock Version: 1.1.22 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'], False, '/var/lib/mock/fedora-17-x86_64/root/', None, 0, True, False, 500, 475, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-ethtool-0.7-4.fc17.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'], False, '/var/lib/mock/fedora-17-x86_64/root/', None, 0, True, False, 500, 475, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mFs6XJ + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf python-ethtool-0.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/python-ethtool-0.7.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-ethtool-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CkvoKs + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build running build running build_ext building 'ethtool' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/python-ethtool gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o Checking python-ethtool/ethtool.c... FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) Width 100 given in format string (no. 1) is larger than destination buffer 'driver[100]', use %99s to prevent overflowing it.Width 100 given in format string (no. 2) is larger than destination buffer 'dev[100]', use %99s to prevent overflowing it.Possible null pointer dereference: end - otherwise it is redundant to check it against null.Possible null pointer dereference: end - otherwise it is rscan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmprDWLpa/2013-01-29-1'. python-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] python-ethtool/ethtool.c:123:32: warning: Value stored to 'ret' is never read ret = fgets(buffer, 256, fd); ret = fgets(buffer, 256, fd); ^ ~~~~~~~~~~~~~~~~~~~~~~ python-ethtool/ethtool.c:123:2: warning: Value stored to 'ret' is never read ret = fgets(buffer, 256, fd); ret = fgets(buffer, 256, fd); ^ ~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmprDWLpa/2013-01-29-1' edundant to check it against null.Memory leak: fetch_devsUninitialized variable: errFAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmprDWLpa', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/ethtool.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o'] Value stored to 'ret' is never readValue stored to 'ret' is never readValue stored to 'ret' is never readValue stored to 'ret' is never readFAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/ethtool.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstapython-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] python-ethtool/ethtool.c: In function 'get_flags': python-ethtool/ethtool.c:351:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c:377:22: warning: Mismatching type in call to Py_BuildValue with format code "h" [enabled by default] argument 2 ("D.13357") had type "int" but was expecting "short int" for format code "h" python-ethtool/ethtool.c: In function 'get_sg': python-ethtool/ethtool.c:696:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.5") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'get_dev_value': python-ethtool/ethtool.c:622:22: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_gso': python-ethtool/ethtool.c:686:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.10") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'get_ufo': python-ethtool/ethtool.c:676:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.11") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'dev_set_int_value': python-ethtool/ethtool.c:644:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "si" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c:644:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "si" [enabled by default] argument 4 ("&eval.data") had type "u32 *" (pointing to 32 bits) but was expecting "int *" (pointing to 32 bits) for format code "i" python-ethtool/ethtool.c: In function 'get_tso': python-ethtool/ethtool.c:657:22: warning: Mismatching type in call to Py_BuildValue with format code "b" [enabled by default] argument 2 ("value.13") had type "int" but was expecting "char" for format code "b" python-ethtool/ethtool.c: In function 'set_ringparam': python-ethtool/ethtool.c:869:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "sO" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'set_coalesce': python-ethtool/ethtool.c:829:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "sO" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_broadcast': python-ethtool/ethtool.c:432:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_netmask': python-ethtool/ethtool.c:388:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_ipaddress': python-ethtool/ethtool.c:200:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_hwaddress': python-ethtool/ethtool.c:153:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_businfo': python-ethtool/ethtool.c:550:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" python-ethtool/ethtool.c: In function 'get_module': python-ethtool/ethtool.c:477:23: warning: Mismatching type in call to PyArg_ParseTuple with format code "s" [enabled by default] argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" ck-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/ethtool.c.firehose.xml"})) Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to Py_BuildValue with format code "h" argument 2 ("D.13357") had type "int" but was expecting "short int" for format code "h" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.5") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.10") had type "int" but was expecting "char" for format code "b" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.11") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "si" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "si" argument 4 ("&eval.data") had type "u32 *" (pointing to 32 bits) but was expecting "int *" (pointing to 32 bits) for format code "i" Mismatching type in call to Py_BuildValue with format code "b" argument 2 ("value.13") had type "int" but was expecting "char" for format code "b" Mismatching type in call to PyArg_ParseTuple with format code "sO" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "sO" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char *python-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" Mismatching type in call to PyArg_ParseTuple with format code "s" argument 3 ("&devname") had type "char * *" but was expecting "const char * *" for format code "s" FAKE-GCC: parse_gcc_stderr("python-ethtool/ethtool.c: In function 'get_devices':\npython-ethtool/ethtool.c:114:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]\n") variable 'ret' set but not usedgcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o Checking python-ethtool/etherinfo.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmpLR5515/2013-01-29-1'. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmpLR5515/2013-01-29-1' FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmpLR5515', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr('') gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o Checking python-ethtool/etherinfo_obj.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmp3GRvqH/2013-01-29-1'. python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmp3GRvqH/2013-01-29-1' python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default] python-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default] FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmp3GRvqH', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo_obj.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo_obj.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr("python-ethtool/etherinfo_obj.c:282:2: warning: initialization from incompatible pointer type [enabled by default]\npython-ethtool/etherinfo_obj.c:282:2: warning: (near initialization for '_ethtool_etherinfo_methods[0].ml_meth') [enabled by default]\n") gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o Checking python-ethtool/etherinfo_ipv6_obj.c... scan-build: 'clang' executable not found in '/usr/lib64/clang-analyzer/scan-build/bin'. scan-build: Using 'clang' from path: /usr/bin/clang scan-build: Emitting reports for this run to '/tmp/tmpHcp2iW/2013-01-29-1'. scan-build: Analysis run complete. scan-build: Analysis results (plist files) deposited in '/tmp/tmpHcp2iW/2013-01-29-1' FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: ['scan-build', '-v', '-plist', '-o', '/tmp/tmpHcp2iW', '/usr/bin/the-real-gcc', '-pthread', '-fno-strict-aliasing', '-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', '-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', '-fPIC', '-DVERSION="0.7"', '-I/usr/include/python2.7', '-c', 'python-ethtool/etherinfo_ipv6_obj.c', '-o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'] FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['python-ethtool/etherinfo_ipv6_obj.c'], defines=['_GNU_SOURCE', 'NDEBUG', '_GNU_SOURCE', 'VERSION="0.7"'], includepaths=['/usr/include/python2.7']) FAKE-GCC: /usr/bin/the-real-gcc -pthread -fno-strict-aliasing -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 -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 -fPIC -DVERSION="0.7" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -fplugin=python2 -fplugin-arg-python2-command=from libcpychecker import main, Options; main(Options(**{"outputxmlpath":"python-ethtool/etherinfo_ipv6_obj.c.firehose.xml"})) FAKE-GCC: parse_gcc_stderr('') creating build/lib.linux-x86_64-2.7 gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -L/usr/lib64 -lnl -lpython2.7 -o build/lib.linux-x86_64-2.7/ethtool.so FAKE-GCC: invoke_side_effects: /usr/bin/gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o -L/usr/lib64 -lnl -lpython2.7 -o build/lib.linux-x86_64-2.7/ethtool.so FAKE-GCC: invoke_cppchecker for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: invoke_clang_analyzer for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: invoke_cpychecker for GccInvocation(executable='/usr/bin/gcc', sources=['build/temp.linux-x86_64-2.7/python-ethtool/ethtool.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_obj.o', 'build/temp.linux-x86_64-2.7/python-ethtool/etherinfo_ipv6_obj.o'], defines=[], includepaths=[]) FAKE-GCC: parse_gcc_stderr('') + a2x -d manpage -f manpage man/pethtool.8.asciidoc Note: meta source : no *info/productname or alternative pethtool Note: meta source : see http://docbook.sf.net/el/productname pethtool Note: meta source : no refentry/refmeta/refmiscinfo@class=source pethtool Note: meta source : see http://docbook.sf.net/el/refmiscinfo pethtool Note: meta version: no *info/productnumber or alternative pethtool Note: meta version: see http://docbook.sf.net/el/productnumber pethtool Note: meta version: no refentry/refmeta/refmiscinfo@class=version pethtool Note: meta version: see http://docbook.sf.net/el/refmiscinfo pethtool Warn: meta source : no fallback for source, so inserted a fixme pethtool Note: meta manual : no titled ancestor of refentry pethtool Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual pethtool Note: meta manual : see http://docbook.sf.net/el/refmiscinfo pethtool Warn: meta manual : no fallback for manual, so inserted a fixme pethtool Note: Writing pethtool.8 + a2x -d manpage -f manpage man/pifconfig.8.asciidoc Note: meta source : no *info/productname or alternative pifconfig Note: meta source : see http://docbook.sf.net/el/productname pifconfig Note: meta source : no refentry/refmeta/refmiscinfo@class=source pifconfig Note: meta source : see http://docbook.sf.net/el/refmiscinfo pifconfig Note: meta version: no *info/productnumber or alternative pifconfig Note: meta version: see http://docbook.sf.net/el/productnumber pifconfig Note: meta version: no refentry/refmeta/refmiscinfo@class=version pifconfig Note: meta version: see http://docbook.sf.net/el/refmiscinfo pifconfig Warn: meta source : no fallback for source, so inserted a fixme pifconfig Note: meta manual : no titled ancestor of refentry pifconfig Note: meta manual : no refentry/refmeta/refmiscinfo@class=manual pifconfig Note: meta manual : see http://docbook.sf.net/el/refmiscinfo pifconfig Warn: meta manual : no fallback for manual, so inserted a fixme pifconfig Note: Writing pifconfig.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CFOvgR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + cd python-ethtool-0.7 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages copying build/lib.linux-x86_64-2.7/ethtool.so -> /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages/ethtool-0.7-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/man/man8 + cp -p pethtool.py /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin/pethtool + cp -p pifconfig.py /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/sbin/pifconfig + /usr/bin/gzip -c man/pethtool.8 + /usr/bin/gzip -c man/pifconfig.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/python-ethtool-0.7 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/site-packages/ethtool.so 141 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/lib64/python2.7/ using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-ethtool-0.7-4.fc17.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M3oGYh + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64/usr/share/doc/python-ethtool-0.7 + exit 0 Provides: ethtool.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libnl.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-ethtool-debuginfo-0.7-4.fc17.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 Wrote: /builddir/build/RPMS/python-ethtool-0.7-4.fc17.x86_64.rpm Wrote: /builddir/build/RPMS/python-ethtool-debuginfo-0.7-4.fc17.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KF2m3B + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.7 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.7-4.fc17.x86_64 + exit 0 Child return code was: 0 LEAVE do -->