Diff of the two buildlogs: -- --- b1/build.log 2024-12-09 20:07:39.049406058 +0000 +++ b2/build.log 2024-12-09 20:12:42.075696053 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 11 14:29:57 -12 2026 -I: pbuilder-time-stamp: 1768184997 +I: Current time: Tue Dec 10 10:07:43 +14 2024 +I: pbuilder-time-stamp: 1733774863 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,54 +33,86 @@ dpkg-source: info: applying improve_errors I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/80945/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/45460/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Dec 9 20:08 /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/45460/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/45460/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8c9a808e62094434a9d07730e9f19cb8' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='80945' - PS1='# ' - PS2='> ' + INVOCATION_ID=9df5009557d54928a75b4ec8ba0924af + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=45460 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.CgkDZmUc/pbuilderrc_3Mjq --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.CgkDZmUc/b1 --logfile b1/build.log samhain_4.1.4-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.CgkDZmUc/pbuilderrc_TVMz --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.CgkDZmUc/b2 --logfile b2/build.log samhain_4.1.4-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/80945/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/45460/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -171,7 +203,7 @@ Get: 39 http://deb.debian.org/debian unstable/main i386 libgmpxx4ldbl i386 2:6.3.0+dfsg-3 [329 kB] Get: 40 http://deb.debian.org/debian unstable/main i386 libgmp-dev i386 2:6.3.0+dfsg-3 [661 kB] Get: 41 http://deb.debian.org/debian unstable/main i386 libgmp3-dev i386 2:6.3.0+dfsg-3 [322 kB] -Fetched 23.2 MB in 0s (84.9 MB/s) +Fetched 23.2 MB in 2s (11.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:i386. (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 ... 19952 files and directories currently installed.) @@ -356,7 +388,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/45460/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/45460/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 @@ -751,7 +787,7 @@ checking for __gmpz_init in -lgmp... yes checking for gmp.h... yes checking for ps... /bin/ps -checking how to use ps... /bin/ps ax +checking how to use ps... /bin/ps -e checking whether to use libwrap... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes @@ -772,7 +808,7 @@ checking whether /dev/random exists... yes checking for user samhain... no checking for user daemon... yes -checking base key setting .. collecting entropy... 806764775 1350893432 +checking base key setting .. collecting entropy... 1349296067 1616396350 checking key position... 5 configure: creating ./config.status config.status: creating Makefile @@ -809,17 +845,16 @@ Database file: /var/lib/samhain/samhain_file PID file: /run/samhain/samhain.pid Log file: /var/log/samhain/samhain.log - Base key: 806764775,1350893432 + Base key: 1349296067,1616396350 Selected rc file: samhainrc.linux make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/samhain-4.1.4' i686-linux-gnu-gcc -I. -o depend-gen ./src/depend-gen.c cd . && autoheader i686-linux-gnu-gcc -I. -o encode ./src/encode.c -update depend.dep ... autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. @@ -833,6 +868,7 @@ autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. +update depend.dep ... echo timestamp > ./stamp-h.in touch ./config.h.in ./config.status @@ -868,83 +904,57 @@ i686-linux-gnu-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 -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.s ./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 +./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c ./encode 0 ./src/sh_unix.c --> x_sh_unix.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c -./encode 0 ./src/samhain.c --> x_samhain.c ./encode 0 ./src/sh_error.c --> x_sh_error.c ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -./encode 0 ./src/sh_filter.c --> x_sh_filter.c -./encode 0 ./src/sh_hash.c --> x_sh_hash.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -./encode 0 ./src/sh_mail.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 -./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c -./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c -./encode 0 ./src/sh_modules.c --> x_sh_modules.c -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c -./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_filter.c --> x_sh_filter.c i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c -./encode 0 ./src/sh_srp.c --> x_sh_srp.c -./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -In file included from x_sh_hash.c:46: +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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; | ^~~~ ./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; | ^~~~ -i686-linux-gnu-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 -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 -In file included from x_sh_mem.c:41: +./encode 0 ./src/sh_mail.c --> x_sh_mail.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; | ^~~~ -In file included from x_sh_mail.c:57: +i686-linux-gnu-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 -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_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; | ^~~~ ./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: +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; | ^~~~ -In file included from x_sh_error.c:58: +i686-linux-gnu-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 -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 +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; | ^~~~ @@ -958,48 +968,58 @@ ./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_tiger0.c:25: +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; | ^~~~ ./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: +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; | ^~~~ ./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_files.c:82: +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] 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_entropy.c:62: +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_utils.c:43: +./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c +i686-linux-gnu-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 -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 +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; + | ^~~~~~~~~~~ +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; | ^~~~ ./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_utmp.c:77: +./encode 0 ./src/sh_mem.c --> x_sh_mem.c +i686-linux-gnu-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 -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; | ^~~~ ./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 +i686-linux-gnu-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 -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: ./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; @@ -1007,35 +1027,50 @@ ./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: +./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c +./encode 0 ./src/sh_modules.c --> x_sh_modules.c +i686-linux-gnu-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 -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 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: +x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 841 | q = strchr(host, '.'); + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmpx.h:31, + from x_sh_login_track.c:40: +/usr/include/i386-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': +/usr/include/i386-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here + 65 | char ut_host[__UT_HOSTSIZE] + | ^~~~~~~ +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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 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; - | ^~~~ -In file included from x_sh_readconf.c:50: +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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; | ^~~~ -./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 -In file included from x_sh_unix.c:96: +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 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; @@ -1043,22 +1078,16 @@ ./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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_cat.c --> x_sh_cat.c -i686-linux-gnu-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 -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 -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; - | ^~~~ -./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; - | ^~~~ -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_suidchk.c --> x_sh_suidchk.c +i686-linux-gnu-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 -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_srp.c --> x_sh_srp.c +i686-linux-gnu-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 -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 +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; + | ^~~~~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_fifo.c --> x_sh_fifo.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; @@ -1066,20 +1095,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_extern.c --> x_sh_extern.c -./encode 0 ./src/sh_database.c --> x_sh_database.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_err_log.c --> x_sh_err_log.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; - | ^~~~ -./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; - | ^~~~ -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_tools.c --> x_sh_tools.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; @@ -1090,16 +1107,6 @@ x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c -i686-linux-gnu-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 -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 -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; - | ^~~~ -./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 '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; @@ -1119,7 +1126,39 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c +i686-linux-gnu-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 -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; + | ^~~~ +./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 +i686-linux-gnu-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 -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; + | ^~~~ +./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_gpg.c --> x_sh_gpg.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_database.c --> x_sh_database.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; + | ^~~~ +./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) | ~~~~~~^~~~~ @@ -1128,8 +1167,12 @@ ./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]); | ~~~~^~~~~~~~ -i686-linux-gnu-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 -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 +./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c +i686-linux-gnu-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 -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_console.c --> x_sh_err_console.c +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c +i686-linux-gnu-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 -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_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; @@ -1137,8 +1180,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; | ^~~~ -i686-linux-gnu-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 -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 -./encode 0 ./src/trustfile.c --> x_trustfile.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 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; @@ -1146,7 +1190,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; | ^~~~ -i686-linux-gnu-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 -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 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; @@ -1154,36 +1197,27 @@ ./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/bignum.c --> x_bignum.c +i686-linux-gnu-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 -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 +./encode 0 ./src/trustfile.c --> x_trustfile.c +i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 rijndael-alg-fst.o -c x_rijndael-alg-fst.c ./encode 0 ./src/rijndael-api-fst.c --> x_rijndael-api-fst.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: -x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 841 | q = strchr(host, '.'); - | ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmpx.h:31, - from x_sh_login_track.c:40: -/usr/include/i386-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': -/usr/include/i386-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here - 65 | char ut_host[__UT_HOSTSIZE] - | ^~~~~~~ +i686-linux-gnu-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 -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 rijndael-alg-fst.o -c x_rijndael-alg-fst.c i686-linux-gnu-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 -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 rijndael-api-fst.o -c x_rijndael-api-fst.c ./encode 0 ./src/slib.c --> x_slib.c -./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c i686-linux-gnu-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 -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 slib.o -c x_slib.c -i686-linux-gnu-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 -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/zAVLTree.c --> x_zAVLTree.c +./encode 0 ./src/sh_socket.c --> x_sh_socket.c In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /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" | ^~~~~~~ -./encode 0 ./src/sh_socket.c --> x_sh_socket.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 ./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c -i686-linux-gnu-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 -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 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] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; @@ -1191,20 +1225,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; | ^~~~ +i686-linux-gnu-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 -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 -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_mounts.c --> x_sh_mounts.c i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c -./encode 0 ./src/sh_static.c --> x_sh_static.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_mounts.c:32: ./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; @@ -1212,34 +1238,59 @@ ./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_userfiles.c:35: +./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c +./encode 0 ./src/sh_static.c --> x_sh_static.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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; + | ^~~~~~~~~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.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; | ^~~~ ./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_prelink.c:31: +./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c +i686-linux-gnu-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 -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 +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; + | ^~~~~~~ +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; | ^~~~ ./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 -./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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_log_parse_syslog.c --> x_sh_log_parse_syslog.c i686-linux-gnu-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 -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 +./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c i686-linux-gnu-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 -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; + | ^~~~ +./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 -./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 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; @@ -1247,54 +1298,76 @@ ./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; | ^~~~ -i686-linux-gnu-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 -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_check.c --> x_sh_log_check.c -./encode 0 ./src/sh_log_parse_generic.c --> x_sh_log_parse_generic.c -i686-linux-gnu-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 -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 -In file included from x_sh_portcheck.c:83: +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); + | ^ +i686-linux-gnu-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 -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 +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; | ^~~~ -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c ./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_samba.c --> x_sh_log_parse_samba.c +./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c +i686-linux-gnu-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 -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_check.c --> x_sh_log_check.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 +./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c i686-linux-gnu-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 -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_mark.c --> x_sh_log_mark.c -./encode 0 ./src/sh_log_repeat.c --> x_sh_log_repeat.c i686-linux-gnu-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 -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_repeat.c --> x_sh_log_repeat.c i686-linux-gnu-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 -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 -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; - | ^~~~ i686-linux-gnu-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 -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 -./encode 0 ./src/dnmalloc.c --> x_dnmalloc.c -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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/dnmalloc.c --> x_dnmalloc.c ./encode 0 ./src/sh_audit.c --> x_sh_audit.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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_ipvx.c --> x_sh_ipvx.c ./encode 0 ./src/sh_registry.c --> x_sh_registry.c -i686-linux-gnu-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 -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/sh_restrict.c --> x_sh_restrict.c i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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_filetype.c --> x_sh_filetype.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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_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; + | ^~~~~~~~~ +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=] + 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:561:68: note: format string is defined here + 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In file included from /usr/include/stdio.h:970, + from x_sh_portcheck.c:33: +In function 'snprintf', + inlined from 'sh_portchk_check_list.constprop' at x_sh_portcheck.c:561:8: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_ipvx.c --> x_sh_ipvx.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; @@ -1302,13 +1375,48 @@ ./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_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; - | ^~~~ -./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_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; + | ^~~~~~ +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)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:802:64: note: format string is defined here + 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In function 'snprintf', + inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:802:4: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': +x_sh_portcheck.c:773:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] + 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:773:64: note: format string is defined here + 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In function 'snprintf', + inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:773:4: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ 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; @@ -1316,6 +1424,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; | ^~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +i686-linux-gnu-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 -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 +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); + | ^ +i686-linux-gnu-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 -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 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; @@ -1323,34 +1440,25 @@ ./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_filetype.c:35: +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; | ^~~~ ./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 -In file included from x_sh_fInotify.c:31: +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; | ^~~~ ./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; | ^~~~ -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_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); - | ^ -i686-linux-gnu-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 -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_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); - | ^ +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_sub.c --> x_sh_sub.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] @@ -1360,6 +1468,24 @@ x_sh_ipvx.c:200:22: note: 'ss' declared here 200 | struct sh_sockaddr ss; | ^~ +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_guid.c --> x_sh_guid.c +i686-linux-gnu-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 -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_sem.c --> x_sh_sem.c +i686-linux-gnu-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 -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; + | ^~~~ +i686-linux-gnu-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 -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 +./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_dbIO.c --> x_sh_dbIO.c +i686-linux-gnu-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 -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 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) | ~~~~~~~~~~^~~~~~~~ @@ -1371,6 +1497,7 @@ ./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; | ^~~~ +./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.c ./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; | ^~~~ @@ -1387,134 +1514,43 @@ ./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_dbIO.c --> x_sh_dbIO.c -i686-linux-gnu-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 -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 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; | ^~~~~~~~ -./encode 0 ./src/sh_dbCheck.c --> x_sh_dbCheck.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; - | ^~~~~~ -./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c i686-linux-gnu-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 -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 +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c i686-linux-gnu-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 -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 +./encode 0 ./src/samhain.c --> x_samhain.c In file included from x_sh_dbIO.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; | ^~~~ +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: +./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; + | ^~~~ +i686-linux-gnu-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 -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_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; | ^~~~ ./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': -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=] - 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:561:68: note: format string is defined here - 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In file included from /usr/include/stdio.h:970, - from x_sh_portcheck.c:33: -In function 'snprintf', - inlined from 'sh_portchk_check_list.constprop' at x_sh_portcheck.c:561:8: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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_dbCreate.c:27: +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; | ^~~~ ./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_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)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:802:64: note: format string is defined here - 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In function 'snprintf', - inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:802:4: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': -x_sh_portcheck.c:773:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] - 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:773:64: note: format string is defined here - 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In function 'snprintf', - inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:773:4: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~ -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; - | ^~~~~~~~~ -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_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; - | ^~~~~~~~~~~ i686-linux-gnu-gcc -O -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -pie -o samhain sh_tiger_i.o sh_files.o sh_tiger0.o sh_tiger2.o sh_tiger2_64.o samhain.o sh_unix.o sh_utils.o sh_error.o sh_getopt.o sh_readconf.o sh_filter.o sh_hash.o sh_mail.o sh_nmail.o sh_mem.o sh_login_track.o sh_entropy.o sh_modules.o sh_utmp.o sh_xfer_client.o sh_xfer_server.o sh_xfer_syslog.o sh_suidchk.o sh_srp.o sh_fifo.o sh_tools.o sh_html.o sh_gpg.o sh_cat.o sh_calls.o sh_extern.o sh_database.o sh_err_log.o sh_err_console.o sh_err_syslog.o sh_schedule.o bignum.o trustfile.o rijndael-alg-fst.o rijndael-api-fst.o slib.o zAVLTree.o sh_socket.o sh_ignore.o sh_prelude.o sh_mounts.o sh_userfiles.o sh_prelink.o sh_static.o sh_processcheck.o sh_portcheck.o sh_port2proc.o sh_log_parse_syslog.o sh_log_parse_pacct.o sh_log_parse_apache.o sh_log_parse_samba.o sh_log_evalrule.o sh_log_check.o sh_log_parse_generic.o sh_log_correlate.o sh_log_mark.o sh_log_repeat.o sh_pthread.o sh_string.o sh_inotify.o dnmalloc.o sh_audit.o sh_registry.o sh_ipvx.o sh_restrict.o sh_filetype.o sh_sub.o sh_fInotify.o sh_checksum.o sh_guid.o sh_sem.o sh_dbIO.o sh_dbCheck.o sh_dbCreate.o -lresolv -lauparse -lrt make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_test @@ -1529,7 +1565,7 @@ `pwd`/debian/samhain/etc/samhain make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4' dh_auto_install --destdir=debian/samhain/ - make -j22 install DESTDIR=/build/reproducible-path/samhain-4.1.4/debian/samhain AM_UPDATE_INFO_DIR=no + make -j10 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' i686-linux-gnu-gcc -I. -o encode ./src/encode.c /bin/sh ./mkinstalldirs /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/share/man/man8 @@ -1542,71 +1578,44 @@ /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_tiger2_64.c --> x_sh_tiger2_64.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 ./encode 0 ./src/samhain.c --> x_samhain.c ./encode 0 ./src/sh_unix.c --> x_sh_unix.c -./encode 0 ./src/sh_utils.c --> x_sh_utils.c ./encode 0 ./src/sh_error.c --> x_sh_error.c +./encode 0 ./src/sh_utils.c --> x_sh_utils.c ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c -./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c -./encode 0 ./src/sh_filter.c --> x_sh_filter.c -./encode 0 ./src/sh_hash.c --> x_sh_hash.c -./encode 0 ./src/sh_mail.c --> x_sh_mail.c -./encode 0 ./src/sh_mem.c --> x_sh_mem.c -./encode 0 ./src/sh_nmail.c --> x_sh_nmail.c -./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c -./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c -./encode 0 ./src/sh_modules.c --> x_sh_modules.c -./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c -./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c -./encode 0 ./src/sh_xfer_server.c --> x_sh_xfer_server.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.c -./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -In file included from x_sh_nmail.c:46: +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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; | ^~~~ -i686-linux-gnu-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 -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_mem.c:41: +./encode 0 ./src/sh_filter.c --> x_sh_filter.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; | ^~~~ -In file included from x_sh_filter.c:29: +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; | ^~~~ +i686-linux-gnu-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 -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 ./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; | ^~~~ @@ -1624,144 +1633,163 @@ ./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_tiger0.c:25: +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] 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_files.c:82: +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; | ^~~~ ./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_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; - | ^~~~ ./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_utils.c:43: +i686-linux-gnu-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 -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; | ^~~~ -In file included from x_sh_xfer_client.c:118: +./encode 0 ./src/sh_hash.c --> x_sh_hash.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; | ^~~~ ./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_entropy.c:62: +i686-linux-gnu-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 -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; | ^~~~ ./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_mail.c:57: +./encode 0 ./src/sh_mail.c --> x_sh_mail.c +i686-linux-gnu-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 -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 +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_nmail.c --> x_sh_nmail.c +i686-linux-gnu-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 -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_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; | ^~~~ -./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_readconf.c:50: +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_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_utmp.c:77: +./encode 0 ./src/sh_mem.c --> x_sh_mem.c +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c +i686-linux-gnu-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 -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 +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_hash.c:46: +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; | ^~~~ -./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c -In file included from x_sh_xfer_server.c:126: +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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_tools.c --> x_sh_tools.c -In file included from x_sh_unix.c:96: +./encode 0 ./src/sh_xfer_client.c --> x_sh_xfer_client.c +i686-linux-gnu-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 -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 +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; | ^~~~ -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_html.c --> x_sh_html.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -In file included from x_sh_suidchk.c:75: +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_cat.c --> x_sh_cat.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -In file included from x_sh_fifo.c:34: +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_xfer_syslog.c --> x_sh_xfer_syslog.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 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: +x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] + 841 | q = strchr(host, '.'); + | ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/utmpx.h:31, + from x_sh_login_track.c:40: +/usr/include/i386-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': +/usr/include/i386-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here + 65 | char ut_host[__UT_HOSTSIZE] + | ^~~~~~~ +./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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; | ^~~~ ./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_extern.c --> x_sh_extern.c -In file included from x_sh_tools.c:86: +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; | ^~~~ ./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_srp.c --> x_sh_srp.c +./encode 0 ./src/sh_fifo.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; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_tools.c --> x_sh_tools.c x_sh_suidchk.c:2229:10: note: 'type' declared here 2229 | char * type = NULL; | ^~~~ -i686-linux-gnu-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 -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 x_sh_suidchk.c:2221:8: note: 'sh_dummy_2229_type' declared here 2221 | void * sh_dummy_2229_type; | ^~~~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_database.c --> x_sh_database.c -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 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; @@ -1781,10 +1809,33 @@ x_sh_suidchk.c:999:15: note: 'sh_dummy_dirlist' declared here 999 | static void * sh_dummy_dirlist = NULL; | ^~~~~~~~~~~~~~~~ -./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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; + | ^~~~ +./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 +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; + | ^~~~ +./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; + | ^~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_cat.c --> x_sh_cat.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_database.c --> x_sh_database.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; @@ -1792,6 +1843,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_log.c --> x_sh_err_log.c +i686-linux-gnu-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 -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 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) | ~~~~~~^~~~~ @@ -1800,7 +1853,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]); | ~~~~^~~~~~~~ -./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c +i686-linux-gnu-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 -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 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; @@ -1808,12 +1861,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_schedule.c --> x_sh_schedule.c -i686-linux-gnu-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 -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/bignum.c --> x_bignum.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -./encode 0 ./src/trustfile.c --> x_trustfile.c 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; @@ -1821,7 +1868,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; | ^~~~ +./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c +./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c +./encode 0 ./src/bignum.c --> x_bignum.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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/trustfile.c --> x_trustfile.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 +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; + | ^~~~~~~~~~~ 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; @@ -1830,46 +1893,46 @@ 183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.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: -x_sh_login_track.c:841:11: warning: 'strchr' argument 1 declared attribute 'nonstring' [-Wstringop-overread] - 841 | q = strchr(host, '.'); - | ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/utmpx.h:31, - from x_sh_login_track.c:40: -/usr/include/i386-linux-gnu/bits/utmpx.h: In function 'sh_ltrack_check': -/usr/include/i386-linux-gnu/bits/utmpx.h:65:8: note: argument 'ut_host' declared here - 65 | char ut_host[__UT_HOSTSIZE] - | ^~~~~~~ -i686-linux-gnu-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 -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 rijndael-alg-fst.o -c x_rijndael-alg-fst.c ./encode 0 ./src/rijndael-api-fst.c --> x_rijndael-api-fst.c -./encode 0 ./src/slib.c --> x_slib.c +i686-linux-gnu-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 -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 rijndael-alg-fst.o -c x_rijndael-alg-fst.c i686-linux-gnu-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 -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 rijndael-api-fst.o -c x_rijndael-api-fst.c +./encode 0 ./src/slib.c --> x_slib.c i686-linux-gnu-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 -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 slib.o -c x_slib.c -./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c -i686-linux-gnu-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 -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 In file included from /usr/include/i386-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from x_slib.c:8: /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" | ^~~~~~~ +./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c ./encode 0 ./src/sh_socket.c --> x_sh_socket.c -i686-linux-gnu-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 -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 -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_ignore.c --> x_sh_ignore.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 +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] + 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_prelude.c --> x_sh_prelude.c ./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c i686-linux-gnu-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 -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 i686-linux-gnu-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 -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_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/sh_userfiles.c --> x_sh_userfiles.c i686-linux-gnu-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 -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_socket.c:53: +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] 181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC SH_GNUC_PURE; | ^~~~ @@ -1878,101 +1941,115 @@ | ^~~~ ./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c i686-linux-gnu-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 -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_mounts.c:32: +./encode 0 ./src/sh_static.c --> x_sh_static.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; | ^~~~ ./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_static.c --> x_sh_static.c -i686-linux-gnu-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 -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 -./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c -In file included from x_sh_userfiles.c:35: +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; | ^~~~ ./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; | ^~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c i686-linux-gnu-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 -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 -./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c ./encode 0 ./src/sh_log_parse_syslog.c --> x_sh_log_parse_syslog.c +./encode 0 ./src/sh_port2proc.c --> x_sh_port2proc.c ./encode 0 ./src/sh_log_parse_pacct.c --> x_sh_log_parse_pacct.c -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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_log_parse_apache.c --> x_sh_log_parse_apache.c i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_prelink.c:31: +i686-linux-gnu-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 -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; | ^~~~ ./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_samba.c --> x_sh_log_parse_samba.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_parse_samba.c --> x_sh_log_parse_samba.c ./encode 0 ./src/sh_log_evalrule.c --> x_sh_log_evalrule.c -In file included from x_sh_processcheck.c:69: +i686-linux-gnu-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 -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 +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; | ^~~~ ./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_check.c --> x_sh_log_check.c i686-linux-gnu-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 -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_parse_generic.c --> x_sh_log_parse_generic.c -./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -In file included from x_sh_portcheck.c:83: +./encode 0 ./src/sh_log_check.c --> x_sh_log_check.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; | ^~~~ +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_log_correlate.c --> x_sh_log_correlate.c +./encode 0 ./src/sh_log_mark.c --> x_sh_log_mark.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -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_pthread.c --> x_sh_pthread.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); + | ^ i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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_inotify.c --> x_sh_inotify.c +i686-linux-gnu-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 -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/dnmalloc.c --> x_dnmalloc.c ./encode 0 ./src/sh_audit.c --> x_sh_audit.c +i686-linux-gnu-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 -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 i686-linux-gnu-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 -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/sh_registry.c --> x_sh_registry.c i686-linux-gnu-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 -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_ipvx.c --> x_sh_ipvx.c -./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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 -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_fInotify.c --> x_sh_fInotify.c +./encode 0 ./src/sh_registry.c --> x_sh_registry.c +i686-linux-gnu-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 -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 +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; + | ^~~~ +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=] + 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:561:68: note: format string is defined here + 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In file included from /usr/include/stdio.h:970, + from x_sh_portcheck.c:33: +In function 'snprintf', + inlined from 'sh_portchk_check_list.constprop' at x_sh_portcheck.c:561:8: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +./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; @@ -1980,7 +2057,57 @@ ./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; | ^~~~ -i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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_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)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:802:64: note: format string is defined here + 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In function 'snprintf', + inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:802:4: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': +x_sh_portcheck.c:773:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] + 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~~~~~~~~~~~~~~~~~~~~ +config_xor.h:1141:20: note: in definition of macro '_' + 1141 | #define _(string) string + | ^~~~~~ +x_sh_portcheck.c:773:64: note: format string is defined here + 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), + | ^~ +In function 'snprintf', + inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:773:4: +/usr/include/i386-linux-gnu/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +./encode 0 ./src/sh_restrict.c --> x_sh_restrict.c +x_sh_processcheck.c: In function 'sh_processes_runps.constprop': +./encode 0 ./src/sh_filetype.c --> x_sh_filetype.c +x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 1041 | int retval = 0; + | ^~~~~~ +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +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); + | ^ 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; @@ -1988,6 +2115,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; | ^~~~ +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; + | ^~~~ 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; @@ -1995,37 +2126,64 @@ ./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_inotify.c:47: +./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; + | ^~ +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; + | ^~~~ +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_sub.c --> x_sh_sub.c +./encode 0 ./src/sh_fInotify.c --> x_sh_fInotify.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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_guid.c --> x_sh_guid.c +./encode 0 ./src/sh_checksum.c --> x_sh_checksum.c +i686-linux-gnu-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 -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 +i686-linux-gnu-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 -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 +./encode 0 ./src/sh_dbIO.c --> x_sh_dbIO.c +i686-linux-gnu-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 -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_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; | ^~~~ ./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 -In file included from x_sh_filetype.c:35: +i686-linux-gnu-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 -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 +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; | ^~~~ ./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; | ^~~~ -i686-linux-gnu-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 -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 -i686-linux-gnu-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 -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: +In file included from x_sh_dbIO.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; | ^~~~ -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_sem.c --> x_sh_sem.c -i686-linux-gnu-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 -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_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) | ~~~~~~~~~~^~~~~~~~ @@ -2033,15 +2191,6 @@ ./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*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~ 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; @@ -2055,62 +2204,29 @@ ./include/sh_checksum.h:23:31: note: previously declared as 'char[49]' 23 | char* SHA256_End(SHA256_CTX*, char[KEYBUF_SIZE]); | ^~~~~~~~~~~~~~~~~ -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; - | ^~~~ -./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_dbIO.c --> x_sh_dbIO.c -i686-linux-gnu-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 -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 i686-linux-gnu-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 -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 -./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.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; | ^~~~~~~~ i686-linux-gnu-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 -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.s -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; - | ^~~~~~~~~ -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; - | ^~~~~~~ -i686-linux-gnu-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 -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 +./encode 0 ./src/sh_dbCreate.c --> x_sh_dbCreate.c mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run mkdir /build/reproducible-path/samhain-4.1.4/debian/samhain/run/samhain -x_sh_processcheck.c: In function 'sh_processes_runps.constprop': -In file included from x_sh_dbIO.c:29: +i686-linux-gnu-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 -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_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; | ^~~~ -x_sh_processcheck.c:1041:7: warning: variable 'retval' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 1041 | int retval = 0; - | ^~~~~~ ./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 mv -f samhainrc.pre samhainrc.install ./samhain-install.sh --install-sh -m 600 samhainrc.install /build/reproducible-path/samhain-4.1.4/debian/samhain/etc/samhain/samhainrc -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_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; @@ -2118,86 +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; | ^~~~ -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=] - 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:561:68: note: format string is defined here - 561 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In file included from /usr/include/stdio.h:970, - from x_sh_portcheck.c:33: -In function 'snprintf', - inlined from 'sh_portchk_check_list.constprop' at x_sh_portcheck.c:561:8: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:802:64: note: format string is defined here - 802 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In function 'snprintf', - inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:802:4: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -x_sh_portcheck.c: In function 'sh_portchk_cmp_to_list.constprop': -x_sh_portcheck.c:773:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 185 and 242 [-Wformat-truncation=] - 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~~~~~~~~~~~~~~~~~~~~ -config_xor.h:1141:20: note: in definition of macro '_' - 1141 | #define _(string) string - | ^~~~~~ -x_sh_portcheck.c:773:64: note: format string is defined here - 773 | snprintf (errbuf, sizeof(errbuf), _("port: %s:%d/%s (%s)"), - | ^~ -In function 'snprintf', - inlined from 'sh_portchk_cmp_to_list.constprop' at x_sh_portcheck.c:773:4: -/usr/include/i386-linux-gnu/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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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; - | ^~~~ -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_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; - | ^~~~~~~~~~~ i686-linux-gnu-gcc -O -DUSE_MALLOC_LOCK=1 -Wl,-z,relro -fstack-protector-strong -pie -o samhain sh_tiger_i.o sh_files.o sh_tiger0.o sh_tiger2.o sh_tiger2_64.o samhain.o sh_unix.o sh_utils.o sh_error.o sh_getopt.o sh_readconf.o sh_filter.o sh_hash.o sh_mail.o sh_nmail.o sh_mem.o sh_login_track.o sh_entropy.o sh_modules.o sh_utmp.o sh_xfer_client.o sh_xfer_server.o sh_xfer_syslog.o sh_suidchk.o sh_srp.o sh_fifo.o sh_tools.o sh_html.o sh_gpg.o sh_cat.o sh_calls.o sh_extern.o sh_database.o sh_err_log.o sh_err_console.o sh_err_syslog.o sh_schedule.o bignum.o trustfile.o rijndael-alg-fst.o rijndael-api-fst.o slib.o zAVLTree.o sh_socket.o sh_ignore.o sh_prelude.o sh_mounts.o sh_userfiles.o sh_prelink.o sh_static.o sh_processcheck.o sh_portcheck.o sh_port2proc.o sh_log_parse_syslog.o sh_log_parse_pacct.o sh_log_parse_apache.o sh_log_parse_samba.o sh_log_evalrule.o sh_log_check.o sh_log_parse_generic.o sh_log_correlate.o sh_log_mark.o sh_log_repeat.o sh_pthread.o sh_string.o sh_inotify.o dnmalloc.o sh_audit.o sh_registry.o sh_ipvx.o sh_restrict.o sh_filetype.o sh_sub.o sh_fInotify.o sh_checksum.o sh_guid.o sh_sem.o sh_dbIO.o sh_dbCheck.o sh_dbCreate.o -lresolv -lauparse -lrt /usr/bin/install -c -m 700 samhain /build/reproducible-path/samhain-4.1.4/debian/samhain/usr/sbin/samhain @@ -2282,8 +2318,8 @@ 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_i386.deb'. dpkg-deb: building package 'samhain-dbgsym' in '../samhain-dbgsym_4.1.4-4_i386.deb'. +dpkg-deb: building package 'samhain' in '../samhain_4.1.4-4_i386.deb'. dpkg-genbuildinfo --build=binary -O../samhain_4.1.4-4_i386.buildinfo dpkg-genchanges --build=binary -O../samhain_4.1.4-4_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2292,12 +2328,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/45460/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/45460/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/80945 and its subdirectories -I: Current time: Sun Jan 11 14:30:38 -12 2026 -I: pbuilder-time-stamp: 1768185038 +I: removing directory /srv/workspace/pbuilder/45460 and its subdirectories +I: Current time: Tue Dec 10 10:12:41 +14 2024 +I: pbuilder-time-stamp: 1733775161