<86>Jan  1 07:20:52 userdel[53221]: delete user 'rooter'
<86>Jan  1 07:20:52 groupadd[53237]: group added to /etc/group: name=rooter, GID=585
<86>Jan  1 07:20:52 groupadd[53237]: group added to /etc/gshadow: name=rooter
<86>Jan  1 07:20:52 groupadd[53237]: new group: name=rooter, GID=585
<86>Jan  1 07:20:52 useradd[53265]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash
<86>Jan  1 07:20:52 userdel[53324]: delete user 'builder'
<86>Jan  1 07:20:52 userdel[53324]: removed group 'builder' owned by 'builder'
<86>Jan  1 07:20:52 userdel[53324]: removed shadow group 'builder' owned by 'builder'
<86>Jan  1 07:20:52 groupadd[53415]: group added to /etc/group: name=builder, GID=586
<86>Jan  1 07:20:52 groupadd[53415]: group added to /etc/gshadow: name=builder
<86>Jan  1 07:20:52 groupadd[53415]: new group: name=builder, GID=586
<86>Jan  1 07:20:52 useradd[53454]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash
<13>Jan  1 07:20:55 rpmi: libpcre16-8.42-alt1 1531419113 installed
<13>Jan  1 07:20:55 rpmi: pcretest-8.42-alt1 1531419113 installed
<13>Jan  1 07:20:55 rpmi: libtasn1-4.13-alt2 1521133850 installed
<13>Jan  1 07:20:55 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed
<13>Jan  1 07:20:55 rpmi: ed-1:0.2-alt10 1449768440 installed
<13>Jan  1 07:20:55 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed
<13>Jan  1 07:20:55 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed
<13>Jan  1 07:20:55 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed
<13>Jan  1 07:20:55 rpmi: ca-trust-0.1.1-alt2 1515595785 installed
<13>Jan  1 07:20:55 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed
<13>Jan  1 07:20:55 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed
<13>Jan  1 07:20:55 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed
<13>Jan  1 07:20:55 rpmi: libmysqlclient20-5.7.24-alt2 sisyphus.216505.700 1543991137 installed
<13>Jan  1 07:20:55 rpmi: libmysqlclient20-devel-5.7.24-alt2 sisyphus.216505.700 1543991137 installed
<13>Jan  1 07:20:55 rpmi: libpcre-devel-8.42-alt1 1531419113 installed
<13>Jan  1 07:20:58 rpmi: rpm-build-compat-2.1.9-alt1 1535641052 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/sams-1.0.5-alt1.qa1.nosrc.rpm
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.82611
+ 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.82611
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd sams-1.0.5
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -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 <mysql.h> in /usr/include/mysql... using <mysql.h> 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 <pcre.h> in /usr/include/pcre... using <pcre.h> 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'

+ 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 tools.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from tools.c:18:
/usr/include/features.h:184: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"
   ^~~~~~~
tools.c: In function 'LocalIPAddr':
tools.c:87:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
       else
       ^~~~
tools.c:89:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  t1=i+1;
  ^~
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:212:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(n < _sf_urld_buflen)
 ^~
tools.c:214:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   p = buf = (char *)malloc(n);
   ^
tools.c:229:1: warning: statement with no effect [-Wunused-value]
 for(p; (c = *str); str++, p++)
 ^~~
tools.c: In function 'TestPID':
tools.c:338:6: warning: implicit declaration of function 'kill'; did you mean 'ceill'? [-Wimplicit-function-declaration]
   if(kill(pid,0)==0)
      ^~~~
      ceill
tools.c: In function 'do_connect':
tools.c:552:14: warning: assignment to 'int' from 'MYSQL *' {aka 'struct st_mysql *'} 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 );
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
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 redirect.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from redirect.c:19:
/usr/include/features.h:184: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'; did you mean 'exit'? [-Wimplicit-function-declaration]
   wait(&status);
   ^~~~
   exit
