# src : https://buildlogs.pld-linux.org/pld/th/i686/FAIL/sniffit,d30aa294-b2a2-4483-8f01-b7a89acac696.bz2 # date : 2026/03/03 00:07:15 request from: arekm2 checking if we should skip the build started at: Tue Mar 3 00:07:10 2026 killing old processes on a builder sending signal 9 to pid -1 cleaning up /tmp rm: cannot remove '/tmp/B.a00kdlt3/BUILD': Permission denied rm: cannot remove '/tmp/B.a00kdlt3/RPMS': Permission denied fetching https://srcbuilder.pld-linux.org/th//srpms/d30aa294-b2a2-4483-8f01-b7a89acac696/sniffit-0.3.7-13.src.rpm fetched 234343 bytes, 977.7 K/s installing srpm: sniffit-0.3.7-13.src.rpm + install -d /tmp/B.it3zqq05/BUILD /tmp/B.it3zqq05/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog sniffit-0.3.7-13.src.rpm * Tue Mar 03 2026 PLD Linux Team - For complete changelog see: http://git.pld-linux.org/?p=packages/sniffit.git;a=log;h=master * Tue Mar 03 2026 Arkadiusz Miśkiewicz abb023a - Release 13 (by relup.sh) * Tue Jul 15 2025 Arkadiusz Miśkiewicz 93995bb - Fix applying patches. * Sat Dec 05 2015 Arkadiusz Miśkiewicz 41d34e7 - ncurses rebuild - release 12 (by relup.sh) * Sun Apr 04 2010 Elan Ruusamäe ba9e747 - build with system libpcap; rel 11 * Sat Apr 03 2010 Elan Ruusamäe d4b6be5 - release 10 * Mon Feb 12 2007 Elan Ruusamäe 6c9bf87 - tabs in preamble * Mon Feb 12 2007 Jan Rękorajski 63b000c - converted to UTF-8 * Mon Sep 20 2004 havner 1ebbf40 - [mass commit] rel up for amd64 rebuild * Sat Jun 12 2004 kali d34dc76 - added am18.patch - now builds, rel 8 * Sat Jun 12 2004 kali 4e9ee64 - quotation fix patch * Tue Nov 18 2003 undefine e867ad8 - copy config.sub from new automake to allow build on athlon * Tue Nov 18 2003 undefine ee0aac6 - release 7 to rebuild with ac * Fri Oct 24 2003 saq ed9ef2a - added _real_ es translations - typo * Fri Oct 24 2003 Adam Gołębiowski d6f81b1 - removed bogus es description, which in fact was english * Fri Aug 15 2003 ankry 9ee1912 - description formatting and other minor description fixes * Fri Jul 04 2003 areq 28e24c6 - fix for gcc 3.3 * Fri Jul 04 2003 areq 91dad98 - add gcc33.patch * Sun May 25 2003 Michal Moskal 056eea4 - massive attack, adding Source-md5 * Sun May 25 2003 misi3k 1672cac - massive attack s/pld.org.pl/pld-linux.org/ * Sat Nov 30 2002 ankry 15356ef - new %doc + rpm -Uhv --nodeps --define '_topdir /tmp/B.it3zqq05' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' sniffit-0.3.7-13.src.rpm Updating / installing... sniffit-1:0.3.7-13 ######################################## + rm -f sniffit-0.3.7-13.src.rpm + install -m 700 -d /tmp/B.it3zqq05/BUILD/tmp + TMPDIR=/tmp/B.it3zqq05/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.it3zqq05' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.it3zqq05/sniffit.spec Building target platforms: i686-pld-linux Building for target i686-pld-linux warning: Could not canonicalize hostname: nereid RPM build warnings: Could not canonicalize hostname: nereid checking BuildConflict-ing packages rpm: Building target platforms: i686-pld-linux rpm: Building for target i686-pld-linux rpm: warning: Could not canonicalize hostname: nereid rpm: rpm: RPM build warnings: rpm: Could not canonicalize hostname: nereid no BuildConflicts found checking BR rpm: Building target platforms: i686-pld-linux rpm: Building for target i686-pld-linux rpm: warning: Could not canonicalize hostname: nereid rpm: rpm: RPM build warnings: rpm: Could not canonicalize hostname: nereid no BR needed building RPM using: set -ex; : build-id: d30aa294-b2a2-4483-8f01-b7a89acac696; TMPDIR=/tmp/B.it3zqq05/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.it3zqq05' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.it3zqq05/sniffit.spec + : build-id: d30aa294-b2a2-4483-8f01-b7a89acac696 + TMPDIR=/tmp/B.it3zqq05/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.it3zqq05' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.it3zqq05/sniffit.spec Building target platforms: i686-pld-linux Building for target i686-pld-linux warning: Could not canonicalize hostname: nereid Executing(%mkbuilddir): /bin/sh -e /tmp/B.it3zqq05/BUILD/tmp/rpm-tmp.aqZjxX Executing(%prep): /bin/sh -e /tmp/B.it3zqq05/BUILD/tmp/rpm-tmp.A59zdP + umask 022 + cd /tmp/B.it3zqq05/BUILD/sniffit-0.3.7-build + cd /tmp/B.it3zqq05/BUILD/sniffit-0.3.7-build + rm -rf sniffit.0.3.7.beta + /usr/lib/rpm/rpmuncompress -x /tmp/B.it3zqq05/sniffit.0.3.7.beta.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sniffit.0.3.7.beta + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sniffit-fixes.patch):' Patch #0 (sniffit-fixes.patch): + ’; this is probably fixable by adding ‘#include ’ 11 | #include "sn_logfile.h" +++ |+#include 12 | sn_logfile.c:33:4: error: implicit declaration of function ‘ctime’ [-Wimplicit-function-declaration] 33 | tm=ctime(&t); | ^~~~~ sn_logfile.c:33:4: note: ‘ctime’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ sn_logfile.c:33:3: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 33 | tm=ctime(&t); | ^ sn_logfile.c: In function ‘open_logfile’: sn_logfile.c:88:25: error: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] 88 | if(Logfile[0]==0) strcpy(Logfile,"sniffit.log"); | ^~~~~~ sn_logfile.c:12:1: note: include ‘’ or provide a declaration of ‘strcpy’ 11 | #include "sn_logfile.h" +++ |+#include 12 | sn_logfile.c:91:69: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 91 | printf("Sniffit hardattack.. couldn't create/open logfile...\n"), exit(1); | ^~~~ sn_logfile.c:12:1: note: include ‘’ or provide a declaration of ‘exit’ 11 | #include "sn_logfile.h" +++ |+#include 12 | In file included from sn_defines.h:3, from sn_logfile.c:9: sn_config.h:28:25: error: implicit declaration of function ‘atexit’ [-Wimplicit-function-declaration] 28 | #define exit_func(x) atexit(x) | ^~~~~~ sn_logfile.c:92:1: note: in expansion of macro ‘exit_func’ 92 | exit_func(logfile_exit); | ^~~~~~~~~ sn_config.h:28:25: note: ‘atexit’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 28 | #define exit_func(x) atexit(x) | ^~~~~~ sn_logfile.c:92:1: note: in expansion of macro ‘exit_func’ 92 | exit_func(logfile_exit); | ^~~~~~~~~ sn_logfile.c:93:8: error: passing argument 1 of ‘fchmod’ makes integer from pointer without a cast [-Wint-conversion] 93 | fchmod(LogFILE, S_IWUSR|S_IRUSR); | ^~~~~~~ | | | FILE * In file included from sn_logfile.c:7: /usr/include/sys/stat.h:365:24: note: expected ‘int’ but argument is of type ‘FILE *’ 365 | extern int fchmod (int __fd, __mode_t __mode) __THROW; | ~~~~^~~~ make: *** [Makefile:35: sn_logfile.o] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/i686-pld-linux-gcc -w -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c sn_packets.c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DUSE_32_LONG_INT=1 -DLINUX=1 sn_packets.c: In function ‘unwrap_packet’: sn_packets.c:53:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] 53 | memcpy(&IPhead,(sp+PROTO_HEAD),sizeof(struct IP_header)); | ^~~~~~ sn_packets.c:8:1: note: include ‘’ or provide a declaration of ‘memcpy’ 7 | #include +++ |+#include 8 | sn_packets.c:67:32: error: passing argument 1 of ‘in_cksum’ from incompatible pointer type [-Wincompatible-pointer-types] 67 | if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) | ~~~^~~~~~~~~~~~ | | | unsigned char * sn_packets.c:13:41: note: expected ‘short unsigned int *’ but argument is of type ‘unsigned char *’ 13 | unsigned short in_cksum(unsigned short *addr,int len) | ~~~~~~~~~~~~~~~~^~~~ make: *** [Makefile:38: sn_packets.o] Error 1 /usr/bin/i686-pld-linux-gcc -w -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c sn_cfgfile.c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DUSE_32_LONG_INT=1 -DLINUX=1 sn_cfgfile.c: In function ‘adjust_select_from_list’: sn_cfgfile.c:43:51: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 43 | select_from_list=(struct cfg_file_contense *)malloc(sizeof(struct cfg_file_contense)); | ^~~~~~ sn_cfgfile.c:13:1: note: include ‘’ or provide a declaration of ‘malloc’ 12 | #include "sn_resolv.h" +++ |+#include 13 | /* #include "sn_generation.h" */ sn_cfgfile.c:46:51: error: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 46 | select_from_list=(struct cfg_file_contense *)realloc(select_from_list, | ^~~~~~~ sn_cfgfile.c:46:51: note: include ‘’ or provide a declaration of ‘realloc’ sn_cfgfile.c:50:60: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 50 | {printf("Sniffit hartattack... out of memory!\n"); exit(1);} | ^~~~ sn_cfgfile.c:50:60: note: include ‘’ or provide a declaration of ‘exit’ sn_cfgfile.c: In function ‘clean_string’: sn_cfgfile.c:120:11: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 120 | for(i=0;i’ or provide a declaration of ‘strlen’ 12 | #include "sn_resolv.h" +++ |+#include 13 | /* #include "sn_generation.h" */ sn_cfgfile.c:122:14: error: implicit declaration of function ‘isalnum’ [-Wimplicit-function-declaration] 122 | if( (isalnum(string[i]))||(string[i]=='.') ) | ^~~~~~~ sn_cfgfile.c:13:1: note: include ‘’ or provide a declaration of ‘isalnum’ 12 | #include "sn_resolv.h" +++ |+#include 13 | /* #include "sn_generation.h" */ sn_cfgfile.c:129:1: error: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] 129 | strcpy(string, help); | ^~~~~~ sn_cfgfile.c:129:1: note: include ‘’ or provide a declaration of ‘strcpy’ sn_cfgfile.c: In function ‘clean_filename’: sn_cfgfile.c:141:15: error: implicit declaration of function ‘iscntrl’ [-Wimplicit-function-declaration] 141 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:141:15: note: include ‘’ or provide a declaration of ‘iscntrl’ sn_cfgfile.c:141:40: error: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 141 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:141:40: note: include ‘’ or provide a declaration of ‘isspace’ sn_cfgfile.c: In function ‘make_portno’: sn_cfgfile.c:172:7: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] 172 | buf = strdup(servname); | ^~~~~~ sn_cfgfile.c:183:10: error: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] 183 | {ret = atoi(buf);} | ^~~~ sn_cfgfile.c:185:1: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 185 | free(buf); | ^~~~ sn_cfgfile.c:185:1: note: include ‘’ or provide a declaration of ‘free’ sn_cfgfile.c: In function ‘interprete_line’: sn_cfgfile.c:202:7: error: implicit declaration of function ‘strtok’ [-Wimplicit-function-declaration] 202 | field=strtok(line," "); | ^~~~~~ sn_cfgfile.c:202:6: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 202 | field=strtok(line," "); | ^ sn_cfgfile.c:209:9: error: implicit declaration of function ‘strlower’ [-Wimplicit-function-declaration] 209 | strlower(field); | ^~~~~~~~ sn_cfgfile.c:210:12: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 210 | if(strcmp(strlower(field),"logfile")==0) | ^~~~~~ sn_cfgfile.c:210:12: note: include ‘’ or provide a declaration of ‘strcmp’ sn_cfgfile.c:210:19: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 210 | if(strcmp(strlower(field),"logfile")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:210:19: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:212:32: error: passing argument 1 of ‘clean_filename’ makes pointer from integer without a cast [-Wint-conversion] 212 | field=clean_filename(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:133:29: note: expected ‘char *’ but argument is of type ‘int’ 133 | char *clean_filename (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:215:24: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 215 | else if(strcmp(strlower(field),"select")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:215:24: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:217:16: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 217 | field=strtok(NULL," "); | ^ sn_cfgfile.c:218:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 218 | if(strcmp(strlower(field),"from")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:218:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:220:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 220 | field=strtok(NULL," "); | ^ sn_cfgfile.c:221:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 221 | if(strcmp(strlower(field),"host")==0) /* select from host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:221:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:224:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 224 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:226:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 226 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:231:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 231 | if(strcmp(strlower(field),"port")==0) /* select from port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:231:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:234:39: error: passing argument 1 of ‘make_portno’ makes pointer from integer without a cast [-Wint-conversion] 234 | help->port=make_portno( strtok(NULL," ") ); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:165:30: note: expected ‘char *’ but argument is of type ‘int’ 165 | static int make_portno(char *servname) /* by Shudoh Kazuyuki */ | ~~~~~~^~~~~~~~ sn_cfgfile.c:238:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 238 | if(strcmp(strlower(field),"mhosts")==0) /* select from mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:238:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:241:47: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 241 | strcpy(help->host, clean_string(strtok(NULL," "))); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:242:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 242 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:249:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 249 | if(strcmp(strlower(field),"to")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:249:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:251:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 251 | field=strtok(NULL," "); | ^ sn_cfgfile.c:252:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 252 | if(strcmp(strlower(field),"host")==0) /* select to host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:252:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:255:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 255 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:257:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 257 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:262:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 262 | if(strcmp(strlower(field),"port")==0) /* select to port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:262:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:265:39: error: passing argument 1 of ‘make_portno’ makes pointer from integer without a cast [-Wint-conversion] 265 | help->port=make_portno( strtok(NULL," ") ); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:165:30: note: expected ‘char *’ but argument is of type ‘int’ 165 | static int make_portno(char *servname) /* by Shudoh Kazuyuki */ | ~~~~~~^~~~~~~~ sn_cfgfile.c:269:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 269 | if(strcmp(strlower(field),"mhosts")==0) /* select to mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:269:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:272:47: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 272 | strcpy(help->host, clean_string(strtok(NULL," "))); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:273:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 273 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:280:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 280 | if(strcmp(strlower(field),"both")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:280:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:282:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 282 | field=strtok(NULL," "); | ^ sn_cfgfile.c:283:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 283 | if(strcmp(strlower(field),"host")==0) /* select both host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:283:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:287:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 287 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:290:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 290 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:296:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 296 | if(strcmp(strlower(field),"port")==0) /* select both port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:296:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:300:20: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 300 | field=strtok(NULL," "); | ^ sn_cfgfile.c:307:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 307 | if(strcmp(strlower(field),"mhosts")==0) /* select both mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:307:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:311:34: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 311 | field=clean_string(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:314:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 314 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:324:19: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 324 | if(strcmp(strlower(field),"deselect")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:324:19: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:326:16: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 326 | field=strtok(NULL," "); | ^ sn_cfgfile.c:327:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 327 | if(strcmp(strlower(field),"from")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:327:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:329:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 329 | field=strtok(NULL," "); | ^ sn_cfgfile.c:330:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 330 | if(strcmp(strlower(field),"host")==0) /* select from host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:330:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:333:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 333 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:335:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 335 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:340:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 340 | if(strcmp(strlower(field),"port")==0) /* select from port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:340:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:343:38: error: passing argument 1 of ‘make_portno’ makes pointer from integer without a cast [-Wint-conversion] 343 | help->port=make_portno(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:165:30: note: expected ‘char *’ but argument is of type ‘int’ 165 | static int make_portno(char *servname) /* by Shudoh Kazuyuki */ | ~~~~~~^~~~~~~~ sn_cfgfile.c:347:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 347 | if(strcmp(strlower(field),"mhosts")==0) /* select from mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:347:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:350:47: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 350 | strcpy(help->host, clean_string(strtok(NULL," "))); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:351:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 351 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:358:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 358 | if(strcmp(strlower(field),"to")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:358:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:360:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 360 | field=strtok(NULL," "); | ^ sn_cfgfile.c:361:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 361 | if(strcmp(strlower(field),"host")==0) /* deselect to host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:361:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:364:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 364 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:366:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 366 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:371:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 371 | if(strcmp(strlower(field),"port")==0) /* deselect to port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:371:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:374:38: error: passing argument 1 of ‘make_portno’ makes pointer from integer without a cast [-Wint-conversion] 374 | help->port=make_portno(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:165:30: note: expected ‘char *’ but argument is of type ‘int’ 165 | static int make_portno(char *servname) /* by Shudoh Kazuyuki */ | ~~~~~~^~~~~~~~ sn_cfgfile.c:378:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 378 | if(strcmp(strlower(field),"mhosts")==0) /* deselect to mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:378:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:381:47: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 381 | strcpy(help->host, clean_string(strtok(NULL," "))); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:382:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 382 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:389:21: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 389 | if(strcmp(strlower(field),"both")==0) | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:389:21: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:391:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 391 | field=strtok(NULL," "); | ^ sn_cfgfile.c:392:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 392 | if(strcmp(strlower(field),"host")==0) /* deselect both host */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:392:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:396:27: error: passing argument 1 of ‘make_nr_dot’ makes pointer from integer without a cast [-Wint-conversion] 396 | make_nr_dot(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:152:25: note: expected ‘char *’ but argument is of type ‘int’ 152 | void make_nr_dot (char *host) | ~~~~~~^~~~ sn_cfgfile.c:399:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 399 | if( (field=strtok(NULL," "))!=NULL) | ^ sn_cfgfile.c:405:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 405 | if(strcmp(strlower(field),"port")==0) /* deselect both port */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:405:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:409:20: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 409 | field=strtok(NULL," "); | ^ sn_cfgfile.c:415:23: error: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion] 415 | if(strcmp(strlower(field),"mhosts")==0) /* deselect both mhosts */ | ^~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:415:23: note: expected ‘const char *’ but argument is of type ‘int’ sn_cfgfile.c:419:34: error: passing argument 1 of ‘clean_string’ makes pointer from integer without a cast [-Wint-conversion] 419 | field=clean_string(strtok(NULL," ")); | ^~~~~~~~~~~~~~~~ | | | int sn_cfgfile.c:114:27: note: expected ‘char *’ but argument is of type ‘int’ 114 | char *clean_string (char *string) | ~~~~~~^~~~~~ sn_cfgfile.c:422:25: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 422 | if( (field=strtok(NULL," "))!=NULL) | ^ make: *** [Makefile:32: sn_cfgfile.o] Error 1 /usr/bin/i686-pld-linux-gcc -w -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -c sn_resolv.c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=4 -DUSE_32_LONG_INT=1 -DLINUX=1 error: Bad exit status from /tmp/B.it3zqq05/BUILD/tmp/rpm-tmp.731BMb (%build) RPM build warnings: Could not canonicalize hostname: nereid RPM build errors: Bad exit status from /tmp/B.it3zqq05/BUILD/tmp/rpm-tmp.731BMb (%build) ended at: Tue Mar 3 00:07:15 2026, done in 0:00:03.294180 error: No files produced. + chmod -R u+rwX /tmp/B.it3zqq05/BUILD + rm -rf /tmp/B.it3zqq05/tmp /tmp/B.it3zqq05/BUILD + rm -rf /tmp/B.it3zqq05 Begin-PLD-Builder-Info Build-Time: user:3.77s sys:1.74s real:5.31s (faults io:0 non-io:280272) End-PLD-Builder-Info