Diff of the two buildlogs: -- --- b1/build.log 2024-11-08 20:02:59.135742238 +0000 +++ b2/build.log 2024-11-08 20:05:49.621681621 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 8 07:53:14 -12 2024 -I: pbuilder-time-stamp: 1731095594 +I: Current time: Sat Nov 9 10:03:10 +14 2024 +I: pbuilder-time-stamp: 1731096190 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying improve_errors I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/31218/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 8 20:03 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='ddc4b9ed5db34d839bc179c4101582eb' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='31218' - PS1='# ' - PS2='> ' + INVOCATION_ID=243d5030508a41c3a002e05c2595d2df + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=30398 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PWPgk8PX/pbuilderrc_4N07 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PWPgk8PX/b1 --logfile b1/build.log samhain_4.1.4-4.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PWPgk8PX/pbuilderrc_XmiS --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PWPgk8PX/b2 --logfile b2/build.log samhain_4.1.4-4.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/31218/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 39 http://deb.debian.org/debian unstable/main armhf libgmpxx4ldbl armhf 2:6.3.0+dfsg-2+b2 [328 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libgmp-dev armhf 2:6.3.0+dfsg-2+b2 [593 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libgmp3-dev armhf 2:6.3.0+dfsg-2+b2 [322 kB] -Fetched 22.0 MB in 2s (13.8 MB/s) +Fetched 22.0 MB in 1s (42.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19690 files and directories currently installed.) @@ -353,7 +385,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/samhain-4.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../samhain_4.1.4-4_source.changes +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/samhain-4.1.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../samhain_4.1.4-4_source.changes dpkg-buildpackage: info: source package samhain dpkg-buildpackage: info: source version 4.1.4-4 dpkg-buildpackage: info: source distribution unstable @@ -768,8 +804,8 @@ checking whether /dev/random exists... yes checking for user samhain... no checking for user daemon... yes -checking base key setting .. collecting entropy... 547078032 3489985 -checking key position... 2 +checking base key setting .. collecting entropy... 8142815 808050942 +checking key position... 6 configure: creating ./config.status config.status: creating Makefile config.status: creating samhain-install.sh @@ -805,12 +841,12 @@ Database file: /var/lib/samhain/samhain_file PID file: /run/samhain/samhain.pid Log file: /var/log/samhain/samhain.log - Base key: 547078032,3489985 + Base key: 8142815,808050942 Selected rc file: samhainrc.linux make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_build - make -j5 + make -j4 make[1]: Entering directory '/build/reproducible-path/samhain-4.1.4' arm-linux-gnueabihf-gcc -I. -o depend-gen ./src/depend-gen.c cd . && autoheader @@ -858,29 +894,18 @@ config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands -arm-linux-gnueabihf-gcc -I. -o mkhdr ./src/mkhdr.c encode 0 config.h +arm-linux-gnueabihf-gcc -I. -o mkhdr ./src/mkhdr.c creating sh_MK.h arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1.c -./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c ./encode 0 ./src/sh_files.c --> x_sh_files.c +./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c ./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c -./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c -./encode 0 ./src/samhain.c --> x_samhain.c -./encode 0 ./src/sh_unix.c --> x_sh_unix.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c -In file included from x_sh_tiger0.c:25: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c +./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c In file included from x_sh_files.c:82: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -888,13 +913,15 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_unix.c:96: +In file included from x_sh_tiger0.c:25: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/samhain.c --> x_samhain.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c In file included from x_samhain.c:66: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -906,13 +933,16 @@ x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 624 | size_t l_candidate = 0; | ^~~~~~~~~~~ -x_sh_files.c: In function 'sh_files_checkdir': -x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 2058 | struct sh_dirent * dirlist; - | ^~~~~~~ +./encode 0 ./src/sh_unix.c --> x_sh_unix.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +In file included from x_sh_unix.c:96: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/sh_error.c --> x_sh_error.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c In file included from x_sh_utils.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -921,6 +951,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_error.c --> x_sh_error.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c +x_sh_files.c: In function 'sh_files_checkdir': +x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 2058 | struct sh_dirent * dirlist; + | ^~~~~~~ In file included from x_sh_error.c:58: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -935,7 +971,6 @@ ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c In file included from x_sh_getopt.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -943,6 +978,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c In file included from x_sh_readconf.c:50: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -952,8 +988,18 @@ | ^~~~ ./encode 0 ./src/sh_filter.c --> x_sh_filter.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c +In file included from x_sh_filter.c:29: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ ./encode 0 ./src/sh_hash.c --> x_sh_hash.c +./encode 0 ./src/sh_mail.c --> x_sh_mail.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c +./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c In file included from x_sh_hash.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -961,7 +1007,15 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_filter.c:29: +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c +In file included from x_sh_mail.c:57: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +In file included from x_sh_nmail.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -975,45 +1029,46 @@ x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 3815 | char * linknamebuf; | ^~~~~~~~~~~ -./encode 0 ./src/sh_mail.c --> x_sh_mail.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c -./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c ./encode 0 ./src/sh_mem.c --> x_sh_mem.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c -In file included from x_sh_mail.c:57: +In file included from x_sh_mem.c:41: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_nmail.c:46: +./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_login_track.o -c x_sh_login_track.c +./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c +In file included from x_sh_login_track.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_mem.c:41: +In file included from x_sh_entropy.c:62: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_login_track.o -c x_sh_login_track.c -In file included from x_sh_login_track.c:31: +./encode 0 ./src/sh_modules.c --> x_sh_modules.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c +./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c +./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c +In file included from x_sh_utmp.c:77: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c -./encode 0 ./src/sh_modules.c --> x_sh_modules.c In function 'stripped_hostname', inlined from 'check_host' at x_sh_login_track.c:877:11, inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: @@ -1026,35 +1081,17 @@ /usr/include/arm-linux-gnueabihf/bits/utmpx.h:65:8: note: argument 'ut_host' declared here 65 | char ut_host[__UT_HOSTSIZE] | ^~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c -In file included from x_sh_entropy.c:62: +In file included from x_sh_xfer_client.c:118: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c ./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_server.o -c x_sh_xfer_server.c -In file included from x_sh_utmp.c:77: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -In file included from x_sh_xfer_client.c:118: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ ./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c In file included from x_sh_xfer_server.c:126: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1062,7 +1099,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_syslog.o -c x_sh_xfer_syslog.c ./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c ./encode 0 ./src/sh_srp.c --> x_sh_srp.c @@ -1074,6 +1110,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c x_sh_suidchk.c: In function 'filesystem_type_uncached': x_sh_suidchk.c:2242:22: warning: storing the address of local variable 'type' in 'sh_dummy_2229_type' [-Wdangling-pointer=] 2242 | sh_dummy_2229_type = (void *) &type; @@ -1084,7 +1122,7 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c +./encode 0 ./src/sh_tools.c --> x_sh_tools.c x_sh_suidchk.c: In function 'sh_suidchk_check_internal': x_sh_suidchk.c:1031:20: warning: storing the address of local variable 'tmp' in 'sh_dummy_itmp' [-Wdangling-pointer=] 1031 | sh_dummy_itmp = (void*) &tmp; @@ -1092,6 +1130,7 @@ x_sh_suidchk.c:1009:19: note: 'tmp' declared here 1009 | char * tmp; | ^~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c x_sh_suidchk.c:1000:15: note: 'sh_dummy_itmp' declared here 1000 | static void * sh_dummy_itmp = NULL; | ^~~~~~~~~~~~~ @@ -1101,11 +1140,10 @@ x_sh_suidchk.c:1021:22: note: 'dirlist' declared here 1021 | struct sh_dirent * dirlist; | ^~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_tools.c --> x_sh_tools.c +./encode 0 ./src/sh_html.c --> x_sh_html.c In file included from x_sh_fifo.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1113,7 +1151,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c In file included from x_sh_tools.c:86: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1121,16 +1159,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_html.c --> x_sh_html.c ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c ./encode 0 ./src/sh_cat.c --> x_sh_cat.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c ./encode 0 ./src/sh_calls.c --> x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c In file included from x_sh_calls.c:56: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1138,7 +1172,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_database.c --> x_sh_database.c +./encode 0 ./src/sh_extern.c --> x_sh_extern.c x_sh_calls.c:935:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 935 | int aud_pipe (const char * file, int line, int * modus) | ~~~~~~^~~~~ @@ -1147,7 +1181,7 @@ ./include/sh_calls.h:99:55: note: previously declared as an array 'int[2]' 99 | int aud_pipe (const char * file, int line, int modus[2]); | ~~~~^~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c In file included from x_sh_extern.c:89: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1155,10 +1189,14 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_database.c --> x_sh_database.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c -./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c +x_sh_suidchk.c: In function 'do_truncate': +x_sh_suidchk.c:448:10: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 448 | int result; + | ^~~~~~ In file included from x_sh_err_log.c:30: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1166,6 +1204,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c In file included from x_sh_err_console.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1175,14 +1215,20 @@ | ^~~~ ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c -x_sh_suidchk.c: In function 'do_truncate': -x_sh_suidchk.c:448:10: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 448 | int result; - | ^~~~~~ ./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c ./encode 0 ./src/bignum.c --> x_bignum.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c +x_sh_suidchk.c: In function 'sh_suidchk_check_internal': +x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1008 | char * tmpcat; + | ^~~~~~ +x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1009 | char * tmp; + | ^~~ +x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1018 | file_type * theFile = NULL; + | ^~~~~~~ ./encode 0 ./src/trustfile.c --> x_trustfile.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c @@ -1209,35 +1255,16 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -x_sh_suidchk.c: In function 'sh_suidchk_check_internal': -x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1008 | char * tmpcat; - | ^~~~~~ -x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1009 | char * tmp; - | ^~~ -x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1018 | file_type * theFile = NULL; - | ^~~~~~~ -x_slib.c: In function 'dlog': -x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] - 923 | (void) strncpy(dst, src, siz-1); - | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c ./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c ./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c -x_slib.c: In function 'sl_open_file': -x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] -In file included from x_slib.c:61: -./include/slib.h:244:46: note: length computed here - 244 | #define sl_strlen(arg) ((arg == NULL) ? 0 : (strlen(arg))) - | ~^~~~~~~~~~~~ -x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' - 2042 | len = sl_strlen(filename)+1; - | ^~~~~~~~~ ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c +x_slib.c: In function 'dlog': +x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] + 923 | (void) strncpy(dst, src, siz-1); + | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c In file included from x_sh_mounts.c:32: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1246,6 +1273,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1253,16 +1282,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c ./encode 0 ./src/sh_static.c --> x_sh_static.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c -./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c -./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c -./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c In file included from x_sh_prelink.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1270,6 +1291,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c +./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c +./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c In file included from x_sh_processcheck.c:69: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1291,32 +1318,23 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +x_slib.c: In function 'sl_open_file': +x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] +In file included from x_slib.c:61: +./include/slib.h:244:46: note: length computed here + 244 | #define sl_strlen(arg) ((arg == NULL) ? 0 : (strlen(arg))) + | ~^~~~~~~~~~~~ +x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' + 2042 | len = sl_strlen(filename)+1; + | ^~~~~~~~~ ./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c ./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c -./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c -./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c -./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c -./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c -./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c -./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c -./encode 0 ./src/sh_string.c --> x_sh_string.c -./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c +x_sh_processcheck.c: In function 'sh_processes_runps.constprop': +x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1041 | int retval = 0; + | ^~~~~~ In file included from x_sh_portcheck.c:30: x_sh_portcheck.c: In function 'sh_portchk_check_list.constprop': x_sh_portcheck.c:561:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] @@ -1339,17 +1357,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -x_sh_processcheck.c: In function 'sh_processes_runps.constprop': -x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1041 | int retval = 0; - | ^~~~~~ -In file included from x_sh_inotify.c:47: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ +./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': x_sh_portcheck.c:802:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), @@ -1362,7 +1371,6 @@ | ^~ In function 'snprintf', inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:802:4: -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c /usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 16 and 328 bytes into a destination of size 256 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1389,10 +1397,35 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +x_sh_processcheck.c: In function 'sh_process_check_int': +x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1244 | char * aout; + | ^~~~ +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c +./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c +./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c +./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +./encode 0 ./src/sh_string.c --> x_sh_string.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c +./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c +./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c ./encode 0 ./src/sh_audit.c --> x_sh_audit.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c -In file included from x_sh_audit.c:43: +In file included from x_sh_inotify.c:47: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1401,18 +1434,19 @@ | ^~~~ ./encode 0 ./src/sh_registry.c --> x_sh_registry.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c -x_sh_processcheck.c: In function 'sh_process_check_int': -x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1244 | char * aout; - | ^~~~ ./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c +In file included from x_sh_audit.c:43: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c x_sh_audit.c: In function 'doAuparse': x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); | ^ -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c In file included from x_sh_ipvx.c:37: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1420,8 +1454,21 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c +In function 'sh_ipvx_ntoa', + inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: +x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] + 160 | int len = (ss->ss_family == AF_INET) ? + | ~~^~~~~~~~~~~ +x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': +x_sh_ipvx.c:200:22: note: 'ss' declared here + 200 | struct sh_sockaddr ss; + | ^~ ./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c +./encode 0 ./src/sh_sub.c --> x_sh_sub.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c In file included from x_sh_restrict.c:44: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1429,8 +1476,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_sub.c --> x_sh_sub.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c In file included from x_sh_filetype.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1439,15 +1484,6 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -In function 'sh_ipvx_ntoa', - inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: -x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] - 160 | int len = (ss->ss_family == AF_INET) ? - | ~~^~~~~~~~~~~ -x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': -x_sh_ipvx.c:200:22: note: 'ss' declared here - 200 | struct sh_sockaddr ss; - | ^~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c In file included from x_sh_fInotify.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1459,7 +1495,12 @@ ./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c ./encode 0 ./src/sh_guid.c --> x_sh_guid.c +x_sh_fInotify.c: In function 'sh_fInotify_init_internal': +x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 340 | char * filename; + | ^~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c +./encode 0 ./src/sh_sem.c --> x_sh_sem.c x_sh_checksum.c:410:29: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 410 | void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) | ~~~~~~~~~~^~~~~~~~ @@ -1467,6 +1508,7 @@ ./include/sh_checksum.h:22:19: note: previously declared as 'sha2_byte[32]' {aka 'unsigned char[32]'} 22 | void SHA256_Final(sha2_byte[SHA256_DIGEST_LENGTH], SHA256_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c In file included from x_sh_checksum.c:481: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1487,12 +1529,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_sem.c --> x_sh_sem.c -x_sh_fInotify.c: In function 'sh_fInotify_init_internal': -x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 340 | char * filename; - | ^~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c ./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c ./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c @@ -1506,14 +1542,14 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_dbCreate.c:27: +In file included from x_sh_dbCheck.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In file included from x_sh_dbCheck.c:26: +In file included from x_sh_dbCreate.c:27: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1534,7 +1570,7 @@ `pwd`/debian/samhain/etc/samhain make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_install --destdir=debian/samhain/ - make -j5 install DESTDIR=/build/reproducible-path/samhain-4.1.4/debian/samhain AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/samhain-4.1.4/debian/samhain AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/samhain-4.1.4' arm-linux-gnueabihf-gcc -I. -o encode ./src/encode.c /bin/sh ./mkinstalldirs /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8 @@ -1546,16 +1582,14 @@ /usr/bin/install -c -m 644 ./man/samhain.8 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8/samhain.8 /usr/bin/install -c -m 644 ./man/samhainrc.5 /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man5/samhainrc.5 encode 0 config.h -./encode 0 ./src/sh_files.c --> x_sh_files.c ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c +./encode 0 ./src/sh_files.c --> x_sh_files.c ./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c -./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_files.o -c x_sh_files.c +./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c -./encode 0 ./src/samhain.c --> x_samhain.c -./encode 0 ./src/sh_unix.c --> x_sh_unix.c In file included from x_sh_tiger0.c:25: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1563,7 +1597,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c In file included from x_sh_files.c:82: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1571,7 +1604,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c +./encode 0 ./src/samhain.c --> x_samhain.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o samhain.o -c x_samhain.c +./encode 0 ./src/sh_unix.c --> x_sh_unix.c In file included from x_samhain.c:66: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1579,6 +1614,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c In file included from x_sh_unix.c:96: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1586,6 +1622,10 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +x_sh_files.c: In function 'intern_find_morespecific_dir.constprop': +x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 624 | size_t l_candidate = 0; + | ^~~~~~~~~~~ ./encode 0 ./src/sh_utils.c --> x_sh_utils.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c In file included from x_sh_utils.c:43: @@ -1595,14 +1635,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_files.c: In function 'intern_find_morespecific_dir.constprop': -x_sh_files.c:624:16: warning: variable 'l_candidate' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 624 | size_t l_candidate = 0; - | ^~~~~~~~~~~ ./encode 0 ./src/sh_error.c --> x_sh_error.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_error.o -c x_sh_error.c -./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c +x_sh_files.c: In function 'sh_files_checkdir': +x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 2058 | struct sh_dirent * dirlist; + | ^~~~~~~ In file included from x_sh_error.c:58: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1610,6 +1648,12 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +x_sh_files.c: In function 'sh_files_pushglob.isra': +x_sh_files.c:1197:11: warning: variable 'globstatus' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1197 | int globstatus = -1; + | ^~~~~~~~~~ +./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c In file included from x_sh_getopt.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1617,16 +1661,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_files.c: In function 'sh_files_checkdir': -x_sh_files.c:2058:22: warning: variable 'dirlist' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 2058 | struct sh_dirent * dirlist; - | ^~~~~~~ ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c -x_sh_files.c: In function 'sh_files_pushglob.isra': -x_sh_files.c:1197:11: warning: variable 'globstatus' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1197 | int globstatus = -1; - | ^~~~~~~~~~ In file included from x_sh_readconf.c:50: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1634,10 +1670,15 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +x_sh_unix.c: In function 'sh_unix_getinfo': +x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3812 | char * tmp; + | ^~~ +x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 3815 | char * linknamebuf; + | ^~~~~~~~~~~ ./encode 0 ./src/sh_filter.c --> x_sh_filter.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filter.o -c x_sh_filter.c -./encode 0 ./src/sh_hash.c --> x_sh_hash.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c In file included from x_sh_filter.c:29: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1645,6 +1686,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_hash.c --> x_sh_hash.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c In file included from x_sh_hash.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1653,18 +1696,13 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_mail.c --> x_sh_mail.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c ./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_nmail.o -c x_sh_nmail.c -./encode 0 ./src/sh_mem.c --> x_sh_mem.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c In file included from x_sh_mail.c:57: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ In file included from x_sh_nmail.c:46: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1672,6 +1710,11 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_mem.c --> x_sh_mem.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c In file included from x_sh_mem.c:41: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1688,15 +1731,15 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_unix.c: In function 'sh_unix_getinfo': -x_sh_unix.c:3812:17: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3812 | char * tmp; - | ^~~ -x_sh_unix.c:3815:17: warning: variable 'linknamebuf' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 3815 | char * linknamebuf; - | ^~~~~~~~~~~ ./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c +In file included from x_sh_entropy.c:62: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ In function 'stripped_hostname', inlined from 'check_host' at x_sh_login_track.c:877:11, inlined from 'sh_ltrack_check' at x_sh_login_track.c:1019:15: @@ -1709,18 +1752,11 @@ /usr/include/arm-linux-gnueabihf/bits/utmpx.h:65:8: note: argument 'ut_host' declared here 65 | char ut_host[__UT_HOSTSIZE] | ^~~~~~~ -In file included from x_sh_entropy.c:62: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ ./encode 0 ./src/sh_modules.c --> x_sh_modules.c -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c +./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c ./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_xfer_client.o -c x_sh_xfer_client.c In file included from x_sh_utmp.c:77: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1749,10 +1785,8 @@ | ^~~~ ./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c ./encode 0 ./src/sh_srp.c --> x_sh_srp.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c -./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c In file included from x_sh_suidchk.c:75: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1760,9 +1794,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_tools.c --> x_sh_tools.c +./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c x_sh_suidchk.c: In function 'filesystem_type_uncached': -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c x_sh_suidchk.c:2242:22: warning: storing the address of local variable 'type' in 'sh_dummy_2229_type' [-Wdangling-pointer=] 2242 | sh_dummy_2229_type = (void *) &type; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ @@ -1772,6 +1806,7 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_tools.c --> x_sh_tools.c x_sh_suidchk.c: In function 'sh_suidchk_check_internal': x_sh_suidchk.c:1031:20: warning: storing the address of local variable 'tmp' in 'sh_dummy_itmp' [-Wdangling-pointer=] 1031 | sh_dummy_itmp = (void*) &tmp; @@ -1791,6 +1826,7 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c In file included from x_sh_fifo.c:34: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1799,7 +1835,6 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_html.c --> x_sh_html.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c In file included from x_sh_tools.c:86: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1807,13 +1842,14 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_html.o -c x_sh_html.c ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c ./encode 0 ./src/sh_cat.c --> x_sh_cat.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c ./encode 0 ./src/sh_calls.c --> x_sh_calls.c -./encode 0 ./src/sh_extern.c --> x_sh_extern.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c +./encode 0 ./src/sh_extern.c --> x_sh_extern.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c In file included from x_sh_calls.c:56: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1822,14 +1858,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_database.c --> x_sh_database.c -In file included from x_sh_extern.c:89: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ x_sh_calls.c:935:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 935 | int aud_pipe (const char * file, int line, int * modus) | ~~~~~~^~~~~ @@ -1838,9 +1866,21 @@ ./include/sh_calls.h:99:55: note: previously declared as an array 'int[2]' 99 | int aud_pipe (const char * file, int line, int modus[2]); | ~~~~^~~~~~~~ +In file included from x_sh_extern.c:89: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_database.c --> x_sh_database.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_database.o -c x_sh_database.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c +x_sh_suidchk.c: In function 'do_truncate': +x_sh_suidchk.c:448:10: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 448 | int result; + | ^~~~~~ In file included from x_sh_err_log.c:30: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1857,16 +1897,22 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -x_sh_suidchk.c: In function 'do_truncate': -x_sh_suidchk.c:448:10: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 448 | int result; - | ^~~~~~ ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c ./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c ./encode 0 ./src/bignum.c --> x_bignum.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o bignum.o -c x_bignum.c +x_sh_suidchk.c: In function 'sh_suidchk_check_internal': +x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1008 | char * tmpcat; + | ^~~~~~ +x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1009 | char * tmp; + | ^~~ +x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1018 | file_type * theFile = NULL; + | ^~~~~~~ ./encode 0 ./src/trustfile.c --> x_trustfile.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c @@ -1881,19 +1927,9 @@ /usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ -x_sh_suidchk.c: In function 'sh_suidchk_check_internal': -x_sh_suidchk.c:1008:19: warning: variable 'tmpcat' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1008 | char * tmpcat; - | ^~~~~~ -x_sh_suidchk.c:1009:19: warning: variable 'tmp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1009 | char * tmp; - | ^~~ -x_sh_suidchk.c:1018:19: warning: variable 'theFile' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1018 | file_type * theFile = NULL; - | ^~~~~~~ ./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -./encode 0 ./src/sh_socket.c --> x_sh_socket.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c +./encode 0 ./src/sh_socket.c --> x_sh_socket.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c In file included from x_sh_socket.c:53: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1908,6 +1944,10 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c ./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c +x_slib.c: In function 'dlog': +x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] + 923 | (void) strncpy(dst, src, siz-1); + | ^ ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c In file included from x_sh_mounts.c:32: @@ -1917,6 +1957,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c In file included from x_sh_userfiles.c:35: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1924,12 +1966,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c -x_slib.c: In function 'dlog': -x_slib.c:923:16: warning: '__builtin_strncpy' output may be truncated copying 79 bytes from a string of length 80 [-Wstringop-truncation] - 923 | (void) strncpy(dst, src, siz-1); - | ^ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c ./encode 0 ./src/sh_static.c --> x_sh_static.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_static.o -c x_sh_static.c In file included from x_sh_prelink.c:31: @@ -1940,8 +1976,8 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c -./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c +./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c In file included from x_sh_processcheck.c:69: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] @@ -1951,9 +1987,6 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c -./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c In file included from x_sh_portcheck.c:83: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1961,18 +1994,9 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c -In file included from x_sh_port2proc.c:53: -./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ -./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] - 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; - | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_port2proc.o -c x_sh_port2proc.c x_slib.c: In function 'sl_open_file': x_slib.c:923:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] -./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c In file included from x_slib.c:61: ./include/slib.h:244:46: note: length computed here 244 | #define sl_strlen(arg) ((arg == NULL) ? 0 : (strlen(arg))) @@ -1980,19 +2004,21 @@ x_slib.c:2042:9: note: in expansion of macro 'sl_strlen' 2042 | len = sl_strlen(filename)+1; | ^~~~~~~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c -./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c -./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c -./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c -./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +In file included from x_sh_port2proc.c:53: +./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] + 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; + | ^~~~ +./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_syslog.o -c x_sh_log_parse_syslog.c +./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c x_sh_processcheck.c: In function 'sh_processes_runps.constprop': x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1041 | int retval = 0; | ^~~~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_pacct.o -c x_sh_log_parse_pacct.c In file included from x_sh_portcheck.c:30: x_sh_portcheck.c: In function 'sh_portchk_check_list.constprop': x_sh_portcheck.c:561:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] @@ -2015,10 +2041,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c -./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': x_sh_portcheck.c:802:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), @@ -2057,19 +2079,36 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c -./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c -./encode 0 ./src/sh_string.c --> x_sh_string.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c +./encode 0 ./src/sh_log_parse_apache.c --> x_sh_log_parse_apache.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_apache.o -c x_sh_log_parse_apache.c +./encode 0 ./src/sh_log_parse_samba.c --> x_sh_log_parse_samba.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_samba.o -c x_sh_log_parse_samba.c x_sh_processcheck.c: In function 'sh_process_check_int': x_sh_processcheck.c:1244:30: warning: variable 'aout' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1244 | char * aout; | ^~~~ +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_evalrule.o -c x_sh_log_evalrule.c +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_check.o -c x_sh_log_check.c +./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_parse_generic.o -c x_sh_log_parse_generic.c +./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c +./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_correlate.o -c x_sh_log_correlate.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_mark.o -c x_sh_log_mark.c +./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_log_repeat.o -c x_sh_log_repeat.c +./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c +./encode 0 ./src/sh_string.c --> x_sh_string.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c ./encode 0 ./src/sh_inotify.c --> x_sh_inotify.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_string.o -c x_sh_string.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_inotify.o -c x_sh_inotify.c ./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c +./encode 0 ./src/sh_audit.c --> x_sh_audit.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c In file included from x_sh_inotify.c:47: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2077,13 +2116,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o dnmalloc.o -c x_dnmalloc.c -./encode 0 ./src/sh_audit.c --> x_sh_audit.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_audit.o -c x_sh_audit.c ./encode 0 ./src/sh_registry.c --> x_sh_registry.c -./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_registry.o -c x_sh_registry.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c In file included from x_sh_audit.c:43: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2091,10 +2125,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c -./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c +./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_ipvx.o -c x_sh_ipvx.c x_sh_audit.c: In function 'doAuparse': x_sh_audit.c:77:5: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 77 | strncpy(state->success, auparse_interpret_field(au), REC_SIZE_SUCCESS); @@ -2106,6 +2138,21 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +In function 'sh_ipvx_ntoa', + inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: +x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] + 160 | int len = (ss->ss_family == AF_INET) ? + | ~~^~~~~~~~~~~ +x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': +x_sh_ipvx.c:200:22: note: 'ss' declared here + 200 | struct sh_sockaddr ss; + | ^~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_restrict.o -c x_sh_restrict.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +./encode 0 ./src/sh_sub.c --> x_sh_sub.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_filetype.o -c x_sh_filetype.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c In file included from x_sh_restrict.c:44: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2120,23 +2167,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -In function 'sh_ipvx_ntoa', - inlined from 'sh_ipvx_print_sockaddr' at x_sh_ipvx.c:204:3: -x_sh_ipvx.c:160:16: warning: 'ss.ss_family' may be used uninitialized [-Wmaybe-uninitialized] - 160 | int len = (ss->ss_family == AF_INET) ? - | ~~^~~~~~~~~~~ -x_sh_ipvx.c: In function 'sh_ipvx_print_sockaddr': -x_sh_ipvx.c:200:22: note: 'ss' declared here - 200 | struct sh_sockaddr ss; - | ^~ -./encode 0 ./src/sh_sub.c --> x_sh_sub.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sub.o -c x_sh_sub.c ./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_fInotify.o -c x_sh_fInotify.c -./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c -./encode 0 ./src/sh_guid.c --> x_sh_guid.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c In file included from x_sh_fInotify.c:31: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2144,6 +2176,14 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_checksum.o -c x_sh_checksum.c +./encode 0 ./src/sh_guid.c --> x_sh_guid.c +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_guid.o -c x_sh_guid.c +x_sh_fInotify.c: In function 'sh_fInotify_init_internal': +x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 340 | char * filename; + | ^~~~~~~~ x_sh_checksum.c:410:29: warning: argument 1 of type 'sha2_byte[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 410 | void SHA256_Final(sha2_byte digest[], SHA256_CTX* context) | ~~~~~~~~~~^~~~~~~~ @@ -2166,10 +2206,6 @@ | ^~~~~~~~~~~~~~~~~ ./encode 0 ./src/sh_sem.c --> x_sh_sem.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_sem.o -c x_sh_sem.c -x_sh_fInotify.c: In function 'sh_fInotify_init_internal': -x_sh_fInotify.c:340:10: warning: variable 'filename' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 340 | char * filename; - | ^~~~~~~~ In file included from x_sh_guid.c:22: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2181,7 +2217,6 @@ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbIO.o -c x_sh_dbIO.c ./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCheck.o -c x_sh_dbCheck.c -arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1.c ./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_dbCreate.o -c x_sh_dbCreate.c In file included from x_sh_dbIO.c:29: @@ -2191,6 +2226,7 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W -fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1.c In file included from x_sh_dbCheck.c:26: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2198,8 +2234,6 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run -mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain In file included from x_sh_dbCreate.c:27: ./include/sh_utils.h:181:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -2207,6 +2241,8 @@ ./include/sh_utils.h:183:1: warning: ignoring attribute 'pure' because it conflicts with attribute 'malloc' [-Wattributes] 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run +mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain ./samhain-install.sh --destdir=/build/reproducible-path/samhain-4.1.4/debian/samhain --express --verbose install-data cp samhainrc.linux samhainrc cp samhainrc samhainrc.pre @@ -2287,21 +2323,21 @@ dh_makeshlibs dh_shlibdeps dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libauparse0t64 from: /lib/arm-linux-gnueabihf/libauparse.so.0 -dpkg-shlibdeps: warning: diversions involved - output may be incorrect - diversion by libauparse0t64 to: /lib/arm-linux-gnueabihf/libauparse.so.0.usr-is-merged -dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libauparse0t64 from: /lib/arm-linux-gnueabihf/libauparse.so.0 +dpkg-shlibdeps: warning: diversions involved - output may be incorrect + diversion by libauparse0t64 to: /lib/arm-linux-gnueabihf/libauparse.so.0.usr-is-merged dh_installdeb dh_gencontrol dpkg-gencontrol: warning: package samhain: substitution variable ${misc:Pre-Depends} unused, but is defined dpkg-gencontrol: warning: package samhain: substitution variable ${misc:Pre-Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'samhain' in '../samhain_4.1.4-4_armhf.deb'. dpkg-deb: building package 'samhain-dbgsym' in '../samhain-dbgsym_4.1.4-4_armhf.deb'. +dpkg-deb: building package 'samhain' in '../samhain_4.1.4-4_armhf.deb'. dpkg-genbuildinfo --build=binary -O../samhain_4.1.4-4_armhf.buildinfo dpkg-genchanges --build=binary -O../samhain_4.1.4-4_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2310,12 +2346,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30398/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/31218 and its subdirectories -I: Current time: Fri Nov 8 08:02:54 -12 2024 -I: pbuilder-time-stamp: 1731096174 +I: removing directory /srv/workspace/pbuilder/30398 and its subdirectories +I: Current time: Sat Nov 9 10:05:44 +14 2024 +I: pbuilder-time-stamp: 1731096344