<86>Oct 14 01:34:39 userdel[2173414]: delete user 'rooter'
<86>Oct 14 01:34:39 userdel[2173414]: removed group 'rooter' owned by 'rooter'
<86>Oct 14 01:34:39 userdel[2173414]: removed shadow group 'rooter' owned by 'rooter'
<86>Oct 14 01:34:39 groupadd[2173419]: group added to /etc/group: name=rooter, GID=633
<86>Oct 14 01:34:39 groupadd[2173419]: group added to /etc/gshadow: name=rooter
<86>Oct 14 01:34:39 groupadd[2173419]: new group: name=rooter, GID=633
<86>Oct 14 01:34:39 useradd[2173423]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash
<86>Oct 14 01:34:39 userdel[2173429]: delete user 'builder'
<86>Oct 14 01:34:39 userdel[2173429]: removed group 'builder' owned by 'builder'
<86>Oct 14 01:34:39 userdel[2173429]: removed shadow group 'builder' owned by 'builder'
<86>Oct 14 01:34:39 groupadd[2173434]: group added to /etc/group: name=builder, GID=634
<86>Oct 14 01:34:39 groupadd[2173434]: group added to /etc/gshadow: name=builder
<86>Oct 14 01:34:39 groupadd[2173434]: new group: name=builder, GID=634
<86>Oct 14 01:34:39 useradd[2173438]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash
<13>Oct 14 01:34:41 rpmi: rpm-macros-pam0-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed
<13>Oct 14 01:34:41 rpmi: libpam0-devel-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/opie-2.4-alt1.nosrc.rpm (w1.gzdio)
Installing opie-2.4-alt1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.46929
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf opie-2.4
+ echo 'Source #0 (opie-2.4.tar.bz2):'
Source #0 (opie-2.4.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/opie-2.4.tar.bz2
+ /bin/tar -xf -
+ cd opie-2.4
+ echo 'Source #1 (pam_opie-0.21.tar.bz2):'
Source #1 (pam_opie-0.21.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/pam_opie-0.21.tar.bz2
+ /bin/tar -xf -
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (opie-2.4.diff):'
Patch #0 (opie-2.4.diff):
+ /usr/bin/patch -p1
patching file Makefile.in
patching file libopie/Makefile.in
patching file libopie/readpass.c
patching file libopie/readrec.c
patching file opieinfo.c
patching file opiepasswd.c
patching file opiesu.c
patching file opielogin.c
+ echo 'Patch #2 (opie-2.4.newseed.diff):'
Patch #2 (opie-2.4.newseed.diff):
+ /usr/bin/patch -p1
patching file libopie/newseed.c
+ echo 'Patch #3 (uint4_def.patch):'
Patch #3 (uint4_def.patch):
+ /usr/bin/patch -p0
patching file opie.h
+ echo 'Patch #4 (opie-2.4-bison.patch):'
Patch #4 (opie-2.4-bison.patch):
+ /usr/bin/patch -p0
patching file ftpcmd.y
+ echo 'Patch #5 (opie-2.4-nonvoid.patch):'
Patch #5 (opie-2.4-nonvoid.patch):
+ /usr/bin/patch -p0
patching file opiepasswd.c
+ echo 'Patch #6 (opie-2.4-decl.diff):'
Patch #6 (opie-2.4-decl.diff):
+ /usr/bin/patch -p1
patching file libopie/generator.c
patching file libopie/lookup.c
patching file libopie/md4c.c
patching file libopie/md5c.c
patching file libopie/newseed.c
patching file libopie/passwd.c
patching file libopie/randomchallenge.c
patching file libopie/version.c
patching file opiegen.c
patching file opietest.c
+ echo 'Patch #7 (opie-2.4-nul-overflow.patch):'
Patch #7 (opie-2.4-nul-overflow.patch):
+ /usr/bin/patch -p1
patching file permsfile.c
+ echo 'Patch #8 (opie-2.4-cxx.patch):'
Patch #8 (opie-2.4-cxx.patch):
+ /usr/bin/patch -p1
patching file opie.h
+ echo 'Patch #9 (opie-2.4-undef.patch):'
Patch #9 (opie-2.4-undef.patch):
+ /usr/bin/patch -p0
patching file ftpcmd.y
+ perl -pi -e 's/(?<!DESTDIR\))\$\(KEY_FILE\)/\$\(DESTDIR\)\$\(KEY_FILE\)/g' Makefile.in
+ perl -pi -e 's/(?<!DESTDIR\))\$\(LOCK_DIR\)/\$\(DESTDIR\)\$\(LOCK_DIR\)/g' Makefile.in
+ perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALBIN\)/\$\(DESTDIR\)\$\(LOCALBIN\)/g' Makefile.in
+ perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALMAN\)/\$\(DESTDIR\)\$\(LOCALMAN\)/g' Makefile.in
+ echo 'Patch #10 (opie-2.4-noroot.patch):'
Patch #10 (opie-2.4-noroot.patch):
+ /usr/bin/patch -p1
patching file Makefile.in
+ echo 'Patch #11 (opie-2.4_array-subscript.patch):'
Patch #11 (opie-2.4_array-subscript.patch):
+ /usr/bin/patch -p0
patching file libopie/btoe.c
+ cd pam_opie
+ echo 'Patch #1 (pam_opie-0.21.diff):'
Patch #1 (pam_opie-0.21.diff):
+ /usr/bin/patch -p0
patching file Makefile
patching file libopie/Makefile
+ echo 'Patch #12 (pam_opie-0.21_array-subscript.patch):'
Patch #12 (pam_opie-0.21_array-subscript.patch):
+ /usr/bin/patch -p0
patching file libopie/btoe.c
+ cd ..
+ echo 'Patch #13 (opie-2.4-getline.patch):'
Patch #13 (opie-2.4-getline.patch):
+ /usr/bin/patch -p0
patching file ftpcmd.y
patching file opieftpd.c
+ echo 'Patch #14 (opie-2.4-fclose.patch):'
Patch #14 (opie-2.4-fclose.patch):
+ /usr/bin/patch -p0
patching file permsfile.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.46929
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd opie-2.4
+ export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-insecure-override
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing ) works... yes
checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for chown... /bin/chown
checking for su... /bin/su
checking for su... no
checking for scheme... no
checking for login... /bin/login
checking for ftpd... no
checking for in.ftpd... no
checking for default PATH entries... /usr/bin:/bin
checking for test -e flag... yes
checking for mkdir -p flag... yes
checking for ls group field... yes
checking for /etc/default/login... no
checking for /etc/securetty... yes
checking for /etc/logindevperm... no
checking for /etc/fbtab... no
checking for /etc/environment... yes
checking for /etc/shadow... yes
checking for /var/adm/sulog... no
checking mail spool location... /var/spool/mail
checking where your system puts the utmp file... not found
checking where your system puts the utmpx file... not found
checking where your system puts the wtmp file... not found
checking where your system puts the wtmpx file... not found
checking whether the system profile displays the motd... no
checking whether the system profile checks for mail... no
checking for working const... yes
checking to see if your compiler can handle void arguments... yes
checking to see if your compiler can handle void return values... yes
checking to see if your compiler can handle void pointers... yes
checking to see if your compiler can handle ANSI argument lists... yes
checking to see if your compiler can handle ANSI prototypes... yes
checking to see if your compiler can handle ANSI variable arguments... yes
checking to see if you have an ANSI-style sprintf... yes
checking for crypt in -lcrypt... yes
checking for gethostname in -lnsl... no
checking for main in -lposix... no
checking for socket in -lsocket... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for termios.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for paths.h... yes
checking for shadow.h... yes
checking for signal.h... yes
checking for sys/signal.h... yes
checking for lastlog.h... yes
checking for sys/utsname.h... yes
checking for pwd.h... yes
checking for sys/param.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for utmpx.h... yes
checking for sys/select.h... yes
checking for ut_pid in struct utmp... yes
checking for ut_type in struct utmp... yes
checking for ut_name in struct utmp... yes
checking for ut_host in struct utmp... yes
checking for ut_id in struct utmp... yes
checking for ut_syslen in struct utmpx... no
checking return type of signal handlers... void
checking for gettimeofday... yes
checking for socket... yes
checking for strftime... yes
checking for strstr... yes
checking for setpriority... yes
checking for getttynam... yes
checking for setvbuf... yes
checking for getspnam... yes
checking for endspent... yes
checking for setgroups... yes
checking for getgroups... yes
checking for fpurge... no
checking for setlogin... no
checking for lstat... yes
checking for getutxline... yes
checking for pututxline... yes
checking for usleep... yes
checking for 8-bit clean memcmp... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getusershell... yes
checking for sigaddset... yes
checking for sigemptyset... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for atexit... yes
checking for endutent... yes
checking for initgroups... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memset... yes
checking for getcwd... yes
checking for getenv... yes
checking for getutline... yes
checking for pututline... yes
checking for setenv... yes
checking for setegid... yes
checking for seteuid... yes
checking for setutent... yes
checking for sigprocmask... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtoul... yes
checking for sysconf... yes
checking for uname... yes
checking for unsetenv... yes
checking for nonstandard gettimeofday... no
updating cache ./config.cache
creating ./config.status
creating configure.munger
creating libmissing/Makefile
creating libopie/Makefile
creating Makefile.munge
creating config.h

