<86>Dec 4 17:08:32 userdel[2174869]: delete user 'rooter' <86>Dec 4 17:08:32 userdel[2174869]: removed group 'rooter' owned by 'rooter' <86>Dec 4 17:08:32 groupadd[2174887]: group added to /etc/group: name=rooter, GID=705 <86>Dec 4 17:08:32 groupadd[2174887]: group added to /etc/gshadow: name=rooter <86>Dec 4 17:08:32 groupadd[2174887]: new group: name=rooter, GID=705 <86>Dec 4 17:08:32 useradd[2174902]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Dec 4 17:08:32 userdel[2174931]: delete user 'builder' <86>Dec 4 17:08:32 userdel[2174931]: removed group 'builder' owned by 'builder' <86>Dec 4 17:08:32 userdel[2174931]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 17:08:32 groupadd[2174968]: group added to /etc/group: name=builder, GID=706 <86>Dec 4 17:08:32 groupadd[2174968]: group added to /etc/gshadow: name=builder <86>Dec 4 17:08:32 groupadd[2174968]: new group: name=builder, GID=706 <86>Dec 4 17:08:32 useradd[2174997]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/afpfs-ng-0.8.1-alt3_25.src.rpm: license not found in '/usr/share/license' directory: GPL+ warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Dec 4 17:08:35 rpmi: udev-rules-1:247-alt1 sisyphus+262610.100.3.1 1606868507 installed <13>Dec 4 17:08:35 rpmi: mount-2.35.2-alt2 sisyphus+253892.100.2.1 1592922983 installed <13>Dec 4 17:08:35 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 17:08:35 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 17:08:35 rpmi: msulogin-1.0-alt1 1366288515 installed <13>Dec 4 17:08:35 rpmi: sysvinit-2.88-alt6 sisyphus+240403.100.2.1 1573520141 installed <13>Dec 4 17:08:35 rpmi: libgpg-error-devel-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 17:08:35 rpmi: libtinfo-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 17:08:35 rpmi: libgmpxx4-6.2.1-alt1 sisyphus+262764.100.1.1 1606839270 installed <13>Dec 4 17:08:35 rpmi: libgmp-devel-6.2.1-alt1 sisyphus+262764.100.1.1 1606839270 installed <13>Dec 4 17:08:35 rpmi: gcc-c++-common-1.4.26-alt1 icarus+262780.400.2.1 1606887104 installed <13>Dec 4 17:08:36 rpmi: libstdc++10-devel-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 17:08:36 rpmi: gcc10-c++-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 17:08:36 rpmi: libdevmapper-1.02.173-alt1 sisyphus+259861.100.1.1 1602624837 installed <13>Dec 4 17:08:37 rpmi: udev-hwdb-1:247-alt1 sisyphus+262610.100.3.1 1606868507 installed <13>Dec 4 17:08:37 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Dec 4 17:08:37 rpmi: libiptables-1.8.6-alt1 sisyphus+262268.100.1.1 1606080661 installed <13>Dec 4 17:08:37 rpmi: hwclock-1:2.35.2-alt2 sisyphus+253892.100.2.1 1592922983 installed <13>Dec 4 17:08:37 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Dec 4 17:08:37 rpmi: losetup-2.35.2-alt2 sisyphus+253892.100.2.1 1592922983 installed <13>Dec 4 17:08:37 rpmi: lsblk-2.35.2-alt2 sisyphus+253892.100.2.1 1592922983 installed <13>Dec 4 17:08:37 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:08:37 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 17:08:37 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:08:37 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:08:37 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 17:08:37 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 17:08:37 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:08:37 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:08:37 rpmi: libkmod-27.0.9.f5434cf-alt1 sisyphus+253982.100.1.1 1593076962 installed <13>Dec 4 17:08:37 rpmi: startup-0.9.9.9-alt1 sisyphus+242122.100.1.1 1575282386 installed <13>Dec 4 17:08:37 rpmi: systemd-utils-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <13>Dec 4 17:08:37 rpmi: kmod-27.0.9.f5434cf-alt1 sisyphus+253982.100.1.1 1593076962 installed <13>Dec 4 17:08:37 rpmi: dmsetup-1.02.173-alt1 sisyphus+259861.100.1.1 1602624837 installed <86>Dec 4 17:08:37 groupadd[2193593]: group added to /etc/group: name=tape, GID=499 <86>Dec 4 17:08:37 groupadd[2193593]: group added to /etc/gshadow: name=tape <86>Dec 4 17:08:37 groupadd[2193593]: new group: name=tape, GID=499 <86>Dec 4 17:08:37 groupadd[2193615]: group added to /etc/group: name=dialout, GID=498 <86>Dec 4 17:08:37 groupadd[2193615]: new group: name=dialout, GID=498 <86>Dec 4 17:08:37 groupadd[2193661]: group added to /etc/group: name=input, GID=497 <86>Dec 4 17:08:37 groupadd[2193661]: group added to /etc/gshadow: name=input <86>Dec 4 17:08:37 groupadd[2193661]: new group: name=input, GID=497 <86>Dec 4 17:08:37 groupadd[2193689]: group added to /etc/group: name=video, GID=496 <86>Dec 4 17:08:37 groupadd[2193689]: group added to /etc/gshadow: name=video <86>Dec 4 17:08:37 groupadd[2193689]: new group: name=video, GID=496 <86>Dec 4 17:08:37 groupadd[2193726]: group added to /etc/group: name=render, GID=495 <86>Dec 4 17:08:37 groupadd[2193726]: group added to /etc/gshadow: name=render <86>Dec 4 17:08:37 groupadd[2193726]: new group: name=render, GID=495 <13>Dec 4 17:08:37 rpmi: udev-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <86>Dec 4 17:08:37 groupadd[2194398]: group added to /etc/group: name=fuse, GID=494 <86>Dec 4 17:08:37 groupadd[2194398]: group added to /etc/gshadow: name=fuse <86>Dec 4 17:08:37 groupadd[2194398]: new group: name=fuse, GID=494 <86>Dec 4 17:08:37 groupadd[2194453]: group added to /etc/group: name=cuse, GID=493 <86>Dec 4 17:08:37 groupadd[2194453]: group added to /etc/gshadow: name=cuse <86>Dec 4 17:08:37 groupadd[2194453]: new group: name=cuse, GID=493 <13>Dec 4 17:08:37 rpmi: fuse-common-1.1.0-alt2 sisyphus+257363.100.1.1 1599165446 installed <13>Dec 4 17:08:37 rpmi: fuse-2.9.9-alt1 sisyphus+225075.300.1.1 1552666433 installed Failed to scan devices: No such file or directory warning: %post(fuse-2.9.9-alt1.i586) scriptlet failed, exit status 1 <13>Dec 4 17:08:37 rpmi: libfuse-2.9.9-alt1 sisyphus+225075.300.1.1 1552666433 installed <13>Dec 4 17:08:37 rpmi: libfuse-devel-2.9.9-alt1 sisyphus+225075.300.1.1 1552666433 installed <13>Dec 4 17:08:37 rpmi: gcc-c++-10-alt1 icarus+262780.300.2.1 1606888886 installed <13>Dec 4 17:08:37 rpmi: libgmpxx-devel-6.2.1-alt1 sisyphus+262764.100.1.1 1606839270 installed <13>Dec 4 17:08:37 rpmi: libncurses-devel-6.2.20201107-alt1 sisyphus+261749.100.1.1 1605292929 installed <13>Dec 4 17:08:37 rpmi: libgcrypt-devel-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 17:08:37 rpmi: gcrypt-utils-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 17:08:37 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686330 installed <13>Dec 4 17:08:37 rpmi: chrpath-0.16-alt1 1453066316 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/afpfs-ng-0.8.1-alt3_25.nosrc.rpm Installing afpfs-ng-0.8.1-alt3_25.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.61777 + 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): + /bin/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/afpfs-ng-0.8.1.tar.bz2 + 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 -b --suffix .overflows 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 -b --suffix .pointer 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 -b --suffix .formatsec 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 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.18808 + 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 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./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 --without-included-gettext --disable-static checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for a BSD-compatible install... /bin/install -c checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... (cached) pass_all checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for i586-alt-linux-g77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-cf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-pghpf... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-gfortran... no checking for i586-alt-linux-g95... no checking for i586-alt-linux-xlf95... no checking for i586-alt-linux-f95... no checking for i586-alt-linux-fort... no checking for i586-alt-linux-ifort... no checking for i586-alt-linux-ifc... no checking for i586-alt-linux-efc... no checking for i586-alt-linux-pgf95... no checking for i586-alt-linux-lf95... no checking for i586-alt-linux-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC 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 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC checking if i586-alt-linux-g++ PIC flag -fPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for main in -lncurses... yes checking for readline in -lreadline... yes checking for pthread_create in -lpthread... yes checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking stddef.h usability... yes checking stddef.h presence... 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 sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for an ANSI C-conforming const... yes 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 whether time.h and sys/time.h may both be included... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) 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 fuse.h usability... yes checking fuse.h presence... yes checking for fuse.h... yes checking for fuse_main in -lfuse... yes checking for __gmpz_init in -lgmp... yes 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 + make -j8 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c mkdir .libs i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c codepage.c -fPIC -DPIC -o .libs/libafpclient_la-codepage.o codepage.c: In function 'convert_path_to_afp': codepage.c:63:16: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c did.c -fPIC -DPIC -o .libs/libafpclient_la-did.o did.c: In function 'get_dirid': did.c:174:6: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c afp.c -fPIC -DPIC -o .libs/libafpclient_la-afp.o afp.c: In function 'afp_unmount_volume': afp.c:245:16: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c dsi.c -fPIC -DPIC -o .libs/libafpclient_la-dsi.o dsi.c: In function 'dsi_opensession': dsi.c:92:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 92 | dsi_setup_header(server,&dsi_opensession_header.dsi_header,DSI_DSIOpenSession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsi.c: In function 'dsi_getstatus_reply': dsi.c:483:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 483 | if (((uint64_t) p) & 0x1) p++; | ^ dsi.c:527:3: warning: implicit declaration of function 'convert_utf8dec_to_utf8pre' [-Wimplicit-function-declaration] 527 | convert_utf8dec_to_utf8pre(server->server_name_utf8, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dsi.c: In function 'dsi_find_request': dsi.c:627:26: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 627 | struct dsi_request *p, *prev=NULL; | ^~~~ dsi.c: In function 'dsi_recv': dsi.c:646:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 646 | int rc; | ^~ At top level: dsi.c:103:12: warning: 'check_incoming_dsi_message' defined but not used [-Wunused-function] 103 | 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c uams.c -fPIC -DPIC -o .libs/libafpclient_la-uams.o uams.c:53:3: warning: 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:3: note: (near initialization for 'uam_cleartxt.do_server_passwd') uams.c: In function 'dhx_login': uams.c:589:34: 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:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:681:34: 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 * In file included from uams.c:18: /usr/include/gcrypt.h:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c: In function 'dhx2_login': uams.c:822:34: 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 * In file included from uams.c:18: /usr/include/gcrypt.h:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:864:34: 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 * In file included from uams.c:18: /usr/include/gcrypt.h:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:912:34: 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 * In file included from uams.c:18: /usr/include/gcrypt.h:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ uams.c:947:34: 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 * In file included from uams.c:18: /usr/include/gcrypt.h:626:45: note: expected 'unsigned char *' but argument is of type 'char *' 626 | unsigned char *buffer, size_t buflen, | ~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/string.h:508, from uams.c:9: In function 'strncpy', inlined from 'dhx2_login' at uams.c:954:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dhx_login' at uams.c:688:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'randnum2_login' at uams.c:428:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'randnum_login' at uams.c:316:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c server.c -fPIC -DPIC -o .libs/libafpclient_la-server.o server.c: In function 'afp_server_complete_connection': server.c:75:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] 75 | gettimeofday(&tv,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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c utils.c -fPIC -DPIC -o .libs/libafpclient_la-utils.o utils.c: In function 'copy_path': utils.c:156:24: warning: variable 'header_len' set but not used [-Wunused-but-set-variable] 156 | unsigned char offset, header_len, namelen; | ^~~~~~~~~~ utils.c: In function 'unixpath_to_afppath': utils.c:61:7: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] 61 | end=p+len; | ~^~~~ 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c resource.c -fPIC -DPIC -o .libs/libafpclient_la-resource.o resource.c: In function 'appledouble_write': resource.c:214:15: warning: unused variable 'did' [-Wunused-variable] 214 | unsigned int did; | ^~~ resource.c: In function 'appledouble_truncate': resource.c:357:38: warning: pointer targets in passing argument 4 of 'get_dirid' differ in signedness [-Wpointer-sign] 357 | 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:365:5: warning: implicit declaration of function 'remove_opened_fork' [-Wimplicit-function-declaration] 365 | remove_opened_fork(volume,fp); | ^~~~~~~~~~~~~~~~~~ resource.c: In function 'add_fp': resource.c:527:1: warning: no return statement in function returning non-void [-Wreturn-type] 527 | } | ^ resource.c: In function 'appledouble_readdir': resource.c:542:6: warning: unused variable 'newfp' [-Wunused-variable] 542 | *newfp=NULL, *newchain=NULL, *last=NULL; | ^~~~~ resource.c:541:31: warning: unused variable 'prev' [-Wunused-variable] 541 | struct afp_file_info *fp, *prev=NULL, | ^~~~ resource.c: In function 'appledouble_read': resource.c:331:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] 331 | return 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c loop.c -fPIC -DPIC -o .libs/libafpclient_la-loop.o loop.c: In function 'just_end_it_now': loop.c:90:14: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 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]: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_directory.c -fPIC -DPIC -o .libs/libafpclient_la-proto_directory.o proto_directory.c: In function 'afp_moveandrename': proto_directory.c:61:26: 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:26: 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:26: 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:9: warning: assignment to 'struct *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 296 | entry = p; | ^ proto_directory.c:269:9: warning: unused variable 'max' [-Wunused-variable] 269 | char *max=buf+size; | ^~~ proto_directory.c: In function 'afp_enumerate': proto_directory.c:350:26: 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:26: 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]: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_desktop.c -fPIC -DPIC -o .libs/libafpclient_la-proto_desktop.o proto_desktop.c: In function 'afp_geticon': proto_desktop.c:35:34: 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:34: 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:34: 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:26: 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:34: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_files.c -fPIC -DPIC -o .libs/libafpclient_la-proto_files.o proto_files.c: In function 'afp_setparms_lowlevel': proto_files.c:48:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 48 | if (((uint64_t) p) & 0x1) p++; /* Make sure we're on an even boundary */ | ^ proto_files.c:51:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 51 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_delete': proto_files.c:166:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 166 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_read': proto_files.c:200:34: 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,&readext_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_readext': proto_files.c:249:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 249 | dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_getfiledirparms_reply': proto_files.c:299:2: warning: implicit declaration of function 'parse_reply_block' [-Wimplicit-function-declaration] 299 | parse_reply_block(server, | ^~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_getfiledirparms': proto_files.c:339:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 339 | dsi_setup_header(server,&getfiledirparms->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_createfile': proto_files.c:378:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 378 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_write': proto_files.c:420:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 420 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_files.c: In function 'afp_writeext': proto_files.c:479:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 479 | 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_attr.c -fPIC -DPIC -o .libs/libafpclient_la-proto_attr.o proto_attr.c: In function 'afp_newcommand76': proto_attr.c:39:26: 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:26: 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:26: 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:26: 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_login.lo `test -f 'proto_login.c' || echo './'`proto_login.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_login.c -fPIC -DPIC -o .libs/libafpclient_la-proto_login.o proto_login.c: In function 'afp_logout': proto_login.c:27:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 27 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~ proto_login.c: In function 'afp_changepassword': proto_login.c:75:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 75 | dsi_setup_header(server,&request->header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~ proto_login.c: In function 'afp_login': proto_login.c:130:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 130 | dsi_setup_header(server,&request->header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~ proto_login.c: In function 'afp_logincont': proto_login.c:169:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 169 | dsi_setup_header(server, &request->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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_fork.lo `test -f 'proto_fork.c' || echo './'`proto_fork.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_fork.c -fPIC -DPIC -o .libs/libafpclient_la-proto_fork.o proto_fork.c: In function 'afp_setforkparms': proto_fork.c:45:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 45 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_closefork': proto_fork.c:74:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 74 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_flushfork': proto_fork.c:94:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 94 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_openfork_reply': proto_fork.c:114:31: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 114 | struct dsi_header * header = &afp_openfork_reply_packet->header; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_openfork': proto_fork.c:160:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 160 | dsi_setup_header(server,&afp_openfork_request->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_byterangelock': proto_fork.c:194:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~ proto_fork.c: In function 'afp_byterangelockext': proto_fork.c:237:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 237 | dsi_setup_header(volume->server,&request.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c midlevel.c -fPIC -DPIC -o .libs/libafpclient_la-midlevel.o midlevel.c: In function 'set_unixprivs': midlevel.c:81:6: 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:16: warning: unused variable 'aflags' [-Wunused-variable] 223 | unsigned char aflags = AFP_OPENFORK_ALLOWREAD; | ^~~~~~ midlevel.c:220:7: warning: unused variable 'resource' [-Wunused-variable] 220 | char resource=0; | ^~~~~~~~ midlevel.c:219:6: warning: unused variable 'create_file' [-Wunused-variable] 219 | int create_file=0; | ^~~~~~~~~~~ midlevel.c:218:19: warning: unused variable 'rc' [-Wunused-variable] 218 | int ret, dsi_ret,rc; | ^~ midlevel.c:218:11: warning: unused variable 'dsi_ret' [-Wunused-variable] 218 | int ret, dsi_ret,rc; | ^~~~~~~ midlevel.c: In function 'ml_creat': midlevel.c:271:7: warning: unused variable 'resource' [-Wunused-variable] 271 | char resource; | ^~~~~~~~ midlevel.c: In function 'ml_read': midlevel.c:402:23: warning: unused variable 'buffer' [-Wunused-variable] 402 | struct afp_rx_buffer buffer; | ^~~~~~ midlevel.c:400:15: warning: unused variable 'bufsize' [-Wunused-variable] 400 | unsigned int bufsize=min(volume->server->rx_quantum,size); | ^~~~~~~ midlevel.c:399:6: warning: unused variable 'rc' [-Wunused-variable] 399 | int rc; | ^~ midlevel.c:397:6: warning: unused variable 'totalsize' [-Wunused-variable] 397 | int totalsize=0; | ^~~~~~~~~ midlevel.c:396:6: warning: unused variable 'bytesleft' [-Wunused-variable] 396 | int bytesleft=size; | ^~~~~~~~~ midlevel.c: In function 'ml_write': midlevel.c:735:6: warning: implicit declaration of function 'appledouble_write'; did you mean 'appledouble_utime'? [-Wimplicit-function-declaration] 735 | ret=appledouble_write(volume,fp,data,size,offset,&totalwritten); | ^~~~~~~~~~~~~~~~~ | appledouble_utime midlevel.c:720:8: warning: unused variable 'o' [-Wunused-variable] 720 | off_t o=0; | ^ midlevel.c:719:15: warning: unused variable 'max_packet_size' [-Wunused-variable] 719 | unsigned int max_packet_size=volume->server->tx_quantum; | ^~~~~~~~~~~~~~~ midlevel.c:717:24: warning: unused variable 'ignored' [-Wunused-variable] 717 | uint64_t sizetowrite, ignored; | ^~~~~~~ midlevel.c:717:11: warning: unused variable 'sizetowrite' [-Wunused-variable] 717 | uint64_t sizetowrite, ignored; | ^~~~~~~~~~~ midlevel.c:715:10: 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[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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_map.lo `test -f 'proto_map.c' || echo './'`proto_map.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_map.c -fPIC -DPIC -o .libs/libafpclient_la-proto_map.o proto_map.c: In function 'afp_getuserinfo': proto_map.c:38:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 38 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~ proto_map.c: In function 'afp_mapid': proto_map.c:103:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 103 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~ proto_map.c: In function 'afp_mapname': proto_map.c:154:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 154 | dsi_setup_header(server,&request->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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_volume.lo `test -f 'proto_volume.c' || echo './'`proto_volume.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_volume.c -fPIC -DPIC -o .libs/libafpclient_la-proto_volume.o proto_volume.c: In function 'parse_volbitmap_reply': proto_volume.c:24:17: warning: variable 'name_offset' set but not used [-Wunused-but-set-variable] 24 | unsigned short name_offset = 0; | ^~~~~~~~~~~ proto_volume.c: In function 'afp_volclose': proto_volume.c:102:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~ proto_volume.c: In function 'afp_volopen': proto_volume.c:170:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 170 | dsi_setup_header(volume->server,&afp_volopen_request->dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_volume.c: In function 'afp_flush': proto_volume.c:235:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 235 | dsi_setup_header(volume->server,&afp_flush_request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_volume.c: In function 'afp_getvolparms': proto_volume.c:257:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 257 | dsi_setup_header(volume->server,&afp_getvolparms_request.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_server.lo `test -f 'proto_server.c' || echo './'`proto_server.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_server.c -fPIC -DPIC -o .libs/libafpclient_la-proto_server.o proto_server.c: In function 'afp_getsrvrparms': proto_server.c:25:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 25 | dsi_setup_header(server,&afp_getsrvrparms_request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_server.c: In function 'afp_getsrvrmsg': proto_server.c:128:26: warning: taking address of packed member of 'struct afp_getsrvrmsg_request_packet' may result in an unaligned pointer value [-Waddress-of-packed-member] 128 | dsi_setup_header(server,&afp_getsrvrmsg_request.dsi_header,DSI_DSICommand); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proto_server.c: In function 'afp_zzzzz': proto_server.c:151:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 151 | dsi_setup_header(server,&request.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_replyblock.lo `test -f 'proto_replyblock.c' || echo './'`proto_replyblock.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_replyblock.c -fPIC -DPIC -o .libs/libafpclient_la-proto_replyblock.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-debug.lo `test -f 'debug.c' || echo './'`debug.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c debug.c -fPIC -DPIC -o .libs/libafpclient_la-debug.o debug.c: In function 'afp_get_command_name': debug.c:62:33: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | return afp_command_names[code]; | ^ 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-proto_session.lo `test -f 'proto_session.c' || echo './'`proto_session.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c proto_session.c -fPIC -DPIC -o .libs/libafpclient_la-proto_session.o proto_session.c: In function 'afp_getsessiontoken': proto_session.c:70:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 70 | dsi_setup_header(server, &request->header, DSI_DSICommand); | ^~~~~~~~~~~~~~~~ proto_session.c: In function 'afp_disconnectoldsession': proto_session.c:136:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 136 | dsi_setup_header(server, &request->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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-forklist.lo `test -f 'forklist.c' || echo './'`forklist.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c forklist.c -fPIC -DPIC -o .libs/libafpclient_la-forklist.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-afp_url.lo `test -f 'afp_url.c' || echo './'`afp_url.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c afp_url.c -fPIC -DPIC -o .libs/libafpclient_la-afp_url.o afp_url.c: In function 'afp_parse_url': afp_url.c:287:39: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 127 [-Wformat-truncation=] 274 | p=firstpart; | ~~~~~~~~~ ...... 287 | snprintf(url->username,strlen(p)+1,"%s",p); | ^~ In file included from /usr/include/stdio.h:867, from afp_url.c:3: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 255 bytes into a destination of size 127 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ afp_url.c:307:40: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 33 [-Wformat-truncation=] 302 | p=secondpart; | ~~~~~~~~~~ ...... 307 | snprintf(url->volumename,strlen(p)+1,"%s",p); | ^~ In file included from /usr/include/stdio.h:867, from afp_url.c:3: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2048 bytes into a destination of size 33 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ afp_url.c:307:40: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 33 [-Wformat-truncation=] 302 | p=secondpart; | ~~~~~~~~~~ ...... 307 | snprintf(url->volumename,strlen(p)+1,"%s",p); | ^~ In file included from /usr/include/stdio.h:867, from afp_url.c:3: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2048 bytes into a destination of size 33 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-status.lo `test -f 'status.c' || echo './'`status.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c status.c -fPIC -DPIC -o .libs/libafpclient_la-status.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 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o libafpclient_la-lowlevel.lo `test -f 'lowlevel.c' || echo './'`lowlevel.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c lowlevel.c -fPIC -DPIC -o .libs/libafpclient_la-lowlevel.o lowlevel.c: In function 'll_open': lowlevel.c:214:11: warning: overflow in conversion from 'int' to 'char' changes value from 'flags & 1069056' to '0' [-Woverflow] 214 | fp->sync=(flags & (O_SYNC | O_DIRECT)); | ^ lowlevel.c:280:5: warning: implicit declaration of function 'ml_creat' [-Wimplicit-function-declaration] 280 | (ml_creat(volume,path,0644)==0)) { | ^~~~~~~~ lowlevel.c:314:2: warning: implicit declaration of function 'add_opened_fork'; did you mean 'afp_openfork'? [-Wimplicit-function-declaration] 314 | add_opened_fork(volume, fp); | ^~~~~~~~~~~~~~~ | afp_openfork lowlevel.c:325:1: warning: label 'out' defined but not used [-Wunused-label] 325 | out: | ^~~ lowlevel.c:186:7: warning: unused variable 'converted_path' [-Wunused-variable] 186 | char converted_path[AFP_MAX_PATH]; | ^~~~~~~~~~~~~~ lowlevel.c:184:19: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 184 | int ret, dsi_ret,rc; | ^~ lowlevel.c: In function 'll_read': lowlevel.c:343:9: warning: unused variable 'amount_copied' [-Wunused-variable] 343 | size_t amount_copied; | ^~~~~~~~~~~~~ lowlevel.c: In function 'll_readdir': lowlevel.c:499:22: warning: taking address of packed member of 'struct afp_unixprivs' may result in an unaligned pointer value [-Waddress-of-packed-member] 499 | set_nonunix_perms(&p->unixprivs.permissions, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~ lowlevel.c: In function 'll_write': lowlevel.c:636:16: warning: unused variable 'flags' [-Wunused-variable] 636 | unsigned char flags = 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=link i586-alt-linux-gcc -D_FILE_OFFSET_BITS=64 -I../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o libafpclient.la -rpath /usr/lib libafpclient_la-afp.lo libafpclient_la-codepage.lo libafpclient_la-did.lo libafpclient_la-dsi.lo libafpclient_la-map_def.lo libafpclient_la-uams.lo libafpclient_la-uams_def.lo libafpclient_la-unicode.lo libafpclient_la-users.lo libafpclient_la-utils.lo libafpclient_la-resource.lo libafpclient_la-log.lo libafpclient_la-client.lo libafpclient_la-server.lo libafpclient_la-connect.lo libafpclient_la-loop.lo libafpclient_la-midlevel.lo libafpclient_la-proto_attr.lo libafpclient_la-proto_desktop.lo libafpclient_la-proto_directory.lo libafpclient_la-proto_files.lo libafpclient_la-proto_fork.lo libafpclient_la-proto_login.lo libafpclient_la-proto_map.lo libafpclient_la-proto_replyblock.lo libafpclient_la-proto_server.lo libafpclient_la-proto_volume.lo libafpclient_la-proto_session.lo libafpclient_la-afp_url.lo libafpclient_la-status.lo libafpclient_la-forklist.lo libafpclient_la-debug.lo libafpclient_la-lowlevel.lo -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses i586-alt-linux-gcc -shared .libs/libafpclient_la-afp.o .libs/libafpclient_la-codepage.o .libs/libafpclient_la-did.o .libs/libafpclient_la-dsi.o .libs/libafpclient_la-map_def.o .libs/libafpclient_la-uams.o .libs/libafpclient_la-uams_def.o .libs/libafpclient_la-unicode.o .libs/libafpclient_la-users.o .libs/libafpclient_la-utils.o .libs/libafpclient_la-resource.o .libs/libafpclient_la-log.o .libs/libafpclient_la-client.o .libs/libafpclient_la-server.o .libs/libafpclient_la-connect.o .libs/libafpclient_la-loop.o .libs/libafpclient_la-midlevel.o .libs/libafpclient_la-proto_attr.o .libs/libafpclient_la-proto_desktop.o .libs/libafpclient_la-proto_directory.o .libs/libafpclient_la-proto_files.o .libs/libafpclient_la-proto_fork.o .libs/libafpclient_la-proto_login.o .libs/libafpclient_la-proto_map.o .libs/libafpclient_la-proto_replyblock.o .libs/libafpclient_la-proto_server.o .libs/libafpclient_la-proto_volume.o .libs/libafpclient_la-proto_session.o .libs/libafpclient_la-afp_url.o .libs/libafpclient_la-status.o .libs/libafpclient_la-forklist.o .libs/libafpclient_la-debug.o .libs/libafpclient_la-lowlevel.o -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses -march=i586 -mtune=generic -march=i586 -mtune=generic -Wl,-soname -Wl,libafpclient.so.0 -o .libs/libafpclient.so.0.0.0 (cd .libs && rm -f libafpclient.so.0 && ln -s libafpclient.so.0.0.0 libafpclient.so.0) (cd .libs && rm -f libafpclient.so && ln -s libafpclient.so.0.0.0 libafpclient.so) creating libafpclient.la (cd .libs && rm -f libafpclient.la && ln -s ../libafpclient.la libafpclient.la) make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/lib' Making all in fuse make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpfsd-fuse_error.o `test -f 'fuse_error.c' || echo './'`fuse_error.c fuse_error.c: In function 'fuse_capture_stderr_start': fuse_error.c:44:2: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | freopen(TMP_FILE, "a", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpfsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c daemon.c: In function 'fuse_unmount_volume': daemon.c:70:3: warning: implicit declaration of function 'fuse_exit' [-Wimplicit-function-declaration] 70 | fuse_exit((struct fuse *)volume->priv); | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpfsd-fuse_int.o `test -f 'fuse_int.c' || echo './'`fuse_int.c fuse_int.c: In function 'fuse_release': fuse_int.c:166:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 166 | struct afp_file_info * fp = (void *) fi->fh; | ^ fuse_int.c:180:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | free((void *) fi->fh); | ^ fuse_int.c: In function 'fuse_write': fuse_int.c:211:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 211 | struct afp_file_info *fp = (struct afp_file_info *) fi->fh; | ^ fuse_int.c: In function 'fuse_read': fuse_int.c:256:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 256 | fp=(void *) fi->fh; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpfsd-commands.o `test -f 'commands.c' || echo './'`commands.c commands.c: In function 'process_mount': commands.c:479:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 479 | int ret; | ^~~ commands.c: In function 'start_fuse_thread': commands.c:202:40: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=] 202 | snprintf(mountstring,mountstring_len,"%s:%s", | ^~ In file included from /usr/include/stdio.h:867, from commands.c:8: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 288 bytes into a destination of size 68 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mount_afp-client.o `test -f 'client.c' || echo './'`client.c client.c: In function 'start_afpfsd': client.c:80:6: warning: implicit declaration of function 'basename'; did you mean 'rename'? [-Wimplicit-function-declaration] 80 | basename(thisbin),AFPFSD_FILENAME); | ^~~~~~~~ | rename client.c:79:33: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 79 | snprintf(newpath,PATH_MAX,"%s/%s", | ~^ | | | char * | %d 80 | basename(thisbin),AFPFSD_FILENAME); | ~~~~~~~~~~~~~~~~~ | | | int client.c: In function 'main': client.c:560:20: warning: variable 'volume' set but not used [-Wunused-but-set-variable] 560 | struct afp_volume volume; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o mount_afp mount_afp-client.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/mount_afp mount_afp-client.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses creating mount_afp make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -export-dynamic -lfuse -o afpfsd afpfsd-commands.o afpfsd-daemon.o afpfsd-fuse_int.o afpfsd-fuse_error.o ../lib/libafpclient.la -lfuse -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses mkdir .libs i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/afpfsd afpfsd-commands.o afpfsd-daemon.o afpfsd-fuse_int.o afpfsd-fuse_error.o -Wl,--export-dynamic ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses creating afpfsd make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/fuse' Making all in cmdline make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpcmd-cmdline_testafp.o `test -f 'cmdline_testafp.c' || echo './'`cmdline_testafp.c cmdline_testafp.c:17:7: warning: anonymous enum declared inside parameter list will not be visible outside of this definition or declaration 17 | enum {TCPIP,AT} protocol, | ^ cmdline_testafp.c: In function 'test_one_url': cmdline_testafp.c:34:39: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast [-Wint-conversion] 34 | snprintf(valid_url.uamname,(valid_url.uamname),"%s",uamname); | ~~~~~~~~~~^~~~~~~~~ | | | char * In file included from /usr/include/features.h:450, from /usr/include/arpa/inet.h:21, from ../include/afp.h:5, from cmdline_testafp.c:6: /usr/include/bits/stdio2.h:64:1: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'char *' 64 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpgetstatus-getstatus.o `test -f 'getstatus.c' || echo './'`getstatus.c getstatus.c: In function 'getstatus': getstatus.c:59:1: warning: label 'out' defined but not used [-Wunused-label] 59 | out: | ^~~ getstatus.c:15:9: warning: variable 'firsttime' set but not used [-Wunused-but-set-variable] 15 | int j, firsttime=0; | ^~~~~~~~~ getstatus.c:12:25: warning: unused variable 'h' [-Wunused-variable] 12 | struct hostent *h; | ^ getstatus.c: In function 'main': getstatus.c:74:12: warning: unused variable 'loop_thread' [-Wunused-variable] 74 | pthread_t loop_thread; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c cmdline_main.c:181:12: warning: initialization of 'int (*)(char *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 181 | { "test",test_urls,"URL parsing test",1}, | ^~~~~~~~~ cmdline_main.c:181:12: note: (near initialization for 'commands[27].func') cmdline_main.c: In function 'main': cmdline_main.c:416:2: warning: implicit declaration of function 'cmdline_afp_setup_client'; did you mean 'cmdline_afp_setup'? [-Wimplicit-function-declaration] 416 | cmdline_afp_setup_client(); | ^~~~~~~~~~~~~~~~~~~~~~~~ | cmdline_afp_setup cmdline_main.c:418:2: warning: implicit declaration of function 'afp_main_quick_startup' [-Wimplicit-function-declaration] 418 | afp_main_quick_startup(NULL); | ^~~~~~~~~~~~~~~~~~~~~~ At top level: cmdline_main.c:89:15: warning: 'remote_generator' defined but not used [-Wunused-function] 89 | static char * remote_generator (const char *text, int state) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from cmdline_main.c:12: In function 'strncpy', inlined from 'cmdline_ui' at cmdline_main.c:331:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o afpgetstatus afpgetstatus-getstatus.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses mkdir .libs i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/afpgetstatus afpgetstatus-getstatus.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses creating afpgetstatus make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o afpcmd-cmdline_afp.o `test -f 'cmdline_afp.c' || echo './'`cmdline_afp.c cmdline_afp.c: In function 'print_file_details': cmdline_afp.c:144:11: warning: variable 't2' set but not used [-Wunused-but-set-variable] 144 | time_t t,t2; | ^~ cmdline_afp.c: In function 'com_touch': cmdline_afp.c:377:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 377 | int ret; | ^~~ cmdline_afp.c: In function 'com_chmod': cmdline_afp.c:420:20: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 420 | printf("Mode of %s isn't octal\n"); | ~^ | | | char * cmdline_afp.c:407:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 407 | int ret; | ^~~ cmdline_afp.c: In function 'cmdline_server_startup': cmdline_afp.c:1150:7: warning: unused variable 'i' [-Wunused-variable] 1150 | int i; | ^ cmdline_afp.c: In function 'get_dir': cmdline_afp.c:1083:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1083 | chdir(path); | ^~~~~~~~~~~ cmdline_afp.c:1102:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1102 | chdir(".."); | ^~~~~~~~~~~ cmdline_afp.c:1106:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1106 | chdir(".."); | ^~~~~~~~~~~ cmdline_afp.c: In function 'com_get_file': cmdline_afp.c:640:2: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 640 | chown(localfilename,stat.st_uid,stat.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'com_lcd': cmdline_afp.c:934:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 934 | getcwd(curpath,PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'com_lpwd': cmdline_afp.c:1049:2: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1049 | getcwd(dir,255); | ^~~~~~~~~~~~~~~ cmdline_afp.c: In function 'get_server_path.isra': cmdline_afp.c:134:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 134 | snprintf(server_fullname,AFP_MAX_PATH,"%s/%s",curdir,filename); | ^ In file included from /usr/include/stdio.h:867, from cmdline_afp.c:11: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 769) into a destination of size 768 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from cmdline_afp.c:10: In function 'strncpy', inlined from 'com_pass' at cmdline_afp.c:256:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'com_user' at cmdline_afp.c:269:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cmdline_getpass' at cmdline_afp.c:122:3, inlined from 'cmdline_getpass' at cmdline_afp.c:117:12, inlined from 'com_connect' at cmdline_afp.c:321:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline_afp.c: In function 'com_get': cmdline_afp.c:661:25: warning: '%s' directive output may be truncated writing up to 767 bytes into a region of size 255 [-Wformat-truncation=] 661 | snprintf(newpath,255,"%s/%s",curdir,arg); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from cmdline_afp.c:11: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 769) into a destination of size 255 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from cmdline_afp.c:10: In function 'strncpy', inlined from 'com_passwd' at cmdline_afp.c:850:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cmdline_afp_setup' at cmdline_afp.c:1226:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'cmdline_getpass' at cmdline_afp.c:122:3, inlined from 'cmdline_getpass' at cmdline_afp.c:117:12, inlined from 'cmdline_afp_setup' at cmdline_afp.c:1233:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o -lreadline -lncurses ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses i586-alt-linux-gcc -I../include -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o .libs/afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses /usr/bin/ld.default: afpcmd-cmdline_main.o:/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline/cmdline_afp.h:4: multiple definition of `full_url'; afpcmd-cmdline_afp.o:/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline/cmdline_afp.c:27: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:255: afpcmd] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/afpfs-ng-0.8.1/cmdline' make[1]: *** [Makefile:255: all-recursive] Error 1 make: *** [Makefile:185: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.18808 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.18808 (%build) Command exited with non-zero status 1 10.94user 3.28system 0:12.79elapsed 111%CPU (0avgtext+0avgdata 29192maxresident)k 0inputs+0outputs (0major+1432025minor)pagefaults 0swaps hsh-rebuild: rebuild of `afpfs-ng-0.8.1-alt3_25.src.rpm' failed. Command exited with non-zero status 1 19.57user 6.74system 0:25.89elapsed 101%CPU (0avgtext+0avgdata 109156maxresident)k 128inputs+0outputs (0major+1762370minor)pagefaults 0swaps