<86>Jul 14 08:52:54 userdel[1417431]: delete user 'rooter' <86>Jul 14 08:52:54 userdel[1417431]: removed group 'rooter' owned by 'rooter' <86>Jul 14 08:52:54 userdel[1417431]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 14 08:52:54 groupadd[1417460]: group added to /etc/group: name=rooter, GID=615 <86>Jul 14 08:52:54 groupadd[1417460]: group added to /etc/gshadow: name=rooter <86>Jul 14 08:52:54 groupadd[1417460]: new group: name=rooter, GID=615 <86>Jul 14 08:52:54 useradd[1417485]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Jul 14 08:52:54 userdel[1417509]: delete user 'builder' <86>Jul 14 08:52:54 userdel[1417509]: removed group 'builder' owned by 'builder' <86>Jul 14 08:52:54 userdel[1417509]: removed shadow group 'builder' owned by 'builder' <86>Jul 14 08:52:54 groupadd[1417562]: group added to /etc/group: name=builder, GID=616 <86>Jul 14 08:52:54 groupadd[1417562]: group added to /etc/gshadow: name=builder <86>Jul 14 08:52:54 groupadd[1417562]: new group: name=builder, GID=616 <86>Jul 14 08:52:54 useradd[1417581]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Jul 14 08:52:56 rpmi: rpm-macros-pam0-1.4.0-alt1 sisyphus+252993.100.1.1 1591612295 installed <13>Jul 14 08:52:56 rpmi: libpam0-devel-1.4.0-alt1 sisyphus+252993.100.1.1 1591612339 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/opie-2.4-alt1.nosrc.rpm Installing opie-2.4-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50926 + 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/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/opie-2.4.tar.bz2 + 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/(?' or provide a declaration of 'exit' 32 | #include "opie.h" +++ |+#include 33 | opietest.c:308:5: warning: incompatible implicit declaration of built-in function 'exit' 308 | exit(1); | ^~~~ opietest.c:308:5: note: include '' or provide a declaration of 'exit' opietest.c:310:3: warning: incompatible implicit declaration of built-in function 'exit' 310 | exit(0); | ^~~~ opietest.c:310:3: note: include '' 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/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 -march=i586 -mtune=generic -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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: Entering directory '/usr/src/RPM/BUILD/opie-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -c -o permsfile.o permsfile.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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -c -o opiegen.o opiegen.c opiegen.c: In function 'main': opiegen.c:34:6: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration] 34 | if (opieinsecure()) { | ^~~~~~~~~~~~ opiegen.c:37:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 37 | exit(1); | ^~~~ opiegen.c:37:3: warning: incompatible implicit declaration of built-in function 'exit' opiegen.c:26:1: note: include '' or provide a declaration of 'exit' 25 | #include "opie.h" +++ |+#include 26 | opiegen.c:52:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 52 | while ((*(ap++) = *(c++)) && (ap < ep)); | ^~~~~ opiegen.c:53:5: 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' 65 | exit(1); | ^~~~ opiegen.c:65:11: note: include '' or provide a declaration of 'exit' opiegen.c:83:4: warning: incompatible implicit declaration of built-in function 'exit' 83 | exit(0); | ^~~~ opiegen.c:83:4: note: include '' 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 -march=i586 -mtune=generic -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:204:7: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] 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()) { | ^~~~~~~~~~~~ opiesu.c:263:19: warning: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 263 | if (!(argvbuf = malloc(argvsize))) { | ^~~~~~~~~~~~~~~~ In file included from opiesu.c:90: /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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: Entering directory '/usr/src/RPM/BUILD/opie-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 246 | if (c = strrchr(tmp, ' ')) | ^ opiepasswd.c:282:10: 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 -march=i586 -mtune=generic -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:71:7: warning: incompatible implicit declaration of built-in function 'exit' opieinfo.c:44:1: note: include '' or provide a declaration of 'exit' 43 | #include "opie.h" +++ |+#include 44 | opieinfo.c:85:5: warning: incompatible implicit declaration of built-in function 'exit' 85 | exit(1); | ^~~~ opieinfo.c:85:5: note: include '' 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -c -o opieserv.o opieserv.c opieserv.c: In function 'main': opieserv.c:46:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 46 | exit(1); | ^~~~ opieserv.c:46:4: warning: incompatible implicit declaration of built-in function 'exit' opieserv.c:21:1: note: include '' or provide a declaration of 'exit' 20 | #include "opie.h" +++ |+#include 21 | opieserv.c:66:11: warning: incompatible implicit declaration of built-in function 'exit' 66 | exit(1); | ^~~~ opieserv.c:66:11: note: include '' or provide a declaration of 'exit' opieserv.c:72:4: warning: incompatible implicit declaration of built-in function 'exit' 72 | exit(1); | ^~~~ opieserv.c:72:4: note: include '' 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 -march=i586 -mtune=generic -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:12: 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:3: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 70 | time(&now); | ^~~~ newseed.c:71:3: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 71 | srand(now); | ^~~~~ newseed.c:88:6: 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 -march=i586 -mtune=generic -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++; | ^~~~~~~ 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' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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: Entering directory '/usr/src/RPM/BUILD/opie-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:285:5: warning: incompatible implicit declaration of built-in function 'free' glob.c:78:1: note: include '' or provide a declaration of 'free' 77 | #include "opie.h" +++ |+#include 78 | 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: warning: incompatible implicit declaration of built-in function 'malloc' glob.c:290:32: note: include '' or provide a declaration of 'malloc' glob.c: In function 'copyblk': glob.c:302:34: warning: incompatible implicit declaration of built-in function 'malloc' 302 | register char **nv = (char **) malloc((unsigned) ((blklen(v) + 1) * | ^~~~~~ glob.c:302:34: note: include '' 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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:5: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 49 | (rand() % 499) + 1, buf); | ^~~~ randomchallenge.c:48:55: warning: ' ext' directive output may be truncated writing 4 bytes into a region of size between 1 and 20 [-Wformat-truncation=] 48 | snprintf(prompt, OPIE_CHALLENGE_MAX+1, "otp-%s %d %s ext", algids[MDX], | ^~~~ In file included from /usr/include/stdio.h:867, from randomchallenge.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 34 bytes into a destination of size 30 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=i586 -mtune=generic -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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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:28:3: warning: incompatible implicit declaration of built-in function 'exit' version.c:24:1: note: include '' or provide a declaration of 'exit' 23 | #include +++ |+#include 24 | 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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: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: Entering directory '/usr/src/RPM/BUILD/opie-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:15: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 1031 | while(*c && (isalnum(*c) || (*c == '_'))) c++; | ^~~~~~~ opielogin.c:1034:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1034 | if (c2 = strchr(c, ';')) | ^~ opielogin.c:1036:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1036 | if (c2 = strchr(c, '\n')) | ^~ opielogin.c:1038:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1038 | if (c2 = strchr(c, ' ')) | ^~ opielogin.c:1040:10: 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:1266:24: warning: implicit declaration of function 'ctime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1266 | 24 - 5, (char *) ctime(&ll.ll_time)); | ^~~~~ | utimes 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:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1378 | if (c2 = strchr(c, ';')) | ^~ opielogin.c:1380:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1380 | if (c2 = strchr(c, '\n')) | ^~ opielogin.c:1382:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1382 | if (c2 = strchr(c, ' ')) | ^~ opielogin.c:1384:10: 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 -march=i586 -mtune=generic -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:6: warning: implicit declaration of function 'opienewseed' [-Wimplicit-function-declaration] 182 | if (opienewseed(strcpy(newseed, seed)) < 0) | ^~~~~~~~~~~ generator.c:176:8: 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 -march=i586 -mtune=generic -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: Entering directory '/usr/src/RPM/BUILD/opie-2.4' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -c -o opieftpd.o opieftpd.c 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:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | 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:26: 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:26: 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:26: 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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: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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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[1]: Entering directory '/usr/src/RPM/BUILD/opie-2.4/libopie' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 94 | if (s = strchr(display_name, '.')) { | ^ insecure.c:135:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 135 | if (s = strchr(host, ':')) { | ^ insecure.c:145:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 145 | if (s = strchr(host, ' ')) { | ^ insecure.c:147:9: 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -DKEY_FILE=\"/etc/opiekeys\" -fPIC -I.. -I../libmissing -c -o btoe.o btoe.c In file included from /usr/include/string.h:508, from btoe.c:29: In function 'strncpy', inlined from 'opieetob' at btoe.c:2138:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btoe.c: In function 'opieetob': btoe.c:2132:12: note: length computed here 2132 | if ((i = strlen(e)) > 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' 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opiesu.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opiesu 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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opielogin.o permsfile.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opielogin 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opiegen.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opiegen 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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opiepasswd.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opiepasswd 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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opieserv.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opieserv 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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing -c -o y.tab.o y.tab.c y.tab.c: In function 'yyparse': y.tab.c:1466:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] 1466 | yychar = yylex (); | ^~~~~ ftpcmd.y:214:17: warning: implicit declaration of function 'reply' [-Wimplicit-function-declaration] 214 | reply(200, "PORT command successful."); | ^~~~~ ftpcmd.y:483:6: warning: implicit declaration of function 'perror_reply' [-Wimplicit-function-declaration] 483 | perror_reply(550, (char *) $8); | ^~~~~~~~~~~~ y.tab.c:2417:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 2417 | yyerror (YY_("syntax error")); | ^~~~~~~ | yyerrok ftpcmd.y: In function 'telnetgetline': ftpcmd.y:882:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] 882 | register c; | ^ ftpcmd.y: In function 'help': ftpcmd.y:1207:3: 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 -march=i586 -mtune=generic -fno-strict-aliasing -Ilibmissing opieftpd.o glob.o popen.o y.tab.o -Llibopie -Llibmissing -lopie -lcrypt -lmissing -lopie -o opieftpd 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 -march=i586 -mtune=generic -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:9: 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 make: Leaving directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.39487 + 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 + 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/lib/libopie.a + mv pam_opie/README ./README.PAM + cd pam_opie + make FAKEROOT=/usr/src/tmp/opie-buildroot SECUREDIR=/lib/security install make: Entering directory '/usr/src/RPM/BUILD/opie-2.4/pam_opie' mkdir -p ./dynamic mkdir -p /usr/src/tmp/opie-buildroot/lib/security install -m 755 pam_opie.so /usr/src/tmp/opie-buildroot/lib/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 './lib/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) 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 ./lib: ./usr/lib: Verifying ELF objects in /usr/src/tmp/opie-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./lib/security/pam_opie.so: undefined symbol: pam_get_item verify-elf: WARNING: ./lib/security/pam_opie.so: undefined symbol: pam_get_user verify-elf: WARNING: ./lib/security/pam_opie.so: undefined symbol: pam_set_item verify-elf: WARNING: ./lib/security/pam_opie.so: uses non-LFS functions: __lxstat fopen open verify-elf: WARNING: ./usr/bin/opieinfo: uses non-LFS functions: __lxstat fopen open verify-elf: WARNING: ./usr/bin/opiepasswd: uses non-LFS functions: __lxstat fopen open verify-elf: WARNING: ./usr/bin/opieftpd: uses non-LFS functions: __fxstat __lxstat __xstat fcntl fopen freopen ftruncate lseek open readdir verify-elf: WARNING: ./usr/bin/opielogin: uses non-LFS functions: __fxstat __lxstat __xstat fopen ftruncate lseek open verify-elf: WARNING: ./usr/bin/opiesu: uses non-LFS functions: __lxstat fopen open Hardlinking identical .pyc and .pyo files Processing files: opie-2.4-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.70948 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd opie-2.4 + DOCDIR=/usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + export DOCDIR + rm -rf /usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + /bin/mkdir -p /usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + cp -prL BUG-REPORT COPYRIGHT.NRL INSTALL License.TIN README README.PAM /usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + chmod -R go-w /usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + chmod -R a+rX /usr/src/tmp/opie-buildroot/usr/share/doc/opie-2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nF9NKE find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3q7vPI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pam_opie, PAM(pam_opie.so) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcrypt.so.1 >= set:ihuTa, libcrypt.so.1(XCRYPT_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2USB2F Creating opie-debuginfo package Processing files: opie-devel-2.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YK9jjJ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YZXf4E find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q4Co6I Processing files: opie-debuginfo-2.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.e3NsUG find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X8qohI find-requires: running scripts (debuginfo) Requires: opie = 2.4-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypt.so.1) warning: Installed (but unpackaged) file(s) found: /usr/lib/libopie.a Wrote: /usr/src/RPM/RPMS/i586/opie-2.4-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/opie-devel-2.4-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/opie-debuginfo-2.4-alt1.i586.rpm 10.03user 3.24system 0:17.01elapsed 78%CPU (0avgtext+0avgdata 29952maxresident)k 0inputs+0outputs (0major+1251279minor)pagefaults 0swaps 13.74user 5.77system 0:23.91elapsed 81%CPU (0avgtext+0avgdata 110728maxresident)k 232inputs+0outputs (0major+1551804minor)pagefaults 0swaps --- opie-2.4-alt1.i586.rpm.repo 2011-05-27 13:14:49.000000000 +0000 +++ opie-2.4-alt1.i586.rpm.hasher 2020-07-14 08:53:16.736220380 +0000 @@ -19,15 +19,15 @@ /usr/share/doc/opie-2.4/README.PAM 100644 -/usr/share/man/man1/opiegen.1.gz 100644 -/usr/share/man/man1/opieinfo.1.gz 100644 -/usr/share/man/man1/opiekey.1.gz 100644 -/usr/share/man/man1/opielogin.1.gz 100644 -/usr/share/man/man1/opiepasswd.1.gz 100644 -/usr/share/man/man1/opieserv.1.gz 100644 -/usr/share/man/man1/opiesu.1.gz 100644 -/usr/share/man/man1/otp-md4.1.gz 120777 opiekey.1.gz -/usr/share/man/man1/otp-md5.1.gz 120777 opiekey.1.gz -/usr/share/man/man4/opie.4.gz 100644 -/usr/share/man/man5/opieaccess.5.gz 100644 -/usr/share/man/man5/opiekeys.5.gz 100644 -/usr/share/man/man8/opieftpd.8.gz 100644 +/usr/share/man/man1/opiegen.1.xz 100644 +/usr/share/man/man1/opieinfo.1.xz 100644 +/usr/share/man/man1/opiekey.1.xz 100644 +/usr/share/man/man1/opielogin.1.xz 100644 +/usr/share/man/man1/opiepasswd.1.xz 100644 +/usr/share/man/man1/opieserv.1.xz 100644 +/usr/share/man/man1/opiesu.1.xz 100644 +/usr/share/man/man1/otp-md4.1.xz 120777 opiekey.1.xz +/usr/share/man/man1/otp-md5.1.xz 120777 opiekey.1.xz +/usr/share/man/man4/opie.4.xz 100644 +/usr/share/man/man5/opieaccess.5.xz 100644 +/usr/share/man/man5/opiekeys.5.xz 100644 +/usr/share/man/man8/opieftpd.8.xz 100644 Requires: /lib/ld-linux.so.2 @@ -37,2 +37,3 @@ Requires: libc.so.6(GLIBC_2.11) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3) @@ -40,5 +41,5 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: libcrypt.so.1 >= set:hguT2 +Requires: libcrypt.so.1 >= set:ihuTa Requires: rpmlib(SetVersions) -Requires: libcrypt.so.1(GLIBC_2.0) +Requires: libcrypt.so.1(XCRYPT_2.0) Requires: rtld(GNU_HASH)