<86>Jan 10 09:06:33 userdel[3948109]: delete user 'rooter' <86>Jan 10 09:06:33 userdel[3948109]: removed group 'rooter' owned by 'rooter' <86>Jan 10 09:06:33 userdel[3948109]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 10 09:06:33 groupadd[3948121]: group added to /etc/group: name=rooter, GID=630 <86>Jan 10 09:06:33 groupadd[3948121]: group added to /etc/gshadow: name=rooter <86>Jan 10 09:06:33 groupadd[3948121]: new group: name=rooter, GID=630 <86>Jan 10 09:06:33 useradd[3948129]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Jan 10 09:06:33 userdel[3948152]: delete user 'builder' <86>Jan 10 09:06:33 userdel[3948152]: removed group 'builder' owned by 'builder' <86>Jan 10 09:06:33 userdel[3948152]: removed shadow group 'builder' owned by 'builder' <86>Jan 10 09:06:33 groupadd[3948169]: group added to /etc/group: name=builder, GID=631 <86>Jan 10 09:06:33 groupadd[3948169]: group added to /etc/gshadow: name=builder <86>Jan 10 09:06:33 groupadd[3948169]: new group: name=builder, GID=631 <86>Jan 10 09:06:33 useradd[3948182]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash <13>Jan 10 09:06:36 rpmi: rpm-macros-pam0-1.3.1.0.5.955b-alt2 1530819916 installed <13>Jan 10 09:06:36 rpmi: libpam0-devel-1.3.1.0.5.955b-alt2 1530819925 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.78405 + 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/(?' or provide a declaration of 'exit' opiegen.c:26:1: +#include opiegen.c:37:3: exit(1); ^~~~ opiegen.c:52:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 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' *(ap - 1) = ' '; ^ opiegen.c:65:11: warning: incompatible implicit declaration of built-in function 'exit' 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' 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 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 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 -march=i586 -mtune=generic -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] return out; ^~~ 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 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 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 -march=i586 -mtune=generic -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] opieinsecure(); ^~~~~~~~~~~~ testinsecure opietest.c: In function 'testlock': opietest.c:186:7: warning: implicit declaration of function 'getuid'; did you mean 'getline'? [-Wimplicit-function-declaration] if (getuid()) ^~~~~~ getline opietest.c: In function 'testunlock': opietest.c:230:9: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration] if (opieunlock()) ^~~~~~~~~~ opielock opietest.c: In function 'main': opietest.c:272:19: warning: implicit declaration of function 'geteuid'; did you mean 'getdelim'? [-Wimplicit-function-declaration] if (getuid() != geteuid()) { ^~~~~~~ getdelim opietest.c:274:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ opietest.c:274:5: warning: incompatible implicit declaration of built-in function 'exit' opietest.c:274:5: note: include '' or provide a declaration of 'exit' opietest.c:33:1: +#include opietest.c:274:5: exit(1); ^~~~ opietest.c:308:5: warning: incompatible implicit declaration of built-in function 'exit' 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' 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/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: 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] opieversion(); ^~~~~~~~~~~ opieverify opieinfo.c:71:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ opieinfo.c:71:7: warning: incompatible implicit declaration of built-in function 'exit' opieinfo.c:71:7: note: include '' or provide a declaration of 'exit' opieinfo.c:44:1: +#include opieinfo.c:71:7: exit(0); ^~~~ opieinfo.c:85:5: warning: incompatible implicit declaration of built-in function 'exit' 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] 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] 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] memset(secret, 0, sizeof(secret)); ^ opiekey.c: In function 'main': opiekey.c:144:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (slash = strchr(argv[0], '/')) ^~~~~ opiekey.c:158:15: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 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] opieversion(); ^~~~~~~~~~~ opieverify opiekey.c:242:7: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration] if (opieinsecure()) { ^~~~~~~~~~~~ opiekey.c:262:9: warning: implicit declaration of function 'opienewseed'; did you mean 'opiepasswd'? [-Wimplicit-function-declaration] if (opienewseed(strcpy(newseed, seed)) < 0) { ^~~~~~~~~~~ opiepasswd opiekey.c:292:11: warning: unused variable 'c' [-Wunused-variable] 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 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 getsequence.o getsequence.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] 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] opieversion(); ^~~~~~~~~~~ opieverify opiepasswd.c:214:9: warning: implicit declaration of function 'opienewseed'; did you mean 'opiepasswd'? [-Wimplicit-function-declaration] if (opienewseed(seed) < 0) { ^~~~~~~~~~~ opiepasswd opiepasswd.c:246:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = strrchr(tmp, ' ')) ^ opiepasswd.c:282:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = strrchr(tmp, ' ')) ^ opiepasswd.c:335:11: warning: implicit declaration of function 'opieinsecure' [-Wimplicit-function-declaration] if (opieinsecure() && !force) { ^~~~~~~~~~~~ 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 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 opiesu.o opiesu.c opiesu.c: In function 'lsetenv': opiesu.c:200:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] 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] 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] if (opieinsecure()) { ^~~~~~~~~~~~ opiesu.c:263:19: warning: argument 1 range [2147483648, 4294967295] exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 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 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^~~~~~ 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[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] while(*c2 = *(secret++)) c2++; ^ keycrunch.c:54:3: warning: implicit declaration of function 'opiehashlen'; did you mean 'opiehash'? [-Wimplicit-function-declaration] 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: 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[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] if (((*sequence = strtoul(++c, &c, 10)) > OPIE_SEQUENCE_MAX) || !*sequence) ^~~~~~~ strtok parsechallenge.c:56:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 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' 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] exit(1); ^~~~ opieserv.c:46:4: warning: incompatible implicit declaration of built-in function 'exit' opieserv.c:46:4: note: include '' or provide a declaration of 'exit' opieserv.c:21:1: +#include opieserv.c:46:4: exit(1); ^~~~ opieserv.c:66:11: warning: incompatible implicit declaration of built-in function 'exit' 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' 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: 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] while (cc = *p++) { ^~ glob.c:164:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (cc == 0) ^ glob.c: In function 'rscan': glob.c:225:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = *t++) { ^ glob.c:226:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (f == tglob) ^ glob.c:232:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ^ glob.c: In function 'letter': glob.c:246:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] while (*av++ = *bv++) ^ glob.c: In function 'blkfree': glob.c:285:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(*av++); ^~~~ glob.c:285:5: warning: incompatible implicit declaration of built-in function 'free' glob.c:285:5: note: include '' or provide a declaration of 'free' glob.c:78:1: +#include glob.c:285:5: free(*av++); ^~~~ glob.c: In function 'strspl': glob.c:290:32: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 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' 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] patherr1: ^~~~~~~~ glob.c:362:15: warning: unused variable 'stb' [-Wunused-variable] struct stat stb; ^~~ glob.c: In function 'amatch': glob.c:570:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cc = *p++) { ^~ glob.c:583:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (cc == 0) ^ glob.c:627:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (stat(gpath, &stb) == 0 && isdir(stb)) ^ At top level: glob.c:138:12: warning: 'Gmatch' defined but not used [-Wunused-function] 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 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 -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] if ((i = strtoul(++c, (char **)0, 10)) < max) { ^~~~~~~ strtok newseed.c:70:3: warning: implicit declaration of function 'time'; did you mean 'nice'? [-Wimplicit-function-declaration] time(&now); ^~~~ nice newseed.c:71:3: warning: implicit declaration of function 'srand'; did you mean 'scanf'? [-Wimplicit-function-declaration] srand(now); ^~~~~ scanf newseed.c:88:6: warning: implicit declaration of function 'rand'; did you mean 'read'? [-Wimplicit-function-declaration] (rand() % 9999) + 1) >= OPIE_SEED_MAX+1) ^~~~ read 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] if (i = __opiereadrec(opie)) ^ 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] if ((flags & OPIEPASSWD_CONSOLE) && opieinsecure()) ^~~~~~~~~~~~ passwd.c:73:7: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration] 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 randomchallenge.o randomchallenge.c randomchallenge.c: In function 'opierandomchallenge': randomchallenge.c:45:7: warning: implicit declaration of function 'opienewseed'; did you mean 'opiepasswd'? [-Wimplicit-function-declaration] if (opienewseed(buf)) ^~~~~~~~~~~ opiepasswd randomchallenge.c:49:5: warning: implicit declaration of function 'rand'; did you mean 'rewind'? [-Wimplicit-function-declaration] (rand() % 499) + 1, buf); ^~~~ rewind 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=] snprintf(prompt, OPIE_CHALLENGE_MAX+1, "otp-%s %d %s ext", algids[MDX], ^~~~ In file included from /usr/include/stdio.h:862, from randomchallenge.c:33: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 15 and 34 bytes into a destination of size 30 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 unlock.o unlock.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 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] write(1, bsseq, sizeof(bsseq) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readpass.c:274:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, bsseq, sizeof(bsseq) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readpass.c:284:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, c, 1); ^~~~~~~~~~~~~~ readpass.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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 version.o version.c version.c: In function 'opieversion': version.c:28:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ version.c:28:3: warning: incompatible implicit declaration of built-in function 'exit' version.c:28:3: note: include '' or provide a declaration of 'exit' version.c:24:1: +#include version.c:28:3: exit(0); ^~~~ 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 generator.o generator.c generator.c: In function 'opiegenerator': generator.c:166:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = opiekeycrunch(algorithm, &key, seed, secret)) ^ generator.c:182:6: warning: implicit declaration of function 'opienewseed'; did you mean 'opiepasswd'? [-Wimplicit-function-declaration] if (opienewseed(strcpy(newseed, seed)) < 0) ^~~~~~~~~~~ opiepasswd generator.c:176:8: warning: unused variable 'c' [-Wunused-variable] 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[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 verify.o verify.c verify.c: In function 'opieverify': verify.c:89:10: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if (!isalnum(*c)) ^~~~~~~ verify.c:95:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = strchr(response, ':')) { ^ verify.c:218:3: warning: implicit declaration of function 'opieunlock'; did you mean 'opielock'? [-Wimplicit-function-declaration] opieunlock(); ^~~~~~~~~~ opielock verify.c:73:15: warning: unused variable 'nopie' [-Wunused-variable] struct opie nopie; ^~~~~ At top level: verify.c:50:14: warning: 'algids' defined but not used [-Wunused-variable] 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 -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] if (c = strchr(opie->opie_principal, ':')) ^ readrec.c:139:9: warning: unused variable 'i' [-Wunused-variable] 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 writerec.o writerec.c writerec.c: In function '__opiewriterec': writerec.c:44:13: warning: unused variable 'f2' [-Wunused-variable] FILE *f, *f2 = NULL; ^~ writerec.c:42:8: warning: unused variable 'buf' [-Wunused-variable] 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 insecure.o insecure.c insecure.c: In function 'opieinsecure': insecure.c:74:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(display_name, ':')) { ^ insecure.c:94:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(display_name, '.')) { ^ insecure.c:132:36: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(host, utmp.ut_host, sizeof(utmp.ut_host)); ^ insecure.c:135:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(host, ':')) { ^ insecure.c:145:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(host, ' ')) { ^ insecure.c:147:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(s + 1, ' ')) ^ 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] if (p = getenv("TERM")) { ^ opielogin.c:1026:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen(HAVE_LOGIN_ENVFILE, "r")) { ^ opielogin.c:1031:15: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] while(*c && (isalnum(*c) || (*c == '_'))) c++; ^~~~~~~ opielogin.c:1034:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, ';')) ^~ opielogin.c:1036:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, '\n')) ^~ opielogin.c:1038:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, ' ')) ^~ opielogin.c:1040:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, '\t')) ^~ opielogin.c:1059:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (name[0]) ^ opielogin.c:1108:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!memcmp(&thisuser, &nouser, sizeof(thisuser))) ^ opielogin.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (nlfd = fopen(_PATH_NOLOGIN, "r")) { ^~~~ opielogin.c:1266:24: warning: implicit declaration of function 'ctime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 24 - 5, (char *) ctime(&ll.ll_time)); ^~~~~ utimes opielogin.c:1274:5: warning: implicit declaration of function 'time'; did you mean 'nice'? [-Wimplicit-function-declaration] time(&ll.ll_time); ^~~~ nice opielogin.c:1344:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = strrchr(tty, '/')) ^ opielogin.c:1349:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = getttynam(c)) ^ opielogin.c:1370:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen(HAVE_LOGIN_ENVFILE, "r")) { ^ opielogin.c:1378:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, ';')) ^~ opielogin.c:1380:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, '\n')) ^~ opielogin.c:1382:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, ' ')) ^~ opielogin.c:1384:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c2 = strchr(c, '\t')) ^~ opielogin.c:1404:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!thisuser.pw_uid) ^ opielogin.c:1412:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ opielogin.c:1280:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(f, (char *) &ll, sizeof ll); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opielogin.c:1286:3: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] 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] setgid(thisuser.pw_gid); ^~~~~~~~~~~~~~~~~~~~~~~ opielogin.c:1312:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(thisuser.pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~ At top level: opielogin.c:173:13: warning: 'host' defined but not used [-Wunused-variable] static char host[HMAX + 1] = ""; ^~~~ 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 opieftpd.o opieftpd.c opieftpd.c: In function 'user': opieftpd.c:432:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] s = accept(pdata, (struct sockaddr *) & from, &fromlen); ^~~~~~~~ In file included from opieftpd.c:99: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ opieftpd.c: In function 'yyerror': opieftpd.c:1168:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] remotehost, ctime(&t)); ^~~~~ time opieftpd.c:1265:44: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] syslog(LOG_INFO, "connection from %s at %s", ~^ %d remotehost, ctime(&t)); ~~~~~~~~~ opieftpd.c: In function 'passive': opieftpd.c:1340:59: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(pdata, (struct sockaddr *) & pasv_addr, &len) < 0) ^~~~ In file included from opieftpd.c:99: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ opieftpd.c: In function 'send_file_list': opieftpd.c:1439:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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] if (getpeername(0, (struct sockaddr *) & his_addr, &addrlen) < 0) { ^~~~~~~~ In file included from opieftpd.c:99: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ opieftpd.c:1585:55: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(0, (struct sockaddr *) & ctrl_addr, &addrlen) < 0) { ^~~~~~~~ In file included from opieftpd.c:99: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ opieftpd.c:1709:5: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration] 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] 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] 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 login.o login.c login.c: In function 'opielogin': login.c:67:30: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(id, u.ut_id, sizeof(u.ut_id)); ^ login.c:75:14: warning: implicit declaration of function 'getpid'; did you mean 'getutid'? [-Wimplicit-function-declaration] u.ut_pid = getpid(); ^~~~~~ getutid login.c:110:3: warning: implicit declaration of function 'opielogwtmp'; did you mean 'opielogin'? [-Wimplicit-function-declaration] opielogwtmp(line, name, host, id); ^~~~~~~~~~~ opielogin login.c:113:1: warning: label 'dosetlogin' defined but not used [-Wunused-label] dosetlogin: ^~~~~~~~~~ login.c:109:1: warning: label 'dowtmp' defined but not used [-Wunused-label] 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 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 -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'; did you mean 'nice'? [-Wimplicit-function-declaration] time(&ut.ut_time); ^~~~ nice logwtmp.c:161:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, buf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: logwtmp.c:86:12: warning: 'fdx' defined but not used [-Wunused-variable] 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' 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 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 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 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 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 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' ./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 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 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' 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] yychar = yylex (); ^~~~~ ftpcmd.y:214:17: warning: implicit declaration of function 'reply' [-Wimplicit-function-declaration] reply(200, "PORT command successful."); ^~~~~ ftpcmd.y:483:6: warning: implicit declaration of function 'perror_reply'; did you mean 'perror'? [-Wimplicit-function-declaration] perror_reply(550, (char *) $8); ^~~~~~~~~~~~ perror y.tab.c:2417:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration] 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] register c; ^ ftpcmd.y: In function 'help': ftpcmd.y:1207:3: warning: implicit declaration of function 'lreply' [-Wimplicit-function-declaration] 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] 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] 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] (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.36929 + 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 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.125 + 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.pynLWL 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.VDSowK 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.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.hgGKM9 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.muNKmS 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.c7UUzS 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.4v6YkZ Processing files: opie-debuginfo-2.4-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1nN0Hm find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DHDdRW 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.82user 3.48system 0:19.04elapsed 75%CPU (0avgtext+0avgdata 30912maxresident)k 0inputs+0outputs (0major+1268580minor)pagefaults 0swaps 14.80user 5.89system 0:25.40elapsed 81%CPU (0avgtext+0avgdata 114112maxresident)k 0inputs+0outputs (0major+1564139minor)pagefaults 0swaps --- opie-2.4-alt1.i586.rpm.repo 2011-05-27 13:14:49.000000000 +0000 +++ opie-2.4-alt1.i586.rpm.hasher 2021-01-10 09:06:57.657270864 +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 @@ -40,5 +40,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)