Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 16:32:31.445700180 +0000 +++ b2/build.log 2023-04-26 16:33:37.442772544 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 28 10:53:54 -12 2024 -I: pbuilder-time-stamp: 1716936834 +I: Current time: Thu Apr 27 06:32:34 +14 2023 +I: pbuilder-time-stamp: 1682526754 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ksmbd-tools_3.4.7.orig.tar.gz] I: copying [./ksmbd-tools_3.4.7-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Feb 1 18:25:23 2023 -12 +gpgv: Signature made Thu Feb 2 20:25:23 2023 +14 gpgv: using RSA key B60A1BF363DC1319FF0A8E89116852BCDF7515C0 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ksmbd-tools_3.4.7-1.dsc: no acceptable signature found @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ksmbd-tools_3.4.7-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7700/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5981/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-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 Apr 27 06:32 /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/5981/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5981/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='7700' - PS1='# ' - PS2='> ' + 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=5981 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.2dqmWRyR/pbuilderrc_h5aV --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2dqmWRyR/b1 --logfile b1/build.log ksmbd-tools_3.4.7-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.2dqmWRyR/pbuilderrc_dMxJ --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2dqmWRyR/b2 --logfile b2/build.log --extrapackages usrmerge ksmbd-tools_3.4.7-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 08:41 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7700/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 26 00:27 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/5981/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -183,7 +215,7 @@ Get: 65 http://deb.debian.org/debian bookworm/main arm64 libnl-3-dev arm64 3.7.0-0.2+b1 [104 kB] Get: 66 http://deb.debian.org/debian bookworm/main arm64 libnl-genl-3-200 arm64 3.7.0-0.2+b1 [21.3 kB] Get: 67 http://deb.debian.org/debian bookworm/main arm64 libnl-genl-3-dev arm64 3.7.0-0.2+b1 [21.3 kB] -Fetched 31.5 MB in 1s (30.7 MB/s) +Fetched 31.5 MB in 1s (45.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19616 files and directories currently installed.) @@ -468,8 +500,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ksmbd-tools-3.4.7/ && 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.4.7-1_source.changes +I: user script /srv/workspace/pbuilder/5981/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/5981/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ksmbd-tools-3.4.7/ && 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.4.7-1_source.changes dpkg-buildpackage: info: source package ksmbd-tools dpkg-buildpackage: info: source version 3.4.7-1 dpkg-buildpackage: info: source distribution unstable @@ -788,94 +829,20 @@ 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/libnl3 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o mountd.o mountd.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/libnl3 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -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/libnl3 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_samr.o rpc_samr.c -rpc.c: In function 'align_offset': -rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 91 | ({ \ - | ^ -rpc.c:229:23: note: in expansion of macro '__ALIGN' - 229 | dce->offset = __ALIGN(dce->offset, n); - | ^~~~~~~ -rpc.c: In function 'auto_align_offset': -rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 91 | ({ \ - | ^ -rpc.c:235:31: note: in expansion of macro '__ALIGN' - 235 | dce->offset = __ALIGN(dce->offset, 8); - | ^~~~~~~ -rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] - 91 | ({ \ - | ^ -rpc.c:237:31: note: in expansion of macro '__ALIGN' - 237 | dce->offset = __ALIGN(dce->offset, 4); - | ^~~~~~~ -rpc.c: At top level: -rpc.c:286:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 286 | NDR_WRITE_INT(int8, __u8, htobe_n, htole_n); - | ^ -rpc.c:287:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 287 | NDR_WRITE_INT(int16, __u16, htobe16, htole16); - | ^ -rpc.c:288:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 288 | NDR_WRITE_INT(int32, __u32, htobe32, htole32); - | ^ -rpc.c:289:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 289 | NDR_WRITE_INT(int64, __u64, htobe64, htole64); - | ^ -rpc.c:310:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 310 | NDR_READ_INT(int8, __u8, betoh_n, letoh_n); - | ^ -rpc.c:311:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 311 | NDR_READ_INT(int16, __u16, be16toh, le16toh); - | ^ -rpc.c:312:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 312 | NDR_READ_INT(int32, __u32, be32toh, le32toh); - | ^ -rpc.c:313:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 313 | NDR_READ_INT(int64, __u64, be64toh, le64toh); - | ^ -rpc.c:334:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 334 | NDR_WRITE_UNION(int16, __u16); - | ^ -rpc.c:335:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 335 | NDR_WRITE_UNION(int32, __u32); - | ^ -rpc.c:356:29: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 356 | NDR_READ_UNION(int32, __u32); - | ^ -rpc.c: In function 'ndr_read_vstring': -rpc.c:529:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 529 | if (ndr_read_int32(dce, &raw_len)) - | ^~~~~~~~ +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]; + | ^~~~~~~~~~~ +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 * -rpc.c:292:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' - 292 | int ndr_read_##name(struct ksmbd_dcerpc *dce, type *value) \ - | ^ -rpc.c:312:1: note: in expansion of macro 'NDR_READ_INT' - 312 | NDR_READ_INT(int32, __u32, be32toh, le32toh); - | ^~~~~~~~~~~~ -rpc_srvsvc.c: In function 'srvsvc_parse_share_info_req': -rpc_srvsvc.c:312:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 312 | 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:331:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 331 | if (ndr_read_int32(dce, &hdr->level)) - | ^~~~~~~~~~~ - | | - | 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 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 | ({ \ @@ -903,12 +870,19 @@ 146 | if (VALID_IPC_MSG(msg, struct ksmbd_tree_connect_request)) | ^~~~~~~~~~~~~ worker.c: In function 'share_config_request': +rpc.c: In function 'align_offset': worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 26 | ({ \ | ^ worker.c:167:13: note: in expansion of macro 'VALID_IPC_MSG' 167 | if (VALID_IPC_MSG(msg, struct ksmbd_share_config_request)) { | ^~~~~~~~~~~~~ +rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 91 | ({ \ + | ^ +rpc.c:229:23: note: in expansion of macro '__ALIGN' + 229 | dce->offset = __ALIGN(dce->offset, n); + | ^~~~~~~ worker.c:168:45: warning: pointer targets in passing argument 1 of 'shm_lookup_share' differ in signedness [-Wpointer-sign] 168 | share = shm_lookup_share(req->share_name); | ~~~^~~~~~~~~~~~ @@ -918,6 +892,19 @@ ../include/management/share.h:144:44: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 144 | struct ksmbd_share *shm_lookup_share(char *name); | ~~~~~~^~~~ +rpc.c: In function 'auto_align_offset': +rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 91 | ({ \ + | ^ +rpc.c:235:31: note: in expansion of macro '__ALIGN' + 235 | dce->offset = __ALIGN(dce->offset, 8); + | ^~~~~~~ +rpc.c:91:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] + 91 | ({ \ + | ^ +rpc.c:237:31: note: in expansion of macro '__ALIGN' + 237 | dce->offset = __ALIGN(dce->offset, 4); + | ^~~~~~~ worker.c: In function 'tree_disconnect_request': worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 26 | ({ \ @@ -932,6 +919,10 @@ worker.c:204:14: note: in expansion of macro 'VALID_IPC_MSG' 204 | if (!VALID_IPC_MSG(msg, struct ksmbd_logout_request)) | ^~~~~~~~~~~~~ +rpc.c: At top level: +rpc.c:286:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 286 | NDR_WRITE_INT(int8, __u8, htobe_n, htole_n); + | ^ worker.c: In function 'heartbeat_request': worker.c:26:9: warning: ISO C forbids braced-groups within expressions [-Wpedantic] 26 | ({ \ @@ -939,113 +930,70 @@ worker.c:212:14: note: in expansion of macro 'VALID_IPC_MSG' 212 | if (!VALID_IPC_MSG(msg, struct ksmbd_heartbeat)) | ^~~~~~~~~~~~~ -rpc_samr.c: In function 'samr_connect5_invoke': -rpc_samr.c:93:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 93 | 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:98:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 98 | 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); - | ~~~~~~~^~~~~ -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: +rpc.c:287:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 287 | NDR_WRITE_INT(int16, __u16, htobe16, htole16); + | ^ +rpc.c:288:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 288 | NDR_WRITE_INT(int32, __u32, htobe32, htole32); + | ^ +rpc.c:289:46: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 289 | NDR_WRITE_INT(int64, __u64, htobe64, htole64); + | ^ +rpc.c:310:44: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 310 | NDR_READ_INT(int8, __u8, betoh_n, letoh_n); + | ^ +rpc.c:311:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 311 | NDR_READ_INT(int16, __u16, be16toh, le16toh); + | ^ +rpc.c:312:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 312 | NDR_READ_INT(int32, __u32, be32toh, le32toh); + | ^ +rpc.c:313:45: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 313 | NDR_READ_INT(int64, __u64, be64toh, le64toh); + | ^ +rpc.c:334:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 334 | NDR_WRITE_UNION(int16, __u16); + | ^ +rpc.c:335:30: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 335 | NDR_WRITE_UNION(int32, __u32); + | ^ +rpc_srvsvc.c: In function 'srvsvc_parse_share_info_req': +rpc_srvsvc.c:312:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 312 | if (ndr_read_int32(dce, &ptr)) + | ^~~~ + | | + | int * +rpc.c:356:29: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 356 | NDR_READ_UNION(int32, __u32); + | ^ +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_samr.c: In function 'samr_lookup_names_invoke': -rpc_samr.c:300:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] - 300 | if (ndr_read_int32(dce, &user_num)) - | ^~~~~~~~~ - | | - | int * +rpc_srvsvc.c:331:41: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 331 | 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_samr.c: In function 'samr_query_security_return': -rpc_samr.c:736:33: warning: pointer targets in passing argument 2 of 'build_sec_desc' differ in signedness [-Wpointer-sign] - 736 | if (build_sec_desc(dce, &sec_desc_len, ch->user->uid)) - | ^~~~~~~~~~~~~ +rpc.c: In function 'ndr_read_vstring': +rpc.c:529:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 529 | if (ndr_read_int32(dce, &raw_len)) + | ^~~~~~~~ | | | int * -In file included from ../include/rpc_samr.h:11, - from rpc_samr.c:16: -../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 ipc.c:21: -../include/ipc.h:26:25: warning: ISO C forbids zero-size array '____payload' [-Wpedantic] - 26 | unsigned char ____payload[0]; - | ^~~~~~~~~~~ +rpc.c:292:53: note: expected '__u32 *' {aka 'unsigned int *'} but argument is of type 'int *' + 292 | int ndr_read_##name(struct ksmbd_dcerpc *dce, type *value) \ + | ^ +rpc.c:312:1: note: in expansion of macro 'NDR_READ_INT' + 312 | NDR_READ_INT(int32, __u32, be32toh, le32toh); + | ^~~~~~~~~~~~ In file included from mountd.c:24: ../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:184:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 184 | strncpy(ev->min_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:489, - from /usr/include/memory.h:25, - from ipc.c:8: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ipc.c:189:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 189 | strncpy(ev->max_prot, - | ~~^~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ipc.c:194:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 194 | strncpy(ev->netbios_name, - | ~~^~~~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ipc.c:199:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 199 | strncpy(ev->server_string, - | ~~^~~~~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -ipc.c:204:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] - 204 | strncpy(ev->work_group, - | ~~^~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -In file included from ipc.c:18: -../include/linux/ksmbd_server.h:58:49: warning: pointer targets in initialization of 'char *' from '__s8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 58 | #define KSMBD_STARTUP_CONFIG_INTERFACES(s) ((s)->____payload) - | ^ -ipc.c:212:40: note: in expansion of macro 'KSMBD_STARTUP_CONFIG_INTERFACES' - 212 | char *config_payload = KSMBD_STARTUP_CONFIG_INTERFACES(ev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mountd.c: In function 'create_lock_file': mountd.c:95:44: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 95 | open_m = g_strdup_printf("%m"); @@ -1177,7 +1125,100 @@ mountd.c:478:33: note: in expansion of macro 'pr_err' 478 | pr_err("waitpid() returned an error: %m\n"); | ^~~~~~ +rpc_samr.c: In function 'samr_connect5_invoke': +rpc_samr.c:93:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 93 | 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:98:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 98 | 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); + | ~~~~~~~^~~~~ +rpc_samr.c: In function 'samr_lookup_names_invoke': +rpc_samr.c:300:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] + 300 | if (ndr_read_int32(dce, &user_num)) + | ^~~~~~~~~ + | | + | 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_samr.c: In function 'samr_query_security_return': +rpc_samr.c:736:33: warning: pointer targets in passing argument 2 of 'build_sec_desc' differ in signedness [-Wpointer-sign] + 736 | if (build_sec_desc(dce, &sec_desc_len, ch->user->uid)) + | ^~~~~~~~~~~~~ + | | + | int * +In file included from ../include/rpc_samr.h:11, + from rpc_samr.c:16: +../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); + | ~~~~~~~^~~~~~~~~~ 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/libnl3 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o rpc_lsarpc.o rpc_lsarpc.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:184:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 184 | strncpy(ev->min_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from /usr/include/features.h:489, + from /usr/include/memory.h:25, + from ipc.c:8: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipc.c:189:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 189 | strncpy(ev->max_prot, + | ~~^~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipc.c:194:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 194 | strncpy(ev->netbios_name, + | ~~^~~~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipc.c:199:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 199 | strncpy(ev->server_string, + | ~~^~~~~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +ipc.c:204:27: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] + 204 | strncpy(ev->work_group, + | ~~^~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ +In file included from ipc.c:18: +../include/linux/ksmbd_server.h:58:49: warning: pointer targets in initialization of 'char *' from '__s8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 58 | #define KSMBD_STARTUP_CONFIG_INTERFACES(s) ((s)->____payload) + | ^ +ipc.c:212:40: note: in expansion of macro 'KSMBD_STARTUP_CONFIG_INTERFACES' + 212 | char *config_payload = KSMBD_STARTUP_CONFIG_INTERFACES(ev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpc_lsarpc.c: In function 'lsarpc_lookup_names3_invoke': rpc_lsarpc.c:449:33: warning: pointer targets in passing argument 2 of 'ndr_read_int32' differ in signedness [-Wpointer-sign] 449 | if (ndr_read_int32(dce, &num_names)) @@ -1197,6 +1238,10 @@ make[3]: Entering directory '/build/ksmbd-tools-3.4.7/tools' 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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o config_parser.o config_parser.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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o tools.o tools.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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o management/tree_conn.o management/tree_conn.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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o management/session.o management/session.c In file included from tools.c:15: tools.c: In function 'send_signal_to_ksmbd_mountd': ../include/tools.h:134:39: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] @@ -1247,10 +1292,6 @@ config_parser.c:207:17: note: in expansion of macro 'pr_debug' 207 | pr_debug("Can't open `%s': %m\n", fname); | ^~~~~~~~ -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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o management/tree_conn.o management/tree_conn.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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -c -o management/session.o management/session.c 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); @@ -1277,6 +1318,7 @@ ../include/management/share.h:162:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 162 | char *host); | ~~~~~~^~~~ +management/share.c: In function 'shm_handle_share_config_request': management/tree_conn.c:146:35: warning: pointer targets in passing argument 1 of 'usm_lookup_user' differ in signedness [-Wpointer-sign] 146 | user = usm_lookup_user(req->account); | ~~~^~~~~~~~~ @@ -1286,6 +1328,18 @@ ../include/management/user.h:45:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 45 | struct ksmbd_user *usm_lookup_user(char *name); | ~~~~~~^~~~ +management/share.c:825:21: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] + 825 | strncat(resp->share_name, share->name, KSMBD_REQ_MAX_SHARE_NAME - 1); + | ~~~~^~~~~~~~~~~~ + | | + | __s8 * {aka signed char *} +In file included from /usr/include/features.h:489, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdlib.h:26, + from management/share.c:8: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:135:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} + 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, + | ^~~~~ management/tree_conn.c:161:39: warning: pointer targets in passing argument 3 of 'shm_lookup_users_map' differ in signedness [-Wpointer-sign] 161 | req->account); | ~~~^~~~~~~~~ @@ -1302,6 +1356,9 @@ ../include/management/share.h:158:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 158 | char *name); | ~~~~~~^~~~ +management/share.c:834:24: warning: pointer targets in assignment from '__s8 *' {aka 'signed char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] + 834 | config_payload = KSMBD_SHARE_CONFIG_VETO_LIST(resp); + | ^ management/tree_conn.c:178:39: warning: pointer targets in passing argument 3 of 'shm_lookup_users_map' differ in signedness [-Wpointer-sign] 178 | req->account); | ~~~^~~~~~~~~ @@ -1318,30 +1375,6 @@ ../include/management/share.h:158:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 158 | char *name); | ~~~~~~^~~~ -management/tree_conn.c:195:39: warning: pointer targets in passing argument 3 of 'shm_lookup_users_map' differ in signedness [-Wpointer-sign] - 195 | req->account); - | ~~~^~~~~~~~~ - | | - | __s8 * {aka signed char *} -../include/management/share.h:158:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} - 158 | char *name); - | ~~~~~~^~~~ -management/share.c: In function 'shm_handle_share_config_request': -management/share.c:825:21: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] - 825 | strncat(resp->share_name, share->name, KSMBD_REQ_MAX_SHARE_NAME - 1); - | ~~~~^~~~~~~~~~~~ - | | - | __s8 * {aka signed char *} -In file included from /usr/include/features.h:489, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdlib.h:26, - from management/share.c:8: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:135:1: note: expected 'char * restrict' but argument is of type '__s8 *' {aka 'signed char *'} - 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, - | ^~~~~ -management/share.c:834:24: warning: pointer targets in assignment from '__s8 *' {aka 'signed char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] - 834 | config_payload = KSMBD_SHARE_CONFIG_VETO_LIST(resp); - | ^ management/share.c:842:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 842 | sprintf(config_payload, | ^~~~~~~~~~~~~~ @@ -1350,6 +1383,14 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +management/tree_conn.c:195:39: warning: pointer targets in passing argument 3 of 'shm_lookup_users_map' differ in signedness [-Wpointer-sign] + 195 | req->account); + | ~~~^~~~~~~~~ + | | + | __s8 * {aka signed char *} +../include/management/share.h:158:33: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} + 158 | char *name); + | ~~~~~~^~~~ management/share.c:847:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 847 | sprintf(config_payload, "%s", share->path); | ^~~~~~~~~~~~~~ @@ -1401,7 +1442,7 @@ management/user.c:155:42: note: expected 'char *' but argument is of type '__s8 *' {aka 'signed char *'} 155 | struct ksmbd_user *usm_lookup_user(char *name) | ~~~~~~^~~~ -/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 -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -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/aarch64-linux-gnu/glib-2.0/include -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -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/aarch64-linux-gnu/glib-2.0/include -fno-common -g -O2 -ffile-prefix-map=/build/ksmbd-tools-3.4.7=. -fstack-protector-strong -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 make[3]: Leaving directory '/build/ksmbd-tools-3.4.7/tools' make[3]: Entering directory '/build/ksmbd-tools-3.4.7' @@ -1507,7 +1548,7 @@ make[2]: Entering directory '/build/ksmbd-tools-3.4.7/tools' make[3]: Entering directory '/build/ksmbd-tools-3.4.7/tools' /usr/bin/mkdir -p '/build/ksmbd-tools-3.4.7/debian/ksmbd-tools/usr/libexec' - /bin/bash ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/ksmbd-tools-3.4.7/debian/ksmbd-tools/usr/libexec' + /bin/sh ../libtool --mode=install /usr/bin/install -c ksmbd.tools '/build/ksmbd-tools-3.4.7/debian/ksmbd-tools/usr/libexec' libtool: install: /usr/bin/install -c ksmbd.tools /build/ksmbd-tools-3.4.7/debian/ksmbd-tools/usr/libexec/ksmbd.tools make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/ksmbd-tools-3.4.7/tools' @@ -1551,12 +1592,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/5981/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5981/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/7700 and its subdirectories -I: Current time: Tue May 28 10:55:30 -12 2024 -I: pbuilder-time-stamp: 1716936930 +I: removing directory /srv/workspace/pbuilder/5981 and its subdirectories +I: Current time: Thu Apr 27 06:33:36 +14 2023 +I: pbuilder-time-stamp: 1682526816