<86>Dec 21 01:35:32 userdel[243355]: delete user 'rooter' <86>Dec 21 01:35:32 userdel[243355]: removed group 'rooter' owned by 'rooter' <86>Dec 21 01:35:32 userdel[243355]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 01:35:32 groupadd[243396]: group added to /etc/group: name=rooter, GID=1814 <86>Dec 21 01:35:32 groupadd[243396]: group added to /etc/gshadow: name=rooter <86>Dec 21 01:35:32 groupadd[243396]: new group: name=rooter, GID=1814 <86>Dec 21 01:35:32 useradd[243429]: new user: name=rooter, UID=1814, GID=1814, home=/root, shell=/bin/bash, from=none <86>Dec 21 01:35:32 userdel[243485]: delete user 'builder' <86>Dec 21 01:35:32 userdel[243485]: removed group 'builder' owned by 'builder' <86>Dec 21 01:35:32 userdel[243485]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 01:35:32 groupadd[243516]: group added to /etc/group: name=builder, GID=1815 <86>Dec 21 01:35:32 groupadd[243516]: group added to /etc/gshadow: name=builder <86>Dec 21 01:35:32 groupadd[243516]: new group: name=builder, GID=1815 <86>Dec 21 01:35:32 useradd[243537]: new user: name=builder, UID=1815, GID=1815, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/afpfs-ng-0.8.1-alt3_41.src.rpm: license not found in '/usr/share/license' directory: GPL+ <13>Dec 21 01:35:36 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 21 01:35:36 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 21 01:35:36 rpmi: libgmpxx4-6.3.0-alt1 sisyphus+328118.100.2.1 1693294124 installed <13>Dec 21 01:35:36 rpmi: libgmp-devel-6.3.0-alt1 sisyphus+328118.100.2.1 1693294124 installed <13>Dec 21 01:35:36 rpmi: libgpg-error-devel-1.47-alt1 sisyphus+327218.100.1.1 1692093768 installed <13>Dec 21 01:35:36 rpmi: libfuse-2.9.9-alt4 sisyphus+346205.200.2.1 1716361259 installed <13>Dec 21 01:35:36 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 21 01:35:36 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 21 01:35:37 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 21 01:35:37 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 21 01:35:37 rpmi: libfuse-devel-2.9.9-alt4 sisyphus+346205.200.2.1 1716361259 installed <13>Dec 21 01:35:37 rpmi: libgcrypt-devel-1.10.2-alt2 sisyphus+330867.100.1.1 1696329186 installed <13>Dec 21 01:35:37 rpmi: libgmpxx-devel-6.3.0-alt1 sisyphus+328118.100.2.1 1693294124 installed <13>Dec 21 01:35:37 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 21 01:35:37 rpmi: libreadline-devel-8.2.10-alt1 sisyphus+338911.100.4.1 1706717067 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/afpfs-ng-0.8.1-alt3_41.nosrc.rpm (w1.gzdio) Installing afpfs-ng-0.8.1-alt3_41.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98023 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf afpfs-ng-0.8.1 + echo 'Source #0 (afpfs-ng-0.8.1.tar.bz2):' Source #0 (afpfs-ng-0.8.1.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/afpfs-ng-0.8.1.tar.bz2 + /bin/tar -xf - + cd afpfs-ng-0.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (afpfs-ng-0.8.1-overflows.patch):' Patch #0 (afpfs-ng-0.8.1-overflows.patch): + /usr/bin/patch -p1 patching file cmdline/cmdline_afp.c + echo 'Patch #1 (afpfs-ng-0.8.1-pointer.patch):' Patch #1 (afpfs-ng-0.8.1-pointer.patch): + /usr/bin/patch -p1 patching file cmdline/getstatus.c patching file fuse/client.c patching file fuse/fuse_int.c patching file include/afp.h patching file include/utils.h patching file lib/afp_url.c patching file lib/did.c patching file lib/dsi.c patching file lib/loop.c patching file lib/lowlevel.c patching file lib/midlevel.c patching file lib/proto_attr.c patching file lib/proto_desktop.c patching file lib/proto_directory.c patching file lib/proto_map.c patching file lib/proto_session.c patching file lib/uams.c patching file lib/utils.c + echo 'Patch #2 (afpfs-ng-0.8.1-formatsec.patch):' Patch #2 (afpfs-ng-0.8.1-formatsec.patch): + /usr/bin/patch -p1 patching file cmdline/cmdline_afp.c patching file cmdline/cmdline_testafp.c patching file fuse/client.c patching file fuse/commands.c Hunk #1 succeeded at 165 (offset 2 lines). patching file lib/afp_url.c + echo 'Patch #3 (afpfs-ng-0.8.1-longoptions.patch):' Patch #3 (afpfs-ng-0.8.1-longoptions.patch): + /usr/bin/patch -p1 patching file cmdline/cmdline_main.c + echo 'Patch #4 (afpfs-ng-c99.patch):' Patch #4 (afpfs-ng-c99.patch): + /usr/bin/patch -p1 patching file cmdline/cmdline_afp.h patching file cmdline/cmdline_main.c patching file fuse/client.c patching file fuse/daemon.c patching file lib/dsi.c patching file lib/lowlevel.c patching file lib/proto_files.c patching file lib/proto_replyblock.c patching file lib/resource.c patching file lib/resource.h patching file lib/server.c + libtoolize libtoolize-default: putting auxiliary files in '.'. libtoolize-default: linking file './ltmain.sh' libtoolize-default: You should add the contents of the following files to 'aclocal.m4': libtoolize-default: '/usr/share/libtool-2.4/aclocal/libtool.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltoptions.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltsugar.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/ltversion.m4' libtoolize-default: '/usr/share/libtool-2.4/aclocal/lt~obsolete.m4' libtoolize-default: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. libtoolize-default: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoreconf configure.ac:8: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:13: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:13: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:13: the top level configure.ac:28: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:28: the top level configure.ac:37: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:37: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:37: the top level + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.28465 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd afpfs-ng-0.8.1 + touch --reference aclocal.m4 configure.ac Makefile.in + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes /usr/src/RPM/BUILD/afpfs-ng-0.8.1/missing: Unknown `--is-lightweight' option Try `/usr/src/RPM/BUILD/afpfs-ng-0.8.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-file... no checking for file... file checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for vfork.h... no checking for sys/select.h... yes checking for sys/socket.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for main in -lncurses... yes checking for readline in -lreadline... yes checking for pthread_create in -lpthread... yes checking for egrep... (cached) /usr/bin/grep -E checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for utime.h... yes checking for iconv.h... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for gcry_cipher_open in -lgcrypt... yes checking for fuse.h... yes checking for fuse_main in -lfuse... yes checking for __gmpz_init in -lgmp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lib/Makefile config.status: creating fuse/Makefile config.status: creating cmdline/Makefile config.status: creating Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 make all-recursive Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c uams_def.c -fPIC -DPIC -o .libs/libafpclient_la-uams_def.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c unicode.c -fPIC -DPIC -o .libs/libafpclient_la-unicode.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c map_def.c -fPIC -DPIC -o .libs/libafpclient_la-map_def.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c users.c -fPIC -DPIC -o .libs/libafpclient_la-users.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c log.c -fPIC -DPIC -o .libs/libafpclient_la-log.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c client.c -fPIC -DPIC -o .libs/libafpclient_la-client.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c loop.c -fPIC -DPIC -o .libs/libafpclient_la-loop.o loop.c: In function 'just_end_it_now': loop.c:90:21: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 90 | if (ending) return; | ^~~~~~ loop.c:88:8: note: declared here 88 | void * just_end_it_now(void * ignore) | ^~~~~~~~~~~~~~~ loop.c: In function 'afp_main_loop': loop.c:268:1: warning: label 'error' defined but not used [-Wunused-label] 268 | error: | ^~~~~ make[2]: *** [Makefile:626: libafpclient_la-loop.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c codepage.c -fPIC -DPIC -o .libs/libafpclient_la-codepage.o codepage.c: In function 'convert_path_to_afp': codepage.c:63:23: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] 63 | unsigned char namelen; | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c did.c -fPIC -DPIC -o .libs/libafpclient_la-did.o did.c: In function 'get_dirid': did.c:174:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 174 | int ret; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c uams.c -fPIC -DPIC -o .libs/libafpclient_la-uams.o uams.c:53:17: error: initialization of 'int (*)(struct afp_server *, char *, char *, char *)' from incompatible pointer type 'int (*)(struct afp_server *, char *, char *)' [-Wincompatible-pointer-types] 53 | &cleartxt_passwd,NULL}; | ^ uams.c:53:17: note: (near initialization for 'uam_cleartxt.do_server_passwd') uams.c: In function 'dhx_login': uams.c:589:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 589 | gcry_mpi_print(GCRYMPI_FMT_USG, d, Ma_len, &len, Ma); | ^ | | | char * In file included from uams.c:18: /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:681:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 681 | gcry_mpi_print(GCRYMPI_FMT_USG, d, nonce_len, &len, new_nonce); | ^ | | | char * /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c: In function 'dhx2_login': uams.c:822:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 822 | gcry_mpi_print(GCRYMPI_FMT_USG, K_binary, bignum_len, &len, K); | ^~~~~~~~ | | | char * /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:864:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 864 | gcry_mpi_print(GCRYMPI_FMT_USG, d, bignum_len, &len, Ma); | ^ | | | char * /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:912:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 912 | gcry_mpi_print(GCRYMPI_FMT_USG, nonce_binary, sizeof(nonce_binary), &len, | ^~~~~~~~~~~~ | | | char * /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:947:41: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] 947 | gcry_mpi_print(GCRYMPI_FMT_USG, d, sizeof(nonce_binary), &len, new_nonce); | ^ | | | char * /usr/include/gcrypt.h:630:45: note: expected 'unsigned char *' but argument is of type 'char *' 630 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ make[2]: *** [Makefile:556: libafpclient_la-uams.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c server.c -fPIC -DPIC -o .libs/libafpclient_la-server.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c utils.c -fPIC -DPIC -o .libs/libafpclient_la-utils.o utils.c: In function 'copy_path': utils.c:156:31: warning: variable 'header_len' set but not used [-Wunused-but-set-variable] 156 | unsigned char offset, header_len, namelen; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c connect.c -fPIC -DPIC -o .libs/libafpclient_la-connect.o make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c afp.c -fPIC -DPIC -o .libs/libafpclient_la-afp.o afp.c: In function 'afp_unmount_volume': afp.c:245:23: warning: variable 'emergency' set but not used [-Wunused-but-set-variable] 245 | unsigned char emergency=0; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c resource.c -fPIC -DPIC -o .libs/libafpclient_la-resource.o resource.c: In function 'appledouble_write': resource.c:215:22: warning: unused variable 'did' [-Wunused-variable] 215 | unsigned int did; | ^~~ resource.c: In function 'appledouble_truncate': resource.c:358:59: warning: pointer targets in passing argument 4 of 'get_dirid' differ in signedness [-Wpointer-sign] 358 | get_dirid(volume,newpath,basename,&dirid); | ^~~~~~ | | | int * In file included from resource.c:9: did.h:9:41: note: expected 'unsigned int *' but argument is of type 'int *' 9 | char * basename, unsigned int * dirid); | ~~~~~~~~~~~~~~~^~~~~ resource.c: In function 'add_fp': resource.c:528:1: warning: no return statement in function returning non-void [-Wreturn-type] 528 | } | ^ resource.c: In function 'appledouble_readdir': resource.c:543:34: warning: unused variable 'newfp' [-Wunused-variable] 543 | *newfp=NULL, *newchain=NULL, *last=NULL; | ^~~~~ resource.c:542:52: warning: unused variable 'prev' [-Wunused-variable] 542 | struct afp_file_info *fp, *prev=NULL, | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c dsi.c -fPIC -DPIC -o .libs/libafpclient_la-dsi.o dsi.c: In function 'dsi_opensession': dsi.c:93:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 93 | dsi_setup_header(server,&dsi_opensession_header.dsi_header,DSI_DSIOpenSession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsi.c: In function 'dsi_find_request': dsi.c:628:33: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 628 | struct dsi_request *p, *prev=NULL; | ^~~~ dsi.c: In function 'dsi_recv': dsi.c:647:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 647 | int rc; | ^~ dsi.c: At top level: dsi.c:104:12: warning: 'check_incoming_dsi_message' defined but not used [-Wunused-function] 104 | static int check_incoming_dsi_message(struct afp_server * server, void * data, int size) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c proto_directory.c -fPIC -DPIC -o .libs/libafpclient_la-proto_directory.o proto_directory.c: In function 'afp_moveandrename': proto_directory.c:61:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 61 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_directory.c: In function 'afp_rename': proto_directory.c:110:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 110 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_directory.c: In function 'afp_createdir': proto_directory.c:155:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 155 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_directory.c: In function 'afp_enumerateext2_reply': proto_directory.c:296:23: error: assignment to 'struct *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 296 | entry = p; | ^ proto_directory.c:269:16: warning: unused variable 'max' [-Wunused-variable] 269 | char *max=buf+size; | ^~~ proto_directory.c: In function 'afp_enumerate': proto_directory.c:350:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 350 | dsi_setup_header(server,&afp_enumerate_request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_directory.c: In function 'afp_enumerateext2': proto_directory.c:410:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 410 | dsi_setup_header(server,&afp_enumerateext2_request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:654: libafpclient_la-proto_directory.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c proto_desktop.c -fPIC -DPIC -o .libs/libafpclient_la-proto_desktop.o proto_desktop.c: In function 'afp_geticon': proto_desktop.c:35:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 35 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_desktop.c: In function 'afp_addcomment': proto_desktop.c:90:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 90 | dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_desktop.c: In function 'afp_getcomment': proto_desktop.c:135:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 135 | dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_desktop.c: In function 'afp_closedt': proto_desktop.c:180:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 180 | dsi_setup_header(server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_desktop.c: In function 'afp_opendt': proto_desktop.c:200:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 200 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c proto_attr.c -fPIC -DPIC -o .libs/libafpclient_la-proto_attr.o proto_attr.c: In function 'afp_newcommand76': proto_attr.c:39:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 39 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_attr.c: In function 'afp_listextattr': proto_attr.c:80:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 80 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_attr.c: In function 'afp_getextattr': proto_attr.c:158:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 158 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_attr.c: In function 'afp_setextattr': proto_attr.c:211:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 211 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c proto_files.c -fPIC -DPIC -o .libs/libafpclient_la-proto_files.o proto_files.c: In function 'afp_setparms_lowlevel': proto_files.c:52:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 52 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_delete': proto_files.c:167:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 167 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_read': proto_files.c:201:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 201 | dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_readext': proto_files.c:250:41: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 250 | dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_getfiledirparms': proto_files.c:340:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 340 | dsi_setup_header(server,&getfiledirparms->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_createfile': proto_files.c:379:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 379 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_write': proto_files.c:421:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 421 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_writeext': proto_files.c:480:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 480 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -c midlevel.c -fPIC -DPIC -o .libs/libafpclient_la-midlevel.o midlevel.c: In function 'set_unixprivs': midlevel.c:81:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 81 | if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX) | ^~~~~~~~~~~~~~~~~ midlevel.c: In function 'ml_open': midlevel.c:223:23: warning: unused variable 'aflags' [-Wunused-variable] 223 | unsigned char aflags = AFP_OPENFORK_ALLOWREAD; | ^~~~~~ midlevel.c:220:14: warning: unused variable 'resource' [-Wunused-variable] 220 | char resource=0; | ^~~~~~~~ midlevel.c:219:13: warning: unused variable 'create_file' [-Wunused-variable] 219 | int create_file=0; | ^~~~~~~~~~~ midlevel.c:218:26: warning: unused variable 'rc' [-Wunused-variable] 218 | int ret, dsi_ret,rc; | ^~ midlevel.c:218:18: warning: unused variable 'dsi_ret' [-Wunused-variable] 218 | int ret, dsi_ret,rc; | ^~~~~~~ midlevel.c: In function 'ml_creat': midlevel.c:271:14: warning: unused variable 'resource' [-Wunused-variable] 271 | char resource; | ^~~~~~~~ midlevel.c: In function 'ml_read': midlevel.c:402:30: warning: unused variable 'buffer' [-Wunused-variable] 402 | struct afp_rx_buffer buffer; | ^~~~~~ midlevel.c:400:22: warning: unused variable 'bufsize' [-Wunused-variable] 400 | unsigned int bufsize=min(volume->server->rx_quantum,size); | ^~~~~~~ midlevel.c:399:13: warning: unused variable 'rc' [-Wunused-variable] 399 | int rc; | ^~ midlevel.c:397:13: warning: unused variable 'totalsize' [-Wunused-variable] 397 | int totalsize=0; | ^~~~~~~~~ midlevel.c:396:13: warning: unused variable 'bytesleft' [-Wunused-variable] 396 | int bytesleft=size; | ^~~~~~~~~ midlevel.c: In function 'ml_write': midlevel.c:720:15: warning: unused variable 'o' [-Wunused-variable] 720 | off_t o=0; | ^ midlevel.c:719:22: warning: unused variable 'max_packet_size' [-Wunused-variable] 719 | unsigned int max_packet_size=volume->server->tx_quantum; | ^~~~~~~~~~~~~~~ midlevel.c:717:31: warning: unused variable 'ignored' [-Wunused-variable] 717 | uint64_t sizetowrite, ignored; | ^~~~~~~ midlevel.c:717:18: warning: unused variable 'sizetowrite' [-Wunused-variable] 717 | uint64_t sizetowrite, ignored; | ^~~~~~~~~~~ midlevel.c:715:17: warning: unused variable 'err' [-Wunused-variable] 715 | int ret,err=0; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' make[1]: *** [Makefile:397: all-recursive] Error 1 make: *** [Makefile:329: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.28465 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.28465 (%build) Command exited with non-zero status 1 4.65user 4.11system 0:07.02elapsed 124%CPU (0avgtext+0avgdata 26624maxresident)k 0inputs+0outputs (0major+904474minor)pagefaults 0swaps hsh-rebuild: rebuild of `afpfs-ng-0.8.1-alt3_41.src.rpm' failed. Command exited with non-zero status 1 3.70user 2.76system 0:17.02elapsed 38%CPU (0avgtext+0avgdata 135832maxresident)k 88inputs+0outputs (0major+188428minor)pagefaults 0swaps