<86>Jan 6 01:18:33 userdel[37626]: delete user 'rooter' <86>Jan 6 01:18:33 groupadd[37651]: group added to /etc/group: name=rooter, GID=633 <86>Jan 6 01:18:33 useradd[37660]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Jan 6 01:18:33 userdel[37684]: delete user 'builder' <86>Jan 6 01:18:33 userdel[37684]: removed group 'builder' owned by 'builder' <86>Jan 6 01:18:33 groupadd[37702]: group added to /etc/group: name=builder, GID=634 <86>Jan 6 01:18:33 groupadd[37702]: group added to /etc/gshadow: name=builder <86>Jan 6 01:18:33 groupadd[37702]: new group: name=builder, GID=634 <86>Jan 6 01:18:33 useradd[37723]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Jan 6 01:18:36 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Jan 6 01:18:36 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Jan 6 01:18:36 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Jan 6 01:18:36 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Jan 6 01:18:36 rpmi: libpcre16-8.40-alt1 1484570205 installed <13>Jan 6 01:18:36 rpmi: pcretest-8.40-alt1 1484570205 installed <13>Jan 6 01:18:36 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Jan 6 01:18:36 rpmi: libkeyutils-1.5.10-alt0.M80P.1 1490025499 installed <13>Jan 6 01:18:36 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Jan 6 01:18:36 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Jan 6 01:18:36 rpmi: libpcre-devel-8.40-alt1 1484570205 installed <13>Jan 6 01:18:36 rpmi: rpm-build-compat-2.1.8-alt0.M80P.1 1534508708 installed <13>Jan 6 01:18:36 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Jan 6 01:18:36 groupadd[51150]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 6 01:18:36 groupadd[51150]: group added to /etc/gshadow: name=_keytab <86>Jan 6 01:18:36 groupadd[51150]: new group: name=_keytab, GID=499 <13>Jan 6 01:18:36 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Jan 6 01:18:36 groupadd[51589]: group added to /etc/group: name=sasl, GID=498 <86>Jan 6 01:18:36 groupadd[51589]: group added to /etc/gshadow: name=sasl <86>Jan 6 01:18:36 groupadd[51589]: new group: name=sasl, GID=498 <13>Jan 6 01:18:36 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Jan 6 01:18:37 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Jan 6 01:18:37 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Jan 6 01:18:37 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Jan 6 01:18:37 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed <13>Jan 6 01:18:37 rpmi: libmysqlclient18-10.1.37-alt1 p8.217040.100 1543445219 installed <13>Jan 6 01:18:37 rpmi: libmysqlclient-devel-10.1.37-alt1 p8.217040.100 1543445219 installed Installing sams-1.0.5-alt1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76290 + 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/bzip2 -dc /usr/src/RPM/SOURCES/sams-1.0.5.tar.bz2 + /bin/tar -xf - + 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.68329 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sams-1.0.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + 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=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --with-mysql-libpath=/usr/lib64/ --with-pcre-libpath=/usr/lib64/ --with-configfile=/etc/sams.conf --with-rcd-locations=/etc/rc.d/init.d --with-httpd-locations=/var/www/html checking for x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-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... x86_64-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 libraries from /usr/lib64/ checking for libmysqlclient in /usr/lib64/... using libmysqlclient from /usr/lib64/ 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 libraries from /usr/lib64/ checking for libpcre in /usr/lib64/... using libpcre from /usr/lib64/ 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/lib64/ location pcre includes: /usr/include/pcre/pcre.h location pcre libraries: /usr/lib64/ Type 'make' + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/sams-1.0.5' x86_64-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 x86_64-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 x86_64-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 x86_64-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 x86_64-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/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" ^ 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" ^ redirect.c: In function 'clean_up_child_process': redirect.c:219:3: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] wait(&status); ^ 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++) ^ redirect.c: In function 'main': redirect.c:451:9: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] pid = getpid(); ^ tools.c: In function 'TestPID': tools.c:338:6: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] if(kill(pid,0)==0) ^ 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); ^ 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 ); ^ 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 daemon.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; ^ 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; ^ 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': daemon.c: In function 'ReadNewData': daemon.c:272:7: warning: variable 'str7len' set but not used [-Wunused-but-set-variable] int str7len=0; ^ 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; ^ 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; ^ 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++]); ^ In file included from daemon.c:19:0: logtool.c: In function 'exec_script': demon.c: In function 'ExportDB': demon.c:42: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); ^ 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': samsdaemon.c: In function 'chSquidGuardConf': samsdaemon.c:61:13: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int i, j, flag, deny; ^ demon.c:431:7: warning: variable 'str7len' set but not used [-Wunused-but-set-variable] int str7len=0; ^ daemon.c: In function 'ReadNewData': daemon.c:297:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(&buf[0],BUFFER_SIZE,finp); ^ samsdaemon.c: In function 'chRejikConf': In file included from demon.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); ^ samsdaemon.c:339:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int i,flag; ^ samsdaemon.c: In function 'ChangeSQUIDconf': 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); ^ samsdaemon.c:669:6: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!s.st_mode&S_IRUSR) printf("1"); ^ demon.c: In function 'LoadFile': 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 ); ^ 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]); ^ x86_64-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsf daemon.o tools.o -I. -L/usr/lib64/ -lmysqlclient -L/usr/lib64/ -lpcre -lcrypt x86_64-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsredir redirect.o tools.o -I. -L/usr/lib64/ -lmysqlclient -L/usr/lib64/ -lpcre -lcrypt x86_64-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o sams demon.o tools.o -I. -L/usr/lib64/ -lmysqlclient -L/usr/lib64/ -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) ^ x86_64-alt-linux-gcc -O2 -Wall -D_BSD_SOURCE=1 -D_GNU_SOURCE=1 -o samsdaemon samsdaemon.o tools.o -I. -L/usr/lib64/ -lmysqlclient -L/usr/lib64/ -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.34534 + 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/lib64 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) Hardlinking identical .pyc and .pyo files Processing files: sams-1.0.5-alt1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.75231 + 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.Weou1W 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.qvWClK 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.YP9irA 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.6oTDht 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.0S3VQo 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.CVgNRp Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MPysFt 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, /lib64/ld-linux-x86-64.so.2, /usr/bin/mysql, coreutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcrypt.so.1()(64bit) >= set:hguT2, libcrypt.so.1(GLIBC_2.2.5)(64bit), libmysqlclient.so.18()(64bit) >= set:miY6sX43dNoktswSbiPxZGqiZAluRU1, libmysqlclient.so.18(libmysqlclient_18)(64bit), libpcre.so.3()(64bit) >= set:jht4DmZh, 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.0TofdA 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.0kQSzJ 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.eXlxIV 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.gtDWed 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.6Kksux find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uCx7tU find-requires: running scripts (debuginfo) Requires: sams-server = 1.0.5-alt1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypt.so.1), debug64(libmysqlclient.so.18), debug64(libpcre.so.3) Removing 2 extra deps from sams-web due to repentancy on sams-server Wrote: /usr/src/RPM/RPMS/x86_64/sams-1.0.5-alt1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/sams-server-1.0.5-alt1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/sams-web-1.0.5-alt1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/sams-server-debuginfo-1.0.5-alt1.qa1.x86_64.rpm 7.33user 2.15system 0:21.47elapsed 44%CPU (0avgtext+0avgdata 49512maxresident)k 0inputs+0outputs (0major+947669minor)pagefaults 0swaps 15.51user 4.81system 0:33.30elapsed 61%CPU (0avgtext+0avgdata 124968maxresident)k 0inputs+0outputs (0major+1340865minor)pagefaults 0swaps --- sams-server-1.0.5-alt1.qa1.x86_64.rpm.repo 2013-04-14 03:22:44.000000000 +0000 +++ sams-server-1.0.5-alt1.qa1.x86_64.rpm.hasher 2019-01-06 01:19:00.322879150 +0000 @@ -27,5 +27,5 @@ Requires: libcrypt.so.1(GLIBC_2.2.5)(64bit) -Requires: libmysqlclient.so.18()(64bit) >= set:lhYE0DGQezS9Sdtwbu7l77EthqeY7 -Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit) -Requires: libpcre.so.3()(64bit) >= set:igW8KBv +Requires: libmysqlclient.so.18()(64bit) >= set:miY6sX43dNoktswSbiPxZGqiZAluRU1 +Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit) +Requires: libpcre.so.3()(64bit) >= set:jht4DmZh Requires: rtld(GNU_HASH) --- sams-web-1.0.5-alt1.qa1.x86_64.rpm.repo 2013-04-14 03:22:44.000000000 +0000 +++ sams-web-1.0.5-alt1.qa1.x86_64.rpm.hasher 2019-01-06 01:19:00.349879173 +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