<86>Mar 25 08:14:27 userdel[3433302]: delete user 'rooter' <86>Mar 25 08:14:27 userdel[3433302]: removed group 'rooter' owned by 'rooter' <86>Mar 25 08:14:27 userdel[3433302]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 25 08:14:27 groupadd[3433336]: group added to /etc/group: name=rooter, GID=639 <86>Mar 25 08:14:27 groupadd[3433336]: group added to /etc/gshadow: name=rooter <86>Mar 25 08:14:27 groupadd[3433336]: new group: name=rooter, GID=639 <86>Mar 25 08:14:27 useradd[3433349]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Mar 25 08:14:27 userdel[3433364]: delete user 'builder' <86>Mar 25 08:14:27 userdel[3433364]: removed group 'builder' owned by 'builder' <86>Mar 25 08:14:27 userdel[3433364]: removed shadow group 'builder' owned by 'builder' <86>Mar 25 08:14:27 groupadd[3433376]: group added to /etc/group: name=builder, GID=640 <86>Mar 25 08:14:27 groupadd[3433376]: group added to /etc/gshadow: name=builder <86>Mar 25 08:14:27 groupadd[3433376]: new group: name=builder, GID=640 <86>Mar 25 08:14:27 useradd[3433388]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/mars_nwe-0.99-alt5.src.rpm: The use of such a license name is ambiguous: GPL warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Mar 25 08:14:29 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 25 08:14:29 rpmi: libgdbm-devel-1.8.3-alt10 1454943334 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/mars_nwe-0.99-alt5.nosrc.rpm (w1.gzdio) Installing mars_nwe-0.99-alt5.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58424 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mars_nwe + echo 'Source #0 (mars_nwe-0.99.pl21.tar.bz2):' Source #0 (mars_nwe-0.99.pl21.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl21.tar.bz2 + /bin/tar -xf - + cd mars_nwe + /bin/chmod -c -Rf u+rwX,go-w . mode of './COPYING' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + echo 'Patch #0 (mars_nwe-0.99pl21-tools.patch.gz):' Patch #0 (mars_nwe-0.99pl21-tools.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99pl21-tools.patch.gz + /usr/bin/patch -p1 patching file tools.h + echo 'Patch #1 (mars_nwe-glibc21.patch.bz2):' Patch #1 (mars_nwe-glibc21.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-glibc21.patch.bz2 + /usr/bin/patch -p1 patching file emutli1.c + echo 'Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2):' Patch #2 (mars_nwe-0.99.pl19-buffer.patch.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl19-buffer.patch.bz2 + /usr/bin/patch -p1 patching file connect.c Hunk #1 succeeded at 824 (offset 45 lines). Hunk #2 succeeded at 885 (offset 45 lines). Hunk #3 succeeded at 1927 (offset 45 lines). patching file nameos2.c patching file namspace.c patching file nwattrib.c patching file nwbind.c Hunk #1 succeeded at 677 (offset 10 lines). patching file nwdbm.c patching file nwfile.c patching file nwqconn.c patching file nwserv.c Hunk #2 succeeded at 1290 (offset 3 lines). patching file nwvolume.c Hunk #1 succeeded at 156 (offset 12 lines). patching file unxfile.c Hunk #1 succeeded at 125 (offset 20 lines). patching file nameos2.h + echo 'Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz):' Patch #3 (mars_nwe-0.99.pl20-emutli1.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mars_nwe-0.99.pl20-emutli1.patch.gz + /usr/bin/patch -p1 patching file emutli1.c Hunk #1 succeeded at 339 (offset -1 lines). + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-mk.li.gz + chmod 755 mk.li + sed -e s/@MAX_CONNECTIONS@/16/ -e s/@MAX_FILES@/256/ -e 's|@PATHNAME_BINDERY@|/var/lib/mars_nwe/bd|' + gzip -dc /usr/src/RPM/SOURCES/mars_nwe-config.h.in.gz + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.36063 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mars_nwe + make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0' make: Entering directory '/usr/src/RPM/BUILD/mars_nwe' make[1]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' rm -f Makefile.o cp ../makefile.unx makefile.c cpp -traditional -DLINUX -DUSE_GDBM -I.. makefile.c > Makefile.o rm -f makefile.c make -f Makefile.o n_all make[2]: Entering directory '/usr/src/RPM/BUILD/mars_nwe/obj' cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwserv.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwserv.c:21: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwserv.c: In function 'response_ipx_diag': ../nwserv.c:637:58: warning: pointer targets in passing argument 3 of 'read_interface_data' differ in signedness [-Wpointer-sign] 637 | fframe = read_interface_data((uint8*) buff, &rnet, node, &flags, dname); | ^~~~ | | | char * In file included from ../net.h:70, from ../nwserv.c:21: ../emutli1.h:25:66: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 25 | extern int read_interface_data(uint8* data, uint32 *rnet, uint8 *node, | ~~~~~~~^~~~ ../nwserv.c: In function 'get_ini': ../nwserv.c:866:30: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 866 | upstr(inhalt); | ^~~~~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:28: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ~~~~~~~^~ ../nwserv.c:909:45: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 909 | new_str(nd->devname, "eth0"); | ^~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwserv.c:920:47: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 920 | new_str(nd->devname, inhalt2); | ^~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ ../nwserv.c:923:32: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 923 | upstr(inhalt3); | ^~~~~~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:28: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ~~~~~~~^~ ../nwserv.c: In function 'main': ../nwserv.c:1294:21: warning: pointer targets in passing argument 1 of 'upstr' differ in signedness [-Wpointer-sign] 1294 | upstr(buf); | ^~~ | | | char * In file included from ../net.h:487, from ../nwserv.c:21: ../tools.h:58:28: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 58 | extern uint8 *upstr(uint8 *ss); | ~~~~~~~^~ In file included from ../net.h:69, from ../nwserv.c:21: ../nwserv.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../emutli.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../emutli.c: In function 't_bind': ../emutli.c:163:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 163 | if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) == -1){ | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../emutli.c: In function 't_rcvudata': ../emutli.c:273:53: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 273 | (struct sockaddr *) &ipxs, &sz); | ^~~ | | | int * In file included from /usr/include/netinet/in.h:23, from ../emutli.h:37, from ../net.h:69, from ../emutli.c:23: /usr/include/sys/socket.h:165:27: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 165 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../net1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../net1.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ../net.h:69, from ../net1.c:20: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../tools.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../tools.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../tools.c: In function 'get_debstr': ../tools.c:84:20: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 84 | strmaxcpy(debuf+l, get_modstr(), 3); | ~~~~~^~ | | | char * In file included from ../net.h:487, from ../tools.c:20: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../tools.c:84:24: warning: pointer targets in passing argument 2 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 84 | strmaxcpy(debuf+l, get_modstr(), 3); | ^~~~~~~~~~~~ | | | char * In file included from ../net.h:487, from ../tools.c:20: ../tools.h:38:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~~~ ../tools.c: In function 'get_div_pathes': ../config.h:17:27: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 17 | # define PATHNAME_BINDERY "/var/lib/mars_nwe/bd" /* directory for bindery-files */ | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.c:362:41: note: in expansion of macro 'PATHNAME_BINDERY' 362 | new_str(path_bindery, PATHNAME_BINDERY); | ^~~~~~~~~~~~~~~~ ../tools.c:140:36: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 140 | int x_x_xnewstr(uint8 **p, uint8 *s) | ~~~~~~~^ ../tools.c:364:21: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 364 | wpath = path_bindery; | ^ In file included from ../net.h:487, from ../tools.c:20: ../tools.c:374:39: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 374 | new_str(path_spool, "/var/spool/nwserv"); | ^~~~~~~~~~~~~~~~~~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.c:140:36: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 140 | int x_x_xnewstr(uint8 **p, uint8 *s) | ~~~~~~~^ ../tools.c:376:21: warning: pointer targets in assignment from 'uint8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 376 | wpath = path_spool; | ^ In file included from ../net.h:69, from ../tools.c:20: ../tools.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../emutli1.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ../emutli1.c: In function 'read_interface_data': ../emutli1.c:81:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 81 | if (sscanf(data, "%lx %s %s %s %s", | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../emutli1.c:30: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ ../emutli1.c:83:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 83 | int len = strlen(buff4); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ../emutli1.c:100:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 100 | if (!strcmp(buff2, "YES")) /* primary */ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../emutli1.c:105:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 105 | if (!strcmp(buff3, "INTERNAL")) /* internal net */ | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../emutli1.c: In function 'get_interface_frame_name': ../emutli1.c:124:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 124 | if (name) strcpy(name, dname); | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:125:70: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../emutli1.c: In function 'del_special_net': ../emutli1.c:165:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 165 | strcpy(id.ifr_name, name); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:125:70: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../emutli1.c: In function 'del_all_interfaces_nets': ../emutli1.c:207:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 207 | strcpy(id.ifr_name, name); | ^~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:125:70: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../emutli1.c: In function 'get_frame_name': ../emutli1.c:280:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 280 | strcpy(framename, frname); | ^~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../emutli1.c:39: /usr/include/string.h:125:39: note: expected 'char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ ../emutli1.c: In function 'init_ipx': ../emutli1.c:362:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 362 | if (getsockname(sock, (struct sockaddr*)&ipxs, &maxplen) != -1) | ^~~~~~~~ | | | int * In file included from ../emutli1.c:34: /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; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../net.h:69, from ../emutli1.c:39: ../emutli1.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DUSE_GDBM -Wp,-D_FORTIFY_SOURCE=0 -DLINUX -DUSE_GDBM -D_VERS_H_=0 -D_VERS_L_=99 -D_VERS_P_=21 ../nwroute.c : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/ctype.h:25, from ../net.h:27, from ../nwroute.c:19: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../nwroute.c: In function 'insert_delete_server': ../nwroute.c:223:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { | ~~~~~~~~~~~~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c:223:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 223 | !nw_servers[k]->name || strcmp(nw_servers[k]->name, sname)) ) { | ^~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c: In function 'init_rip_buff': ../nwroute.c:308:13: warning: pointer targets in assignment from 'char *' to 'uint8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 308 | rip_buff=xcmalloc(2+max_rip_entries*8); | ^ ../nwroute.c: In function 'ins_rip_buff': ../nwroute.c:320:25: warning: pointer targets in initialization of 'uint8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 320 | uint8 *new_ripbuf=xcmalloc(2 + new_rip_entries*8); | ^~~~~~~~ ../nwroute.c: In function 'send_sap_to_addr': ../nwroute.c:497:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 497 | strcpy((char*)ipx_data.sip.server_name, nw->name); | ~~^~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:125:70: note: expected 'const char * restrict' but argument is of type 'uint8 *' {aka 'unsigned char *'} 125 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../nwroute.c: In function 'print_routing_info': ../nwroute.c:693:19: warning: pointer targets in passing argument 1 of 'strmaxcpy' differ in signedness [-Wpointer-sign] 693 | strmaxcpy(sname, ns->name, 20); | ^~~~~ | | | char * In file included from ../net.h:487, from ../nwroute.c:19: ../tools.h:38:31: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 38 | extern int strmaxcpy(uint8 *dest, uint8 *source, int len); | ~~~~~~~^~~~ ../nwroute.c: In function 'test_ins_device_net': ../nwroute.c:822:43: warning: pointer targets in passing argument 1 of 'get_interface_frame_name' differ in signedness [-Wpointer-sign] 822 | if ((rnetframe=get_interface_frame_name(rnetdevname, rnet)) < 0) | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:70, from ../nwroute.c:19: ../emutli1.h:28:44: note: expected 'char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 28 | extern int get_interface_frame_name(char *name, uint32 net); | ~~~~~~^~~~ ../nwroute.c:833:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 833 | int dfound = !strcmp(nd->devname, rnetdevname); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ ../nwroute.c:868:43: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 868 | int dfound = !strcmp(nd->devname, rnetdevname); | ^~~~~~~~~~~ | | | uint8 * {aka unsigned char *} In file included from ../net.h:37, from ../nwroute.c:19: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'uint8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from ../net.h:487, from ../nwroute.c:19: ../nwroute.c: In function 'look_for_interfaces': ../nwroute.c:965:32: warning: pointer targets in passing argument 2 of 'x_x_xnewstr' differ in signedness [-Wpointer-sign] 965 | new_str(nd->devname, "*"); | ^~~ | | | char * ../tools.h:34:51: note: in definition of macro 'new_str' 34 | #define new_str(p, s) x_x_xnewstr((uint8 **)&(p), s) | ^ ../tools.h:31:44: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' 31 | extern int x_x_xnewstr(uint8 **p, uint8 *s); | ~~~~~~~^ In file included from ../net.h:69, from ../nwroute.c:19: ../nwroute.c: At top level: ../emutli.h:127:19: warning: inline function 't_sndudata' declared but never defined 127 | extern inline int t_sndudata(int fd, struct t_unitdata *ud); | ^~~~~~~~~~ ../emutli.h:125:19: warning: inline function 't_rcvudata' declared but never defined 125 | extern inline int t_rcvudata(int fd, struct t_unitdata *ud, int *flags); | ^~~~~~~~~~ cc -o ../nwserv nwserv.o emutli.o net1.o tools.o emutli1.o nwroute.o -lcrypt ld: tools.o: in function `errorp': /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:234: undefined reference to `_sys_nerr' ld: /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:234: undefined reference to `_sys_errlist' ld: tools.o: in function `xdprintf': /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:211: undefined reference to `_sys_nerr' ld: /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:212: undefined reference to `_sys_errlist' ld: /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:184: undefined reference to `_sys_nerr' ld: /usr/src/RPM/BUILD/mars_nwe/obj/../tools.c:185: undefined reference to `_sys_errlist' collect2: error: ld returned 1 exit status make[2]: *** [Makefile.o:224: nwserv] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' make[1]: *** [../makefile.unx:31: all] Error 2 make[1]: Leaving directory '/usr/src/RPM/BUILD/mars_nwe/obj' The errors are also reported in '/tmp/mars_nwe.err' ============================================================= make: *** [Makefile:11: all] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/mars_nwe' error: Bad exit status from /usr/src/tmp/rpm-tmp.36063 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.36063 (%build) Command exited with non-zero status 1 2.31user 0.14system 0:02.41elapsed 102%CPU (0avgtext+0avgdata 32156maxresident)k 0inputs+0outputs (0major+50789minor)pagefaults 0swaps hsh-rebuild: rebuild of `mars_nwe-0.99-alt5.src.rpm' failed. Command exited with non-zero status 1 5.64user 2.43system 0:07.87elapsed 102%CPU (0avgtext+0avgdata 109872maxresident)k 96inputs+0outputs (0major+301054minor)pagefaults 0swaps