<86>Apr 7 06:54:02 userdel[44001]: delete user 'rooter' <86>Apr 7 06:54:02 userdel[44001]: removed group 'rooter' owned by 'rooter' <86>Apr 7 06:54:02 userdel[44001]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 7 06:54:02 groupadd[44029]: group added to /etc/group: name=rooter, GID=651 <86>Apr 7 06:54:02 groupadd[44029]: group added to /etc/gshadow: name=rooter <86>Apr 7 06:54:02 groupadd[44029]: new group: name=rooter, GID=651 <86>Apr 7 06:54:02 useradd[44093]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Apr 7 06:54:02 userdel[44144]: delete user 'builder' <86>Apr 7 06:54:02 userdel[44144]: removed group 'builder' owned by 'builder' <86>Apr 7 06:54:02 userdel[44144]: removed shadow group 'builder' owned by 'builder' <86>Apr 7 06:54:02 groupadd[44174]: group added to /etc/group: name=builder, GID=652 <86>Apr 7 06:54:02 groupadd[44174]: group added to /etc/gshadow: name=builder <86>Apr 7 06:54:02 groupadd[44174]: new group: name=builder, GID=652 <86>Apr 7 06:54:02 useradd[44186]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Apr 7 06:54:05 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Apr 7 06:54:05 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Apr 7 06:54:05 rpmi: libverto-devel-0.2.6-alt1_6 1455633232 installed <13>Apr 7 06:54:05 rpmi: libcom_err-devel-1.42.13-alt2 1449075923 installed <13>Apr 7 06:54:05 rpmi: libpcre16-8.40-alt1 1484570211 installed <13>Apr 7 06:54:05 rpmi: pcretest-8.40-alt1 1484570211 installed <13>Apr 7 06:54:05 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Apr 7 06:54:05 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 7 06:54:05 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 7 06:54:05 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766170 installed <13>Apr 7 06:54:05 rpmi: libpcre-devel-8.40-alt1 1484570211 installed <13>Apr 7 06:54:05 rpmi: rpm-build-compat-2.1.8-alt0.M80P.1 1534508708 installed <13>Apr 7 06:54:05 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766170 installed <86>Apr 7 06:54:05 groupadd[56729]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 7 06:54:05 groupadd[56729]: group added to /etc/gshadow: name=_keytab <86>Apr 7 06:54:05 groupadd[56729]: new group: name=_keytab, GID=499 <13>Apr 7 06:54:05 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355764 installed <86>Apr 7 06:54:05 groupadd[57368]: group added to /etc/group: name=sasl, GID=498 <86>Apr 7 06:54:05 groupadd[57368]: group added to /etc/gshadow: name=sasl <86>Apr 7 06:54:05 groupadd[57368]: new group: name=sasl, GID=498 <13>Apr 7 06:54:05 rpmi: libsasl2-3-2.1.26-alt7 1479477448 installed <13>Apr 7 06:54:05 rpmi: libldap-2.4.45-alt1.M80P.1 1513980437 installed <13>Apr 7 06:54:05 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355764 installed <13>Apr 7 06:54:05 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355764 installed <13>Apr 7 06:54:05 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766170 installed <13>Apr 7 06:54:05 rpmi: libmysqlclient18-10.1.38-alt1 p8+223431.300.4.1 1551586711 installed <13>Apr 7 06:54:05 rpmi: libmysqlclient-devel-10.1.38-alt1 p8+223431.300.4.1 1551586711 installed Installing sams-1.0.5-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.37766 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sams-1.0.5 + echo 'Source #0 (sams-1.0.5.tar.bz2):' Source #0 (sams-1.0.5.tar.bz2): + /bin/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/sams-1.0.5.tar.bz2 + cd sams-1.0.5 + /bin/chmod -c -Rf u+rwX,go-w . + cp /usr/src/RPM/SOURCES/sams-README.alt README.alt + cp /usr/src/RPM/SOURCES/sams.service.alt etc/sams + echo 'Patch #1 (sams-1.0.4-alt.patch):' Patch #1 (sams-1.0.4-alt.patch): + /usr/bin/patch -p1 patching file demon.c patching file update/upgrade_mysql_table.php + echo 'Patch #2 (sams-1.0.5-alt.patch):' Patch #2 (sams-1.0.5-alt.patch): + /usr/bin/patch -p0 patching file samsdaemon.c patching file redirect.c patching file sprintf.h patching file htpasswd/htpasswd.h + echo 'Patch #3 (sams-1.0.5-crypt.patch):' Patch #3 (sams-1.0.5-crypt.patch): + /usr/bin/patch -p1 patching file Makefile.in + rm -f php/lang/koi8r-2-win1251.php + /usr/bin/subst 's|$prefix/share/sams|/var/www/html/sams|g' configure + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37766 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sams-1.0.5 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-configfile=/etc/sams.conf --with-rcd-locations=/etc/rc.d/init.d --with-httpd-locations=/var/www/html checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for main in -lm... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking pcre/pcre.h usability... yes checking pcre/pcre.h presence... yes checking for pcre/pcre.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for uid_t in sys/types.h... yes checking for unistd.h... (cached) yes checking for working chown... yes checking whether closedir returns void... no checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether stat accepts an empty string... no checking for memmove... yes checking for memset... yes checking for pow... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for an ANSI C-conforming const... yes checking for pid_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for the SAMS startup scripts locations... using rc.d locations from /etc/rc.d/init.d checking for WEB server locations... using WEB server locations from /var/www/html checking for MYSQL headers... using mysql includes from /usr/include/mysql checking for in /usr/include/mysql... using from /usr/include/mysql checking for MYSQL library... using mysql libraryes from /usr/lib checking for libmysqlclient in /usr/lib... using libmysqlclient from /usr/lib checking for PCRE headers... using pcre includes from /usr/include/pcre checking for in /usr/include/pcre... using from /usr/include/pcre checking for PCRE library... using pcre libraryes from /usr/lib checking for libpcre in /usr/lib... using libpcre from /usr/lib configure: creating ./config.status config.status: creating Makefile ***** Options and locations ***** system: Linux default path: /usr default runtime config file: /etc/sams.conf location the SAMS startup script: /etc/rc.d/init.d location HTTP server root directory: /var/www/html location mysql includes: /usr/include/mysql location mysql libraries: /usr/lib location pcre includes: /usr/include/pcre/pcre.h location pcre libraries: /usr/lib Type 'make' + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/sams-1.0.5' i586-alt-linux-gcc -DDEFPATH="\".:/usr/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c demon.c i586-alt-linux-gcc -DDEFPATH="\".:/usr/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c tools.c i586-alt-linux-gcc -DDEFPATH="\".:/usr/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c daemon.c i586-alt-linux-gcc -DDEFPATH="\".:/usr/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c redirect.c i586-alt-linux-gcc -DDEFPATH="\".:/usr/share\"" -DHAVE_CONFIG_H -DLOCALEDIR="\"/usr/share/locale\"" -I. -I/usr/include/mysql -I/usr/include/pcre -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -c samsdaemon.c In file included from /usr/include/signal.h:28:0, from logtool.c:19, from demon.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/string.h:25:0, from tools.c:18: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/string.h:25:0, from redirect.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/ctype.h:25:0, from samsdaemon.c:18: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/signal.h:28:0, from logtool.c:19, from daemon.c:19: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ redirect.c: In function 'clean_up_child_process': redirect.c:219:3: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] wait(&status); ^ redirect.c: In function 'main': redirect.c:451:9: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] pid = getpid(); ^ redirect.c:439:20: warning: variable 'domain' set but not used [-Wunused-but-set-variable] char *user=NULL,*domain=NULL; ^ redirect.c:439:9: warning: variable 'user' set but not used [-Wunused-but-set-variable] char *user=NULL,*domain=NULL; ^ In file included from samsdaemon.c:41:0: htpasswd/htpasswd.h: In function 'pgetword': htpasswd/htpasswd.h:52:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(line[y++] = line[x++]); ^ tools.c: In function 'send_mysql_query': tools.c:169:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] error=mysql_error(conn); ^ tools.c: In function 'url_decode': tools.c:229:1: warning: statement with no effect [-Wunused-value] for(p; (c = *str); str++, p++) ^ samsdaemon.c: In function 'chSquidGuardConf': tools.c: In function 'TestPID': tools.c:338:6: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] if(kill(pid,0)==0) ^ samsdaemon.c:61:13: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int i, j, flag, deny; ^ tools.c: In function 'do_connect': tools.c:552:14: warning: assignment makes integer from pointer without a cast [-Wint-conversion] connect=mysql_real_connect(conn, host_name, user_name, password, db_name, 0, NULL, 0); ^ samsdaemon.c: In function 'chRejikConf': samsdaemon.c:339:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int i,flag; ^ samsdaemon.c: In function 'ChangeSQUIDconf': samsdaemon.c:669:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!s.st_mode&S_IRUSR) printf("1"); ^ tools.c: In function 'TestPID': tools.c:335:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], BUFFER_SIZE-1, finp ); ^ samsdaemon.c:658:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag,count,acount; ^ samsdaemon.c: In function 'ReadSAMSFlags': samsdaemon.c:2149:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^ samsdaemon.c: In function 'listdir': samsdaemon.c:2473:14: warning: format '%d' expects argument of type 'int', but argument 4 has type '__off_t {aka long int}' [-Wformat=] printf("%s %s %d\n", &filename[0], &url[0], st.st_size); ^ samsdaemon.c:2474:42: warning: format '%d' expects argument of type 'int', but argument 7 has type '__off_t {aka long int}' [-Wformat=] sprintf(&str[0],"INSERT INTO %s.files SET id='%d',filepath='%s',url='%s',size='%d'",conf.logdb,conf.cachenum,&filename[0],&url[0], st.st_size); ^ samsdaemon.c:2416:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^ samsdaemon.c:2414:10: warning: unused variable 'urlcode' [-Wunused-variable] char urlcode[1024]; ^ samsdaemon.c: In function 'main': samsdaemon.c:2527:10: warning: unused variable 'urlcode' [-Wunused-variable] char urlcode[1024]; ^ samsdaemon.c:2518:19: warning: unused variable 's' [-Wunused-variable] struct stat st, s; ^ samsdaemon.c:2515:22: warning: variable 'parentpid' set but not used [-Wunused-but-set-variable] pid_t pid,childpid,parentpid; ^ In file included from samsdaemon.c:41:0: htpasswd/htpasswd.h: In function 'set_password': htpasswd/htpasswd.h:123:5: warning: ignoring return value of 'mkstemp', declared with attribute warn_unused_result [-Wunused-result] mkstemp(&tn[0]); ^ htpasswd/htpasswd.h:161:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^ samsdaemon.c: In function 'chSquidGuardConf': samsdaemon.c:76:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&redirect_to[0]); ^ samsdaemon.c:92:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &str[0], BUFFER_SIZE-1, finp ); ^ samsdaemon.c: In function 'chRejikConf': samsdaemon.c:355:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&redirect_to[0]); ^ samsdaemon.c:371:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &str[0], BUFFER_SIZE-1, finp ); ^ samsdaemon.c: In function 'ChangeSQUIDconf': samsdaemon.c:695:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], BUFFER_SIZE-1, finp ); ^ samsdaemon.c:727:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], BUFFER_SIZE-1, finp ); ^ samsdaemon.c:1246:2: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(&filefrom[0],s.st_uid,s.st_gid); ^ samsdaemon.c: In function 'MakeACLFiles': samsdaemon.c:1351:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&shablonname[0]); ^ samsdaemon.c:1355:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&shablonname[0]); ^ samsdaemon.c:1365:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&shablonname[0]); ^ samsdaemon.c:1368:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(&shablonname[0],s.st_uid,s.st_gid); ^ samsdaemon.c:1373:6: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(&shablonname[0],s.st_uid,s.st_gid); ^ samsdaemon.c:1389:7: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(&shablonname[0],s.st_uid,s.st_gid); ^ samsdaemon.c:2002:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2007:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2009:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c: In function 'main': samsdaemon.c:2628:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2702:24: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2824:24: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2978:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2980:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2982:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ samsdaemon.c:2988:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(&str[0]); ^ In file included from demon.c:19:0: logtool.c: In function 'SearchDNSBase': logtool.c:220:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] int i,found; ^ logtool.c: In function 'TestLocalURL': logtool.c:273:15: warning: variable 'localfound' set but not used [-Wunused-but-set-variable] int found=0,localfound=0; ^ logtool.c:273:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found=0,localfound=0; ^ demon.c: In function 'ExportDB': In file included from daemon.c:19:0: logtool.c: In function 'SearchDNSBase': demon.c:42:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^ logtool.c:220:9: warning: variable 'found' set but not used [-Wunused-but-set-variable] int i,found; ^ logtool.c: In function 'TestLocalURL': logtool.c:273:15: warning: variable 'localfound' set but not used [-Wunused-but-set-variable] int found=0,localfound=0; ^ logtool.c:273:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found=0,localfound=0; ^ demon.c: In function 'ReadNewData': demon.c:138:7: warning: variable 'str7len' set but not used [-Wunused-but-set-variable] int str7len=0; ^ demon.c: In function 'LoadFile': demon.c:431:7: warning: variable 'str7len' set but not used [-Wunused-but-set-variable] int str7len=0; ^ daemon.c: In function 'LoadSAMSSettings': daemon.c:43:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^ daemon.c: In function 'LoadUsersData': daemon.c:135:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int i,flag,k; ^ daemon.c: In function 'ReadNewData': daemon.c:272:7: warning: variable 'str7len' set but not used [-Wunused-but-set-variable] int str7len=0; ^ In file included from demon.c:19:0: logtool.c: In function 'exec_script': daemon.c: In function 'main': daemon.c:497:15: warning: variable 'parentpid' set but not used [-Wunused-but-set-variable] pid_t pid=0,parentpid=0,childpid=0; ^ daemon.c:496:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^ logtool.c:184:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], 4096, finp ); ^ logtool.c:190:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(exe); ^ logtool.c: In function 'SearchDNSBase': logtool.c:261:8: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] realloc(dns,DNSDBMAX+50); ^ In file included from daemon.c:19:0: logtool.c: In function 'exec_script': logtool.c:184:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], 4096, finp ); ^ logtool.c:190:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(exe); ^ logtool.c: In function 'SearchDNSBase': logtool.c:261:8: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] realloc(dns,DNSDBMAX+50); ^ demon.c: In function 'LoadFile': daemon.c: In function 'ReadNewData': demon.c:455:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( &buf[0], BUFFER_SIZE-1, finp ); ^ daemon.c:297:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(&buf[0],BUFFER_SIZE,finp); ^ i586-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsredir redirect.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre -lcrypt samsdaemon.c:2878:29: warning: 'symbol[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(symbol[0]==0x0A&&symbol[1]==0x0D&&symbol[2]==0x0A) ^ samsdaemon.c:2878:46: warning: 'symbol[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if(symbol[0]==0x0A&&symbol[1]==0x0D&&symbol[2]==0x0A) ^ i586-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsdaemon samsdaemon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre -lcrypt i586-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o sams demon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre -lcrypt i586-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsf daemon.o tools.o -I. -L/usr/lib -lmysqlclient -L/usr/lib -lpcre -lcrypt make: Leaving directory `/usr/src/RPM/BUILD/sams-1.0.5' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.53512 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sams-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sams-buildroot + cd sams-1.0.5 + mkdir -p /usr/src/tmp/sams-buildroot/usr/bin + mkdir -p /usr/src/tmp/sams-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/sams-buildroot/var/www/html/sams + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/sams-buildroot/usr exec_prefix=/usr/src/tmp/sams-buildroot/usr bindir=/usr/src/tmp/sams-buildroot/usr/bin sbindir=/usr/src/tmp/sams-buildroot/usr/sbin sysconfdir=/usr/src/tmp/sams-buildroot/etc datadir=/usr/src/tmp/sams-buildroot/usr/share includedir=/usr/src/tmp/sams-buildroot/usr/include libdir=/usr/src/tmp/sams-buildroot/usr/lib libexecdir=/usr/src/tmp/sams-buildroot/usr/lib localstatedir=/usr/src/tmp/sams-buildroot/var/lib sharedstatedir=/usr/src/tmp/sams-buildroot/var/lib mandir=/usr/src/tmp/sams-buildroot/usr/share/man infodir=/usr/src/tmp/sams-buildroot/usr/share/info install RCDPATH=/usr/src/tmp/sams-buildroot/etc/rc.d/init.d HTTPDPATH=/usr/src/tmp/sams-buildroot/var/www/html datadir=/usr/src/tmp/sams-buildroot/var/www/html make: Entering directory `/usr/src/RPM/BUILD/sams-1.0.5' make[1]: Entering directory `/usr/src/RPM/BUILD/sams-1.0.5' creating /tmp/sams cp ./etc/sams.conf /usr/src/tmp/sams-buildroot/etc; cp ./sams /usr/src/tmp/sams-buildroot/usr/bin; cp ./samsf /usr/src/tmp/sams-buildroot/usr/bin; cp ./samsredir /usr/src/tmp/sams-buildroot/usr/bin; cp ./samsdaemon /usr/src/tmp/sams-buildroot/usr/bin; cp ./etc/sams /usr/src/tmp/sams-buildroot/etc/rc.d/init.d; cp ./mysql/recover_admin_passwd /usr/src/tmp/sams-buildroot/usr/bin; cp -R php/* /usr/src/tmp/sams-buildroot/var/www/html/sams/; chmod 777 /usr/src/tmp/sams-buildroot/var/www/html/sams/data; chmod ugo+x /usr/src/tmp/sams-buildroot/var/www/html/sams/bin/*; rm -f /usr/src/tmp/sams-buildroot/var/www/html/sams/data/*; cp -R doc /usr/src/tmp/sams-buildroot/var/www/html/sams/; cp ./mysql/sams_db.sql /usr/src/tmp/sams-buildroot/var/www/html/sams/data; cp ./mysql/squid_db.sql /usr/src/tmp/sams-buildroot/var/www/html/sams/data; cp ./update/upgrade_mysql_table.php /usr/src/tmp/sams-buildroot/var/www/html/sams/data; make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/usr/src/RPM/BUILD/sams-1.0.5' make: Leaving directory `/usr/src/RPM/BUILD/sams-1.0.5' + /usr/bin/subst 's|/usr/local/rejik|/etc/squid/redirector|g' /usr/src/tmp/sams-buildroot/etc/sams.conf + /usr/bin/subst 's|SAMSPATH=/usr/local|SAMSPATH=/usr|g' /usr/src/tmp/sams-buildroot/etc/sams.conf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sams-buildroot (auto) Verifying and fixing files in /usr/src/tmp/sams-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/sams-buildroot (auto) Adjusting library links in /usr/src/tmp/sams-buildroot ./var/www/html/sams/lib: Verifying ELF objects in /usr/src/tmp/sams-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/samsdaemon: uses non-LFS functions: __lxstat fopen mkstemp readdir verify-elf: WARNING: ./usr/bin/samsredir: uses non-LFS functions: fopen readdir verify-elf: WARNING: ./usr/bin/samsf: uses non-LFS functions: __xstat fopen readdir verify-elf: WARNING: ./usr/bin/sams: uses non-LFS functions: fopen readdir Hardlinking identical .pyc and .pyo files Processing files: sams-1.0.5-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.78614 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sams-1.0.5 + DOCDIR=/usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + export DOCDIR + rm -rf /usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + /bin/mkdir -p /usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + cp -prL CHANGELOG COPYING INSTALL README README.alt mysql update etc/sams.conf.default /usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + chmod -R go-w /usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + chmod -R a+rX /usr/src/tmp/sams-buildroot/usr/share/doc/sams-1.0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mgxu4B find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PQ9Mq7 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: sams-server = 1.0.5-alt1.qa1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fL6LBL Processing files: sams-server-1.0.5-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.en7JQw find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Mayd0o find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: mysql rm touch Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cLROwo Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J4oqNw Requires: sams = 1.0.5-alt1.qa1, MySQL-client, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, /usr/bin/mysql, coreutils, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libcrypt.so.1 >= set:hguT2, libcrypt.so.1(GLIBC_2.0), libmysqlclient.so.18 >= set:miY6sX43dNoktswSbiPxZGqiZAluRU1, libmysqlclient.so.18(libmysqlclient_18), libpcre.so.3 >= set:igW8KBv, rtld(GNU_HASH) Requires(interp): /bin/sh, /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WY7FHx Creating sams-server-debuginfo package Processing files: sams-web-1.0.5-alt1.qa1 warning: File listed twice: /var/www/html/sams warning: File listed twice: /var/www/html/sams/data Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KjEcqF find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7XfdfX find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) shell.req: /usr/src/tmp/sams-buildroot/var/www/html/sams/src/script/send_email_message: mail indexed by: /bin/mail -> /bin/mail, /usr/bin/mail -> mailutils shell.req: /usr/src/tmp/sams-buildroot/var/www/html/sams/src/script/send_email_message: mail -> /bin/mail -> /bin/mail (ambiguous, via contents_index_bin) find-requires: FINDPACKAGE-COMMANDS: cut df grep iconv mail sed smbclient uptime Requires: sams = 1.0.5-alt1.qa1, webserver, php-engine, php5-mysql, /bin/mail, /bin/sh, /usr/bin/smbclient, coreutils, grep, iconv, procps, sed Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MzsBtl Processing files: sams-server-debuginfo-1.0.5-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iMXWsU find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VHSkAz find-requires: running scripts (debuginfo) Requires: sams-server = 1.0.5-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypt.so.1), debug(libmysqlclient.so.18), debug(libpcre.so.3) Removing 2 extra deps from sams-web due to repentancy on sams-server Wrote: /usr/src/RPM/RPMS/i586/sams-1.0.5-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/sams-server-1.0.5-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/sams-web-1.0.5-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/sams-server-debuginfo-1.0.5-alt1.qa1.i586.rpm 10.55user 2.60system 0:27.38elapsed 48%CPU (0avgtext+0avgdata 38292maxresident)k 0inputs+0outputs (0major+836727minor)pagefaults 0swaps 13.93user 4.99system 0:33.74elapsed 56%CPU (0avgtext+0avgdata 124436maxresident)k 0inputs+0outputs (0major+1083401minor)pagefaults 0swaps --- sams-server-1.0.5-alt1.qa1.i586.rpm.repo 2013-04-14 03:22:46.000000000 +0000 +++ sams-server-1.0.5-alt1.qa1.i586.rpm.hasher 2019-04-07 06:54:35.121456801 +0000 @@ -27,4 +27,4 @@ Requires: libcrypt.so.1(GLIBC_2.0) -Requires: libmysqlclient.so.18 >= set:lhYE0DGQezS9Sdtwbu7l77EthqeY7 -Requires: libmysqlclient.so.18(libmysqlclient_16) +Requires: libmysqlclient.so.18 >= set:miY6sX43dNoktswSbiPxZGqiZAluRU1 +Requires: libmysqlclient.so.18(libmysqlclient_18) Requires: libpcre.so.3 >= set:igW8KBv --- sams-web-1.0.5-alt1.qa1.i586.rpm.repo 2013-04-14 03:22:46.000000000 +0000 +++ sams-web-1.0.5-alt1.qa1.i586.rpm.hasher 2019-04-07 06:54:35.204455926 +0000 @@ -687,2 +687,3 @@ Requires: /bin/mail +Requires: /usr/bin/smbclient Requires: grep @@ -690,3 +691,2 @@ Requires: procps -Requires: samba-client Requires: sed