redirect.c: In function 'main':
redirect.c:451:9: warning: implicit declaration of function 'getpid'; did you mean 'getpt'? [-Wimplicit-function-declaration]
   pid = getpid();
         ^~~~~~
         getpt
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;
         ^~~~
redirect.c:985:38: warning: '%s' directive writing up to 16383 bytes into a region of size between 0 and 16383 [-Wformat-overflow=]
                  sprintf(&str[0],"%s %s/- %s %s",&str1[0],&str2[0],&str3[0],&str4[0]);
                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from redirect.c:20:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 65538 bytes into a destination of size 16384
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redirect.c:996:87: warning: '%s' directive writing up to 16383 bytes into a region of size 16334 [-Wformat-overflow=]
                  sprintf(&str[0],"INSERT INTO %s.redirect_test SET redirect_test.inp='%s',redirect_test.ip='%s',redirect_test.out='%s',redirect_test.user='%s',redirect_test.pid='%d'",conf.logdb,&str1_[0],&str2[0],&str1[0],&str3[0],pid);
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redirect.c:996:34: note: using the range [-2147483648, 2147483647] for directive argument
                  sprintf(&str[0],"INSERT INTO %s.redirect_test SET redirect_test.inp='%s',redirect_test.ip='%s',redirect_test.out='%s',redirect_test.user='%s',redirect_test.pid='%d'",conf.logdb,&str1_[0],&str2[0],&str1[0],&str3[0],pid);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from redirect.c:20:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 137 or more bytes (assuming 65669) into a destination of size 16384
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
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 daemon.c
In file included from /usr/include/signal.h:25,
                 from logtool.c:19,
                 from daemon.c:19:
/usr/include/features.h:184: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 daemon.c:19:
logtool.c: In function 'exec_script':
logtool.c:185:10: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
          sprintf(exe,"%s%s",exe, &buf[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;
       ^~~~~
logtool.c: In function 'trim':
logtool.c:532:20: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
            sprintf(&strim[0],"%s%c",&strim[0],string[i]);
                    ^~~~~~~~~        ~~~~~~~~~
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;
       ^~~~~~~
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 daemon.c:19:
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);
        ^~~~~~~~~~~~~~~~~~~~~~~~
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);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from daemon.c:19:
logtool.c: In function 'trim':
logtool.c:532:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
            sprintf(&strim[0],"%s%c",&strim[0],string[i]);
                                   ^
In file included from /usr/include/stdio.h:862,
                 from logtool.c:21,
                 from daemon.c:19:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
make: Entering directory '/usr/src/RPM/BUILD/sams-1.0.5'
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
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
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
In file included from /usr/include/signal.h:25,
                 from logtool.c:19,
                 from demon.c:19:
/usr/include/features.h:184: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 demon.c:19:
logtool.c: In function 'exec_script':
logtool.c:185:10: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
          sprintf(exe,"%s%s",exe, &buf[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;
       ^~~~~
logtool.c: In function 'trim':
logtool.c:532:20: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
            sprintf(&strim[0],"%s%c",&strim[0],string[i]);
                    ^~~~~~~~~        ~~~~~~~~~
demon.c: In function 'ExportDB':
demon.c:42:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
   int flag;
       ^~~~
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;
       ^~~~~~~
In file included from demon.c:19:
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':
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 );
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from demon.c:19:
logtool.c: In function 'trim':
logtool.c:532:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
            sprintf(&strim[0],"%s%c",&strim[0],string[i]);
                                   ^
In file included from /usr/include/stdio.h:862,
                 from logtool.c:21,
                 from demon.c:19:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
make: Entering directory '/usr/src/RPM/BUILD/sams-1.0.5'
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'
make: Entering directory '/usr/src/RPM/BUILD/sams-1.0.5'
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
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
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 samsdaemon.c
In file included from /usr/include/ctype.h:25,
                 from samsdaemon.c:18:
/usr/include/features.h:184: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 samsdaemon.c:41:
htpasswd/htpasswd.h: In function 'pgetword':
htpasswd/htpasswd.h:52:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while(line[y++] = line[x++]);
           ^~~~
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;
             ^~~~
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");
      ^~~~~~~~~~
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:22: 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);
                     ~^                            ~~~~~~~~~~
                     %ld
