Diff of the two buildlogs: -- --- b1/build.log 2024-11-15 14:56:56.792705386 +0000 +++ b2/build.log 2024-11-15 14:59:46.549083450 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 18 09:17:57 -12 2025 -I: pbuilder-time-stamp: 1766092677 +I: Current time: Sat Nov 16 04:56:59 +14 2024 +I: pbuilder-time-stamp: 1731682619 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0002-Add-USER_AGENT_OS-Macro-for-hurd-i386.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1013507/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2337137/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 15 14:57 /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/2337137/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2337137/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='aca529d99d3e4da7a83d3849d6e7489b' - 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='1013507' - PS1='# ' - PS2='> ' + INVOCATION_ID=a5f925eae3ba481b9603dfe380cfeaf3 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2337137 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.loQTKuH0/pbuilderrc_U1pd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.loQTKuH0/b1 --logfile b1/build.log seafile_9.0.11-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.loQTKuH0/pbuilderrc_FHBD --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.loQTKuH0/b2 --logfile b2/build.log seafile_9.0.11-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1013507/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2337137/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -331,7 +363,7 @@ Get: 187 http://deb.debian.org/debian unstable/main amd64 valac-0.56-vapi all 0.56.17-1 [1078 kB] Get: 188 http://deb.debian.org/debian unstable/main amd64 valac-bin amd64 0.56.17-1 [336 kB] Get: 189 http://deb.debian.org/debian unstable/main amd64 valac amd64 0.56.17-1 [432 kB] -Fetched 65.7 MB in 9s (7367 kB/s) +Fetched 65.7 MB in 1s (48.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (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 ... 19966 files and directories currently installed.) @@ -953,8 +985,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Dec 18 21:18:56 UTC 2025. -Universal Time is now: Thu Dec 18 21:18:56 UTC 2025. +Local time is now: Fri Nov 15 14:58:22 UTC 2024. +Universal Time is now: Fri Nov 15 14:58:22 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:amd64 (47.0-2) ... @@ -1129,7 +1161,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/seafile-9.0.11/ && 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 > ../seafile_9.0.11-1_source.changes +I: user script /srv/workspace/pbuilder/2337137/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2337137/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/seafile-9.0.11/ && 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 > ../seafile_9.0.11-1_source.changes dpkg-buildpackage: info: source package seafile dpkg-buildpackage: info: source version 9.0.11-1 dpkg-buildpackage: info: source distribution unstable @@ -1347,7 +1383,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/seafile-9.0.11' dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/seafile-9.0.11' make all-recursive make[2]: Entering directory '/build/reproducible-path/seafile-9.0.11' @@ -1361,34 +1397,62 @@ /usr/bin/valac -C --pkg posix repo.vala task.vala make all-am make[4]: Entering directory '/build/reproducible-path/seafile-9.0.11/lib' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o repo.lo repo.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o task.lo task.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o seafile-rpc-wrapper.lo seafile-rpc-wrapper.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o net.lo net.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o utils.lo utils.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o db.lo db.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c repo.c -fPIC -DPIC -o .libs/repo.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o repo.lo repo.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o task.lo task.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o seafile-rpc-wrapper.lo seafile-rpc-wrapper.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o net.lo net.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o utils.lo utils.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o db.lo db.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c db.c -fPIC -DPIC -o .libs/db.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c task.c -fPIC -DPIC -o .libs/task.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c net.c -fPIC -DPIC -o .libs/net.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c seafile-rpc-wrapper.c -fPIC -DPIC -o .libs/seafile-rpc-wrapper.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c utils.c -fPIC -DPIC -o .libs/utils.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c db.c -fPIC -DPIC -o .libs/db.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c seafile-rpc-wrapper.c -fPIC -DPIC -o .libs/seafile-rpc-wrapper.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c net.c -fPIC -DPIC -o .libs/net.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c repo.c -fPIC -DPIC -o .libs/repo.o task.c: In function 'seafile_task_set_ttype': task.c:225:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | old_value = seafile_task_get_ttype (self); | ^ +repo.c: In function 'seafile_repo_set_head_cmmt_id': task.c: In function 'seafile_task_set_repo_id': task.c:252:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | old_value = seafile_task_get_repo_id (self); | ^ +repo.c:773:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 773 | old_value = seafile_repo_get_head_cmmt_id (self); + | ^ task.c: In function 'seafile_task_set_state': +repo.c: In function 'seafile_repo_set_root': task.c:279:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | old_value = seafile_task_get_state (self); | ^ +repo.c:800:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 800 | old_value = seafile_repo_get_root (self); + | ^ +repo.c: In function 'seafile_repo_set_repo_id': task.c: In function 'seafile_task_set_rt_state': +repo.c:827:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 827 | old_value = seafile_repo_get_repo_id (self); + | ^ task.c:306:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 306 | old_value = seafile_task_get_rt_state (self); | ^ +repo.c: In function 'seafile_repo_set_repo_name': +repo.c:854:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 854 | old_value = seafile_repo_get_repo_name (self); + | ^ +repo.c: In function 'seafile_repo_set_repo_desc': +repo.c:881:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 881 | old_value = seafile_repo_get_repo_desc (self); + | ^ +repo.c: In function 'seafile_repo_set_magic': +repo.c:952:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 952 | old_value = seafile_repo_get_magic (self); + | ^ +repo.c: In function 'seafile_repo_set_random_key': +repo.c:1001:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1001 | old_value = seafile_repo_get_random_key (self); + | ^ In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, @@ -1396,7 +1460,6 @@ from /usr/include/glib-2.0/glib-object.h:24, from task.c:4: task.c: In function 'seafile_task_get_type': -repo.c: In function 'seafile_repo_set_head_cmmt_id': /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ @@ -1406,30 +1469,15 @@ task.c:479:13: note: in expansion of macro 'g_once_init_enter' 479 | if (g_once_init_enter (&seafile_task_type_id__once)) { | ^~~~~~~~~~~~~~~~~ -repo.c:773:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 773 | old_value = seafile_repo_get_head_cmmt_id (self); - | ^ -repo.c: In function 'seafile_repo_set_root': -repo.c:800:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 800 | old_value = seafile_repo_get_root (self); - | ^ +repo.c: In function 'seafile_repo_set_salt': task.c: In function 'seafile_clone_task_set_state': -repo.c: In function 'seafile_repo_set_repo_id': -repo.c:827:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 827 | old_value = seafile_repo_get_repo_id (self); +repo.c:1028:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1028 | old_value = seafile_repo_get_salt (self); | ^ task.c:608:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 608 | old_value = seafile_clone_task_get_state (self); | ^ -repo.c: In function 'seafile_repo_set_repo_name': -repo.c:854:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 854 | old_value = seafile_repo_get_repo_name (self); - | ^ -repo.c: In function 'seafile_repo_set_repo_desc': task.c: In function 'seafile_clone_task_set_repo_id': -repo.c:881:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 881 | old_value = seafile_repo_get_repo_desc (self); - | ^ task.c:657:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 657 | old_value = seafile_clone_task_get_repo_id (self); | ^ @@ -1437,19 +1485,20 @@ task.c:684:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 684 | old_value = seafile_clone_task_get_repo_name (self); | ^ -repo.c: In function 'seafile_repo_set_magic': -repo.c:952:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 952 | old_value = seafile_repo_get_magic (self); - | ^ task.c: In function 'seafile_clone_task_set_worktree': task.c:711:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 711 | old_value = seafile_clone_task_get_worktree (self); | ^ -repo.c: In function 'seafile_repo_set_random_key': -repo.c:1001:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1001 | old_value = seafile_repo_get_random_key (self); +repo.c: In function 'seafile_repo_set_origin_repo_id': +repo.c:1189:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1189 | old_value = seafile_repo_get_origin_repo_id (self); + | ^ +repo.c: In function 'seafile_repo_set_origin_repo_name': +repo.c:1216:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 1216 | old_value = seafile_repo_get_origin_repo_name (self); | ^ task.c: In function 'seafile_clone_task_get_type': +repo.c: In function 'seafile_repo_set_origin_path': /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ @@ -1459,19 +1508,6 @@ task.c:770:13: note: in expansion of macro 'g_once_init_enter' 770 | if (g_once_init_enter (&seafile_clone_task_type_id__once)) { | ^~~~~~~~~~~~~~~~~ -repo.c: In function 'seafile_repo_set_salt': -repo.c:1028:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1028 | old_value = seafile_repo_get_salt (self); - | ^ -repo.c: In function 'seafile_repo_set_origin_repo_id': -repo.c:1189:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1189 | old_value = seafile_repo_get_origin_repo_id (self); - | ^ -repo.c: In function 'seafile_repo_set_origin_repo_name': -repo.c:1216:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1216 | old_value = seafile_repo_get_origin_repo_name (self); - | ^ -repo.c: In function 'seafile_repo_set_origin_path': repo.c:1243:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1243 | old_value = seafile_repo_get_origin_path (self); | ^ @@ -1495,6 +1531,19 @@ repo.c:1444:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1444 | old_value = seafile_repo_get_user (self); | ^ +utils.c: In function 'checkdir_with_mkdir': +utils.c:148:9: warning: unused variable 'ret' [-Wunused-variable] + 148 | int ret; + | ^~~ +utils.c: In function 'seaf_util_unlink': +utils.c:492:9: warning: unused variable 'ret' [-Wunused-variable] + 492 | int ret = 0; + | ^~~ +utils.c: In function 'seaf_util_rmdir': +utils.c:516:9: warning: unused variable 'ret' [-Wunused-variable] + 516 | int ret = 0; + | ^~~ +utils.c: In function 'seaf_util_mkdir': In file included from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, @@ -1502,6 +1551,13 @@ from /usr/include/glib-2.0/glib-object.h:24, from repo.c:4: repo.c: In function 'seafile_repo_get_type': +utils.c:540:9: warning: unused variable 'ret' [-Wunused-variable] + 540 | int ret = 0; + | ^~~ +utils.c: In function 'seaf_util_rename': +utils.c:650:9: warning: unused variable 'ret' [-Wunused-variable] + 650 | int ret = 0; + | ^~~ /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ @@ -1543,10 +1599,29 @@ repo.c:2170:13: note: in expansion of macro 'g_once_init_enter' 2170 | if (g_once_init_enter (&seafile_session_info_type_id__once)) { | ^~~~~~~~~~~~~~~~~ +utils.c: In function 'get_current_time': repo.c: In function 'seafile_diff_entry_set_status': +utils.c:1798:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 1798 | GTimeVal tv; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from ../common/common.h:22, + from utils.c:3: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ repo.c:2251:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2251 | old_value = seafile_diff_entry_get_status (self); | ^ +utils.c:1801:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] + 1801 | g_get_current_time (&tv); + | ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/giochannel.h:35, + from /usr/include/glib-2.0/glib.h:56: +/usr/include/glib-2.0/glib/gmain.h:819:8: note: declared here + 819 | void g_get_current_time (GTimeVal *result); + | ^~~~~~~~~~~~~~~~~~ repo.c: In function 'seafile_diff_entry_set_name': repo.c:2278:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2278 | old_value = seafile_diff_entry_get_name (self); @@ -1573,35 +1648,37 @@ repo.c:2481:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2481 | old_value = seafile_encryption_info_get_passwd (self); | ^ +utils.c: In function 'ccnet_expand_path': repo.c: In function 'seafile_encryption_info_set_magic': +utils.c:1231:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 1231 | getcwd (new_path, SEAF_PATH_MAX); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repo.c:2530:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2530 | old_value = seafile_encryption_info_get_magic (self); | ^ -utils.c: In function 'checkdir_with_mkdir': -utils.c:148:9: warning: unused variable 'ret' [-Wunused-variable] - 148 | int ret; - | ^~~ +In file included from /usr/include/glib-2.0/glib/giochannel.h:36: +utils.c: In function 'strjoin_n': repo.c: In function 'seafile_encryption_info_set_pwd_hash': -utils.c: In function 'seaf_util_unlink': +/usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | (__builtin_constant_p (free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 73 | ((free_segment) ? \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 74 | (g_string_free) ((str), (free_segment)) : \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 75 | g_string_free_and_steal (str)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 76 | : \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 77 | (g_string_free) ((str), (free_segment))) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +utils.c:1526:5: note: in expansion of macro 'g_string_free' + 1526 | g_string_free (buf, FALSE); + | ^~~~~~~~~~~~~ repo.c:2557:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2557 | old_value = seafile_encryption_info_get_pwd_hash (self); | ^ -utils.c:492:9: warning: unused variable 'ret' [-Wunused-variable] - 492 | int ret = 0; - | ^~~ -utils.c: In function 'seaf_util_rmdir': -utils.c:516:9: warning: unused variable 'ret' [-Wunused-variable] - 516 | int ret = 0; - | ^~~ repo.c: In function 'seafile_encryption_info_set_random_key': -utils.c: In function 'seaf_util_mkdir': -utils.c:540:9: warning: unused variable 'ret' [-Wunused-variable] - 540 | int ret = 0; - | ^~~ -utils.c: In function 'seaf_util_rename': -utils.c:650:9: warning: unused variable 'ret' [-Wunused-variable] - 650 | int ret = 0; - | ^~~ repo.c:2584:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2584 | old_value = seafile_encryption_info_get_random_key (self); | ^ @@ -1632,7 +1709,6 @@ 2867 | old_value = seafile_file_sync_error_get_path (self); | ^ repo.c: In function 'seafile_file_sync_error_get_type': -utils.c: In function 'get_current_time': /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Wdiscarded-qualifiers] 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \ | ^~~~~~~~~~~~~ @@ -1642,61 +1718,21 @@ repo.c:2970:13: note: in expansion of macro 'g_once_init_enter' 2970 | if (g_once_init_enter (&seafile_file_sync_error_type_id__once)) { | ^~~~~~~~~~~~~~~~~ -utils.c:1798:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 1798 | GTimeVal tv; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from ../common/common.h:22, - from utils.c:3: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ -utils.c:1801:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] - 1801 | g_get_current_time (&tv); - | ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/giochannel.h:35, - from /usr/include/glib-2.0/glib.h:56: -/usr/include/glib-2.0/glib/gmain.h:819:8: note: declared here - 819 | void g_get_current_time (GTimeVal *result); - | ^~~~~~~~~~~~~~~~~~ -utils.c: In function 'ccnet_expand_path': -utils.c:1231:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 1231 | getcwd (new_path, SEAF_PATH_MAX); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/giochannel.h:36: -utils.c: In function 'strjoin_n': -/usr/include/glib-2.0/glib/gstring.h:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] - 72 | (__builtin_constant_p (free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 73 | ((free_segment) ? \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 74 | (g_string_free) ((str), (free_segment)) : \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 75 | g_string_free_and_steal (str)) \ - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 76 | : \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 77 | (g_string_free) ((str), (free_segment))) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -utils.c:1526:5: note: in expansion of macro 'g_string_free' - 1526 | g_string_free (buf, FALSE); - | ^~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c db.c -o db.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c seafile-rpc-wrapper.c -o seafile-rpc-wrapper.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c net.c -o net.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c task.c -o task.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c utils.c -o utils.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c repo.c -o repo.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -no-undefined -Wl,-z,relro -Wl,-z,now -o libseafile.la -rpath /usr/lib/x86_64-linux-gnu repo.lo task.lo seafile-rpc-wrapper.lo -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -no-undefined -Wl,-z,relro -Wl,-z,now -o libseafile_common.la repo.lo task.lo net.lo utils.lo db.lo -lglib-2.0 -lgobject-2.0 -lglib-2.0 -luuid -lsqlite3 -levent -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -lz +/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -no-undefined -Wl,-z,relro -Wl,-z,now -o libseafile.la -rpath /usr/lib/x86_64-linux-gnu repo.lo task.lo seafile-rpc-wrapper.lo -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson +/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I../include -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -no-undefined -Wl,-z,relro -Wl,-z,now -o libseafile_common.la repo.lo task.lo net.lo utils.lo db.lo -lglib-2.0 -lgobject-2.0 -lglib-2.0 -luuid -lsqlite3 -levent -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -lz libtool: link: gcc -shared -fPIC -DPIC .libs/repo.o .libs/task.o .libs/seafile-rpc-wrapper.o -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,-soname -Wl,libseafile.so.0 -o .libs/libseafile.so.0.0.0 libtool: link: ar cr .libs/libseafile_common.a .libs/repo.o .libs/task.o .libs/net.o .libs/utils.o .libs/db.o libtool: link: (cd ".libs" && rm -f "libseafile.so.0" && ln -s "libseafile.so.0.0.0" "libseafile.so.0") libtool: link: (cd ".libs" && rm -f "libseafile.so" && ln -s "libseafile.so.0.0.0" "libseafile.so") +libtool: link: ranlib .libs/libseafile_common.a libtool: link: ar cr .libs/libseafile.a repo.o task.o seafile-rpc-wrapper.o libtool: link: ranlib .libs/libseafile.a -libtool: link: ranlib .libs/libseafile_common.a libtool: link: ( cd ".libs" && rm -f "libseafile_common.la" && ln -s "../libseafile_common.la" "libseafile_common.la" ) libtool: link: ( cd ".libs" && rm -f "libseafile.la" && ln -s "../libseafile.la" "libseafile.la" ) make[4]: Leaving directory '/build/reproducible-path/seafile-9.0.11/lib' @@ -1705,13 +1741,13 @@ make[3]: Entering directory '/build/reproducible-path/seafile-9.0.11/common' Making all in cdc make[4]: Entering directory '/build/reproducible-path/seafile-9.0.11/common/cdc' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o cdc.lo cdc.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o rabin-checksum.lo rabin-checksum.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o cdc.lo cdc.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o rabin-checksum.lo rabin-checksum.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c cdc.c -fPIC -DPIC -o .libs/cdc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c rabin-checksum.c -fPIC -DPIC -o .libs/rabin-checksum.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c rabin-checksum.c -o rabin-checksum.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c cdc.c -o cdc.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,defs -Wl,-z,relro -Wl,-z,now -o libcdc.la cdc.lo rabin-checksum.lo -lglib-2.0 ../../lib/libseafile_common.la +/bin/sh ../../libtool --tag=CC --mode=link gcc -I../../common -I../../lib -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,defs -Wl,-z,relro -Wl,-z,now -o libcdc.la cdc.lo rabin-checksum.lo -lglib-2.0 ../../lib/libseafile_common.la libtool: link: (cd .libs/libcdc.lax/libseafile_common.a && ar x "/build/reproducible-path/seafile-9.0.11/common/cdc/../../lib/.libs/libseafile_common.a") libtool: link: ar cr .libs/libcdc.a .libs/cdc.o .libs/rabin-checksum.o .libs/libcdc.lax/libseafile_common.a/db.o .libs/libcdc.lax/libseafile_common.a/net.o .libs/libcdc.lax/libseafile_common.a/repo.o .libs/libcdc.lax/libseafile_common.a/task.o .libs/libcdc.lax/libseafile_common.a/utils.o libtool: link: ranlib .libs/libcdc.a @@ -1720,14 +1756,10 @@ make[4]: Leaving directory '/build/reproducible-path/seafile-9.0.11/common/cdc' Making all in index make[4]: Entering directory '/build/reproducible-path/seafile-9.0.11/common/index' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o libindex_la-index.lo `test -f 'index.c' || echo './'`index.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o libindex_la-cache-tree.lo `test -f 'cache-tree.c' || echo './'`cache-tree.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c index.c -fPIC -DPIC -o .libs/libindex_la-index.o +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o libindex_la-index.lo `test -f 'index.c' || echo './'`index.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o libindex_la-cache-tree.lo `test -f 'cache-tree.c' || echo './'`cache-tree.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c cache-tree.c -fPIC -DPIC -o .libs/libindex_la-cache-tree.o -In file included from cache-tree.c:6: -index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 148 | char name[0]; /* more */ - | ^~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c index.c -fPIC -DPIC -o .libs/libindex_la-index.o In file included from index.c:18: index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ @@ -1735,18 +1767,22 @@ index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 183 | char name[0]; /* more */ | ^~~~ -index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 183 | char name[0]; /* more */ - | ^~~~ -index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 222 | char name[0]; /* more */ - | ^~~~ index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 222 | char name[0]; /* more */ | ^~~~ index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ +In file included from cache-tree.c:6: +index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 148 | char name[0]; /* more */ + | ^~~~ +index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 183 | char name[0]; /* more */ + | ^~~~ +index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 222 | char name[0]; /* more */ + | ^~~~ index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ @@ -1756,7 +1792,7 @@ | ^~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c cache-tree.c -o libindex_la-cache-tree.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -I../../common -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c index.c -o libindex_la-index.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,defs -Wl,-z,relro -Wl,-z,now -o libindex.la libindex_la-index.lo libindex_la-cache-tree.lo -lglib-2.0 ../../lib/libseafile_common.la +/bin/sh ../../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,defs -Wl,-z,relro -Wl,-z,now -o libindex.la libindex_la-index.lo libindex_la-cache-tree.lo -lglib-2.0 ../../lib/libseafile_common.la libtool: link: (cd .libs/libindex.lax/libseafile_common.a && ar x "/build/reproducible-path/seafile-9.0.11/common/index/../../lib/.libs/libseafile_common.a") libtool: link: ar cr .libs/libindex.a .libs/libindex_la-index.o .libs/libindex_la-cache-tree.o .libs/libindex.lax/libseafile_common.a/db.o .libs/libindex.lax/libseafile_common.a/net.o .libs/libindex.lax/libseafile_common.a/repo.o .libs/libindex.lax/libseafile_common.a/task.o .libs/libindex.lax/libseafile_common.a/utils.o libtool: link: ranlib .libs/libindex.a @@ -1790,37 +1826,8 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o repo-mgr.o repo-mgr.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o commit-mgr.o `test -f '../common/commit-mgr.c' || echo './'`../common/commit-mgr.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o log.o `test -f '../common/log.c' || echo './'`../common/log.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o rpc-service.o `test -f '../common/rpc-service.c' || echo './'`../common/rpc-service.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o vc-common.o `test -f '../common/vc-common.c' || echo './'`../common/vc-common.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o obj-store.o `test -f '../common/obj-store.c' || echo './'`../common/obj-store.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o obj-backend-fs.o `test -f '../common/obj-backend-fs.c' || echo './'`../common/obj-backend-fs.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-mgr.o `test -f '../common/block-mgr.c' || echo './'`../common/block-mgr.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-backend.o `test -f '../common/block-backend.c' || echo './'`../common/block-backend.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-backend-fs.o `test -f '../common/block-backend-fs.c' || echo './'`../common/block-backend-fs.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o mq-mgr.o `test -f '../common/mq-mgr.c' || echo './'`../common/mq-mgr.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o curl-init.o `test -f '../common/curl-init.c' || echo './'`../common/curl-init.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o password-hash.o `test -f '../common/password-hash.c' || echo './'`../common/password-hash.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o sync-status-tree.o sync-status-tree.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o filelock-mgr.o filelock-mgr.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o set-perm.o set-perm.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o change-set.o change-set.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o notif-mgr.o notif-mgr.c -In file included from ../common/diff-simple.h:6, - from ../common/diff-simple.c:2: -../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 148 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 183 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 222 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 254 | char name[0]; /* more */ - | ^~~~ In file included from vc-utils.h:6, - from repo-mgr.c:17: + from sync-mgr.c:15: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -1837,8 +1844,8 @@ ../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 11 | char name[0]; | ^~~~ -In file included from ../common/../daemon/vc-utils.h:6, - from ../common/rpc-service.c:26: +In file included from ../common/diff-simple.h:6, + from ../common/diff-simple.c:2: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -1848,15 +1855,16 @@ ../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 222 | char name[0]; /* more */ | ^~~~ +sync-mgr.c: In function 'auto_sync_pulse': ../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ -In file included from ../common/../daemon/vc-utils.h:7: -../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 11 | char name[0]; - | ^~~~ +sync-mgr.c:2600:16: warning: unused variable 'now' [-Wunused-variable] + 2600 | gint64 now = (gint64)time(NULL); + | ^~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o rpc-service.o `test -f '../common/rpc-service.c' || echo './'`../common/rpc-service.c In file included from vc-utils.h:6, - from seafile-session.c:33: + from clone-mgr.c:10: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -1873,11 +1881,8 @@ ../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 11 | char name[0]; | ^~~~ -seafile-session.c:50:63: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] - 50 | G_DEFINE_TYPE (SeafileSession, seafile_session, G_TYPE_OBJECT); - | ^ -In file included from vc-utils.h:6, - from sync-mgr.c:15: +In file included from ../common/diff-simple.h:6, + from http-tx-mgr.c:32: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -1890,58 +1895,11 @@ ../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ -In file included from vc-utils.h:7: -../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 11 | char name[0]; - | ^~~~ -repo-mgr.c: In function 'seaf_repo_manager_is_ignored_hidden_file': -repo-mgr.c:1448:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 1448 | if (g_pattern_match_string(*spec, filename)) - | ^~ -In file included from /usr/include/glib-2.0/glib.h:68, - from ../common/common.h:22, - from repo-mgr.c:3: -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c: In function 'should_ignore': -repo-mgr.c:1477:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 1477 | if (g_pattern_match_string(*spec, filename)) - | ^~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c:1485:13: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 1485 | if (g_pattern_match_string(*spec, filename)) - | ^~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c: In function 'ignore_xlsx_update': -repo-mgr.c:3557:5: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 3557 | if (!g_pattern_match_string(pattern, src_path) && - | ^~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c:3558:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 3558 | g_pattern_match_string(pattern, dst_path)) - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c: In function 'is_seafile_backup_file': In file included from vc-utils.h:6, from seaf-daemon.c:41: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ -repo-mgr.c:3571:5: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 3571 | if (g_pattern_match_string(pattern, path)) - | ^~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ ../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 183 | char name[0]; /* more */ | ^~~~ @@ -1968,7 +1926,6 @@ ../lib/searpc-marshal.h:36:16: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 36 | int ret = ((int (*)(int, int, GError **))func) (param1, param2, &error); | ^ -sync-mgr.c: In function 'auto_sync_pulse': ../lib/searpc-marshal.h: In function 'marshal_int__int_string': ../lib/searpc-marshal.h:51:16: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 51 | int ret = ((int (*)(int, const char*, GError **))func) (param1, param2, &error); @@ -1998,9 +1955,6 @@ 146 | int ret = ((int (*)(const char*, int, GError **))func) (param1, param2, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_int__string_int_int': -sync-mgr.c:2600:16: warning: unused variable 'now' [-Wunused-variable] - 2600 | gint64 now = (gint64)time(NULL); - | ^~~ ../lib/searpc-marshal.h:162:16: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 162 | int ret = ((int (*)(const char*, int, int, GError **))func) (param1, param2, param3, &error); | ^ @@ -2065,6 +2019,7 @@ 419 | int ret = ((int (*)(int, gint64, GError **))func) (param1, param2, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_int__int_string_int64': +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o vc-common.o `test -f '../common/vc-common.c' || echo './'`../common/vc-common.c ../lib/searpc-marshal.h:435:16: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 435 | int ret = ((int (*)(int, const char*, gint64, GError **))func) (param1, param2, param3, &error); | ^ @@ -2085,28 +2040,14 @@ 491 | gint64 ret = ((gint64 (*)(int, const char*, GError **))func) (param1, param2, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_int64__string_int_string': -In file included from vc-utils.h:6, - from vc-utils.c:16: -../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 148 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:507:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 507 | gint64 ret = ((gint64 (*)(const char*, int, const char*, GError **))func) (param1, param2, param3, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__void': -../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 183 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:520:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 520 | char* ret = ((char* (*)(GError **))func) (&error); | ^ -../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 222 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h: In function 'marshal_string__int': -../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 254 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:534:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 534 | char* ret = ((char* (*)(int, GError **))func) (param1, &error); | ^ @@ -2127,6 +2068,7 @@ 594 | char* ret = ((char* (*)(const char*, GError **))func) (param1, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__string_int': +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o obj-store.o `test -f '../common/obj-store.c' || echo './'`../common/obj-store.c ../lib/searpc-marshal.h:609:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 609 | char* ret = ((char* (*)(const char*, int, GError **))func) (param1, param2, &error); | ^ @@ -2138,10 +2080,6 @@ ../lib/searpc-marshal.h:640:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 640 | char* ret = ((char* (*)(const char*, const char*, GError **))func) (param1, param2, &error); | ^ -In file included from vc-utils.h:7: -../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 11 | char name[0]; - | ^~~~ ../lib/searpc-marshal.h: In function 'marshal_string__string_string_int': ../lib/searpc-marshal.h:656:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 656 | char* ret = ((char* (*)(const char*, const char*, int, GError **))func) (param1, param2, param3, &error); @@ -2179,6 +2117,7 @@ 802 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, int, int, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__string_string_string_string_string_string': +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o obj-backend-fs.o `test -f '../common/obj-backend-fs.c' || echo './'`../common/obj-backend-fs.c ../lib/searpc-marshal.h:821:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 821 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, GError **))func) (param1, param2, param3, param4, param5, param6, &error); | ^ @@ -2187,28 +2126,13 @@ 841 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, gint64, GError **))func) (param1, param2, param3, param4, param5, param6, param7, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__string_string_string_string_string_string_int64_int': -In file included from vc-utils.h:6, - from clone-mgr.c:10: -../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 148 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:862:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 862 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, gint64, int, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, &error); | ^ -../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 183 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h: In function 'marshal_string__string_string_string_string_string_string_string': -../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 222 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 254 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:882:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 882 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, const char*, GError **))func) (param1, param2, param3, param4, param5, param6, param7, &error); | ^ -repo-mgr.c: In function 'checkout_file_http': ../lib/searpc-marshal.h: In function 'marshal_string__string_string_string_string_string_string_string_int64': ../lib/searpc-marshal.h:903:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 903 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, const char*, gint64, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, &error); @@ -2218,17 +2142,10 @@ 925 | char* ret = ((char* (*)(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, param9, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__string_int_string_string_string_string_string_string_string_int_string': -In file included from vc-utils.h:7: -../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 11 | char name[0]; - | ^~~~ ../lib/searpc-marshal.h:949:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 949 | char* ret = ((char* (*)(const char*, int, const char*, const char*, const char*, const char*, const char*, const char*, const char*, int, const char*, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_string__string_int_string_int_int': -repo-mgr.c:5154:20: warning: unused variable 'fset' [-Wunused-variable] - 5154 | LockedFileSet *fset = data->fset; - | ^~~~ ../lib/searpc-marshal.h:967:18: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 967 | char* ret = ((char* (*)(const char*, int, const char*, int, int, GError **))func) (param1, param2, param3, param4, param5, &error); | ^ @@ -2252,9 +2169,6 @@ ../lib/searpc-marshal.h:1042:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1042 | GList* ret = ((GList* (*)(int, const char*, GError **))func) (param1, param2, &error); | ^ -repo-mgr.c:5152:17: warning: unused variable 'worktree' [-Wunused-variable] - 5152 | const char *worktree = data->worktree; - | ^~~~~~~~ ../lib/searpc-marshal.h: In function 'marshal_objlist__int_int_int': ../lib/searpc-marshal.h:1058:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1058 | GList* ret = ((GList* (*)(int, int, int, GError **))func) (param1, param2, param3, &error); @@ -2284,7 +2198,7 @@ 1150 | GList* ret = ((GList* (*)(const char*, const char*, const char*, GError **))func) (param1, param2, param3, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_objlist__string_string_int': -repo-mgr.c: In function 'is_adding_files_case_conflict': +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-mgr.o `test -f '../common/block-mgr.c' || echo './'`../common/block-mgr.c ../lib/searpc-marshal.h:1166:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1166 | GList* ret = ((GList* (*)(const char*, const char*, int, GError **))func) (param1, param2, param3, &error); | ^ @@ -2301,9 +2215,6 @@ 1218 | GList* ret = ((GList* (*)(const char*, const char*, int, int, int, GError **))func) (param1, param2, param3, param4, param5, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_objlist__int_string_string_int_int': -repo-mgr.c:5406:14: warning: unused variable 'st' [-Wunused-variable] - 5406 | SeafStat st; - | ^~ ../lib/searpc-marshal.h:1236:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1236 | GList* ret = ((GList* (*)(int, const char*, const char*, int, int, GError **))func) (param1, param2, param3, param4, param5, &error); | ^ @@ -2348,24 +2259,10 @@ 1400 | GObject* ret = ((GObject* (*)(int, const char*, const char*, GError **))func) (param1, param2, param3, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_object__int_string_string_string_string': -In file included from ../common/../daemon/vc-utils.h:6, - from ../common/fs-mgr.c:27: -../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 148 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 183 | char name[0]; /* more */ - | ^~~~ -../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 222 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:1418:21: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1418 | GObject* ret = ((GObject* (*)(int, const char*, const char*, const char*, const char*, GError **))func) (param1, param2, param3, param4, param5, &error); | ^ ../lib/searpc-marshal.h: In function 'marshal_object__string_string_string_string_string_string_string_int_int': -../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 254 | char name[0]; /* more */ - | ^~~~ ../lib/searpc-marshal.h:1440:21: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1440 | GObject* ret = ((GObject* (*)(const char*, const char*, const char*, const char*, const char*, const char*, const char*, int, int, GError **))func) (param1, param2, param3, param4, param5, param6, param7, param8, param9, &error); | ^ @@ -2377,11 +2274,7 @@ ../lib/searpc-marshal.h:1476:20: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 1476 | json_t* ret = ((json_t* (*)(GError **))func) (&error); | ^ -repo-mgr.c: In function 'is_built_in_ignored_file': -In file included from ../common/../daemon/vc-utils.h:7: -../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 11 | char name[0]; - | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-backend.o `test -f '../common/block-backend.c' || echo './'`../common/block-backend.c seaf-daemon.c: In function 'register_rpc_service': seaf-daemon.c:92:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 92 | seafile_sync_error_id_to_str, @@ -2487,9 +2380,6 @@ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(const char *, const char *, GError **)' {aka 'int (*)(const char *, const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c:48:22: warning: ISO C forbids zero-size array 'block_ids' [-Wpedantic] - 48 | unsigned char block_ids[0]; - | ^~~~~~~~~ seaf-daemon.c:176:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 176 | seafile_disable_auto_sync, | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2508,30 +2398,23 @@ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(GError **)' {aka 'int (*)(struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c:64:13: warning: ISO C forbids zero-size array 'name' [-Wpedantic] - 64 | char name[0]; - | ^~~~ seaf-daemon.c:191:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 191 | seafile_gen_default_worktree, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'char * (*)(const char *, const char *, GError **)' {aka 'char * (*)(const char *, const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c:76:13: warning: ISO C forbids zero-size array 'dirents' [-Wpedantic] - 76 | char dirents[0]; - | ^~~~~~~ +In file included from vc-utils.h:6, + from repo-mgr.c:17: +../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 148 | char name[0]; /* more */ + | ^~~~ seaf-daemon.c:195:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 195 | seafile_check_path_for_clone, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -repo-mgr.c:5856:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 5856 | if (g_pattern_match_string(*spec, filename)) - | ^~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(const char *, GError **)' {aka 'int (*)(const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here - 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, - | ^~~~~~~~~~~~~~~~~~~~~~ seaf-daemon.c:201:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 201 | seafile_clone, | ^~~~~~~~~~~~~ @@ -2547,9 +2430,18 @@ seaf-daemon.c:210:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 210 | seafile_cancel_clone_task, | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 183 | char name[0]; /* more */ + | ^~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(const char *, GError **)' {aka 'int (*)(const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ +../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 222 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 254 | char name[0]; /* more */ + | ^~~~ seaf-daemon.c:214:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 214 | seafile_get_clone_tasks, | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2610,30 +2502,22 @@ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'GObject * (*)(int, const char *, const char *, const char *, const char *, GError **)' {aka 'struct _GObject * (*)(int, const char *, const char *, const char *, const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ +In file included from vc-utils.h:7: +../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 11 | char name[0]; + | ^~~~ seaf-daemon.c:261:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 261 | seafile_get_server_property, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'char * (*)(const char *, const char *, GError **)' {aka 'char * (*)(const char *, const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c: In function 'free_checkout_block_aux': -../common/fs-mgr.c:251:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 251 | g_free (aux->repo_id); - | ~~~^~~~~~~~~ seaf-daemon.c:266:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 266 | seafile_set_server_property, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(const char *, const char *, const char *, GError **)' {aka 'int (*)(const char *, const char *, const char *, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -In file included from /usr/include/glib-2.0/glib/glist.h:34, - from /usr/include/glib-2.0/glib/ghash.h:36, - from /usr/include/glib-2.0/glib.h:52, - from ../common/common.h:22, - from ../common/fs-mgr.c:3: -/usr/include/glib-2.0/glib/gmem.h:74:46: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const char *' - 74 | void (g_free) (gpointer mem); - | ~~~~~~~~~~~~~~~~~~^~~ seaf-daemon.c:271:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 271 | seafile_get_file_sync_errors, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2646,46 +2530,163 @@ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(int, GError **)' {aka 'int (*)(int, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c:252:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 252 | g_free (aux->host); - | ~~~^~~~~~ seaf-daemon.c:281:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 281 | seafile_get_sync_notification, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'json_t * (*)(GError **)' {aka 'json_t * (*)(struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -/usr/include/glib-2.0/glib/gmem.h:74:46: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const char *' - 74 | void (g_free) (gpointer mem); - | ~~~~~~~~~~~~~~~~~~^~~ seaf-daemon.c:286:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 286 | seafile_shutdown, | ^~~~~~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'int (*)(GError **)' {aka 'int (*)(struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ -../common/fs-mgr.c:253:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 253 | g_free (aux->token); - | ~~~^~~~~~~ seaf-daemon.c:292:38: warning: ISO C forbids passing argument 2 of 'searpc_server_register_function' between function pointer and 'void *' [-Wpedantic] 292 | seafile_diff, | ^~~~~~~~~~~~ /usr/include/searpc-server.h:113:49: note: expected 'void *' but argument is of type 'GList * (*)(const char *, const char *, const char *, int, GError **)' {aka 'struct _GList * (*)(const char *, const char *, const char *, int, struct _GError **)'} 113 | void* func, | ~~~~~~^~~~ +seaf-daemon.c: In function 'main': +seaf-daemon.c:480:9: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] + 480 | daemon (1, 0); + | ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o block-backend-fs.o `test -f '../common/block-backend-fs.c' || echo './'`../common/block-backend-fs.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o mq-mgr.o `test -f '../common/mq-mgr.c' || echo './'`../common/mq-mgr.c +In file included from vc-utils.h:6, + from vc-utils.c:16: +../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 148 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 183 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 222 | char name[0]; /* more */ + | ^~~~ +In file included from vc-utils.h:6, + from seafile-session.c:33: +../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 148 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 254 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 183 | char name[0]; /* more */ + | ^~~~ +In file included from vc-utils.h:7: +../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 11 | char name[0]; + | ^~~~ +../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 222 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 254 | char name[0]; /* more */ + | ^~~~ +In file included from vc-utils.h:7: +../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 11 | char name[0]; + | ^~~~ +seafile-session.c:50:63: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] + 50 | G_DEFINE_TYPE (SeafileSession, seafile_session, G_TYPE_OBJECT); + | ^ +repo-mgr.c: In function 'seaf_repo_manager_is_ignored_hidden_file': +repo-mgr.c:1448:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 1448 | if (g_pattern_match_string(*spec, filename)) + | ^~ +In file included from /usr/include/glib-2.0/glib.h:68, + from ../common/common.h:22, + from repo-mgr.c:3: +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +repo-mgr.c: In function 'should_ignore': +repo-mgr.c:1477:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 1477 | if (g_pattern_match_string(*spec, filename)) + | ^~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +repo-mgr.c:1485:13: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 1485 | if (g_pattern_match_string(*spec, filename)) + | ^~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../common/../daemon/vc-utils.h:6, + from ../common/fs-mgr.c:27: +../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 148 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:183:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 183 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:222:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 222 | char name[0]; /* more */ + | ^~~~ +../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 254 | char name[0]; /* more */ + | ^~~~ +In file included from ../common/../daemon/vc-utils.h:7: +../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 11 | char name[0]; + | ^~~~ +../common/fs-mgr.c:48:22: warning: ISO C forbids zero-size array 'block_ids' [-Wpedantic] + 48 | unsigned char block_ids[0]; + | ^~~~~~~~~ +../common/fs-mgr.c:64:13: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 64 | char name[0]; + | ^~~~ +../common/fs-mgr.c:76:13: warning: ISO C forbids zero-size array 'dirents' [-Wpedantic] + 76 | char dirents[0]; + | ^~~~~~~ +../common/fs-mgr.c: In function 'free_checkout_block_aux': +../common/fs-mgr.c:251:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 251 | g_free (aux->repo_id); + | ~~~^~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/glist.h:34, + from /usr/include/glib-2.0/glib/ghash.h:36, + from /usr/include/glib-2.0/glib.h:52, + from ../common/common.h:22, + from ../common/fs-mgr.c:3: /usr/include/glib-2.0/glib/gmem.h:74:46: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const char *' 74 | void (g_free) (gpointer mem); | ~~~~~~~~~~~~~~~~~~^~~ -repo-mgr.c:5864:13: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 5864 | if (g_pattern_match_string(*spec, filename)) - | ^~ +../common/fs-mgr.c:252:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 252 | g_free (aux->host); + | ~~~^~~~~~ +/usr/include/glib-2.0/glib/gmem.h:74:46: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const char *' + 74 | void (g_free) (gpointer mem); + | ~~~~~~~~~~~~~~~~~~^~~ +../common/fs-mgr.c:253:16: warning: passing argument 1 of 'g_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 253 | g_free (aux->token); + | ~~~^~~~~~~ +/usr/include/glib-2.0/glib/gmem.h:74:46: note: expected 'gpointer' {aka 'void *'} but argument is of type 'const char *' + 74 | void (g_free) (gpointer mem); + | ~~~~~~~~~~~~~~~~~~^~~ +repo-mgr.c: In function 'ignore_xlsx_update': +repo-mgr.c:3557:5: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 3557 | if (!g_pattern_match_string(pattern, src_path) && + | ^~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +repo-mgr.c:3558:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 3558 | g_pattern_match_string(pattern, dst_path)) + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +repo-mgr.c: In function 'is_seafile_backup_file': +repo-mgr.c:3571:5: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 3571 | if (g_pattern_match_string(pattern, path)) + | ^~ /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, | ^~~~~~~~~~~~~~~~~~~~~~ -seaf-daemon.c: In function 'main': -seaf-daemon.c:480:9: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] - 480 | daemon (1, 0); - | ^~~~~~~~~~~~~ ../common/fs-mgr.c: In function 'seaf_dirent_dup': ../common/fs-mgr.c:1421:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 1421 | new_dent = g_memdup (dent, sizeof(SeafDirent)); @@ -2696,14 +2697,39 @@ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ -repo-mgr.c: In function 'seaf_repo_check_ignore_file': -repo-mgr.c:8230:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] - 8230 | if (g_pattern_match_string(ignore_spec, str)) { +repo-mgr.c: In function 'checkout_file_http': +repo-mgr.c:5154:20: warning: unused variable 'fset' [-Wunused-variable] + 5154 | LockedFileSet *fset = data->fset; + | ^~~~ +repo-mgr.c:5152:17: warning: unused variable 'worktree' [-Wunused-variable] + 5152 | const char *worktree = data->worktree; + | ^~~~~~~~ +http-tx-mgr.c:3255:12: warning: ISO C forbids zero-size array 'object' [-Wpedantic] + 3255 | guint8 object[0]; + | ^~~~~~ +repo-mgr.c: In function 'is_adding_files_case_conflict': +repo-mgr.c:5406:14: warning: unused variable 'st' [-Wunused-variable] + 5406 | SeafStat st; + | ^~ +../common/fs-mgr.c: At top level: +../common/fs-mgr.c:138:1: warning: 'checkout_block' defined but not used [-Wunused-function] + 138 | checkout_block (const char *repo_id, + | ^~~~~~~~~~~~~~ +repo-mgr.c: In function 'is_built_in_ignored_file': +repo-mgr.c:5856:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 5856 | if (g_pattern_match_string(*spec, filename)) | ^~ /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from change-set.c:10: +repo-mgr.c:5864:13: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 5864 | if (g_pattern_match_string(*spec, filename)) + | ^~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../common/../daemon/vc-utils.h:6, + from ../common/rpc-service.c:26: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -2716,6 +2742,18 @@ ../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ +In file included from ../common/../daemon/vc-utils.h:7: +../common/index/cache-tree.h:11:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] + 11 | char name[0]; + | ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o curl-init.o `test -f '../common/curl-init.c' || echo './'`../common/curl-init.c +repo-mgr.c: In function 'seaf_repo_check_ignore_file': +repo-mgr.c:8230:9: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] + 8230 | if (g_pattern_match_string(ignore_spec, str)) { + | ^~ +/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here + 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, + | ^~~~~~~~~~~~~~~~~~~~~~ ../common/obj-backend-fs.c: In function 'obj_backend_fs_write': ../common/obj-backend-fs.c:229:43: warning: '.XXXXXX' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 229 | snprintf (tmp_path, SEAF_PATH_MAX, "%s.XXXXXX", path); @@ -2733,8 +2771,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In file included from ../common/diff-simple.h:6, - from http-tx-mgr.c:32: +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o password-hash.o `test -f '../common/password-hash.c' || echo './'`../common/password-hash.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o sync-status-tree.o sync-status-tree.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o filelock-mgr.o filelock-mgr.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o set-perm.o set-perm.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o change-set.o change-set.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -c -o notif-mgr.o notif-mgr.c +../common/fs-mgr.c: In function 'verify_seafdir_v0': +../common/fs-mgr.c:2704:13: warning: 'ctx' may be used uninitialized [-Wmaybe-uninitialized] + 2704 | g_checksum_update (ctx, (unsigned char *)&mode, sizeof(mode)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../common/fs-mgr.c:2656:16: note: 'ctx' was declared here + 2656 | GChecksum *ctx; + | ^~~ +In file included from change-set.c:10: ../common/index/index.h:148:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 148 | char name[0]; /* more */ | ^~~~ @@ -2747,10 +2797,6 @@ ../common/index/index.h:254:10: warning: ISO C forbids zero-size array 'name' [-Wpedantic] 254 | char name[0]; /* more */ | ^~~~ -../common/fs-mgr.c: At top level: -../common/fs-mgr.c:138:1: warning: 'checkout_block' defined but not used [-Wunused-function] - 138 | checkout_block (const char *repo_id, - | ^~~~~~~~~~~~~~ notif-mgr.c: In function 'parse_notification_url': notif-mgr.c:142:13: warning: the comparison will always evaluate as 'true' for the pointer operand in 'colon + 1' must not be NULL [-Waddress] 142 | if (colon + 1) @@ -2759,16 +2805,6 @@ notif-mgr.c:330:1: warning: 'disconnect_server' defined but not used [-Wunused-function] 330 | disconnect_server (NotifServer *server) | ^~~~~~~~~~~~~~~~~ -../common/fs-mgr.c: In function 'verify_seafdir_v0': -../common/fs-mgr.c:2704:13: warning: 'ctx' may be used uninitialized [-Wmaybe-uninitialized] - 2704 | g_checksum_update (ctx, (unsigned char *)&mode, sizeof(mode)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../common/fs-mgr.c:2656:16: note: 'ctx' was declared here - 2656 | GChecksum *ctx; - | ^~~ -http-tx-mgr.c:3255:12: warning: ISO C forbids zero-size array 'object' [-Wpedantic] - 3255 | guint8 object[0]; - | ^~~~~~ In function 'parse_notification_url', inlined from 'notif_new_server' at notif-mgr.c:172:11, inlined from 'seaf_notif_manager_connect_server' at notif-mgr.c:308:14: @@ -2779,7 +2815,7 @@ notif-mgr.c:118:9: note: 'port' was declared here 118 | int port; | ^~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z,relro -Wl,-z,now -o seaf-daemon seaf-daemon.o job-mgr.o timer.o cevent.o http-tx-mgr.o vc-utils.o sync-mgr.o seafile-session.o seafile-crypt.o diff-simple.o wt-monitor.o wt-monitor-linux.o wt-monitor-structs.o clone-mgr.o seafile-config.o seafile-error.o branch-mgr.o fs-mgr.o repo-mgr.o commit-mgr.o log.o rpc-service.o vc-common.o obj-store.o obj-backend-fs.o block-mgr.o block-backend.o block-backend-fs.o mq-mgr.o curl-init.o password-hash.o sync-status-tree.o filelock-mgr.o set-perm.o change-set.o notif-mgr.o ../lib/libseafile_common.la -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgnutls -lnettle -luuid -lsqlite3 -levent -levent_pthreads -levent ../common/cdc/libcdc.la ../common/index/libindex.la -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -ljansson -lz -lcurl -lwebsockets -L/usr/lib64 -lcap -largon2 -lrt -ldl +/bin/sh ../libtool --tag=CC --mode=link gcc -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z,relro -Wl,-z,now -o seaf-daemon seaf-daemon.o job-mgr.o timer.o cevent.o http-tx-mgr.o vc-utils.o sync-mgr.o seafile-session.o seafile-crypt.o diff-simple.o wt-monitor.o wt-monitor-linux.o wt-monitor-structs.o clone-mgr.o seafile-config.o seafile-error.o branch-mgr.o fs-mgr.o repo-mgr.o commit-mgr.o log.o rpc-service.o vc-common.o obj-store.o obj-backend-fs.o block-mgr.o block-backend.o block-backend-fs.o mq-mgr.o curl-init.o password-hash.o sync-status-tree.o filelock-mgr.o set-perm.o change-set.o notif-mgr.o ../lib/libseafile_common.la -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgnutls -lnettle -luuid -lsqlite3 -levent -levent_pthreads -levent ../common/cdc/libcdc.la ../common/index/libindex.la -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -ljansson -lz -lcurl -lwebsockets -L/usr/lib64 -lcap -largon2 -lrt -ldl libtool: link: gcc -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\"/usr/share/seafile\" -DSEAFILE_CLIENT -D__USE_MINGW_ANSI_STDIO=1 -I../include -I../lib -I../lib -I../common -I/usr/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 -I/usr/include/p11-kit-1 -I/usr/include/p11-kit-1 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/seafile-9.0.11=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -o seaf-daemon seaf-daemon.o job-mgr.o timer.o cevent.o http-tx-mgr.o vc-utils.o sync-mgr.o seafile-session.o seafile-crypt.o diff-simple.o wt-monitor.o wt-monitor-linux.o wt-monitor-structs.o clone-mgr.o seafile-config.o seafile-error.o branch-mgr.o fs-mgr.o repo-mgr.o commit-mgr.o log.o rpc-service.o vc-common.o obj-store.o obj-backend-fs.o block-mgr.o block-backend.o block-backend-fs.o mq-mgr.o curl-init.o password-hash.o sync-status-tree.o filelock-mgr.o set-perm.o change-set.o notif-mgr.o ../lib/.libs/libseafile_common.a -lgnutls -lnettle -levent_pthreads ../common/cdc/.libs/libcdc.a ../common/index/.libs/libindex.a -luuid -lsqlite3 -levent -lsearpc -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ljansson -lz -lcurl -lwebsockets -L/usr/lib64 -lcap -largon2 -lrt -ldl -pthread make[3]: Leaving directory '/build/reproducible-path/seafile-9.0.11/daemon' Making all in app @@ -2805,7 +2841,7 @@ make[2]: Leaving directory '/build/reproducible-path/seafile-9.0.11' make[1]: Leaving directory '/build/reproducible-path/seafile-9.0.11' dh_auto_test - make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/seafile-9.0.11' Making check in include make[2]: Entering directory '/build/reproducible-path/seafile-9.0.11/include' @@ -2879,7 +2915,7 @@ make[3]: Entering directory '/build/reproducible-path/seafile-9.0.11/lib' make[4]: Entering directory '/build/reproducible-path/seafile-9.0.11/lib' /usr/bin/mkdir -p '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libseafile.la '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libseafile.la '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libseafile.so.0.0.0 /build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu/libseafile.so.0.0.0 libtool: install: (cd /build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libseafile.so.0.0.0 libseafile.so.0 || { rm -f libseafile.so.0 && ln -s libseafile.so.0.0.0 libseafile.so.0; }; }) libtool: install: (cd /build/reproducible-path/seafile-9.0.11/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libseafile.so.0.0.0 libseafile.so || { rm -f libseafile.so && ln -s libseafile.so.0.0.0 libseafile.so; }; }) @@ -2922,7 +2958,7 @@ make[2]: Entering directory '/build/reproducible-path/seafile-9.0.11/daemon' make[3]: Entering directory '/build/reproducible-path/seafile-9.0.11/daemon' /usr/bin/mkdir -p '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c seaf-daemon '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c seaf-daemon '/build/reproducible-path/seafile-9.0.11/debian/tmp/usr/bin' libtool: install: /usr/bin/install -c seaf-daemon /build/reproducible-path/seafile-9.0.11/debian/tmp/usr/bin/seaf-daemon make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/reproducible-path/seafile-9.0.11/daemon' @@ -2995,7 +3031,7 @@ dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below dpkg-gensymbols: warning: debian/libseafile0t64/DEBIAN/symbols doesn't match completely debian/libseafile0t64.symbols --- debian/libseafile0t64.symbols (libseafile0t64_9.0.11-1_amd64) -+++ dpkg-gensymbolsijr7vU 2025-12-18 09:19:48.261138797 -1200 ++++ dpkg-gensymbols40O7_U 2024-11-16 04:59:35.931926047 +1400 @@ -28,6 +28,7 @@ seafile_encryption_info_get_enc_version@Base 6.0.2 seafile_encryption_info_get_magic@Base 6.0.2 @@ -3019,13 +3055,13 @@ dpkg-gencontrol: warning: Depends field of package python3-seafile: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb -dpkg-deb: building package 'seafile-daemon' in '../seafile-daemon_9.0.11-1_amd64.deb'. -dpkg-deb: building package 'seafile-daemon-dbgsym' in '../seafile-daemon-dbgsym_9.0.11-1_amd64.deb'. -dpkg-deb: building package 'seafile-cli' in '../seafile-cli_9.0.11-1_all.deb'. -dpkg-deb: building package 'libseafile0t64' in '../libseafile0t64_9.0.11-1_amd64.deb'. dpkg-deb: building package 'libseafile-dev' in '../libseafile-dev_9.0.11-1_amd64.deb'. dpkg-deb: building package 'libseafile0t64-dbgsym' in '../libseafile0t64-dbgsym_9.0.11-1_amd64.deb'. +dpkg-deb: building package 'seafile-daemon' in '../seafile-daemon_9.0.11-1_amd64.deb'. dpkg-deb: building package 'python3-seafile' in '../python3-seafile_9.0.11-1_all.deb'. +dpkg-deb: building package 'libseafile0t64' in '../libseafile0t64_9.0.11-1_amd64.deb'. +dpkg-deb: building package 'seafile-daemon-dbgsym' in '../seafile-daemon-dbgsym_9.0.11-1_amd64.deb'. +dpkg-deb: building package 'seafile-cli' in '../seafile-cli_9.0.11-1_all.deb'. dpkg-genbuildinfo --build=binary -O../seafile_9.0.11-1_amd64.buildinfo dpkg-genchanges --build=binary -O../seafile_9.0.11-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3033,12 +3069,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/2337137/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2337137/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/1013507 and its subdirectories -I: Current time: Thu Dec 18 09:19:53 -12 2025 -I: pbuilder-time-stamp: 1766092793 +I: removing directory /srv/workspace/pbuilder/2337137 and its subdirectories +I: Current time: Sat Nov 16 04:59:45 +14 2024 +I: pbuilder-time-stamp: 1731682785