Binaries are going to be installed into /usr/bin,
Manual pages are going to be installed into /usr/share/man.

creating Makefile

Have you read the README file?
+ make -j8
(cd libopie ; make libopie.a CFL='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\"')
(cd libmissing ; make libmissing.a CFL='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing')
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libmissing'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -I.. -I.   -c -o bogus.o bogus.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libmissing'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libmissing'
ar cr libmissing.a bogus.o   
ranlib libmissing.a
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libmissing'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o atob8.o atob8.c
atob8.c: In function 'opieatob8':
atob8.c:75:10: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
   75 |   return out;
      |          ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o permsfile.o permsfile.c
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opietest.o opietest.c
opietest.c: In function 'testinsecure':
opietest.c:161:3: warning: implicit declaration of function 'opieinsecure'; did you mean 'testinsecure'? [-Wimplicit-function-declaration]
  161 |   opieinsecure();
      |   ^~~~~~~~~~~~
      |   testinsecure
opietest.c: In function 'testlock':
opietest.c:186:7: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration]
  186 |   if (getuid())
      |       ^~~~~~
opietest.c: In function 'testunlock':
opietest.c:230:9: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration]
  230 |     if (opieunlock())
      |         ^~~~~~~~~~
      |         opielock
opietest.c: In function 'main':
opietest.c:272:19: warning: implicit declaration of function 'geteuid' [-Wimplicit-function-declaration]
  272 |   if (getuid() != geteuid()) {
      |                   ^~~~~~~
opietest.c:274:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  274 |     exit(1);
      |     ^~~~
opietest.c:33:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   32 | #include "opie.h"
  +++ |+#include <stdlib.h>
   33 | 
opietest.c:274:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  274 |     exit(1);
      |     ^~~~
opietest.c:274:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
opietest.c:308:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  308 |     exit(1);
      |     ^~~~
opietest.c:308:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
opietest.c:310:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  310 |   exit(0);
      |   ^~~~
opietest.c:310:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opiekey.o opiekey.c
opiekey.c: In function 'getsecret':
opiekey.c:109:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
  109 |       memset(secret, 0, sizeof(secret));
      |                               ^
opiekey.c:115:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
  115 |       memset(secret, 0, sizeof(secret));
      |                               ^
opiekey.c:121:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
  121 |     memset(secret, 0, sizeof(secret));
      |                             ^
opiekey.c: In function 'main':
opiekey.c:144:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  144 |   if (slash = strchr(argv[0], '/'))
      |       ^~~~~
opiekey.c:158:15: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration]
  158 |   while ((i = getopt(argc, argv, "fhvn:x45at:s")) != EOF) {
      |               ^~~~~~
      |               getsubopt
opiekey.c:161:7: warning: implicit declaration of function 'opieversion'; did you mean 'opieverify'? [-Wimplicit-function-declaration]
  161 |       opieversion();
      |       ^~~~~~~~~~~
      |       opieverify
opiekey.c:242:7: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration]
  242 |   if (opieinsecure()) {
      |       ^~~~~~~~~~~~
opiekey.c:262:9: warning: implicit declaration of function 'opienewseed' [-Wimplicit-function-declaration]
  262 |     if (opienewseed(strcpy(newseed, seed)) < 0) {
      |         ^~~~~~~~~~~
opiekey.c:292:11: warning: unused variable 'c' [-Wunused-variable]
  292 |     char *c;
      |           ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o btoa8.o btoa8.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opiegen.o opiegen.c
opiegen.c: In function 'main':
opiegen.c:34:13: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration]
   34 |         if (opieinsecure()) {
      |             ^~~~~~~~~~~~
opiegen.c:37:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   37 |                 exit(1);
      |                 ^~~~
opiegen.c:26:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   25 | #include "opie.h"
  +++ |+#include <stdlib.h>
   26 | 
opiegen.c:37:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   37 |                 exit(1);
      |                 ^~~~
opiegen.c:37:17: note: include '<stdlib.h>' or provide a declaration of 'exit'
opiegen.c:52:25: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   52 |                         while ((*(ap++) = *(c++)) && (ap < ep));
      |                         ^~~~~
opiegen.c:53:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   53 |                                 *(ap - 1) = ' ';
      |                                 ^
opiegen.c:65:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   65 |           exit(1);
      |           ^~~~
opiegen.c:65:11: note: include '<stdlib.h>' or provide a declaration of 'exit'
opiegen.c:83:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   83 |                         exit(0);
      |                         ^~~~
opiegen.c:83:25: note: include '<stdlib.h>' or provide a declaration of 'exit'
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o md4c.o md4c.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o md5c.o md5c.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o challenge.o challenge.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o btoh.o btoh.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opieinfo.o opieinfo.c
opieinfo.c: In function 'main':
opieinfo.c:67:7: warning: implicit declaration of function 'opieversion'; did you mean 'opieverify'? [-Wimplicit-function-declaration]
   67 |       opieversion();
      |       ^~~~~~~~~~~
      |       opieverify
opieinfo.c:71:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   71 |       exit(0);
      |       ^~~~
opieinfo.c:44:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   43 | #include "opie.h"
  +++ |+#include <stdlib.h>
   44 | 
opieinfo.c:71:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   71 |       exit(0);
      |       ^~~~
opieinfo.c:71:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
opieinfo.c:85:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   85 |     exit(1);
      |     ^~~~
opieinfo.c:85:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o getsequence.o getsequence.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o hash.o hash.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opiesu.o opiesu.c
opiesu.c: In function 'lsetenv':
opiesu.c:200:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  200 |   while (dp = *ep++) {
      |          ^~
opiesu.c:204:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
  204 |       snprintf(buf, sizeof(buf), "%s%s",buf,  eval); /* XXX: what to do? */
      |                           ^
opiesu.c: In function 'main':
opiesu.c:384:9: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration]
  384 |     if (opieinsecure()) {
      |         ^~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opiepasswd.o opiepasswd.c
opiepasswd.c: In function 'finish':
opiepasswd.c:112:10: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration]
  112 |   while(!opieunlock());
      |          ^~~~~~~~~~
      |          opielock
opiepasswd.c: In function 'main':
opiepasswd.c:133:7: warning: implicit declaration of function 'opieversion'; did you mean 'opieverify'? [-Wimplicit-function-declaration]
  133 |       opieversion();
      |       ^~~~~~~~~~~
      |       opieverify
opiepasswd.c:214:9: warning: implicit declaration of function 'opienewseed' [-Wimplicit-function-declaration]
  214 |     if (opienewseed(seed) < 0) {
      |         ^~~~~~~~~~~
opiepasswd.c:246:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  246 |           if (c = strrchr(tmp, ' '))
      |               ^
opiepasswd.c:282:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  282 |             if (c = strrchr(tmp, ' '))
      |                 ^
opiepasswd.c:335:11: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration]
  335 |       if (opieinsecure() && !force) {
      |           ^~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opielogin.o opielogin.c
opielogin.c: In function 'main':
opielogin.c:680:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  680 |   if (p = getenv("TERM")) {
      |       ^
opielogin.c:1026:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1026 |     if (f = fopen(HAVE_LOGIN_ENVFILE, "r")) {
      |         ^
opielogin.c:1031:22: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
 1031 |         while(*c && (isalnum(*c) || (*c == '_'))) c++;
      |                      ^~~~~~~
opielogin.c:213:1: note: include '<ctype.h>' or provide a declaration of 'isalnum'
  212 | #include <crypt.h>
  +++ |+#include <ctype.h>
  213 | #endif /* HAVE_CRYPT_H */
opielogin.c:1034:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1034 |             if (c2 = strchr(c, ';'))
      |                 ^~
opielogin.c:1036:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1036 |             if (c2 = strchr(c, '\n'))
      |                 ^~
opielogin.c:1038:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1038 |             if (c2 = strchr(c, ' '))
      |                 ^~
opielogin.c:1040:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1040 |             if (c2 = strchr(c, '\t'))
      |                 ^~
opielogin.c:1059:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1059 |   if (name[0])
      |      ^
opielogin.c:1108:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1108 |       if (!memcmp(&thisuser, &nouser, sizeof(thisuser)))
      |          ^
opielogin.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1189 |       if (nlfd = fopen(_PATH_NOLOGIN, "r")) {
      |           ^~~~
opielogin.c:1212:61: warning: field precision specifier '.*' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
 1212 |           syslog(LOG_ERR, "LOGIN FAILURE ON %s FROM %.*s, %.*s",
      |                                                           ~~^~
      |                                                             |
      |                                                             int
 1213 |                  tty, HMAX, host, sizeof(name), name);
      |                                   ~~~~~~~~~~~~               
      |                                   |
      |                                   long unsigned int
opielogin.c:1215:51: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
 1215 |           syslog(LOG_ERR, "LOGIN FAILURE ON %s, %.*s",
      |                                                 ~~^~
      |                                                   |
      |                                                   int
 1216 |                  tty, sizeof(name), name);
      |                       ~~~~~~~~~~~~                 
      |                       |
      |                       long unsigned int
opielogin.c:1266:31: warning: implicit declaration of function 'ctime'; did you mean 'utimes'? [-Wimplicit-function-declaration]
 1266 |              24 - 5, (char *) ctime(&ll.ll_time));
      |                               ^~~~~
      |                               utimes
opielogin.c:1266:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1266 |              24 - 5, (char *) ctime(&ll.ll_time));
      |                      ^
opielogin.c:1268:24: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 1268 |         printf("from %.*s\n", sizeof(ll.ll_host), ll.ll_host);
      |                      ~~^~     ~~~~~~~~~~~~~~~~~~
      |                        |      |
      |                        int    long unsigned int
opielogin.c:1270:22: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
 1270 |         printf("on %.*s\n", sizeof(ll.ll_line), ll.ll_line);
      |                    ~~^~     ~~~~~~~~~~~~~~~~~~
      |                      |      |
      |                      int    long unsigned int
opielogin.c:1274:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
 1274 |     time(&ll.ll_time);
      |     ^~~~
opielogin.c:1344:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1344 |   if (c = strrchr(tty, '/'))
      |       ^
opielogin.c:1349:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1349 |   if (t = getttynam(c))
      |       ^
opielogin.c:1370:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1370 |     if (f = fopen(HAVE_LOGIN_ENVFILE, "r")) {
      |         ^
opielogin.c:1378:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1378 |             if (c2 = strchr(c, ';'))
      |                 ^~
opielogin.c:1380:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1380 |             if (c2 = strchr(c, '\n'))
      |                 ^~
opielogin.c:1382:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1382 |             if (c2 = strchr(c, ' '))
      |                 ^~
opielogin.c:1384:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1384 |             if (c2 = strchr(c, '\t'))
      |                 ^~
opielogin.c:1404:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
 1404 |   if (!thisuser.pw_uid)
      |      ^
opielogin.c:1412:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
 1412 |     register c;
      |              ^
opielogin.c:1280:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1280 |     write(f, (char *) &ll, sizeof ll);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opielogin.c:1286:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
 1286 |   chown(tty, thisuser.pw_uid, TTYGID(thisuser.pw_gid));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opielogin.c:1299:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1299 |   setgid(thisuser.pw_gid);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
opielogin.c:1312:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1312 |   setuid(thisuser.pw_uid);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
At top level:
opielogin.c:173:13: warning: 'host' defined but not used [-Wunused-variable]
  173 | static char host[HMAX + 1] = "";
      |             ^~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o hashlen.o hashlen.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o lock.o lock.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o keycrunch.o keycrunch.c
keycrunch.c: In function 'opiekeycrunch':
keycrunch.c:44:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   44 |       while(*c2 = *(secret++)) c2++;
      |             ^
keycrunch.c:54:3: warning: implicit declaration of function 'opiehashlen'; did you mean 'opiehash'? [-Wimplicit-function-declaration]
   54 |   opiehashlen(algorithm & 0x0f, c, result, i);
      |   ^~~~~~~~~~~
      |   opiehash
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o lookup.o lookup.c
lookup.c: In function 'opielookup':
lookup.c:26:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   26 |   if (i = __opiereadrec(opie))
      |       ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o glob.o glob.c
glob.c: In function 'Gmatch':
glob.c:151:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  151 |       while (cc = *p++) {
      |              ^~
glob.c:164:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  164 |       if (cc == 0)
      |          ^
glob.c: In function 'rscan':
glob.c:225:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  225 |   while (p = *t++) {
      |          ^
glob.c:226:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  226 |     if (f == tglob)
      |        ^
glob.c:232:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  232 |     while (c = *p++)
      |            ^
glob.c: In function 'letter':
glob.c:246:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  246 |   return (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c == '_');
      |           ~~~~~~~~~^~~~~~~~~~~
glob.c: In function 'blkcpy':
glob.c:275:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  275 |   while (*av++ = *bv++)
      |          ^
glob.c: In function 'blkfree':
glob.c:285:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
  285 |     free(*av++);
      |     ^~~~
glob.c:78:1: note: include '<stdlib.h>' or provide a declaration of 'free'
   77 | #include "opie.h"
  +++ |+#include <stdlib.h>
   78 | 
glob.c:285:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
  285 |     free(*av++);
      |     ^~~~
glob.c:285:5: note: include '<stdlib.h>' or provide a declaration of 'free'
glob.c: In function 'strspl':
glob.c:290:32: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  290 |   register char *ep = (char *) malloc((unsigned) (strlen(cp) +
      |                                ^~~~~~
glob.c:290:32: note: include '<stdlib.h>' or provide a declaration of 'malloc'
glob.c:290:32: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
glob.c:290:32: note: include '<stdlib.h>' or provide a declaration of 'malloc'
glob.c: In function 'copyblk':
glob.c:302:34: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
  302 |   register char **nv = (char **) malloc((unsigned) ((blklen(v) + 1) *
      |                                  ^~~~~~
glob.c:302:34: note: include '<stdlib.h>' or provide a declaration of 'malloc'
glob.c: In function 'matchdir':
glob.c:393:1: warning: label 'patherr1' defined but not used [-Wunused-label]
  393 | patherr1:
      | ^~~~~~~~
glob.c:362:15: warning: unused variable 'stb' [-Wunused-variable]
  362 |   struct stat stb;
      |               ^~~
glob.c: In function 'amatch':
glob.c:570:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  570 |       while (cc = *p++) {
      |              ^~
glob.c:583:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  583 |       if (cc == 0)
      |          ^
glob.c:627:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  627 |       if (stat(gpath, &stb) == 0 && isdir(stb))
      |          ^
At top level:
glob.c:138:12: warning: 'Gmatch' defined but not used [-Wunused-function]
  138 | static int Gmatch FUNCTION((s, p), register char *s AND register char *p)
      |            ^~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o popen.o popen.c
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opieserv.o opieserv.c
opieserv.c: In function 'main':
opieserv.c:46:25: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   46 |                         exit(1);
      |                         ^~~~
opieserv.c:21:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   20 | #include "opie.h"
  +++ |+#include <stdlib.h>
   21 | 
opieserv.c:46:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   46 |                         exit(1);
      |                         ^~~~
opieserv.c:46:25: note: include '<stdlib.h>' or provide a declaration of 'exit'
opieserv.c:66:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   66 |           exit(1);
      |           ^~~~
opieserv.c:66:11: note: include '<stdlib.h>' or provide a declaration of 'exit'
opieserv.c:72:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   72 |                         exit(1);
      |                         ^~~~
opieserv.c:72:25: note: include '<stdlib.h>' or provide a declaration of 'exit'
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o newseed.o newseed.c
newseed.c: In function 'opienewseed':
newseed.c:56:26: warning: implicit declaration of function 'strtoul'; did you mean 'strtok'? [-Wimplicit-function-declaration]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^~~~~~~
      |                          strtok
newseed.c:70:17: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
   70 |                 time(&now);
      |                 ^~~~
newseed.c:71:17: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration]
   71 |                 srand(now);
      |                 ^~~~~
newseed.c:88:34: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration]
   88 |                                 (rand() % 9999) + 1) >= OPIE_SEED_MAX+1)
      |                                  ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o parsechallenge.o parsechallenge.c
parsechallenge.c: In function '__opieparsechallenge':
parsechallenge.c:53:21: warning: implicit declaration of function 'strtoul'; did you mean 'strtok'? [-Wimplicit-function-declaration]
   53 |   if (((*sequence = strtoul(++c, &c, 10)) > OPIE_SEQUENCE_MAX) || !*sequence)
      |                     ^~~~~~~
      |                     strtok
parsechallenge.c:56:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
   56 |   while(*c && isspace(*c)) c++;
      |               ^~~~~~~
parsechallenge.c:23:1: note: include '<ctype.h>' or provide a declaration of 'isspace'
   22 | #include "opie.h"
  +++ |+#include <ctype.h>
   23 | 
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o passcheck.o passcheck.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o passwd.o passwd.c
passwd.c: In function 'opiepasswd':
passwd.c:33:39: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration]
   33 |   if ((flags & OPIEPASSWD_CONSOLE) && opieinsecure())
      |                                       ^~~~~~~~~~~~
passwd.c:73:7: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration]
   73 |   if (opieunlock())
      |       ^~~~~~~~~~
      |       opielock
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o opieftpd.o opieftpd.c
opieftpd.c: In function 'enable_signalling':
opieftpd.c:311:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  311 |         if ((int)signal(SIGURG, myoob) < 0)
      |             ^
opieftpd.c: In function 'disable_signalling':
opieftpd.c:318:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  318 |         if ((int)signal(SIGURG, SIG_IGN) < 0)
      |             ^
opieftpd.c: In function 'user':
opieftpd.c:432:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  432 |   if (pw = sgetpwnam(name)) {
      |       ^~
opieftpd.c: In function 'dataconn':
opieftpd.c:852:51: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
  852 |     s = accept(pdata, (struct sockaddr *) & from, &fromlen);
      |                                                   ^~~~~~~~
      |                                                   |
      |                                                   int *
In file included from opieftpd.c:99:
/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
opieftpd.c: In function 'yyerror':
opieftpd.c:1168:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1168 |   if (cp = strchr(cbuf, '\n'))
      |       ^~
opieftpd.c: In function 'dolog':
opieftpd.c:1266:17: warning: implicit declaration of function 'ctime'; did you mean 'time'? [-Wimplicit-function-declaration]
 1266 |     remotehost, ctime(&t));
      |                 ^~~~~
      |                 time
opieftpd.c:1265:44: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
 1265 |   syslog(LOG_INFO, "connection from %s at %s",
      |                                           ~^
      |                                            |
      |                                            char *
      |                                           %d
 1266 |     remotehost, ctime(&t));
      |                 ~~~~~~~~~                   
      |                 |
      |                 int
opieftpd.c: In function 'passive':
opieftpd.c:1340:59: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
 1340 |   if (getsockname(pdata, (struct sockaddr *) & pasv_addr, &len) < 0)
      |                                                           ^~~~
      |                                                           |
      |                                                           int *
In file included from opieftpd.c:99:
/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
opieftpd.c: In function 'send_file_list':
opieftpd.c:1439:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1439 |   while (dirname = *dirlist++) {
      |          ^~~~~~~
opieftpd.c: In function 'main':
opieftpd.c:1580:54: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign]
 1580 |   if (getpeername(0, (struct sockaddr *) & his_addr, &addrlen) < 0) {
      |                                                      ^~~~~~~~
      |                                                      |
      |                                                      int *
In file included from opieftpd.c:99:
/usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  131 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
opieftpd.c:1585:55: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
 1585 |   if (getsockname(0, (struct sockaddr *) & ctrl_addr, &addrlen) < 0) {
      |                                                       ^~~~~~~~
      |                                                       |
      |                                                       int *
In file included from opieftpd.c:99:
/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
opieftpd.c:1709:5: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration]
 1709 |     yyparse();
      |     ^~~~~~~
      |     pause
opieftpd.c: In function 'passive':
opieftpd.c:1334:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1334 |     seteuid((uid_t) pw->pw_uid);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
opieftpd.c: In function 'main':
opieftpd.c:1653:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result]
 1653 |   freopen(_PATH_DEVNULL, "w", stderr);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o randomchallenge.o randomchallenge.c
randomchallenge.c: In function 'opierandomchallenge':
randomchallenge.c:45:7: warning: implicit declaration of function 'opienewseed' [-Wimplicit-function-declaration]
   45 |   if (opienewseed(buf))
      |       ^~~~~~~~~~~
randomchallenge.c:49:10: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration]
   49 |         (rand() % 499) + 1, buf);
      |          ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o version.o version.c
version.c: In function 'opieversion':
version.c:28:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   28 |   exit(0);
      |   ^~~~
version.c:24:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
   23 | #include <stdio.h>
  +++ |+#include <stdlib.h>
   24 | 
version.c:28:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
   28 |   exit(0);
      |   ^~~~
version.c:28:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o unlock.o unlock.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o verify.o verify.c
verify.c: In function 'opieverify':
verify.c:89:10: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration]
   89 |     if (!isalnum(*c))
      |          ^~~~~~~
verify.c:28:1: note: include '<ctype.h>' or provide a declaration of 'isalnum'
   27 | #include "opie.h"
  +++ |+#include <ctype.h>
   28 | 
verify.c:95:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   95 |   if (c = strchr(response, ':')) {
      |       ^
verify.c:218:3: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration]
  218 |   opieunlock();
      |   ^~~~~~~~~~
      |   opielock
verify.c:73:15: warning: unused variable 'nopie' [-Wunused-variable]
   73 |   struct opie nopie;
      |               ^~~~~
At top level:
verify.c:50:14: warning: 'algids' defined but not used [-Wunused-variable]
   50 | static char *algids[] = { NULL, NULL, NULL, "sha1", "md4", "md5" };
      |              ^~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o readpass.o readpass.c
readpass.c: In function 'opiereadpass':
readpass.c:261:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
readpass.c:274:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
readpass.c:284:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  284 |       write(1, c, 1);
      |       ^~~~~~~~~~~~~~
readpass.c:289:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  289 |     write(1, c, 1);
      |     ^~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o generator.o generator.c
generator.c: In function 'opiegenerator':
generator.c:166:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  166 |     if (i = opiekeycrunch(algorithm, &key, seed, secret))
      |         ^
generator.c:182:13: warning: implicit declaration of function 'opienewseed' [-Wimplicit-function-declaration]
  182 |         if (opienewseed(strcpy(newseed, seed)) < 0)
      |             ^~~~~~~~~~~
generator.c:176:15: warning: unused variable 'c' [-Wunused-variable]
  176 |         char *c;
      |               ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o btoe.o btoe.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o accessfile.o accessfile.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o insecure.o insecure.c
insecure.c: In function 'opieinsecure':
insecure.c:74:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   74 |     if (s = strchr(display_name, ':')) {
      |         ^
insecure.c:94:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   94 |               if (s = strchr(display_name, '.')) {
      |                   ^
insecure.c:135:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  135 |         if (s = strchr(host, ':')) {
      |             ^
insecure.c:145:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  145 |                 if (s = strchr(host, ' ')) {
      |                     ^
insecure.c:147:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  147 |                   if (s = strchr(s + 1, ' '))
      |                       ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o getutmpentry.o getutmpentry.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o open.o open.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o login.o login.c
login.c: In function 'opielogin':
login.c:75:14: warning: implicit declaration of function 'getpid'; did you mean 'getutid'? [-Wimplicit-function-declaration]
   75 |   u.ut_pid = getpid();
      |              ^~~~~~
      |              getutid
login.c:95:16: warning: passing argument 1 of 'gettimeofday' from incompatible pointer type [-Wincompatible-pointer-types]
   95 |   gettimeofday(&u.ut_tv, NULL);
      |                ^~~~~~~~
      |                |
      |                struct <anonymous> *
In file included from /usr/include/bits/utmp.h:24,
                 from /usr/include/utmp.h:29,
                 from login.c:24:
/usr/include/sys/time.h:67:53: note: expected 'struct timeval * restrict' but argument is of type 'struct <anonymous> *'
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
login.c:110:3: warning: implicit declaration of function 'opielogwtmp'; did you mean 'opielogin'? [-Wimplicit-function-declaration]
  110 |   opielogwtmp(line, name, host, id);
      |   ^~~~~~~~~~~
      |   opielogin
login.c:113:1: warning: label 'dosetlogin' defined but not used [-Wunused-label]
  113 | dosetlogin:
      | ^~~~~~~~~~
login.c:109:1: warning: label 'dowtmp' defined but not used [-Wunused-label]
  109 | dowtmp:
      | ^~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o logwtmp.o logwtmp.c
logwtmp.c: In function 'opielogwtmp':
logwtmp.c:158:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
  158 |     time(&ut.ut_time);
      |     ^~~~
logwtmp.c:161:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
  161 |     ftruncate(fd, buf.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
logwtmp.c:86:12: warning: 'fdx' defined but not used [-Wunused-variable]
   86 | static int fdx = -1;
      |            ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o writerec.o writerec.c
writerec.c: In function '__opiewriterec':
writerec.c:44:13: warning: unused variable 'f2' [-Wunused-variable]
   44 |   FILE *f, *f2 = NULL;
      |             ^~
writerec.c:42:8: warning: unused variable 'buf' [-Wunused-variable]
   42 |   char buf[17], buf2[64];
      |        ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing   -c -o readrec.o readrec.c
readrec.c: In function '__opiereadrec':
readrec.c:141:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  141 |     if (c = strchr(opie->opie_principal, ':'))
      |         ^
readrec.c:139:9: warning: unused variable 'i' [-Wunused-variable]
  139 |     int i;
      |         ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
bison -y ftpcmd.y
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
ar cr libopie.a md4c.o md5c.o atob8.o btoa8.o btoh.o challenge.o getsequence.o hash.o hashlen.o keycrunch.o lock.o lookup.o newseed.o parsechallenge.o passcheck.o passwd.o randomchallenge.o readpass.o unlock.o verify.o version.o btoe.o accessfile.o generator.o insecure.o getutmpentry.o readrec.o writerec.o login.o open.o logwtmp.o 
ranlib libopie.a
make[1]: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/libopie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing   -c -o y.tab.o y.tab.c
y.tab.c: In function 'yyparse':
y.tab.c:1445:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
 1445 |       yychar = yylex ();
      |                ^~~~~
ftpcmd.y:195:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  195 |                         user((char *) $3);
      |                              ^
ftpcmd.y:196:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  196 |                         free((char *) $3);
      |                              ^
ftpcmd.y:200:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  200 |                         pass((char *) $3);
      |                              ^
ftpcmd.y:201:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  201 |                         free((char *) $3);
      |                              ^
ftpcmd.y:214:17: warning: implicit declaration of function 'reply' [-Wimplicit-function-declaration]
  214 |                 reply(200, "PORT command successful.");
      |                 ^~~~~
ftpcmd.y:304:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  304 |                                 retrieve((char *) 0, (char *) $4);
      |                                                      ^
ftpcmd.y:306:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  306 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:311:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  311 |                                 store((char *) $4, "w", 0);
      |                                       ^
ftpcmd.y:313:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  313 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:318:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  318 |                                 store((char *) $4, "a", 0);
      |                                       ^
ftpcmd.y:320:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  320 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:330:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  330 |                                 send_file_list((char *) $4);
      |                                                ^
ftpcmd.y:332:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  332 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:346:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  346 |                                 retrieve(buffer, (char *) $4);
      |                                                  ^
ftpcmd.y:349:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  349 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:354:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  354 |                                 statfilecmd((char *) $4);
      |                                             ^
ftpcmd.y:356:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  356 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:365:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  365 |                                 delete((char *) $4);
      |                                        ^
ftpcmd.y:367:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  367 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:372:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  372 |                                 renamecmd(fromname, (char *) $3);
      |                                                     ^
ftpcmd.y:378:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  378 |                         free((char *) $3);
      |                              ^
ftpcmd.y:392:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  392 |                                 cwd((char *) $4);
      |                                     ^
ftpcmd.y:394:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  394 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:402:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  402 |                         register char *cp = (char *)$3;
      |                                             ^
ftpcmd.y:405:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  405 |                                 cp = (char *)$3 + 4;
      |                                      ^
ftpcmd.y:413:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  413 |                                 help(cmdtab, (char *) $3);
      |                                              ^
ftpcmd.y:422:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  422 |                                 makedir((char *) $4);
      |                                         ^
ftpcmd.y:424:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  424 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:429:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  429 |                                 removedir((char *) $4);
      |                                           ^
ftpcmd.y:431:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  431 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:449:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  449 |                         help(sitetab, (char *) $5);
      |                                       ^
ftpcmd.y:482:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  482 |                                 else if (chmod((char *) $8, $6) < 0)
      |                                                ^
ftpcmd.y:483:41: warning: implicit declaration of function 'perror_reply' [-Wimplicit-function-declaration]
  483 |                                         perror_reply(550, (char *) $8);
      |                                         ^~~~~~~~~~~~
ftpcmd.y:483:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  483 |                                         perror_reply(550, (char *) $8);
      |                                                           ^
ftpcmd.y:488:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  488 |                                 free((char *) $8);
      |                                      ^
ftpcmd.y:513:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  513 |                                 store((char *) $4, "w", 1);
      |                                       ^
ftpcmd.y:515:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  515 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:541:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  541 |                                 sizecmd((char *) $4);
      |                                         ^
ftpcmd.y:543:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  543 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:559:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  559 |                                 if (stat((char *) $4, &stbuf) < 0)
      |                                          ^
ftpcmd.y:560:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  560 |                                         perror_reply(550, (char *) $4);
      |                                                           ^
ftpcmd.y:563:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  563 |                                                 (char *) $4);
      |                                                 ^
ftpcmd.y:575:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  575 |                                 free((char *) $4);
      |                                      ^
ftpcmd.y:593:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  593 |                                 fromname = renamefrom((char *) $4);
      |                                                       ^
ftpcmd.y:595:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  595 |                                         free((char *) $4);
      |                                              ^
ftpcmd.y:741:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  741 |                 if (logged_in && $1 && strncmp((char *) $1, "~", 1) == 0) {
      |                                                      ^
ftpcmd.y:742:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  742 |                         *(char **)&($$) = *ftpglob((char *) $1);
      |                                                       ^
ftpcmd.y:748:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  748 |                         free((char *) $1);
      |                              ^
y.tab.c:2402:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
 2402 |       yyerror (YY_("syntax error"));
      |       ^~~~~~~
      |       yyerrok
ftpcmd.y: In function 'telnetgetline':
ftpcmd.y:882:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
  882 |         register c;
      |                  ^
ftpcmd.y: In function 'help':
ftpcmd.y:1207:17: warning: implicit declaration of function 'lreply' [-Wimplicit-function-declaration]
 1207 |                 lreply(214, "The following %scommands are recognized %s.",
      |                 ^~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opieinfo.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opieinfo
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opiekey.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opiekey
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opieserv.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opieserv
libopie/newseed.c:70:17: warning: type of 'time' does not match original declaration [-Wlto-type-mismatch]
   70 |                 time(&now);
      |                 ^
/usr/include/time.h:76:15: note: return value type mismatch
   76 | extern time_t time (time_t *__timer) __THROW;
      |               ^
/usr/include/time.h:76:15: note: type 'time_t' should match type 'int'
/usr/include/time.h:76:15: note: 'time' was previously declared here
/usr/include/time.h:76:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/newseed.c:56:26: warning: type of 'strtoul' does not match original declaration [-Wlto-type-mismatch]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^
/usr/include/stdlib.h:180:26: note: return value type mismatch
  180 | extern unsigned long int strtoul (const char *__restrict __nptr,
      |                          ^
/usr/include/stdlib.h:180:26: note: type 'long unsigned int' should match type 'int'
/usr/include/stdlib.h:180:26: note: 'strtoul' was previously declared here
/usr/include/stdlib.h:180:26: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/readpass.c: In function 'opiereadpass.constprop':
libopie/readpass.c:261:9: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
libopie/readpass.c:274:11: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opiesu.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opiesu
libopie/newseed.c:70:17: warning: type of 'time' does not match original declaration [-Wlto-type-mismatch]
   70 |                 time(&now);
      |                 ^
/usr/include/time.h:76:15: note: return value type mismatch
   76 | extern time_t time (time_t *__timer) __THROW;
      |               ^
/usr/include/time.h:76:15: note: type 'time_t' should match type 'int'
/usr/include/time.h:76:15: note: 'time' was previously declared here
/usr/include/time.h:76:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/newseed.c:56:26: warning: type of 'strtoul' does not match original declaration [-Wlto-type-mismatch]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^
/usr/include/stdlib.h:180:26: note: return value type mismatch
  180 | extern unsigned long int strtoul (const char *__restrict __nptr,
      |                          ^
/usr/include/stdlib.h:180:26: note: type 'long unsigned int' should match type 'int'
/usr/include/stdlib.h:180:26: note: 'strtoul' was previously declared here
/usr/include/stdlib.h:180:26: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/readpass.c: In function 'opiereadpass.constprop':
libopie/readpass.c:261:9: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
libopie/readpass.c:274:11: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
opiesu.c: In function 'main':
opiesu.c:267:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  267 |   for (i = 0, *argvbuf = 0; i < argc;) {
      |                        ^
opiesu.c:263:19: note: destination object of size 0 allocated by 'malloc'
  263 |   if (!(argvbuf = malloc(argvsize))) {
      |                   ^
opiesu.c:263:19: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
/usr/include/stdlib.h:539:14: note: in a call to allocation function 'malloc' declared here
  539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
      |              ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opietest.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opietest
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
./opietest && touch opietest-passed
opietest: executing 13 tests
( 1/13) testing opieatob8... passed
( 2/13) testing opiebtoa8... passed
( 3/13) testing opiebtoe... passed
( 4/13) testing opieetob... passed
( 5/13) testing opiegenerator... passed
( 6/13) testing opiegetsequence... passed
( 7/13) testing opiehash(MD4)... passed
( 8/13) testing opiehash(MD5)... passed
( 9/13) testing opieinsecure... passed
(10/13) testing opiekeycrunch... passed
(11/13) testing opielock... skipped
(12/13) testing opierandomchallenge... passed
(13/13) testing opieunlock... skipped
opietest: completed 13 tests. 11 tests passed, 2 tests skipped, 0 tests failed.
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opiegen.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opiegen
libopie/readpass.c: In function 'opiereadpass':
libopie/readpass.c:261:9: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
libopie/readpass.c:274:11: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opiepasswd.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opiepasswd
libopie/readpass.c: In function 'opiereadpass':
libopie/readpass.c:261:9: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
libopie/readpass.c:274:11: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opielogin.o permsfile.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opielogin
libopie/newseed.c:56:26: warning: type of 'strtoul' does not match original declaration [-Wlto-type-mismatch]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^
/usr/include/stdlib.h:180:26: note: return value type mismatch
  180 | extern unsigned long int strtoul (const char *__restrict __nptr,
      |                          ^
/usr/include/stdlib.h:180:26: note: type 'long unsigned int' should match type 'int'
/usr/include/stdlib.h:180:26: note: 'strtoul' was previously declared here
/usr/include/stdlib.h:180:26: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/readpass.c: In function 'opiereadpass':
libopie/readpass.c:261:9: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  261 |         write(1, bsseq, sizeof(bsseq) - 1);
      |         ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
libopie/readpass.c:274:11: warning: 'write' reading 7 bytes from a region of size 4 [-Wstringop-overread]
  274 |           write(1, bsseq, sizeof(bsseq) - 1);
      |           ^
/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)'
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing  -Ilibmissing opieftpd.o glob.o popen.o y.tab.o -Llibopie -Llibmissing -lopie -lcrypt  -lmissing -lopie -o opieftpd
libopie/newseed.c:56:26: warning: type of 'strtoul' does not match original declaration [-Wlto-type-mismatch]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^
/usr/include/stdlib.h:180:26: note: return value type mismatch
  180 | extern unsigned long int strtoul (const char *__restrict __nptr,
      |                          ^
/usr/include/stdlib.h:180:26: note: type 'long unsigned int' should match type 'int'
/usr/include/stdlib.h:180:26: note: 'strtoul' was previously declared here
/usr/include/stdlib.h:180:26: note: code may be misoptimized unless '-fno-strict-aliasing' is used
libopie/logwtmp.c:158:5: warning: type of 'time' does not match original declaration [-Wlto-type-mismatch]
  158 |     time(&ut.ut_time);
      |     ^
opieftpd.c:1254:13: note: return value type mismatch
 1254 |   time_t t, time();
      |             ^
opieftpd.c:1254:13: note: type 'time_t' should match type 'int'
opieftpd.c:1254:13: note: 'time' was previously declared here
opieftpd.c:1254:13: note: code may be misoptimized unless '-fno-strict-aliasing' is used
ftpcmd.y:109:15: warning: type of 'remotehost' does not match original declaration [-Wlto-type-mismatch]
  109 | extern  char *remotehost;
      |               ^
opieftpd.c:208:6: note: 'remotehost' was previously declared here
  208 | char remotehost[MAXHOSTNAMELEN];
      |      ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
+ cd pam_opie
+ make -j8
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
mkdir -p ./dynamic
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fno-strict-aliasing -Dlinux -DLINUX_PAM -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -fPIC -DPAM_DYNAMIC   -c pam_opie.c -o dynamic/pam_opie.o
pam_opie.c: In function 'xstrdup':
pam_opie.c:36:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
   36 | char *xstrdup(const char *x)
      |       ^~~~~~~
pam_opie.c: In function 'converse':
pam_opie.c:57:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
   57 | int converse(pam_handle_t *pamh, int nargs, struct pam_message **message,
      |     ^~~~~~~~
pam_opie.c:66:37: warning: to be safe all intermediate pointers in cast from 'struct pam_message **' to 'const struct pam_message **' must be 'const' qualified [-Wcast-qual]
   66 |                                     (const struct pam_message **) message,
      |                                     ^
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
gcc -shared -Xlinker -x -o pam_opie.so dynamic/pam_opie.o -L../libopie -lopie -lc
../libopie/newseed.c:70:17: warning: type of 'time' does not match original declaration [-Wlto-type-mismatch]
   70 |                 time(&now);
      |                 ^
/usr/include/time.h:76:15: note: return value type mismatch
   76 | extern time_t time (time_t *__timer) __THROW;
      |               ^
/usr/include/time.h:76:15: note: type 'time_t' should match type 'int'
/usr/include/time.h:76:15: note: 'time' was previously declared here
/usr/include/time.h:76:15: note: code may be misoptimized unless '-fno-strict-aliasing' is used
../libopie/newseed.c:56:26: warning: type of 'strtoul' does not match original declaration [-Wlto-type-mismatch]
   56 |                 if ((i = strtoul(++c, (char **)0, 10)) < max) {
      |                          ^
/usr/include/stdlib.h:180:26: note: return value type mismatch
  180 | extern unsigned long int strtoul (const char *__restrict __nptr,
      |                          ^
/usr/include/stdlib.h:180:26: note: type 'long unsigned int' should match type 'int'
/usr/include/stdlib.h:180:26: note: 'strtoul' was previously declared here
/usr/include/stdlib.h:180:26: note: code may be misoptimized unless '-fno-strict-aliasing' is used
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.63702
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/opie-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/opie-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd opie-2.4
+ mkdir -p /usr/src/tmp/opie-buildroot/etc
+ mkdir -p /usr/src/tmp/opie-buildroot/usr/share/man/man1/
+ make CHOWN=/bin/echo DESTDIR=/usr/src/tmp/opie-buildroot install
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4'
Installing OPIE client software...
Copying OPIE key-related files
Changing file permissions
Symlinking aliases to opiekey
Installing manual pages
Installing OPIE server software...
Copying OPIE user programs
Changing file permissions
Installing OPIE system programs...
Making sure OPIE database file exists
Changing permissions of OPIE database file
Changing ownership of OPIE database file
Creating OPIE lock directory
Installing manual pages
REMEMBER to run opiepasswd on your users immediately.
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4'
+ install -m 644 -D opie.h /usr/src/tmp/opie-buildroot/usr/include/opie.h
+ install -m 644 -D libopie/libopie.a /usr/src/tmp/opie-buildroot/usr/lib64/libopie.a
+ mv pam_opie/README ./README.PAM
+ cd pam_opie
+ make FAKEROOT=/usr/src/tmp/opie-buildroot SECUREDIR=/lib64/security install
make: Entering directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
mkdir -p ./dynamic
mkdir -p /usr/src/tmp/opie-buildroot/lib64/security
install -m 755 pam_opie.so /usr/src/tmp/opie-buildroot/lib64/security
make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie'
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/opie-buildroot (auto)
mode of './usr/bin/opiepasswd' changed from 4755 (rwsr-xr-x) to 4711 (rws--x--x)
mode of './lib64/security/pam_opie.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/opie-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/opie-buildroot/ (default)
Compressing files in /usr/src/tmp/opie-buildroot (auto)
removed '/usr/src/tmp/opie-buildroot/usr/share/man/man1/otp-md5.1'
'/usr/src/tmp/opie-buildroot/usr/share/man/man1/otp-md5.1.xz' -> 'opiekey.1.xz'
removed '/usr/src/tmp/opie-buildroot/usr/share/man/man1/otp-md4.1'
'/usr/src/tmp/opie-buildroot/usr/share/man/man1/otp-md4.1.xz' -> 'opiekey.1.xz'
Adjusting library links in /usr/src/tmp/opie-buildroot
./lib64: (from <cmdline>:0)
./usr/lib64: (from <cmdline>:0)
/usr/bin/strip: ./usr/lib64/stbZZ40C/md4c.o: plugin needed to handle lto object
process-lto: ERROR: ./usr/lib64/libopie.a: contains __gnu_lto_slim only.
061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged
061-brp-strip-lto.brp: since its format can change between GCC versions.
061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g.
061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries
061-brp-strip-lto.brp: or disable link-time optimization for this package.
error: Bad exit status from /usr/src/tmp/rpm-tmp.63702 (%install)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.63702 (%install)
Command exited with non-zero status 1
9.07user 3.18system 0:06.74elapsed 181%CPU (0avgtext+0avgdata 49892maxresident)k
0inputs+0outputs (0major+1088445minor)pagefaults 0swaps
hsh-rebuild: rebuild of `opie-2.4-alt1.src.rpm' failed.
Command exited with non-zero status 1
13.06user 6.80system 0:13.18elapsed 150%CPU (0avgtext+0avgdata 105032maxresident)k
0inputs+0outputs (30548major+1273068minor)pagefaults 0swaps