samsdaemon.c:2474:106: 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);
                                                                                                         ~^                                                  ~~~~~~~~~~
                                                                                                         %ld
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:
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 samsdaemon.c:41:
htpasswd/htpasswd.h: In function 'set_password':
htpasswd/htpasswd.h:160:25: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=]
     sprintf(command,"cp %s %s",tn,conf);
                         ^~     ~~
In file included from /usr/include/stdio.h:862,
                 from samsdaemon.c:25:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 260) into a destination of size 256
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
samsdaemon.c: In function 'main':
samsdaemon.c:2866:42: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=]
      sprintf(&buf[0],"%s/share/sams/data/%s",conf.samspath,&url[0]);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from samsdaemon.c:25:
/usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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)
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
make: Entering directory '/usr/src/RPM/BUILD/sams-1.0.5'
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
make: Leaving directory '/usr/src/RPM/BUILD/sams-1.0.5'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.12851
+ 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)
Checking contents of files in /usr/src/tmp/sams-buildroot/ (default)
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.94209
+ 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.mamGcg
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.gIIqjR
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.q5bT5U
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.fAVSVw
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.Dx82wx
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.xjQtnV
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oYVxGR
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:ihuTa, libcrypt.so.1(XCRYPT_2.0), libmysqlclient.so.20 >= set:kgMz2DJ6l7N7U2I5FTQqDUrWQD6, libmysqlclient.so.20(libmysqlclient_20.0), libpcre.so.3 >= 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.rEjEFb
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.DVjUNS
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.EbpPyX
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.eReIDa
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.XtFpxI
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LtcDCH
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.20), 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
12.87user 2.08system 0:31.02elapsed 48%CPU (0avgtext+0avgdata 41200maxresident)k
0inputs+0outputs (0major+1025294minor)pagefaults 0swaps
24.30user 5.25system 0:47.79elapsed 61%CPU (0avgtext+0avgdata 122064maxresident)k
0inputs+0outputs (0major+1610276minor)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-01-01 07:21:33.331984871 +0000
@@ -24,8 +24,8 @@
 Requires: libc.so.6(GLIBC_2.4)  
-Requires: libcrypt.so.1 >= set:hguT2
+Requires: libcrypt.so.1 >= set:ihuTa
 Requires: rpmlib(SetVersions)  
-Requires: libcrypt.so.1(GLIBC_2.0)  
-Requires: libmysqlclient.so.18 >= set:lhYE0DGQezS9Sdtwbu7l77EthqeY7
-Requires: libmysqlclient.so.18(libmysqlclient_16)  
-Requires: libpcre.so.3 >= set:igW8KBv
+Requires: libcrypt.so.1(XCRYPT_2.0)  
+Requires: libmysqlclient.so.20 >= set:kgMz2DJ6l7N7U2I5FTQqDUrWQD6
+Requires: libmysqlclient.so.20(libmysqlclient_20.0)  
+Requires: libpcre.so.3 >= set:jht4DmZh
 Requires: rtld(GNU_HASH)  
--- sams-server-debuginfo-1.0.5-alt1.qa1.i586.rpm.repo	2013-04-14 03:22:46.000000000 +0000
+++ sams-server-debuginfo-1.0.5-alt1.qa1.i586.rpm.hasher	2019-01-01 07:21:33.343984869 +0000
@@ -8,3 +8,3 @@
 Requires: debug(libcrypt.so.1)  
-Requires: debug(libmysqlclient.so.18)  
+Requires: debug(libmysqlclient.so.20)  
 Requires: debug(libpcre.so.3)  
--- 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-01-01 07:21:33.357984867 +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