Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/afpfs-ng.spec'], chrootPath='/var/lib/mock/f30-readline8-15281471-1095358/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/afpfs-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/afpfs-ng-0.8.1-27.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/afpfs-ng.spec'], chrootPath='/var/lib/mock/f30-readline8-15281471-1095358/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/afpfs-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3e9QEb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf afpfs-ng-0.8.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/afpfs-ng-0.8.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd afpfs-ng-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (afpfs-ng-0.8.1-overflows.patch):' Patch #0 (afpfs-ng-0.8.1-overflows.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflows --fuzz=0 patching file cmdline/cmdline_afp.c Patch #1 (afpfs-ng-0.8.1-pointer.patch): + echo 'Patch #1 (afpfs-ng-0.8.1-pointer.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pointer --fuzz=0 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 Patch #2 (afpfs-ng-0.8.1-formatsec.patch): + echo 'Patch #2 (afpfs-ng-0.8.1-formatsec.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .formatsec --fuzz=0 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 /var/tmp/rpm-tmp.CdolHv + umask 022 + cd /builddir/build/BUILD + cd afpfs-ng-0.8.1 + touch --reference aclocal.m4 configure.ac Makefile.in + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by 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... pass_all checking how to run the C preprocessor... 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 armv7hl-redhat-linux-gnu-g++... no checking for armv7hl-redhat-linux-gnu-c++... no checking for armv7hl-redhat-linux-gnu-gpp... no checking for armv7hl-redhat-linux-gnu-aCC... no checking for armv7hl-redhat-linux-gnu-CC... no checking for armv7hl-redhat-linux-gnu-cxx... no checking for armv7hl-redhat-linux-gnu-cc++... no checking for armv7hl-redhat-linux-gnu-cl.exe... no checking for armv7hl-redhat-linux-gnu-FCC... no checking for armv7hl-redhat-linux-gnu-KCC... no checking for armv7hl-redhat-linux-gnu-RCC... no checking for armv7hl-redhat-linux-gnu-xlC_r... no checking for armv7hl-redhat-linux-gnu-xlC... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for armv7hl-redhat-linux-gnu-g77... no checking for armv7hl-redhat-linux-gnu-xlf... no checking for armv7hl-redhat-linux-gnu-f77... no checking for armv7hl-redhat-linux-gnu-frt... no checking for armv7hl-redhat-linux-gnu-pgf77... no checking for armv7hl-redhat-linux-gnu-cf77... no checking for armv7hl-redhat-linux-gnu-fort77... no checking for armv7hl-redhat-linux-gnu-fl32... no checking for armv7hl-redhat-linux-gnu-af77... no checking for armv7hl-redhat-linux-gnu-xlf90... no checking for armv7hl-redhat-linux-gnu-f90... no checking for armv7hl-redhat-linux-gnu-pgf90... no checking for armv7hl-redhat-linux-gnu-pghpf... no checking for armv7hl-redhat-linux-gnu-epcf90... no checking for armv7hl-redhat-linux-gnu-gfortran... no checking for armv7hl-redhat-linux-gnu-g95... no checking for armv7hl-redhat-linux-gnu-xlf95... no checking for armv7hl-redhat-linux-gnu-f95... no checking for armv7hl-redhat-linux-gnu-fort... no checking for armv7hl-redhat-linux-gnu-ifort... no checking for armv7hl-redhat-linux-gnu-ifc... no checking for armv7hl-redhat-linux-gnu-efc... no checking for armv7hl-redhat-linux-gnu-pgf95... no checking for armv7hl-redhat-linux-gnu-lf95... no checking for armv7hl-redhat-linux-gnu-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 gcc object... ok checking for objdir... .libs checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the 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 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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c afp.c -fPIC -DPIC -o .libs/libafpclient_la-afp.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c did.c -fPIC -DPIC -o .libs/libafpclient_la-did.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c codepage.c -fPIC -DPIC -o .libs/libafpclient_la-codepage.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c dsi.c -fPIC -DPIC -o .libs/libafpclient_la-dsi.o BUILDSTDERR: afp.c: In function 'afp_unmount_volume': BUILDSTDERR: afp.c:245:16: warning: variable 'emergency' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 245 | unsigned char emergency=0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: did.c: In function 'get_dirid': BUILDSTDERR: did.c:174:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 174 | int ret; BUILDSTDERR: | ^~~ BUILDSTDERR: codepage.c: In function 'convert_path_to_afp': BUILDSTDERR: codepage.c:63:16: warning: variable 'namelen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 63 | unsigned char namelen; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dsi.c: In function 'dsi_opensession': BUILDSTDERR: dsi.c:92:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 92 | dsi_setup_header(server,&dsi_opensession_header.dsi_header,DSI_DSIOpenSession); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dsi.c: In function 'dsi_getstatus_reply': BUILDSTDERR: dsi.c:483:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 483 | if (((uint64_t) p) & 0x1) p++; BUILDSTDERR: | ^ BUILDSTDERR: dsi.c:527:3: warning: implicit declaration of function 'convert_utf8dec_to_utf8pre' [-Wimplicit-function-declaration] BUILDSTDERR: 527 | convert_utf8dec_to_utf8pre(server->server_name_utf8, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dsi.c: In function 'dsi_find_request': BUILDSTDERR: dsi.c:627:26: warning: variable 'prev' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 627 | struct dsi_request *p, *prev=NULL; BUILDSTDERR: | ^~~~ BUILDSTDERR: dsi.c: In function 'dsi_recv': BUILDSTDERR: dsi.c:646:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 646 | int rc; BUILDSTDERR: | ^~ BUILDSTDERR: At top level: BUILDSTDERR: dsi.c:103:12: warning: 'check_incoming_dsi_message' defined but not used [-Wunused-function] BUILDSTDERR: 103 | static int check_incoming_dsi_message(struct afp_server * server, void * data, int size) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c uams.c -fPIC -DPIC -o .libs/libafpclient_la-uams.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c map_def.c -fPIC -DPIC -o .libs/libafpclient_la-map_def.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c BUILDSTDERR: 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] BUILDSTDERR: 53 | &cleartxt_passwd,NULL}; BUILDSTDERR: | ^ BUILDSTDERR: uams.c:53:3: note: (near initialization for 'uam_cleartxt.do_server_passwd') BUILDSTDERR: uams.c: In function 'dhx_login': BUILDSTDERR: uams.c:589:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 589 | gcry_mpi_print(GCRYMPI_FMT_USG, d, Ma_len, &len, Ma); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: uams.c:681:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 681 | gcry_mpi_print(GCRYMPI_FMT_USG, d, nonce_len, &len, new_nonce); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: uams.c: In function 'dhx2_login': BUILDSTDERR: uams.c:822:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 822 | gcry_mpi_print(GCRYMPI_FMT_USG, K_binary, bignum_len, &len, K); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: uams.c:864:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 864 | gcry_mpi_print(GCRYMPI_FMT_USG, d, bignum_len, &len, Ma); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: uams.c:912:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 912 | gcry_mpi_print(GCRYMPI_FMT_USG, nonce_binary, sizeof(nonce_binary), &len, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: uams.c:947:34: warning: pointer targets in passing argument 2 of 'gcry_mpi_print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 947 | gcry_mpi_print(GCRYMPI_FMT_USG, d, sizeof(nonce_binary), &len, new_nonce); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from uams.c:18: BUILDSTDERR: /usr/include/gcrypt.h:625:45: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 625 | unsigned char *buffer, size_t buflen, BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c uams_def.c -fPIC -DPIC -o .libs/libafpclient_la-uams_def.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c unicode.c -fPIC -DPIC -o .libs/libafpclient_la-unicode.o BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from uams.c:9: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'randnum2_login' at uams.c:428:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'randnum_login' at uams.c:316:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c users.c -fPIC -DPIC -o .libs/libafpclient_la-users.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c utils.c -fPIC -DPIC -o .libs/libafpclient_la-utils.o BUILDSTDERR: utils.c: In function 'copy_path': BUILDSTDERR: utils.c:156:24: warning: variable 'header_len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 156 | unsigned char offset, header_len, namelen; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: utils.c: In function 'unixpath_to_afppath': BUILDSTDERR: utils.c:61:7: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 61 | end=p+len; BUILDSTDERR: | ~^~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c resource.c -fPIC -DPIC -o .libs/libafpclient_la-resource.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c log.c -fPIC -DPIC -o .libs/libafpclient_la-log.o BUILDSTDERR: resource.c: In function 'appledouble_write': BUILDSTDERR: resource.c:214:15: warning: unused variable 'did' [-Wunused-variable] BUILDSTDERR: 214 | unsigned int did; BUILDSTDERR: | ^~~ BUILDSTDERR: resource.c: In function 'appledouble_truncate': BUILDSTDERR: resource.c:357:38: warning: pointer targets in passing argument 4 of 'get_dirid' differ in signedness [-Wpointer-sign] BUILDSTDERR: 357 | get_dirid(volume,newpath,basename,&dirid); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from resource.c:9: BUILDSTDERR: did.h:9:41: note: expected 'unsigned int *' but argument is of type 'int *' BUILDSTDERR: 9 | char * basename, unsigned int * dirid); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: resource.c:365:5: warning: implicit declaration of function 'remove_opened_fork' [-Wimplicit-function-declaration] BUILDSTDERR: 365 | remove_opened_fork(volume,fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: resource.c: In function 'add_fp': BUILDSTDERR: resource.c:527:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 527 | } BUILDSTDERR: | ^ BUILDSTDERR: resource.c: In function 'appledouble_readdir': BUILDSTDERR: resource.c:542:6: warning: unused variable 'newfp' [-Wunused-variable] BUILDSTDERR: 542 | *newfp=NULL, *newchain=NULL, *last=NULL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: resource.c:541:31: warning: unused variable 'prev' [-Wunused-variable] BUILDSTDERR: 541 | struct afp_file_info *fp, *prev=NULL, BUILDSTDERR: | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c BUILDSTDERR: resource.c: In function 'appledouble_read': BUILDSTDERR: resource.c:331:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 331 | return ret; BUILDSTDERR: | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c client.c -fPIC -DPIC -o .libs/libafpclient_la-client.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c server.c -fPIC -DPIC -o .libs/libafpclient_la-server.o BUILDSTDERR: server.c: In function 'afp_server_complete_connection': BUILDSTDERR: server.c:75:3: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] BUILDSTDERR: 75 | gettimeofday(&tv,NULL); BUILDSTDERR: | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c connect.c -fPIC -DPIC -o .libs/libafpclient_la-connect.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c midlevel.c -fPIC -DPIC -o .libs/libafpclient_la-midlevel.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c loop.c -fPIC -DPIC -o .libs/libafpclient_la-loop.o BUILDSTDERR: midlevel.c: In function 'set_unixprivs': BUILDSTDERR: midlevel.c:81:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUILDSTDERR: 81 | if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: midlevel.c: In function 'ml_open': BUILDSTDERR: midlevel.c:223:16: warning: unused variable 'aflags' [-Wunused-variable] BUILDSTDERR: 223 | unsigned char aflags = AFP_OPENFORK_ALLOWREAD; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: midlevel.c:220:7: warning: unused variable 'resource' [-Wunused-variable] BUILDSTDERR: 220 | char resource=0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: midlevel.c:219:6: warning: unused variable 'create_file' [-Wunused-variable] BUILDSTDERR: 219 | int create_file=0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: midlevel.c:218:19: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: 218 | int ret, dsi_ret,rc; BUILDSTDERR: | ^~ BUILDSTDERR: midlevel.c:218:11: warning: unused variable 'dsi_ret' [-Wunused-variable] BUILDSTDERR: 218 | int ret, dsi_ret,rc; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: midlevel.c: In function 'ml_creat': BUILDSTDERR: midlevel.c:271:7: warning: unused variable 'resource' [-Wunused-variable] BUILDSTDERR: 271 | char resource; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: midlevel.c: In function 'ml_read': BUILDSTDERR: midlevel.c:402:23: warning: unused variable 'buffer' [-Wunused-variable] BUILDSTDERR: 402 | struct afp_rx_buffer buffer; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: midlevel.c:400:15: warning: unused variable 'bufsize' [-Wunused-variable] BUILDSTDERR: 400 | unsigned int bufsize=min(volume->server->rx_quantum,size); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: midlevel.c:399:6: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: 399 | int rc; BUILDSTDERR: | ^~ BUILDSTDERR: midlevel.c:397:6: warning: unused variable 'totalsize' [-Wunused-variable] BUILDSTDERR: 397 | int totalsize=0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: midlevel.c:396:6: warning: unused variable 'bytesleft' [-Wunused-variable] BUILDSTDERR: 396 | int bytesleft=size; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: midlevel.c: In function 'ml_write': BUILDSTDERR: midlevel.c:735:6: warning: implicit declaration of function 'appledouble_write'; did you mean 'appledouble_utime'? [-Wimplicit-function-declaration] BUILDSTDERR: 735 | ret=appledouble_write(volume,fp,data,size,offset,&totalwritten); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | appledouble_utime BUILDSTDERR: midlevel.c:720:8: warning: unused variable 'o' [-Wunused-variable] BUILDSTDERR: 720 | off_t o=0; BUILDSTDERR: | ^ BUILDSTDERR: midlevel.c:719:15: warning: unused variable 'max_packet_size' [-Wunused-variable] BUILDSTDERR: 719 | unsigned int max_packet_size=volume->server->tx_quantum; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: midlevel.c:717:24: warning: unused variable 'ignored' [-Wunused-variable] BUILDSTDERR: 717 | uint64_t sizetowrite, ignored; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: midlevel.c:717:11: warning: unused variable 'sizetowrite' [-Wunused-variable] BUILDSTDERR: 717 | uint64_t sizetowrite, ignored; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: midlevel.c:715:10: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: 715 | int ret,err=0; BUILDSTDERR: | ^~~ BUILDSTDERR: loop.c: In function 'just_end_it_now': BUILDSTDERR: loop.c:90:14: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 90 | if (ending) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: loop.c:88:8: note: declared here BUILDSTDERR: 88 | void * just_end_it_now(void * ignore) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: loop.c: In function 'afp_main_loop': BUILDSTDERR: loop.c:268:1: warning: label 'error' defined but not used [-Wunused-label] BUILDSTDERR: 268 | error: BUILDSTDERR: | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_attr.c -fPIC -DPIC -o .libs/libafpclient_la-proto_attr.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c BUILDSTDERR: proto_attr.c: In function 'afp_newcommand76': BUILDSTDERR: proto_attr.c:39:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 39 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_attr.c: In function 'afp_listextattr': BUILDSTDERR: proto_attr.c:80:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 80 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_attr.c: In function 'afp_getextattr': BUILDSTDERR: proto_attr.c:158:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 158 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_attr.c: In function 'afp_setextattr': BUILDSTDERR: proto_attr.c:211:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 211 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_desktop.c -fPIC -DPIC -o .libs/libafpclient_la-proto_desktop.o BUILDSTDERR: proto_desktop.c: In function 'afp_geticon': BUILDSTDERR: proto_desktop.c:35:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 35 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_desktop.c: In function 'afp_addcomment': BUILDSTDERR: proto_desktop.c:90:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 90 | dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_desktop.c:100:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 100 | if (((uint64_t) p) & 0x1) { BUILDSTDERR: | ^ BUILDSTDERR: proto_desktop.c: In function 'afp_getcomment': BUILDSTDERR: proto_desktop.c:135:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 135 | dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_desktop.c: In function 'afp_closedt': BUILDSTDERR: proto_desktop.c:180:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 180 | dsi_setup_header(server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_desktop.c: In function 'afp_opendt': BUILDSTDERR: proto_desktop.c:200:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 200 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_fork.lo `test -f 'proto_fork.c' || echo './'`proto_fork.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_login.lo `test -f 'proto_login.c' || echo './'`proto_login.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_directory.c -fPIC -DPIC -o .libs/libafpclient_la-proto_directory.o BUILDSTDERR: proto_directory.c: In function 'afp_moveandrename': BUILDSTDERR: proto_directory.c:61:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 61 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_directory.c: In function 'afp_rename': BUILDSTDERR: proto_directory.c:110:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 110 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_directory.c: In function 'afp_createdir': BUILDSTDERR: proto_directory.c:155:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 155 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_directory.c: In function 'afp_enumerateext2_reply': BUILDSTDERR: proto_directory.c:296:9: warning: assignment to 'struct *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] BUILDSTDERR: 296 | entry = p; BUILDSTDERR: | ^ BUILDSTDERR: proto_directory.c:269:9: warning: unused variable 'max' [-Wunused-variable] BUILDSTDERR: 269 | char *max=buf+size; BUILDSTDERR: | ^~~ BUILDSTDERR: proto_directory.c: In function 'afp_enumerate': BUILDSTDERR: proto_directory.c:350:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 350 | dsi_setup_header(server,&afp_enumerate_request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_directory.c: In function 'afp_enumerateext2': BUILDSTDERR: proto_directory.c:410:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 410 | dsi_setup_header(server,&afp_enumerateext2_request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_files.c -fPIC -DPIC -o .libs/libafpclient_la-proto_files.o BUILDSTDERR: proto_files.c: In function 'afp_setparms_lowlevel': BUILDSTDERR: proto_files.c:48:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 48 | if (((uint64_t) p) & 0x1) p++; /* Make sure we're on an even boundary */ BUILDSTDERR: | ^ BUILDSTDERR: proto_files.c:51:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_delete': BUILDSTDERR: proto_files.c:166:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 166 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_read': BUILDSTDERR: proto_files.c:200:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 200 | dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_readext': BUILDSTDERR: proto_files.c:249:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 249 | dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_getfiledirparms_reply': BUILDSTDERR: proto_files.c:299:2: warning: implicit declaration of function 'parse_reply_block' [-Wimplicit-function-declaration] BUILDSTDERR: 299 | parse_reply_block(server, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_getfiledirparms': BUILDSTDERR: proto_files.c:339:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 339 | dsi_setup_header(server,&getfiledirparms->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_createfile': BUILDSTDERR: proto_files.c:378:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 378 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_write': BUILDSTDERR: proto_files.c:420:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 420 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_files.c: In function 'afp_writeext': BUILDSTDERR: proto_files.c:479:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 479 | dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_fork.c -fPIC -DPIC -o .libs/libafpclient_la-proto_fork.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_map.lo `test -f 'proto_map.c' || echo './'`proto_map.c BUILDSTDERR: proto_fork.c: In function 'afp_setforkparms': BUILDSTDERR: proto_fork.c:45:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 45 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_closefork': BUILDSTDERR: proto_fork.c:74:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 74 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_flushfork': BUILDSTDERR: proto_fork.c:94:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 94 | dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_openfork_reply': BUILDSTDERR: proto_fork.c:114:31: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 114 | struct dsi_header * header = &afp_openfork_reply_packet->header; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_openfork': BUILDSTDERR: proto_fork.c:160:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 160 | dsi_setup_header(server,&afp_openfork_request->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_byterangelock': BUILDSTDERR: proto_fork.c:194:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 194 | dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_fork.c: In function 'afp_byterangelockext': BUILDSTDERR: proto_fork.c:237:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 237 | dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_replyblock.lo `test -f 'proto_replyblock.c' || echo './'`proto_replyblock.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_login.c -fPIC -DPIC -o .libs/libafpclient_la-proto_login.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_server.lo `test -f 'proto_server.c' || echo './'`proto_server.c BUILDSTDERR: proto_login.c: In function 'afp_logout': BUILDSTDERR: proto_login.c:27:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 27 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_login.c: In function 'afp_changepassword': BUILDSTDERR: proto_login.c:75:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 75 | dsi_setup_header(server,&request->header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: proto_login.c: In function 'afp_login': BUILDSTDERR: proto_login.c:130:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 130 | dsi_setup_header(server,&request->header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: proto_login.c: In function 'afp_logincont': BUILDSTDERR: proto_login.c:169:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 169 | dsi_setup_header(server, &request->header, DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_volume.lo `test -f 'proto_volume.c' || echo './'`proto_volume.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_map.c -fPIC -DPIC -o .libs/libafpclient_la-proto_map.o BUILDSTDERR: proto_map.c: In function 'afp_getuserinfo': BUILDSTDERR: proto_map.c:38:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 38 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_map.c: In function 'afp_mapid': BUILDSTDERR: proto_map.c:103:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 103 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_map.c: In function 'afp_mapname': BUILDSTDERR: proto_map.c:154:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | dsi_setup_header(server,&request->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_server.c -fPIC -DPIC -o .libs/libafpclient_la-proto_server.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_replyblock.c -fPIC -DPIC -o .libs/libafpclient_la-proto_replyblock.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-proto_session.lo `test -f 'proto_session.c' || echo './'`proto_session.c BUILDSTDERR: proto_server.c: In function 'afp_getsrvrparms': BUILDSTDERR: proto_server.c:25:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 25 | dsi_setup_header(server,&afp_getsrvrparms_request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_server.c: In function 'afp_getsrvrmsg': BUILDSTDERR: 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] BUILDSTDERR: 128 | dsi_setup_header(server,&afp_getsrvrmsg_request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_server.c: In function 'afp_zzzzz': BUILDSTDERR: proto_server.c:151:26: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 151 | dsi_setup_header(server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-afp_url.lo `test -f 'afp_url.c' || echo './'`afp_url.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-status.lo `test -f 'status.c' || echo './'`status.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_volume.c -fPIC -DPIC -o .libs/libafpclient_la-proto_volume.o BUILDSTDERR: proto_volume.c: In function 'parse_volbitmap_reply': BUILDSTDERR: proto_volume.c:24:17: warning: variable 'name_offset' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 24 | unsigned short name_offset = 0; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: proto_volume.c: In function 'afp_volclose': BUILDSTDERR: proto_volume.c:102:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 102 | dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_volume.c: In function 'afp_volopen': BUILDSTDERR: proto_volume.c:170:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 170 | dsi_setup_header(volume->server,&afp_volopen_request->dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_volume.c: In function 'afp_flush': BUILDSTDERR: proto_volume.c:235:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 235 | dsi_setup_header(volume->server,&afp_flush_request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: proto_volume.c: In function 'afp_getvolparms': BUILDSTDERR: proto_volume.c:257:34: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | dsi_setup_header(volume->server,&afp_getvolparms_request.dsi_header,DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-forklist.lo `test -f 'forklist.c' || echo './'`forklist.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c proto_session.c -fPIC -DPIC -o .libs/libafpclient_la-proto_session.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c status.c -fPIC -DPIC -o .libs/libafpclient_la-status.o BUILDSTDERR: proto_session.c: In function 'afp_getsessiontoken': BUILDSTDERR: proto_session.c:70:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 70 | dsi_setup_header(server, &request->header, DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: proto_session.c: In function 'afp_disconnectoldsession': BUILDSTDERR: proto_session.c:136:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 136 | dsi_setup_header(server, &request->header, DSI_DSICommand); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c afp_url.c -fPIC -DPIC -o .libs/libafpclient_la-afp_url.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-debug.lo `test -f 'debug.c' || echo './'`debug.c BUILDSTDERR: afp_url.c: In function 'afp_parse_url': BUILDSTDERR: 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=] BUILDSTDERR: 274 | p=firstpart; BUILDSTDERR: | ~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 287 | snprintf(url->username,strlen(p)+1,"%s",p); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from afp_url.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 255 bytes into a destination of size 127 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: 302 | p=secondpart; BUILDSTDERR: | ~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 307 | snprintf(url->volumename,strlen(p)+1,"%s",p); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from afp_url.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2048 bytes into a destination of size 33 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: 302 | p=secondpart; BUILDSTDERR: | ~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 307 | snprintf(url->volumename,strlen(p)+1,"%s",p); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from afp_url.c:3: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2048 bytes into a destination of size 33 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o libafpclient_la-lowlevel.lo `test -f 'lowlevel.c' || echo './'`lowlevel.c gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c forklist.c -fPIC -DPIC -o .libs/libafpclient_la-forklist.o gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c debug.c -fPIC -DPIC -o .libs/libafpclient_la-debug.o BUILDSTDERR: debug.c: In function 'afp_get_command_name': BUILDSTDERR: debug.c:62:33: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 62 | return afp_command_names[code]; BUILDSTDERR: | ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c lowlevel.c -fPIC -DPIC -o .libs/libafpclient_la-lowlevel.o BUILDSTDERR: lowlevel.c: In function 'll_open': BUILDSTDERR: lowlevel.c:214:11: warning: overflow in conversion from 'int' to 'char' changes value from 'flags & 1118208' to '0' [-Woverflow] BUILDSTDERR: 214 | fp->sync=(flags & (O_SYNC | O_DIRECT)); BUILDSTDERR: | ^ BUILDSTDERR: lowlevel.c:280:5: warning: implicit declaration of function 'ml_creat' [-Wimplicit-function-declaration] BUILDSTDERR: 280 | (ml_creat(volume,path,0644)==0)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: lowlevel.c:314:2: warning: implicit declaration of function 'add_opened_fork'; did you mean 'afp_openfork'? [-Wimplicit-function-declaration] BUILDSTDERR: 314 | add_opened_fork(volume, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: | afp_openfork BUILDSTDERR: lowlevel.c:325:1: warning: label 'out' defined but not used [-Wunused-label] BUILDSTDERR: 325 | out: BUILDSTDERR: | ^~~ BUILDSTDERR: lowlevel.c:186:7: warning: unused variable 'converted_path' [-Wunused-variable] BUILDSTDERR: 186 | char converted_path[AFP_MAX_PATH]; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: lowlevel.c:184:19: warning: variable 'rc' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 184 | int ret, dsi_ret,rc; BUILDSTDERR: | ^~ BUILDSTDERR: lowlevel.c: In function 'll_read': BUILDSTDERR: lowlevel.c:343:9: warning: unused variable 'amount_copied' [-Wunused-variable] BUILDSTDERR: 343 | size_t amount_copied; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: lowlevel.c: In function 'll_readdir': BUILDSTDERR: 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] BUILDSTDERR: 499 | set_nonunix_perms(&p->unixprivs.permissions, p); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lowlevel.c: In function 'll_write': BUILDSTDERR: lowlevel.c:636:16: warning: unused variable 'flags' [-Wunused-variable] BUILDSTDERR: 636 | unsigned char flags = 0; BUILDSTDERR: | ^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -D_FILE_OFFSET_BITS=64 -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -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 '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' Making all in fuse make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpfsd-commands.o `test -f 'commands.c' || echo './'`commands.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpfsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpfsd-fuse_int.o `test -f 'fuse_int.c' || echo './'`fuse_int.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpfsd-fuse_error.o `test -f 'fuse_error.c' || echo './'`fuse_error.c BUILDSTDERR: fuse_error.c: In function 'fuse_capture_stderr_start': BUILDSTDERR: fuse_error.c:44:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 44 | freopen(TMP_FILE, "a", stderr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands.c: In function 'process_mount': BUILDSTDERR: commands.c:479:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 479 | int ret; BUILDSTDERR: | ^~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o mount_afp-client.o `test -f 'client.c' || echo './'`client.c BUILDSTDERR: daemon.c: In function 'fuse_unmount_volume': BUILDSTDERR: daemon.c:70:3: warning: implicit declaration of function 'fuse_exit' [-Wimplicit-function-declaration] BUILDSTDERR: 70 | fuse_exit((struct fuse *)volume->priv); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: fuse_int.c: In function 'fuse_release': BUILDSTDERR: fuse_int.c:166:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 166 | struct afp_file_info * fp = (void *) fi->fh; BUILDSTDERR: | ^ BUILDSTDERR: fuse_int.c:180:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 180 | free((void *) fi->fh); BUILDSTDERR: | ^ BUILDSTDERR: fuse_int.c: In function 'fuse_write': BUILDSTDERR: fuse_int.c:211:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 211 | struct afp_file_info *fp = (struct afp_file_info *) fi->fh; BUILDSTDERR: | ^ BUILDSTDERR: fuse_int.c: In function 'fuse_read': BUILDSTDERR: fuse_int.c:256:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 256 | fp=(void *) fi->fh; BUILDSTDERR: | ^ BUILDSTDERR: commands.c: In function 'start_fuse_thread': BUILDSTDERR: commands.c:202:40: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 68 [-Wformat-truncation=] BUILDSTDERR: 202 | snprintf(mountstring,mountstring_len,"%s:%s", BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from commands.c:8: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 288 bytes into a destination of size 68 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'start_afpfsd': BUILDSTDERR: client.c:80:6: warning: implicit declaration of function 'basename'; did you mean 'rename'? [-Wimplicit-function-declaration] BUILDSTDERR: 80 | basename(thisbin),AFPFSD_FILENAME); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | rename BUILDSTDERR: client.c:79:33: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: 79 | snprintf(newpath,PATH_MAX,"%s/%s", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: | %d BUILDSTDERR: 80 | basename(thisbin),AFPFSD_FILENAME); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: client.c: In function 'main': BUILDSTDERR: client.c:560:20: warning: variable 'volume' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 560 | struct afp_volume volume; BUILDSTDERR: | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -export-dynamic -lfuse -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mount_afp mount_afp-client.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses mkdir .libs gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mount_afp mount_afp-client.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses creating afpfsd creating mount_afp make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' Making all in cmdline make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpcmd-cmdline_afp.o `test -f 'cmdline_afp.c' || echo './'`cmdline_afp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpcmd-cmdline_testafp.o `test -f 'cmdline_testafp.c' || echo './'`cmdline_testafp.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o afpgetstatus-getstatus.o `test -f 'getstatus.c' || echo './'`getstatus.c BUILDSTDERR: cmdline_testafp.c:17:7: warning: anonymous enum declared inside parameter list will not be visible outside of this definition or declaration BUILDSTDERR: 17 | enum {TCPIP,AT} protocol, BUILDSTDERR: | ^ BUILDSTDERR: cmdline_testafp.c: In function 'test_one_url': BUILDSTDERR: cmdline_testafp.c:34:39: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 34 | snprintf(valid_url.uamname,(valid_url.uamname),"%s",uamname); BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/arpa/inet.h:21, BUILDSTDERR: from ../include/afp.h:5, BUILDSTDERR: from cmdline_testafp.c:6: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'char *' BUILDSTDERR: 64 | __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: | ^~~~~ BUILDSTDERR: cmdline_main.c:181:12: warning: initialization of 'int (*)(char *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 181 | { "test",test_urls,"URL parsing test",1}, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: cmdline_main.c:181:12: note: (near initialization for 'commands[27].func') BUILDSTDERR: cmdline_main.c: In function 'main': BUILDSTDERR: cmdline_main.c:416:2: warning: implicit declaration of function 'cmdline_afp_setup_client'; did you mean 'cmdline_afp_setup'? [-Wimplicit-function-declaration] BUILDSTDERR: 416 | cmdline_afp_setup_client(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | cmdline_afp_setup BUILDSTDERR: getstatus.c: In function 'getstatus': BUILDSTDERR: getstatus.c:59:1: warning: label 'out' defined but not used [-Wunused-label] BUILDSTDERR: 59 | out: BUILDSTDERR: | ^~~ BUILDSTDERR: getstatus.c:15:9: warning: variable 'firsttime' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 15 | int j, firsttime=0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: cmdline_main.c:418:2: warning: implicit declaration of function 'afp_main_quick_startup' [-Wimplicit-function-declaration] BUILDSTDERR: 418 | afp_main_quick_startup(NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: getstatus.c:12:25: warning: unused variable 'h' [-Wunused-variable] BUILDSTDERR: 12 | struct hostent *h; BUILDSTDERR: | ^ BUILDSTDERR: cmdline_afp.c: In function 'print_file_details': BUILDSTDERR: cmdline_afp.c:144:11: warning: variable 't2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 144 | time_t t,t2; BUILDSTDERR: | ^~ BUILDSTDERR: getstatus.c: In function 'main': BUILDSTDERR: getstatus.c:74:12: warning: unused variable 'loop_thread' [-Wunused-variable] BUILDSTDERR: 74 | pthread_t loop_thread; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_touch': BUILDSTDERR: cmdline_afp.c:377:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 377 | int ret; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: cmdline_main.c:89:15: warning: 'remote_generator' defined but not used [-Wunused-function] BUILDSTDERR: 89 | static char * remote_generator (const char *text, int state) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_chmod': BUILDSTDERR: cmdline_afp.c:420:20: warning: format '%s' expects a matching 'char *' argument [-Wformat=] BUILDSTDERR: 420 | printf("Mode of %s isn't octal\n"); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: cmdline_afp.c:407:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 407 | int ret; BUILDSTDERR: | ^~~ BUILDSTDERR: cmdline_afp.c: In function 'cmdline_server_startup': BUILDSTDERR: cmdline_afp.c:1150:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 1150 | int i; BUILDSTDERR: | ^ BUILDSTDERR: cmdline_afp.c: In function 'get_dir': BUILDSTDERR: cmdline_afp.c:1083:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1083 | chdir(path); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c:1102:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1102 | chdir(".."); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c:1106:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1106 | chdir(".."); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_get_file': BUILDSTDERR: cmdline_afp.c:640:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 640 | chown(localfilename,stat.st_uid,stat.st_gid); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_lcd': BUILDSTDERR: cmdline_afp.c:934:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 934 | getcwd(curpath,PATH_MAX); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_lpwd': BUILDSTDERR: cmdline_afp.c:1049:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1049 | getcwd(dir,255); BUILDSTDERR: | ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o afpgetstatus afpgetstatus-getstatus.o ../lib/libafpclient.la -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from cmdline_main.c:12: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cmdline_ui' at cmdline_main.c:331:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from cmdline_afp.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cmdline_getpass' at cmdline_afp.c:122:3, BUILDSTDERR: inlined from 'cmdline_getpass' at cmdline_afp.c:117:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'get_server_path': BUILDSTDERR: cmdline_afp.c:134:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 134 | snprintf(server_fullname,AFP_MAX_PATH,"%s/%s",curdir,filename); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from cmdline_afp.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 769) into a destination of size 768 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c: In function 'com_get.part.0': BUILDSTDERR: 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=] BUILDSTDERR: 661 | snprintf(newpath,255,"%s/%s",curdir,arg); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from cmdline_afp.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 769) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from cmdline_afp.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'com_pass' at cmdline_afp.c:256:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'com_user' at cmdline_afp.c:269:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir .libs BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'com_passwd' at cmdline_afp.c:850:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/afpgetstatus afpgetstatus-getstatus.o ../lib/.libs/libafpclient.so -lgmp -lfuse -lgcrypt -lpthread -lreadline -lncurses BUILDSTDERR: cmdline_afp.c: In function 'com_cd': BUILDSTDERR: cmdline_afp.c:1014:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 1014 | snprintf(newdir,AFP_MAX_PATH,"/%s",path); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from cmdline_afp.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 769 bytes into a destination of size 768 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cmdline_afp.c:1017:11: warning: '%s' directive output may be truncated writing up to 767 bytes into a region of size between 0 and 767 [-Wformat-truncation=] BUILDSTDERR: 1017 | "%s/%s",curdir,path); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from cmdline_afp.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1536 bytes into a destination of size 768 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating afpgetstatus BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from cmdline_afp.c:10: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cmdline_afp_setup' at cmdline_afp.c:1226:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 127 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 gcc -I../include -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 creating afpcmd make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' Making all in docs make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1' make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X97sNr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm + cd afpfs-ng-0.8.1 + make install DESTDIR=/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm Making install in lib make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' test -z "/usr/lib" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libafpclient.la' '/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib/libafpclient.la' /usr/bin/install -c .libs/libafpclient.so.0.0.0 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib/libafpclient.so.0.0.0 (cd /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib && { ln -s -f libafpclient.so.0.0.0 libafpclient.so.0 || { rm -f libafpclient.so.0 && ln -s libafpclient.so.0.0.0 libafpclient.so.0; }; }) (cd /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib && { ln -s -f libafpclient.so.0.0.0 libafpclient.so || { rm -f libafpclient.so && ln -s libafpclient.so.0.0.0 libafpclient.so; }; }) /usr/bin/install -c .libs/libafpclient.lai /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib/libafpclient.la BUILDSTDERR: libtool: install: warning: remember to run `libtool --finish /usr/lib' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/lib' Making install in fuse make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpfsd' '/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpfsd' BUILDSTDERR: libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib' /usr/bin/install -c .libs/afpfsd /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpfsd /bin/sh ../libtool --mode=install /usr/bin/install -c 'mount_afp' '/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/mount_afp' BUILDSTDERR: libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib' /usr/bin/install -c .libs/mount_afp /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/mount_afp make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' rm -f /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afp_client ln -s mount_afp /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afp_client cp afpfs /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpfs make[3]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' mkdir -p /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm//usr/share/man/man1 cp mount_afp.1 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm//usr/share/man/man1 cp afpfsd.1 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm//usr/share/man/man1 cp afp_client.1 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm//usr/share/man/man1 make[3]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/fuse' Making install in cmdline make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpcmd' '/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpcmd' BUILDSTDERR: libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib' /usr/bin/install -c .libs/afpcmd /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpcmd /bin/sh ../libtool --mode=install /usr/bin/install -c 'afpgetstatus' '/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpgetstatus' BUILDSTDERR: libtool: install: warning: `../lib/libafpclient.la' has not been installed in `/usr/lib' /usr/bin/install -c .libs/afpgetstatus /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpgetstatus make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' mkdir -p /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm//usr/share/man/man1 cp afpcmd.1 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/man/man1 cp afpgetstatus.1 /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/man/man1 make[3]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/cmdline' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1/docs' make[1]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1' make[2]: Entering directory '/builddir/build/BUILD/afpfs-ng-0.8.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1' make[1]: Leaving directory '/builddir/build/BUILD/afpfs-ng-0.8.1' + install -d /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/include/afpfs-ng + cp -p include/afp.h include/afp.h.pointer include/afp_protocol.h include/codepage.h include/dsi.h include/libafpclient.h include/map_def.h include/midlevel.h include/uams_def.h include/utils.h include/utils.h.pointer /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/include/afpfs-ng + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.1-27.fc30 --unique-debug-suffix -0.8.1-27.fc30.arm --unique-debug-src-base afpfs-ng-0.8.1-27.fc30.arm --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/afpfs-ng-0.8.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib/libafpclient.so.0.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpfsd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpgetstatus extracting debug info from /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/lib/libafpclient.so.0.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/mount_afp extracting debug info from /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpfsd extracting debug info from /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpgetstatus extracting debug info from /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/mount_afp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpcmd extracting debug info from /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/bin/afpcmd /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. BUILDSTDERR: 801 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/lib/libafpclient.la is executable but has empty or no shebang, removing executable bit mangling shebang in /usr/bin/afpfs from /bin/bash to #!/usr/bin/bash Processing files: afpfs-ng-0.8.1-27.fc30.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.npHSX1 + umask 022 + cd /builddir/build/BUILD + cd afpfs-ng-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr COPYING /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr AUTHORS /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr ChangeLog /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr docs/README /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr docs/performance /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr docs/FEATURES.txt /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + cp -pr docs/REPORTING-BUGS.txt /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/afpfs-ng + exit 0 Provides: afpfs-ng = 0.8.1-27.fc30 afpfs-ng(armv7hl-32) = 0.8.1-27.fc30 libafpclient.so.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libafpclient.so.0 libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libfuse.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgcrypt.so.20 libgcrypt.so.20(GCRYPT_1.6) libgmp.so.10 libncurses.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libreadline.so.8 libtinfo.so.6 rtld(GNU_HASH) Processing files: fuse-afp-0.8.1-27.fc30.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5ZO0dX + umask 022 + cd /builddir/build/BUILD + cd afpfs-ng-0.8.1 + DOCDIR=/builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/fuse-afp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/fuse-afp + cp -pr COPYING /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/fuse-afp + cp -pr AUTHORS /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/fuse-afp + cp -pr ChangeLog /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm/usr/share/doc/fuse-afp + exit 0 Provides: fuse-afp = 0.8.1-27.fc30 fuse-afp(armv7hl-32) = 0.8.1-27.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libafpclient.so.0 libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libfuse.so.2 libfuse.so.2(FUSE_2.2) libfuse.so.2(FUSE_2.6) libfuse.so.2(FUSE_2.8) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) rtld(GNU_HASH) Processing files: afpfs-ng-devel-0.8.1-27.fc30.armv7hl Provides: afpfs-ng-devel = 0.8.1-27.fc30 afpfs-ng-devel(armv7hl-32) = 0.8.1-27.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libafpclient.so.0 Processing files: afpfs-ng-debugsource-0.8.1-27.fc30.armv7hl Provides: afpfs-ng-debugsource = 0.8.1-27.fc30 afpfs-ng-debugsource(armv7hl-32) = 0.8.1-27.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: afpfs-ng-debuginfo-0.8.1-27.fc30.armv7hl Provides: afpfs-ng-debuginfo = 0.8.1-27.fc30 afpfs-ng-debuginfo(armv7hl-32) = 0.8.1-27.fc30 debuginfo(build-id) = 759a5986b4067ff98ee115347b47c6a2b8de85fd debuginfo(build-id) = b325a7c2e271077b2b698710e5b47128f2173931 debuginfo(build-id) = da0b1f3bdb0eb609297eabab9dd8d3a702cb81c2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: afpfs-ng-debugsource(armv7hl-32) = 0.8.1-27.fc30 Processing files: fuse-afp-debuginfo-0.8.1-27.fc30.armv7hl Provides: debuginfo(build-id) = 845d4d20aea9f36c966fb27f3ce8d03f3e39159a debuginfo(build-id) = 8a71f649894c8ee2f867d161d463e33db1c517fe fuse-afp-debuginfo = 0.8.1-27.fc30 fuse-afp-debuginfo(armv7hl-32) = 0.8.1-27.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: afpfs-ng-debugsource(armv7hl-32) = 0.8.1-27.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm Wrote: /builddir/build/RPMS/afpfs-ng-0.8.1-27.fc30.armv7hl.rpm Wrote: /builddir/build/RPMS/fuse-afp-0.8.1-27.fc30.armv7hl.rpm Wrote: /builddir/build/RPMS/afpfs-ng-devel-0.8.1-27.fc30.armv7hl.rpm Wrote: /builddir/build/RPMS/afpfs-ng-debugsource-0.8.1-27.fc30.armv7hl.rpm Wrote: /builddir/build/RPMS/afpfs-ng-debuginfo-0.8.1-27.fc30.armv7hl.rpm Wrote: /builddir/build/RPMS/fuse-afp-debuginfo-0.8.1-27.fc30.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.t9TLcC + umask 022 + cd /builddir/build/BUILD + cd afpfs-ng-0.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/afpfs-ng-0.8.1-27.fc30.arm + exit 0 Child return code was: 0