<86>Nov 9 07:31:08 userdel[2293876]: delete user 'rooter' <86>Nov 9 07:31:08 userdel[2293876]: removed group 'rooter' owned by 'rooter' <86>Nov 9 07:31:08 userdel[2293876]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 07:31:08 groupadd[2293901]: group added to /etc/group: name=rooter, GID=1877 <86>Nov 9 07:31:08 groupadd[2293901]: group added to /etc/gshadow: name=rooter <86>Nov 9 07:31:08 groupadd[2293901]: new group: name=rooter, GID=1877 <86>Nov 9 07:31:08 useradd[2293921]: new user: name=rooter, UID=1877, GID=1877, home=/root, shell=/bin/bash, from=none <86>Nov 9 07:31:08 userdel[2293962]: delete user 'builder' <86>Nov 9 07:31:08 userdel[2293962]: removed group 'builder' owned by 'builder' <86>Nov 9 07:31:08 userdel[2293962]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 07:31:08 groupadd[2293982]: group added to /etc/group: name=builder, GID=1878 <86>Nov 9 07:31:08 groupadd[2293982]: group added to /etc/gshadow: name=builder <86>Nov 9 07:31:08 groupadd[2293982]: new group: name=builder, GID=1878 <86>Nov 9 07:31:08 useradd[2294000]: new user: name=builder, UID=1878, GID=1878, 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>Nov 9 07:31:11 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:31:11 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:31:11 rpmi: libgmpxx4-6.3.0-alt1 sisyphus+328118.100.2.1 1693294140 installed <13>Nov 9 07:31:11 rpmi: libgmp-devel-6.3.0-alt1 sisyphus+328118.100.2.1 1693294140 installed <13>Nov 9 07:31:11 rpmi: libgpg-error-devel-1.47-alt1 sisyphus+327218.100.1.1 1692093769 installed <13>Nov 9 07:31:11 rpmi: libfuse-2.9.9-alt4 sisyphus+346205.200.2.1 1716361260 installed <13>Nov 9 07:31:11 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Nov 9 07:31:11 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 07:31:12 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 07:31:12 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Nov 9 07:31:12 rpmi: libfuse-devel-2.9.9-alt4 sisyphus+346205.200.2.1 1716361260 installed <13>Nov 9 07:31:12 rpmi: libgcrypt-devel-1.10.2-alt2 sisyphus+330867.100.1.1 1696329261 installed <13>Nov 9 07:31:12 rpmi: libgmpxx-devel-6.3.0-alt1 sisyphus+328118.100.2.1 1693294140 installed <13>Nov 9 07:31:12 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Nov 9 07:31:12 rpmi: libreadline-devel-8.2.10-alt1 sisyphus+338911.100.4.1 1706717069 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99507 + 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.90020 + 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 -march=i586 -mtune=generic -fcommon' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking build system type... i586-alt-linux-gnu checking host system type... i586-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 i586-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-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 i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-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 i586-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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... i586-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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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_getstatus_reply': dsi.c:484:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | if (((uint64_t) p) & 0x1) p++; | ^ 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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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:100:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 100 | if (((uint64_t) p) & 0x1) { | ^ 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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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:49:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | if (((uint64_t) p) & 0x1) p++; /* Make sure we're on an even boundary */ | ^ 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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -c -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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.90020 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.90020 (%build) Command exited with non-zero status 1 5.28user 4.35system 0:07.81elapsed 123%CPU (0avgtext+0avgdata 22528maxresident)k 0inputs+0outputs (0major+914459minor)pagefaults 0swaps hsh-rebuild: rebuild of `afpfs-ng-0.8.1-alt3_41.src.rpm' failed. Command exited with non-zero status 1 3.14user 2.66system 0:17.34elapsed 33%CPU (0avgtext+0avgdata 132436maxresident)k 432inputs+0outputs (0major+199976minor)pagefaults 0swaps