Started by upstream project "libnsbmp" build number 329
originally caused by:
Started by upstream project "buildsystem" build number 1459
originally caused by:
Started by user Vincent Sanders
Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/scan-build-libnsbmp
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://git.netsurf-browser.org/libnsbmp.git # timeout=10
Fetching upstream changes from git://git.netsurf-browser.org/libnsbmp.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libnsbmp.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 77ce1da1f484de5a7696d9bac0a8b42fa8cb35e2 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 77ce1da1f484de5a7696d9bac0a8b42fa8cb35e2
> git rev-list 77ce1da1f484de5a7696d9bac0a8b42fa8cb35e2 # timeout=10
> git tag -a -f -m Jenkins Build #188 jenkins-scan-build-libnsbmp-188 # timeout=10
[scan-build-libnsbmp] $ /bin/sh -xe /tmp/hudson1907969376738801062.sh
+ cc -dumpmachine
+ export HOST=x86_64-linux-gnu
+ bash -ex /var/lib/jenkins/artifacts-x86_64-linux-gnu/share/netsurf-buildsystem/citools/jenkins-build.sh static
+ '[' xx86_64-linux-gnu = x ']'
+ ARTIFACT_HOME=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ '[' x = x ']'
++ cc -dumpmachine
+ BUILD=x86_64-linux-gnu
+ TARGET_TEST=
+ TARGET_INSTALL=
+ TARGET_COVERAGE=
+ TARGET_STATIC=
+ TARGET_COVERITY=
+ TARGET_DOCS=
+ VARIANT=release
+ case "$1" in
+ TARGET_STATIC=x86_64-linux-gnu
+ VARIANT=debug
+ export CCACHE=
+ CCACHE=
+ case ${BUILD} in
+ MAKE=make
+ mkdir -p /var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu
+ export PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig
+ export LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib
+ export PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin
+ make Q= clean HOST=x86_64-linux-gnu VARIANT=debug
rm -f
rm -f gmon.out
rm -f
rm -f
rm -f
rm -f
rm -f -r build/docs
rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = xx86_64-linux-gnu ']'
+ rm -rf clangScanBuildReports
+ CFLAGS=-Wno-error
+ scan-build -o clangScanBuildReports -v -v --use-cc clang --use-analyzer=/usr/bin/clang make Q= VARIANT=debug
scan-build: Using '/usr/bin/clang' for static analysis
scan-build: Emitting reports for this run to '/var/lib/jenkins/workspace/scan-build-libnsbmp/clangScanBuildReports/2024-03-05-095110-12088-1'.
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage
touch build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/stamp
COMPILE: src/libnsbmp.c
/usr/share/clang/scan-build-7/bin/../libexec/ccc-analyzer -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/scan-build-libnsbmp/include/ -I/var/lib/jenkins/workspace/scan-build-libnsbmp/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pedantic -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -g -O0 -DDEBUG -std=c99 -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libnsbmp.o -c src/libnsbmp.c
[LOCATION]: /var/lib/jenkins/workspace/scan-build-libnsbmp
'/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'libnsbmp.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-eagerly-assume' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-mrelocation-model' 'static' '-mthread-model' 'posix' '-mdisable-fp-elim' '-fmath-errno' '-masm-verbose' '-mconstructor-aliases' '-munwind-tables' '-fuse-init-array' '-target-cpu' 'x86-64' '-dwarf-column-info' '-debugger-tuning=gdb' '-resource-dir' '/usr/lib/llvm-7/lib/clang/7.0.1' '-D' '_BSD_SOURCE' '-D' '_DEFAULT_SOURCE' '-I' '/var/lib/jenkins/workspace/scan-build-libnsbmp/include/' '-I' '/var/lib/jenkins/workspace/scan-build-libnsbmp/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/lib/llvm-7/lib/clang/7.0.1/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir' '/var/lib/jenkins/workspace/scan-build-libnsbmp' '-ferror-limit' '19' '-fmessage-length' '0' '-fobjc-runtime=gcc' '-fdiagnostics-show-option' '-analyzer-display-progress' '-analyzer-output=html' '-o' '/var/lib/jenkins/workspace/scan-build-libnsbmp/clangScanBuildReports/2024-03-05-095110-12088-1' '-x' 'c' 'src/libnsbmp.c' '-faddrsig'
ANALYZE (Syntax): src/libnsbmp.c read_uint8
ANALYZE (Syntax): src/libnsbmp.c read_int16
ANALYZE (Syntax): src/libnsbmp.c read_uint16
ANALYZE (Syntax): src/libnsbmp.c read_int32
ANALYZE (Syntax): src/libnsbmp.c read_uint32
ANALYZE (Syntax): src/libnsbmp.c bmp_info_header_parse
ANALYZE (Syntax): src/libnsbmp.c bmp_file_header_parse
ANALYZE (Syntax): src/libnsbmp.c next_ico_image
ANALYZE (Syntax): src/libnsbmp.c ico_header_parse
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rgb32
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rgb24
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rgb16
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rgb
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_mask
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rle8
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_rle4
ANALYZE (Syntax): src/libnsbmp.c bmp_create
ANALYZE (Syntax): src/libnsbmp.c ico_collection_create
ANALYZE (Syntax): src/libnsbmp.c bmp_analyse
ANALYZE (Syntax): src/libnsbmp.c ico_analyse
ANALYZE (Syntax): src/libnsbmp.c bmp_decode
ANALYZE (Syntax): src/libnsbmp.c bmp_decode_trans
ANALYZE (Syntax): src/libnsbmp.c ico_find
ANALYZE (Syntax): src/libnsbmp.c bmp_finalise
ANALYZE (Syntax): src/libnsbmp.c ico_finalise
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h ico_finalise
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h ico_find
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h bmp_decode_trans
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h ico_analyse
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h bmp_analyse
ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libnsbmp/include/libnsbmp.h ico_collection_create
ANALYZE (Path, Inline_Regular): src/libnsbmp.c bmp_info_header_parse
AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsbmp.a
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsbmp.a
ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libnsbmp.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libnsbmp.o
ar: `u' modifier ignored since `D' is the default (see `U')
scan-build: Removing directory '/var/lib/jenkins/workspace/scan-build-libnsbmp/clangScanBuildReports/2024-03-05-095110-12088-1' because it contains no reports.
scan-build: No bugs found.
+ make Q= clean HOST=x86_64-linux-gnu VARIANT=debug
rm -f
rm -f gmon.out
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libnsbmp.d
rm -f
rm -f
rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libnsbmp.o
rm -f -r build/docs
rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static
+ '[' xx86_64-linux-gnu = x ']'
+ '[' xx86_64-linux-gnu = x ']'
Publishing Clang scan-build results
Could not locate a unique scan-build output folder in: /var/lib/jenkins/workspace/scan-build-libnsbmp/clangScanBuildReports
Finished: SUCCESS