Diff of the two buildlogs: -- --- b1/build.log 2024-12-13 02:52:08.349288431 +0000 +++ b2/build.log 2024-12-13 02:54:33.818643030 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 12 14:50:40 -12 2024 -I: pbuilder-time-stamp: 1734058240 +I: Current time: Fri Dec 13 16:52:17 +14 2024 +I: pbuilder-time-stamp: 1734058337 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ksmbd-tools_3.5.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16923/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 13 02:52 /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/20876/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='59e44d44ed744893a26f09e453d1f8b5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='16923' - PS1='# ' - PS2='> ' + INVOCATION_ID=a20481d4c72f4dfb8473dff8ecc9d14d + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=20876 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.xRCCY5jn/pbuilderrc_Y5kg --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.xRCCY5jn/b1 --logfile b1/build.log ksmbd-tools_3.5.3-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.xRCCY5jn/pbuilderrc_IJrd --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.xRCCY5jn/b2 --logfile b2/build.log ksmbd-tools_3.5.3-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/16923/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -197,7 +229,7 @@ Get: 79 http://deb.debian.org/debian unstable/main armhf libnl-3-dev armhf 3.7.0-0.3+b1 [94.6 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf libnl-genl-3-200 armhf 3.7.0-0.3+b1 [16.0 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf libnl-genl-3-dev armhf 3.7.0-0.3+b1 [16.0 kB] -Fetched 33.6 MB in 1s (57.2 MB/s) +Fetched 33.6 MB in 1s (32.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19680 files and directories currently installed.) @@ -477,8 +509,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Dec 13 02:51:21 UTC 2024. -Universal Time is now: Fri Dec 13 02:51:21 UTC 2024. +Local time is now: Fri Dec 13 02:53:33 UTC 2024. +Universal Time is now: Fri Dec 13 02:53:33 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:armhf (47.2-1) ... @@ -551,7 +583,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ksmbd-tools-3.5.3/ && 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 > ../ksmbd-tools_3.5.3-1_source.changes +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ksmbd-tools-3.5.3/ && 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 > ../ksmbd-tools_3.5.3-1_source.changes dpkg-buildpackage: info: source package ksmbd-tools dpkg-buildpackage: info: source version 3.5.3-1 dpkg-buildpackage: info: source distribution unstable @@ -705,7 +741,7 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3' make all-recursive make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3' @@ -713,6 +749,17 @@ make[3]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3/addshare' gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o share_admin.o share_admin.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o addshare.o addshare.c +In file included from addshare.c:21: +addshare.c: In function 'addshare_main': +../include/tools.h:125:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 125 | (f), \ + | ^~~ +../include/tools.h:132:9: note: in expansion of macro 'pr_log' + 132 | pr_log(PR_DEBUG, PRDEBUG f, ##__VA_ARGS__) + | ^~~~~~ +addshare.c:159:17: note: in expansion of macro 'pr_debug' + 159 | pr_debug("Can't send SIGHUP to PID %d: %m\n", + | ^~~~~~~~ share_admin.c: In function '__load_conf': share_admin.c:124:43: warning: non-ISO-standard escape sequence, '\e' 124 | printf("\r" "\e[2K" "%s%s" "\e[6n", option, buf); @@ -767,17 +814,6 @@ 502 | printf("\eD" "\r" "\e[2K"); | ^ share_admin.c:502:34: warning: non-ISO-standard escape sequence, '\e' -In file included from addshare.c:21: -addshare.c: In function 'addshare_main': -../include/tools.h:125:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 125 | (f), \ - | ^~~ -../include/tools.h:132:9: note: in expansion of macro 'pr_log' - 132 | pr_log(PR_DEBUG, PRDEBUG f, ##__VA_ARGS__) - | ^~~~~~ -addshare.c:159:17: note: in expansion of macro 'pr_debug' - 159 | pr_debug("Can't send SIGHUP to PID %d: %m\n", - | ^~~~~~~~ rm -f libaddshare.a ar cru libaddshare.a share_admin.o addshare.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1040,72 +1076,7 @@ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o worker.o worker.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o ipc.o ipc.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc.o rpc.c -In file included from ipc.c:21: -../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] - 26 | unsigned char ____payload[0]; - | ^~~~~~~~~~~ -ipc.c: In function 'ipc_ksmbd_starting_up': -ipc.c:154:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 154 | strncpy(ev->min_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:510, - from /usr/include/memory.h:25, - from ipc.c:8: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipc.c:159:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 159 | strncpy(ev->max_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipc.c:164:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 164 | strncpy(ev->netbios_name, - | ~~^~~~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipc.c:169:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 169 | strncpy(ev->server_string, - | ~~^~~~~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ipc.c:174:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 174 | strncpy(ev->work_group, - | ~~^~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ipc.c:18: -../include/linux/ksmbd_server.h:59:49: warning: pointer targets in initialization of 'char *' from '__s8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 59 | #define KSMBD_STARTUP_CONFIG_INTERFACES(s) ((s)->____payload) - | ^ -ipc.c:180:40: note: in expansion of macro 'KSMBD_STARTUP_CONFIG_INTERFACES' - 180 | char *config_payload = KSMBD_STARTUP_CONFIG_INTERFACES(ev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ipc.c:20: -ipc.c: In function 'ipc_process_event': -../include/tools.h:125:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 125 | (f), \ - | ^~~ -../include/tools.h:136:9: note: in expansion of macro 'pr_log' - 136 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -ipc.c:217:25: note: in expansion of macro 'pr_err' - 217 | pr_err("Can't wait on netlink socket: %m\n"); - | ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_srvsvc.o rpc_srvsvc.c rpc.c: In function 'align_offset': rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 91 | ({ \ @@ -1172,6 +1143,90 @@ rpc.c:307:1: note: in expansion of macro 'NDR_READ_INT' 307 | NDR_READ_INT(int32, __u32, be32toh, le32toh); | ^~~~~~~~~~~~ +rpc_srvsvc.c: In function 'srvsvc_parse_share_info_req': +rpc_srvsvc.c:310:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 310 | if (ndr_read_int32(dce, &ptr)) + | ^~~~ + | | + | int * +In file included from rpc_srvsvc.c:16: +../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' + 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); + | ~~~~~~~^~~~~ +rpc_srvsvc.c:329:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 329 | if (ndr_read_int32(dce, &hdr->level)) + | ^~~~~~~~~~~ + | | + | int * +../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' + 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); + | ~~~~~~~^~~~~ +In file included from ipc.c:21: +../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] + 26 | unsigned char ____payload[0]; + | ^~~~~~~~~~~ +ipc.c: In function 'ipc_ksmbd_starting_up': +ipc.c:154:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 154 | strncpy(ev->min_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from /usr/include/features.h:510, + from /usr/include/memory.h:25, + from ipc.c:8: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipc.c:159:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 159 | strncpy(ev->max_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipc.c:164:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 164 | strncpy(ev->netbios_name, + | ~~^~~~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipc.c:169:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 169 | strncpy(ev->server_string, + | ~~^~~~~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ipc.c:174:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 174 | strncpy(ev->work_group, + | ~~^~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:96:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ipc.c:18: +../include/linux/ksmbd_server.h:59:49: warning: pointer targets in initialization of 'char *' from '__s8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 59 | #define KSMBD_STARTUP_CONFIG_INTERFACES(s) ((s)->____payload) + | ^ +ipc.c:180:40: note: in expansion of macro 'KSMBD_STARTUP_CONFIG_INTERFACES' + 180 | char *config_payload = KSMBD_STARTUP_CONFIG_INTERFACES(ev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ipc.c:20: +ipc.c: In function 'ipc_process_event': +../include/tools.h:125:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 125 | (f), \ + | ^~~ +../include/tools.h:136:9: note: in expansion of macro 'pr_log' + 136 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +ipc.c:217:25: note: in expansion of macro 'pr_err' + 217 | pr_err("Can't wait on netlink socket: %m\n"); + | ^~~~~~ In file included from worker.c:14: ../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] 26 | unsigned char ____payload[0]; @@ -1254,36 +1309,7 @@ worker.c:259:14: note: in expansion of macro 'VALID_IPC_MSG' 259 | if (!VALID_IPC_MSG(msg, struct ksmbd_heartbeat)) | ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_srvsvc.o rpc_srvsvc.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_wkssvc.o rpc_wkssvc.c -rpc_srvsvc.c: In function 'srvsvc_parse_share_info_req': -rpc_srvsvc.c:310:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 310 | if (ndr_read_int32(dce, &ptr)) - | ^~~~ - | | - | int * -In file included from rpc_srvsvc.c:16: -../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' - 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); - | ~~~~~~~^~~~~ -rpc_srvsvc.c:329:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 329 | if (ndr_read_int32(dce, &hdr->level)) - | ^~~~~~~~~~~ - | | - | int * -../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' - 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); - | ~~~~~~~^~~~~ -rpc_wkssvc.c: In function 'wkssvc_parse_netwksta_info_req': -rpc_wkssvc.c:169:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 169 | if (ndr_read_int32(dce, &val)) - | ^~~~ - | | - | int * -In file included from rpc_wkssvc.c:16: -../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' - 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); - | ~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o mountd.o mountd.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o smbacl.o smbacl.c In file included from mountd.c:22: @@ -1371,6 +1397,16 @@ 420 | nodetach = !optarg ?: cp_get_group_kv_long(optarg); | ^ mountd.c:420:45: warning: the omitted middle operand in '?:' will always be 'true', suggest explicit middle operand [-Wparentheses] +rpc_wkssvc.c: In function 'wkssvc_parse_netwksta_info_req': +rpc_wkssvc.c:169:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 169 | if (ndr_read_int32(dce, &val)) + | ^~~~ + | | + | int * +In file included from rpc_wkssvc.c:16: +../include/rpc.h:303:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' + 303 | int ndr_read_int32(struct ksmbd_dcerpc *dce, __u32 *value); + | ~~~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_samr.o rpc_samr.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_lsarpc.o rpc_lsarpc.c rpc_samr.c: In function 'samr_connect5_invoke': @@ -1479,6 +1515,111 @@ | ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o management/tree_conn.o management/tree_conn.c gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o management/user.o management/user.c +gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o management/share.o management/share.c +management/share.c: In function 'shm_share_name': +management/share.c:130:40: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] + 130 | is_name = cp_printable(name) && *name != '[' && *name != ']'; + | ^~~~ + | | + | char * +In file included from management/share.c:17: +../include/config_parser.h:25:47: note: expected 'unsigned char *' but argument is of type 'char *' + 25 | static inline int cp_printable(unsigned char *p) + | ~~~~~~~~~~~~~~~^ +management/share.c: In function 'shm_handle_share_config_request': +management/share.c:937:21: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] + 937 | strncat(resp->share_name, share->name, KSMBD_REQ_MAX_SHARE_NAME - 1); + | ~~~~^~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from /usr/include/features.h:510, + from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from management/share.c:8: +/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:145:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +management/share.c:946:24: warning: pointer targets in assignment from '__s8 *' {aka 'signed char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 946 | config_payload = KSMBD_SHARE_CONFIG_VETO_LIST(resp); + | ^ +management/share.c:954:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 954 | sprintf(config_payload, + | ^~~~~~~~~~~~~~ + | | + | unsigned char * +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +management/share.c:959:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 959 | sprintf(config_payload, "%s", share->path); + | ^~~~~~~~~~~~~~ + | | + | unsigned char * +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +management/user.c: In function 'new_ksmbd_user': +management/user.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 125 | user->pass = base64_decode(user->pass_b64, &pass_sz); + | ^ +management/user.c: In function 'usm_user_name': +management/user.c:222:40: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] + 222 | is_name = cp_printable(name) && *name != ':'; + | ^~~~ + | | + | char * +In file included from management/user.c:18: +../include/config_parser.h:25:47: note: expected 'unsigned char *' but argument is of type 'char *' + 25 | static inline int cp_printable(unsigned char *p) + | ~~~~~~~~~~~~~~~^ +management/user.c: In function 'usm_update_user_password': +management/user.c:318:22: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] + 318 | char *pass = base64_decode(pass_b64, &pass_sz); + | ^~~~~~~~~~~~~ +management/user.c: In function '__handle_login_request': +management/user.c:383:46: warning: pointer targets in passing argument 2 of 'usm_copy_user_passhash' differ in signedness [-Wpointer-sign] + 383 | resp->hash, + | ~~~~^~~~~~ + | | + | __s8 * {aka signed char *} +management/user.c:333:41: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 333 | char *pass, + | ~~~~~~^~~~ +management/user.c:390:47: warning: pointer targets in passing argument 2 of 'usm_copy_user_account' differ in signedness [-Wpointer-sign] + 390 | resp->account, + | ~~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +management/user.c:352:40: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 352 | char *account, + | ~~~~~~^~~~~~~ +management/user.c: In function 'usm_handle_login_request': +management/user.c:406:43: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] + 406 | user = usm_lookup_user(req->account); + | ~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 183 | struct ksmbd_user *usm_lookup_user(char *name) + | ~~~~~~^~~~ +management/user.c: In function 'usm_handle_login_request_ext': +management/user.c:440:35: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] + 440 | user = usm_lookup_user(req->account); + | ~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 183 | struct ksmbd_user *usm_lookup_user(char *name) + | ~~~~~~^~~~ +management/user.c: In function 'usm_handle_logout_request': +management/user.c:455:35: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] + 455 | user = usm_lookup_user(req->account); + | ~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 183 | struct ksmbd_user *usm_lookup_user(char *name) + | ~~~~~~^~~~ management/tree_conn.c: In function 'tcm_handle_tree_connect': management/tree_conn.c:65:37: warning: pointer targets in passing argument 1 of 'shm_lookup_share' differ in signedness [-Wpointer-sign] 65 | share = shm_lookup_share(req->share); @@ -1554,113 +1695,8 @@ ../include/management/share.h:168:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 168 | char *name); | ~~~~~~^~~~ -management/user.c: In function 'new_ksmbd_user': -management/user.c:125:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 125 | user->pass = base64_decode(user->pass_b64, &pass_sz); - | ^ -management/user.c: In function 'usm_user_name': -management/user.c:222:40: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] - 222 | is_name = cp_printable(name) && *name != ':'; - | ^~~~ - | | - | char * -In file included from management/user.c:18: -../include/config_parser.h:25:47: note: expected 'unsigned char *' but argument is of type 'char *' - 25 | static inline int cp_printable(unsigned char *p) - | ~~~~~~~~~~~~~~~^ -management/user.c: In function 'usm_update_user_password': -management/user.c:318:22: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] - 318 | char *pass = base64_decode(pass_b64, &pass_sz); - | ^~~~~~~~~~~~~ -management/user.c: In function '__handle_login_request': -management/user.c:383:46: warning: pointer targets in passing argument 2 of 'usm_copy_user_passhash' differ in signedness [-Wpointer-sign] - 383 | resp->hash, - | ~~~~^~~~~~ - | | - | __s8 * {aka signed char *} -management/user.c:333:41: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 333 | char *pass, - | ~~~~~~^~~~ -management/user.c:390:47: warning: pointer targets in passing argument 2 of 'usm_copy_user_account' differ in signedness [-Wpointer-sign] - 390 | resp->account, - | ~~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -management/user.c:352:40: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 352 | char *account, - | ~~~~~~^~~~~~~ -management/user.c: In function 'usm_handle_login_request': -management/user.c:406:43: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] - 406 | user = usm_lookup_user(req->account); - | ~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 183 | struct ksmbd_user *usm_lookup_user(char *name) - | ~~~~~~^~~~ -management/user.c: In function 'usm_handle_login_request_ext': -management/user.c:440:35: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] - 440 | user = usm_lookup_user(req->account); - | ~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 183 | struct ksmbd_user *usm_lookup_user(char *name) - | ~~~~~~^~~~ -management/user.c: In function 'usm_handle_logout_request': -management/user.c:455:35: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] - 455 | user = usm_lookup_user(req->account); - | ~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -management/user.c:183:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 183 | struct ksmbd_user *usm_lookup_user(char *name) - | ~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o management/share.o management/share.c -management/share.c: In function 'shm_share_name': -management/share.c:130:40: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] - 130 | is_name = cp_printable(name) && *name != '[' && *name != ']'; - | ^~~~ - | | - | char * -In file included from management/share.c:17: -../include/config_parser.h:25:47: note: expected 'unsigned char *' but argument is of type 'char *' - 25 | static inline int cp_printable(unsigned char *p) - | ~~~~~~~~~~~~~~~^ -management/share.c: In function 'shm_handle_share_config_request': -management/share.c:937:21: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] - 937 | strncat(resp->share_name, share->name, KSMBD_REQ_MAX_SHARE_NAME - 1); - | ~~~~^~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:510, - from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from management/share.c:8: -/usr/include/arm-linux-gnueabihf/bits/string_fortified.h:145:17: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -management/share.c:946:24: warning: pointer targets in assignment from '__s8 *' {aka 'signed char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - 946 | config_payload = KSMBD_SHARE_CONFIG_VETO_LIST(resp); - | ^ -management/share.c:954:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 954 | sprintf(config_payload, - | ^~~~~~~~~~~~~~ - | | - | unsigned char * -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -management/share.c:959:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 959 | sprintf(config_payload, "%s", share->path); - | ^~~~~~~~~~~~~~ - | | - | unsigned char * -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -c -o management/session.o management/session.c -/bin/bash ../libtool --tag=CC --mode=link gcc -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now -o ksmbd.tools management/tree_conn.o management/user.o management/share.o management/session.o config_parser.o tools.o ../addshare/libaddshare.a ../adduser/libadduser.a ../control/libcontrol.a ../mountd/libmountd.a -lglib-2.0 -lnl-genl-3 -lnl-3 +/bin/sh ../libtool --tag=CC --mode=link gcc -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now -o ksmbd.tools management/tree_conn.o management/user.o management/share.o management/session.o config_parser.o tools.o ../addshare/libaddshare.a ../adduser/libadduser.a ../control/libcontrol.a ../mountd/libmountd.a -lglib-2.0 -lnl-genl-3 -lnl-3 libtool: link: gcc -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/run\" -I../include -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -fno-common -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ksmbd-tools-3.5.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ksmbd.tools management/tree_conn.o management/user.o management/share.o management/session.o config_parser.o tools.o ../addshare/libaddshare.a ../adduser/libadduser.a ../control/libcontrol.a ../mountd/libmountd.a -lglib-2.0 -lnl-genl-3 -lnl-3 -pthread make[3]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.3/tools' make[3]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3' @@ -1668,7 +1704,7 @@ make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.3' make[1]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.3' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3' Making check in addshare make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3/addshare' @@ -1766,7 +1802,7 @@ make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3/tools' make[3]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.3/tools' /usr/bin/mkdir -p '/build/reproducible-path/ksmbd-tools-3.5.3/debian/ksmbd-tools/usr/libexec' - /bin/bash ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/reproducible-path/ksmbd-tools-3.5.3/debian/ksmbd-tools/usr/libexec' + /bin/sh ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/reproducible-path/ksmbd-tools-3.5.3/debian/ksmbd-tools/usr/libexec' libtool: install: /usr/bin/install -c ksmbd.tools /build/reproducible-path/ksmbd-tools-3.5.3/debian/ksmbd-tools/usr/libexec/ksmbd.tools make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.3/tools' @@ -1814,12 +1850,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/20876/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20876/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/16923 and its subdirectories -I: Current time: Thu Dec 12 14:52:04 -12 2024 -I: pbuilder-time-stamp: 1734058324 +I: removing directory /srv/workspace/pbuilder/20876 and its subdirectories +I: Current time: Fri Dec 13 16:54:29 +14 2024 +I: pbuilder-time-stamp: 1734058469