Diff of the two buildlogs: -- --- b1/build.log 2025-11-08 08:26:28.968273458 +0000 +++ b2/build.log 2025-11-08 08:27:18.444330522 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 7 20:25:30 -12 2025 -I: pbuilder-time-stamp: 1762590330 +I: Current time: Sat Dec 12 04:49:30 +14 2026 +I: pbuilder-time-stamp: 1797000570 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -24,53 +24,85 @@ dpkg-source: info: applying stop-spam I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3209436/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3816516/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 11 14:49 /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/3816516/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3816516/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='arm64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 nocheck' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='7b657cfa495249109ab946dd1e4b4d20' - 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='3209436' - PS1='# ' - PS2='> ' + INVOCATION_ID=015ea77242e6432598cf49d3172aecf7 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=3816516 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.ANYcjb5R/pbuilderrc_MRpU --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ANYcjb5R/b1 --logfile b1/build.log ksmbd-tools_3.5.5-2.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.ANYcjb5R/pbuilderrc_fNsE --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ANYcjb5R/b2 --logfile b2/build.log ksmbd-tools_3.5.5-2.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3209436/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3816516/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -189,7 +221,7 @@ Get: 71 http://deb.debian.org/debian forky/main arm64 libnl-3-dev arm64 3.11.0-2 [104 kB] Get: 72 http://deb.debian.org/debian forky/main arm64 libnl-genl-3-200 arm64 3.11.0-2 [18.4 kB] Get: 73 http://deb.debian.org/debian forky/main arm64 libnl-genl-3-dev arm64 3.11.0-2 [18.3 kB] -Fetched 25.9 MB in 0s (108 MB/s) +Fetched 25.9 MB in 0s (213 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (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 ... 19964 files and directories currently installed.) @@ -438,8 +470,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Nov 8 08:25:56 UTC 2025. -Universal Time is now: Sat Nov 8 08:25:56 UTC 2025. +Local time is now: Fri Dec 11 14:49:47 UTC 2026. +Universal Time is now: Fri Dec 11 14:49:47 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:arm64 (49.0-1) ... @@ -509,7 +541,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ksmbd-tools-3.5.5/ && 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.5-2_source.changes +I: user script /srv/workspace/pbuilder/3816516/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3816516/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ksmbd-tools-3.5.5/ && 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.5-2_source.changes dpkg-buildpackage: info: source package ksmbd-tools dpkg-buildpackage: info: source version 3.5.5-2 dpkg-buildpackage: info: source distribution unstable @@ -807,6 +843,10 @@ ../include/tools.h:144:36: note: expected 'unsigned char *' but argument is of type 'char *' 144 | char *base64_encode(unsigned char *src, size_t srclen); | ~~~~~~~~~~~~~~~^~~ +user_admin.c: In function '__prompt_password_stdin': +user_admin.c:57:33: warning: '__builtin_strncat' output may be truncated copying 128 bytes from a string of length 2047 [-Wstringop-truncation] + 57 | strncat(password, buf, MAX_NT_PWD_LEN - 1); + | ^ In file included from adduser.c:21: adduser.c: In function 'adduser_main': ../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] @@ -818,10 +858,6 @@ adduser.c:159:17: note: in expansion of macro 'pr_debug' 159 | pr_debug("Can't send SIGHUP to PID %d: %m\n", | ^~~~~~~~ -user_admin.c: In function '__prompt_password_stdin': -user_admin.c:57:33: warning: '__builtin_strncat' output may be truncated copying 128 bytes from a string of length 2047 [-Wstringop-truncation] - 57 | strncat(password, buf, MAX_NT_PWD_LEN - 1); - | ^ rm -f libadduser.a ar cr libadduser.a md4_hash.o user_admin.o adduser.o ranlib libadduser.a @@ -1003,173 +1039,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o smbacl.o smbacl.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o rpc_samr.o rpc_samr.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o rpc_lsarpc.o rpc_lsarpc.c -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]; - | ^~~~~~~~~~~ -worker.c: In function 'login_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:49:13: note: in expansion of macro 'VALID_IPC_MSG' - 49 | if (VALID_IPC_MSG(msg, struct ksmbd_login_request)) - | ^~~~~~~~~~~~~ -worker.c: In function 'login_request_ext': -worker.c:88:51: warning: pointer targets in passing argument 1 of 'login_response_payload_sz' differ in signedness [-Wpointer-sign] - 88 | payload_sz = login_response_payload_sz(req->account); - | ~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -worker.c:61:44: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 61 | static int login_response_payload_sz(char *account) - | ~~~~~~^~~~~~~ -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:95:13: note: in expansion of macro 'VALID_IPC_MSG' - 95 | if (VALID_IPC_MSG(msg, struct ksmbd_login_request)) - | ^~~~~~~~~~~~~ -worker.c: In function 'spnego_authen_request': -worker.c:151:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 151 | strncpy(login_req.account, auth_out.user_name, - | ~~~~~~~~~^~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:523, - from /usr/include/memory.h:25, - from worker.c:7: -/usr/include/aarch64-linux-gnu/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), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -worker.c: In function 'tree_connect_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:192:13: note: in expansion of macro 'VALID_IPC_MSG' - 192 | if (VALID_IPC_MSG(msg, struct ksmbd_tree_connect_request)) - | ^~~~~~~~~~~~~ -worker.c: In function 'share_config_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:213:13: note: in expansion of macro 'VALID_IPC_MSG' - 213 | if (VALID_IPC_MSG(msg, struct ksmbd_share_config_request)) { - | ^~~~~~~~~~~~~ -worker.c:214:45: warning: pointer targets in passing argument 1 of 'shm_lookup_share' differ in signedness [-Wpointer-sign] - 214 | share = shm_lookup_share(req->share_name); - | ~~~^~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from worker.c:18: -../include/management/share.h:153:44: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 153 | struct ksmbd_share *shm_lookup_share(char *name); - | ~~~~~~^~~~ -worker.c: In function 'tree_disconnect_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:240:14: note: in expansion of macro 'VALID_IPC_MSG' - 240 | if (!VALID_IPC_MSG(msg, struct ksmbd_tree_disconnect_request)) - | ^~~~~~~~~~~~~ -worker.c: In function 'logout_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:251:14: note: in expansion of macro 'VALID_IPC_MSG' - 251 | if (!VALID_IPC_MSG(msg, struct ksmbd_logout_request)) - | ^~~~~~~~~~~~~ -worker.c: In function 'heartbeat_request': -worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 26 | ({ \ - | ^ -worker.c:259:14: note: in expansion of macro 'VALID_IPC_MSG' - 259 | if (!VALID_IPC_MSG(msg, struct ksmbd_heartbeat)) - | ^~~~~~~~~~~~~ -In file included from mountd.c:22: -../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] - 26 | unsigned char ____payload[0]; - | ^~~~~~~~~~~ -mountd.c: In function '__list_config_share_cb': -mountd.c:66:70: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 66 | dprintf(*wfd, LIST_FMT_SS "\n", share->name, share->comment ?: ""); - | ^ -mountd.c: In function 'list_config': -mountd.c:71:53: warning: non-ISO-standard escape sequence, '\e' [-Wpedantic] - 71 | dprintf(wfd, "\e[1m" LIST_FMT_SS "\e[m" "\n", "Name", "Comment"); - | ^ -mountd.c:71:53: warning: non-ISO-standard escape sequence, '\e' [-Wpedantic] -In file included from mountd.c:11: -mountd.c: In function 'worker_init_wait': -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:136:17: note: in expansion of macro 'pr_err' - 136 | pr_err("Can't control pipe: %m\n"); - | ^~~~~~ -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:212:33: note: in expansion of macro 'pr_err' - 212 | pr_err("Can't open `%s': %m\n", fifo_path); - | ^~~~~~ -mountd.c: In function 'worker_init': -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:237:17: note: in expansion of macro 'pr_err' - 237 | pr_err("Can't create pipe: %m\n"); - | ^~~~~~ -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:244:17: note: in expansion of macro 'pr_err' - 244 | pr_err("Can't fork worker: %m\n"); - | ^~~~~~ -mountd.c: In function 'manager_init': -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:354:25: note: in expansion of macro 'pr_err' - 354 | pr_err("Can't fork manager: %m\n"); - | ^~~~~~ -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:365:25: note: in expansion of macro 'pr_err' - 365 | pr_err("Can't redirect stream: %m\n"); - | ^~~~~~ -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:138:9: note: in expansion of macro 'pr_log' - 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) - | ^~~~~~ -mountd.c:390:25: note: in expansion of macro 'pr_err' - 390 | pr_err("Can't send SIGUSR1 to PID %d: %m\n", ppid); - | ^~~~~~ -mountd.c: In function 'mountd_main': -mountd.c:420:45: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 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_srvsvc.c: In function 'srvsvc_parse_share_info_req': rpc.c: In function 'align_offset': rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] @@ -1183,6 +1052,10 @@ | ^~~~ | | | 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.c: In function 'auto_align_offset': rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 91 | ({ \ @@ -1190,49 +1063,89 @@ rpc.c:230:31: note: in expansion of macro '__ALIGN' 230 | dce->offset = __ALIGN(dce->offset, 8); | ^~~~~~~ +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]; + | ^~~~~~~~~~~ +In file included from mountd.c:22: +../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': rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 91 | ({ \ | ^ rpc.c:232:31: note: in expansion of macro '__ALIGN' 232 | dce->offset = __ALIGN(dce->offset, 4); | ^~~~~~~ -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 * +ipc.c:155:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 155 | strncpy(ev->min_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +../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 /usr/include/features.h:523, + from /usr/include/memory.h:25, + from ipc.c:8: +/usr/include/aarch64-linux-gnu/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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc.c: At top level: rpc.c:281:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 281 | NDR_WRITE_INT(int8, __u8, htobe_n, htole_n); | ^ +ipc.c:160:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 160 | strncpy(ev->max_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +mountd.c: In function '__list_config_share_cb': rpc.c:282:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 282 | NDR_WRITE_INT(int16, __u16, htobe16, htole16); | ^ +mountd.c:66:70: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 66 | dprintf(*wfd, LIST_FMT_SS "\n", share->name, share->comment ?: ""); + | ^ rpc.c:283:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 283 | NDR_WRITE_INT(int32, __u32, htobe32, htole32); | ^ -../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.c:284:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 284 | NDR_WRITE_INT(int64, __u64, htobe64, htole64); | ^ rpc.c:305:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 305 | NDR_READ_INT(int8, __u8, betoh_n, letoh_n); | ^ +rpc_wkssvc.c: In function 'wkssvc_parse_netwksta_info_req': rpc.c:306:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 306 | NDR_READ_INT(int16, __u16, be16toh, le16toh); | ^ +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 * rpc.c:307:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 307 | NDR_READ_INT(int32, __u32, be32toh, le32toh); | ^ +mountd.c: In function 'list_config': +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); + | ~~~~~~~^~~~~ +mountd.c:71:53: warning: non-ISO-standard escape sequence, '\e' [-Wpedantic] + 71 | dprintf(wfd, "\e[1m" LIST_FMT_SS "\e[m" "\n", "Name", "Comment"); + | ^ rpc.c:308:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 308 | NDR_READ_INT(int64, __u64, be64toh, le64toh); | ^ +mountd.c:71:53: warning: non-ISO-standard escape sequence, '\e' [-Wpedantic] rpc.c:329:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 329 | NDR_WRITE_UNION(int16, __u16); | ^ @@ -1242,6 +1155,17 @@ rpc.c:351:29: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] 351 | NDR_READ_UNION(int32, __u32); | ^ +In file included from mountd.c:11: +mountd.c: In function 'worker_init_wait': +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:136:17: note: in expansion of macro 'pr_err' + 136 | pr_err("Can't control pipe: %m\n"); + | ^~~~~~ rpc.c: In function 'ndr_read_vstring': rpc.c:524:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] 524 | if (ndr_read_int32(dce, &raw_len)) @@ -1254,37 +1178,52 @@ rpc.c:307:1: note: in expansion of macro 'NDR_READ_INT' 307 | NDR_READ_INT(int32, __u32, be32toh, le32toh); | ^~~~~~~~~~~~ -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)) - | ^~~~ +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:212:33: note: in expansion of macro 'pr_err' + 212 | pr_err("Can't open `%s': %m\n", fifo_path); + | ^~~~~~ +mountd.c: In function 'worker_init': +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:237:17: note: in expansion of macro 'pr_err' + 237 | pr_err("Can't create pipe: %m\n"); + | ^~~~~~ +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:244:17: note: in expansion of macro 'pr_err' + 244 | pr_err("Can't fork worker: %m\n"); + | ^~~~~~ +rpc_samr.c: In function 'samr_connect5_invoke': +rpc_samr.c:95:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 95 | if (ndr_read_int32(dce, &dce->sm_req.level)) + | ^~~~~~~~~~~~~~~~~~ + | | + | int * +In file included from rpc_samr.c:15: +../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_samr.c:100:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 100 | if (ndr_read_int32(dce, &dce->sm_req.client_version)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | 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); | ~~~~~~~^~~~~ -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:155:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 155 | strncpy(ev->min_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:523, - from /usr/include/memory.h:25, - from ipc.c:8: -/usr/include/aarch64-linux-gnu/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:160:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 160 | strncpy(ev->max_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} /usr/include/aarch64-linux-gnu/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), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1319,6 +1258,25 @@ ipc.c:181:40: note: in expansion of macro 'KSMBD_STARTUP_CONFIG_INTERFACES' 181 | char *config_payload = KSMBD_STARTUP_CONFIG_INTERFACES(ev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mountd.c: In function 'manager_init': +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:354:25: note: in expansion of macro 'pr_err' + 354 | pr_err("Can't fork manager: %m\n"); + | ^~~~~~ +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:365:25: note: in expansion of macro 'pr_err' + 365 | pr_err("Can't redirect stream: %m\n"); + | ^~~~~~ In file included from ipc.c:20: ipc.c: In function 'ipc_process_event': ../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] @@ -1330,24 +1288,20 @@ ipc.c:218:25: note: in expansion of macro 'pr_err' 218 | pr_err("Can't wait on netlink socket: %m\n"); | ^~~~~~ -rpc_samr.c: In function 'samr_connect5_invoke': -rpc_samr.c:95:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 95 | if (ndr_read_int32(dce, &dce->sm_req.level)) - | ^~~~~~~~~~~~~~~~~~ - | | - | int * -In file included from rpc_samr.c:15: -../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_samr.c:100:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 100 | if (ndr_read_int32(dce, &dce->sm_req.client_version)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | 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); - | ~~~~~~~^~~~~ +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:138:9: note: in expansion of macro 'pr_log' + 138 | pr_log(PR_ERROR, PRERR f, ##__VA_ARGS__) + | ^~~~~~ +mountd.c:390:25: note: in expansion of macro 'pr_err' + 390 | pr_err("Can't send SIGUSR1 to PID %d: %m\n", ppid); + | ^~~~~~ +mountd.c: In function 'mountd_main': +mountd.c:420:45: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 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_samr.c: In function 'samr_lookup_names_invoke': rpc_samr.c:303:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] 303 | if (ndr_read_int32(dce, &user_num)) @@ -1368,6 +1322,88 @@ ../include/smbacl.h:79:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' 79 | int build_sec_desc(struct ksmbd_dcerpc *dce, __u32 *secdesclen, int rid); | ~~~~~~~^~~~~~~~~~ +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]; + | ^~~~~~~~~~~ +worker.c: In function 'login_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:49:13: note: in expansion of macro 'VALID_IPC_MSG' + 49 | if (VALID_IPC_MSG(msg, struct ksmbd_login_request)) + | ^~~~~~~~~~~~~ +worker.c: In function 'login_request_ext': +worker.c:88:51: warning: pointer targets in passing argument 1 of 'login_response_payload_sz' differ in signedness [-Wpointer-sign] + 88 | payload_sz = login_response_payload_sz(req->account); + | ~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +worker.c:61:44: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 61 | static int login_response_payload_sz(char *account) + | ~~~~~~^~~~~~~ +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:95:13: note: in expansion of macro 'VALID_IPC_MSG' + 95 | if (VALID_IPC_MSG(msg, struct ksmbd_login_request)) + | ^~~~~~~~~~~~~ +worker.c: In function 'spnego_authen_request': +worker.c:151:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 151 | strncpy(login_req.account, auth_out.user_name, + | ~~~~~~~~~^~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from /usr/include/features.h:523, + from /usr/include/memory.h:25, + from worker.c:7: +/usr/include/aarch64-linux-gnu/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), + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +worker.c: In function 'tree_connect_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:192:13: note: in expansion of macro 'VALID_IPC_MSG' + 192 | if (VALID_IPC_MSG(msg, struct ksmbd_tree_connect_request)) + | ^~~~~~~~~~~~~ +worker.c: In function 'share_config_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:213:13: note: in expansion of macro 'VALID_IPC_MSG' + 213 | if (VALID_IPC_MSG(msg, struct ksmbd_share_config_request)) { + | ^~~~~~~~~~~~~ +worker.c:214:45: warning: pointer targets in passing argument 1 of 'shm_lookup_share' differ in signedness [-Wpointer-sign] + 214 | share = shm_lookup_share(req->share_name); + | ~~~^~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from worker.c:18: +../include/management/share.h:153:44: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 153 | struct ksmbd_share *shm_lookup_share(char *name); + | ~~~~~~^~~~ +worker.c: In function 'tree_disconnect_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:240:14: note: in expansion of macro 'VALID_IPC_MSG' + 240 | if (!VALID_IPC_MSG(msg, struct ksmbd_tree_disconnect_request)) + | ^~~~~~~~~~~~~ +worker.c: In function 'logout_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:251:14: note: in expansion of macro 'VALID_IPC_MSG' + 251 | if (!VALID_IPC_MSG(msg, struct ksmbd_logout_request)) + | ^~~~~~~~~~~~~ +worker.c: In function 'heartbeat_request': +worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 26 | ({ \ + | ^ +worker.c:259:14: note: in expansion of macro 'VALID_IPC_MSG' + 259 | if (!VALID_IPC_MSG(msg, struct ksmbd_heartbeat)) + | ^~~~~~~~~~~~~ rpc_lsarpc.c: In function 'lsarpc_lookup_names3_invoke': rpc_lsarpc.c:444:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] 444 | if (ndr_read_int32(dce, &num_names)) @@ -1390,58 +1426,12 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o management/user.o management/user.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o management/share.o management/share.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -c -o management/session.o management/session.c -config_parser.c: In function 'is_a_key_value': -config_parser.c:106:45: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] - 106 | is_key_value = cp_printable(entry) && !cp_smbconf_eol(entry); - | ^~~~~ - | | - | char * -In file included from config_parser.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) - | ~~~~~~~~~~~~~~~^ -config_parser.c:121:45: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] - 121 | is_key_value = cp_printable(entry); - | ^~~~~ - | | - | char * -../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) - | ~~~~~~~~~~~~~~~^ -In file included from config_parser.c:18: -config_parser.c: In function '__mmap_parse_file': -../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] - 127 | (f), \ - | ^~~ -../include/tools.h:134:9: note: in expansion of macro 'pr_log' - 134 | pr_log(PR_DEBUG, PRDEBUG f, ##__VA_ARGS__) - | ^~~~~~ -config_parser.c:221:17: note: in expansion of macro 'pr_debug' - 221 | pr_debug("Can't open `%s': %m\n", path); - | ^~~~~~~~ -config_parser.c:246:54: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 246 | delim = memchr(contents, '\n', len) ?: contents + len; - | ^ -config_parser.c: In function 'steal_global_share_conf_kv': -config_parser.c:599:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 599 | k ?: KSMBD_SHARE_CONF[c], - | ^ -config_parser.c:600:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 600 | v ?: KSMBD_SHARE_DEFCONF[c]); - | ^ -config_parser.c: In function 'cp_parse_subauth': -config_parser.c:882:43: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] - 882 | contents ?: "", - | ^ In file included from tools.c:16: ../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] 26 | unsigned char ____payload[0]; | ^~~~~~~~~~~ +config_parser.c: In function 'is_a_key_value': management/tree_conn.c: In function 'tcm_handle_tree_connect': -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/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); | ~~~^~~~~~~ @@ -1472,25 +1462,15 @@ | ~~~^~~~~~~~~ | | | __s8 * {aka signed char *} -management/user.c: In function 'usm_user_name': In file included from management/tree_conn.c:16: ../include/management/user.h:48:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 48 | struct ksmbd_user *usm_lookup_user(char *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 * management/tree_conn.c:158:39: warning: pointer targets in passing argument 3 of 'shm_lookup_users_map' differ in signedness [-Wpointer-sign] 158 | req->account); | ~~~^~~~~~~~~ | | | __s8 * {aka signed 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) - | ~~~~~~~~~~~~~~~^ ../include/management/share.h:167:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 167 | char *name); | ~~~~~~^~~~ @@ -1526,6 +1506,69 @@ ../include/management/share.h:167:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 167 | char *name); | ~~~~~~^~~~ +config_parser.c:106:45: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] + 106 | is_key_value = cp_printable(entry) && !cp_smbconf_eol(entry); + | ^~~~~ + | | + | char * +In file included from config_parser.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) + | ~~~~~~~~~~~~~~~^ +config_parser.c:121:45: warning: pointer targets in passing argument 1 of 'cp_printable' differ in signedness [-Wpointer-sign] + 121 | is_key_value = cp_printable(entry); + | ^~~~~ + | | + | char * +../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 '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); + | ^ +In file included from config_parser.c:18: +config_parser.c: In function '__mmap_parse_file': +../include/tools.h:127:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] + 127 | (f), \ + | ^~~ +../include/tools.h:134:9: note: in expansion of macro 'pr_log' + 134 | pr_log(PR_DEBUG, PRDEBUG f, ##__VA_ARGS__) + | ^~~~~~ +config_parser.c:221:17: note: in expansion of macro 'pr_debug' + 221 | pr_debug("Can't open `%s': %m\n", path); + | ^~~~~~~~ +config_parser.c:246:54: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 246 | delim = memchr(contents, '\n', len) ?: contents + len; + | ^ +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/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) + | ~~~~~~~~~~~~~~~^ +config_parser.c: In function 'steal_global_share_conf_kv': +management/share.c: In function 'shm_handle_share_config_request': +config_parser.c:599:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 599 | k ?: KSMBD_SHARE_CONF[c], + | ^ +config_parser.c:600:44: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 600 | v ?: KSMBD_SHARE_DEFCONF[c]); + | ^ 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); @@ -1574,17 +1617,10 @@ 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/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': +config_parser.c: In function 'cp_parse_subauth': +config_parser.c:882:43: warning: ISO C forbids omitting the middle term of a '?:' expression [-Wpedantic] + 882 | contents ?: "", + | ^ 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); | ~~~~^~~~~~~~~~~~ @@ -1616,39 +1652,14 @@ /usr/include/aarch64-linux-gnu/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, ...)) | ^~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -DSYSCONFDIR='"/etc"' -DRUNSTATEDIR='"/run"' -I../include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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/aarch64-linux-gnu/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.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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.5/tools' make[3]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5' make[3]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5' make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5' make[1]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5' - dh_auto_test - make -j12 check TESTSUITEFLAGS="-j12 --verbose" VERBOSE=1 -make[1]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5' -Making check in addshare -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/addshare' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5/addshare' -Making check in adduser -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/adduser' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5/adduser' -Making check in control -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/control' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5/control' -Making check in mountd -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/mountd' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5/mountd' -Making check in tools -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/tools' -make[2]: Nothing to be done for 'check'. -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5/tools' -make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5' -make[2]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5' -make[1]: Leaving directory '/build/reproducible-path/ksmbd-tools-3.5.5' +dh: command-omitted: The call to "dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/ksmbd-tools/ @@ -1722,7 +1733,7 @@ make[2]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/tools' make[3]: Entering directory '/build/reproducible-path/ksmbd-tools-3.5.5/tools' /usr/bin/mkdir -p '/build/reproducible-path/ksmbd-tools-3.5.5/debian/ksmbd-tools/usr/libexec' - /bin/bash ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/reproducible-path/ksmbd-tools-3.5.5/debian/ksmbd-tools/usr/libexec' + /bin/sh ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/reproducible-path/ksmbd-tools-3.5.5/debian/ksmbd-tools/usr/libexec' libtool: install: /usr/bin/install -c ksmbd.tools /build/reproducible-path/ksmbd-tools-3.5.5/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.5/tools' @@ -1761,8 +1772,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ksmbd-tools-dbgsym' in '../ksmbd-tools-dbgsym_3.5.5-2_arm64.deb'. dpkg-deb: building package 'ksmbd-tools' in '../ksmbd-tools_3.5.5-2_arm64.deb'. +dpkg-deb: building package 'ksmbd-tools-dbgsym' in '../ksmbd-tools-dbgsym_3.5.5-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../ksmbd-tools_3.5.5-2_arm64.buildinfo dpkg-genchanges --build=binary -O../ksmbd-tools_3.5.5-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1770,12 +1781,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/3816516/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3816516/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/3209436 and its subdirectories -I: Current time: Fri Nov 7 20:26:28 -12 2025 -I: pbuilder-time-stamp: 1762590388 +I: removing directory /srv/workspace/pbuilder/3816516 and its subdirectories +I: Current time: Sat Dec 12 04:50:17 +14 2026 +I: pbuilder-time-stamp: 1797000617