<86>Jan 11 06:20:18 userdel[866681]: delete user 'rooter'
<86>Jan 11 06:20:18 userdel[866681]: removed group 'rooter' owned by 'rooter'
<86>Jan 11 06:20:18 userdel[866681]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan 11 06:20:18 groupadd[866706]: group added to /etc/group: name=rooter, GID=1826
<86>Jan 11 06:20:18 groupadd[866706]: group added to /etc/gshadow: name=rooter
<86>Jan 11 06:20:18 groupadd[866706]: new group: name=rooter, GID=1826
<86>Jan 11 06:20:18 useradd[866717]: new user: name=rooter, UID=1826, GID=1826, home=/root, shell=/bin/bash, from=none
<86>Jan 11 06:20:18 userdel[866743]: delete user 'builder'
<86>Jan 11 06:20:18 userdel[866743]: removed group 'builder' owned by 'builder'
<86>Jan 11 06:20:18 userdel[866743]: removed shadow group 'builder' owned by 'builder'
<86>Jan 11 06:20:18 groupadd[866768]: group added to /etc/group: name=builder, GID=1827
<86>Jan 11 06:20:18 groupadd[866768]: group added to /etc/gshadow: name=builder
<86>Jan 11 06:20:18 groupadd[866768]: new group: name=builder, GID=1827
<86>Jan 11 06:20:18 useradd[866790]: new user: name=builder, UID=1827, GID=1827, home=/usr/src, shell=/bin/bash, from=none
/usr/src/in/srpm/perl-Authen-Smb-0.91-alt5.2.src.rpm: The use of such a license name is ambiguous: GPL
/usr/src/in/srpm/perl-Authen-Smb-0.91-alt5.2.src.rpm: The use of such a license name is ambiguous: Artistic
warning: user igor does not exist - using root
warning: group igor does not exist - using root
warning: user igor does not exist - using root
warning: group igor does not exist - using root
<13>Jan 11 06:20:21 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed
<13>Jan 11 06:20:21 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed
<13>Jan 11 06:20:21 rpmi: perl-devel-1:5.38.2-alt0.2 sisyphus+344512.40.2.1 1712358153 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/perl-Authen-Smb-0.91-alt5.2.nosrc.rpm (w1.gzdio)
Installing perl-Authen-Smb-0.91-alt5.2.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50522
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf Authen-Smb-0.91
+ echo 'Source #0 (Authen-Smb-0.91.tar.gz):'
Source #0 (Authen-Smb-0.91.tar.gz):
+ /usr/bin/gzip -dc /usr/src/RPM/SOURCES/Authen-Smb-0.91.tar.gz
+ /bin/tar -xf -
+ cd Authen-Smb-0.91
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.50522
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd Authen-Smb-0.91
+ perl_vendor_build
+ export PERL_EXTUTILS_AUTOINSTALL=--skip
+ PERL_EXTUTILS_AUTOINSTALL=--skip
+ export XSUBPP_STATIC_XS=1
+ XSUBPP_STATIC_XS=1
+ _perl_vendor_fixin
+ find . -type f -print0
+ xargs -r0 /usr/bin/subst -p '1s,^#![[:space:]]*\([^[:space:]]*/\)\?perl\([^/[:alpha:][:space:]][^/[:space:]]*\)\?\([[:space:]]\|$\),#!/usr/bin/perl\3,'
+ /usr/bin/grep -qs -Ew '((dist|module)_name|Build_PL|Module::Build)' Build.PL
+ _perl_vendor_MM_build
+ : looking for PREREQ dependencies
+ /usr/bin/perl Makefile.PL PRINT_PREREQ=1
+ tee .perl.req

+ : writing Makefile
+ /usr/bin/perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Authen::Smb
+ : running make
+ make -j16 'OPTIMIZE=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' 'CP=/bin/cp -p'
cd smbval && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic" PREFIX="/usr" PASTHRU_DEFINE=' ' PASTHRU_INC=' '
make: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
Running Mkbootstrap for Smb ()
chmod 644 "Smb.bs"
make: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
make: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Smb.bs blib/arch/auto/Authen/Smb/Smb.bs 644
make: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
make: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
cp Smb.pm blib/lib/Authen/Smb.pm
AutoSplitting blib/lib/Authen/Smb.pm (blib/lib/auto/Authen/Smb)
make: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   session.c
session.c: In function 'RFCNB_Get_Error_Msg':
session.c:360:40: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
  360 |   strncpy(msg_buf, RFCNB_Error_Strings[abs(code)], len);
      |                                        ^~~
session.c:38:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
   37 | #include "rfcnb-io.h"
  +++ |+#include <stdlib.h>
   38 | 
make[1]: *** [Makefile:342: session.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   valid.c
valid.c: In function 'Valid_User':
valid.c:22:3: error: implicit declaration of function 'SMB_Init' [-Wimplicit-function-declaration]
   22 |   SMB_Init();
      |   ^~~~~~~~
valid.c:30:7: error: implicit declaration of function 'SMB_Negotiate' [-Wimplicit-function-declaration]
   30 |   if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */
      |       ^~~~~~~~~~~~~
valid.c:31:5: error: implicit declaration of function 'SMB_Discon'; did you mean 'SMBtcon'? [-Wimplicit-function-declaration]
   31 |     SMB_Discon(con,0);
      |     ^~~~~~~~~~
      |     SMBtcon
valid.c:42:7: error: implicit declaration of function 'SMB_Logon_Server'; did you mean 'SMB_Connect_Server'? [-Wimplicit-function-declaration]
   42 |   if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) {
      |       ^~~~~~~~~~~~~~~~
      |       SMB_Connect_Server
In file included from valid.c:4:
smblib-priv.h: At top level:
smblib-priv.h:511:12: warning: 'SMB_Types' defined but not used [-Wunused-variable]
  511 | static int SMB_Types[] = {SMB_P_Core,
      |            ^~~~~~~~~
smblib-priv.h:497:14: warning: 'SMB_Prots' defined but not used [-Wunused-variable]
  497 | static char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
      |              ^~~~~~~~~
make[1]: *** [Makefile:342: valid.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   smbdes.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   md4.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   smblib-util.c
smblib-util.c: In function 'SMB_AtrToStr':
smblib-util.c:87:5: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
   87 |     strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R"));
      |     ^~~~~~
smblib-util.c:30:1: note: include '<string.h>' or provide a declaration of 'strcat'
   29 | #include "rfcnb.h"
  +++ |+#include <string.h>
   30 | 
smblib-util.c:87:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
   87 |     strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R"));
      |     ^~~~~~
smblib-util.c:87:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c:90:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
   90 |     strcat(SMB_Attrib_Temp, (verbose?"Hidden ":"H"));
      |     ^~~~~~
smblib-util.c:90:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c:93:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
   93 |     strcat(SMB_Attrib_Temp, (verbose?"System ":"S"));
      |     ^~~~~~
smblib-util.c:93:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c:96:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
   96 |     strcat(SMB_Attrib_Temp, (verbose?"Volume ":"V"));
      |     ^~~~~~
smblib-util.c:96:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c:99:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
   99 |     strcat(SMB_Attrib_Temp, (verbose?"Directory ":"D"));
      |     ^~~~~~
smblib-util.c:99:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c:102:5: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch]
  102 |     strcat(SMB_Attrib_Temp, (verbose?"Archive ":"A"));
      |     ^~~~~~
smblib-util.c:102:5: note: include '<string.h>' or provide a declaration of 'strcat'
smblib-util.c: In function 'SMB_Figure_Protocol':
smblib-util.c:178:11: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  178 |       if (strcmp(dialects[prot_index], SMB_Prots[i]) == 0) { /* A match */
      |           ^~~~~~
smblib-util.c:178:11: note: include '<string.h>' or provide a declaration of 'strcmp'
smblib-util.c: In function 'SMB_Negotiate':
smblib-util.c:214:29: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  214 |     prots_len = prots_len + strlen(Prots[i]) + 2; /* Account for null etc */
      |                             ^~~~~~
smblib-util.c:214:29: note: include '<string.h>' or provide a declaration of 'strlen'
smblib-util.c:214:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
smblib-util.c:214:29: note: include '<string.h>' or provide a declaration of 'strlen'
smblib-util.c:266:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  266 |     strcpy(p + 1, Prots[i]);
      |     ^~~~~~
smblib-util.c:266:5: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib-util.c:266:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
smblib-util.c:266:5: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib-util.c:267:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  267 |     p = p + strlen(Prots[i]) + 2; /* Adjust len of p for null plus dialectID */
      |             ^~~~~~
smblib-util.c:267:13: note: include '<string.h>' or provide a declaration of 'strlen'
smblib-util.c:362:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=]
  362 |     fprintf(stderr, "%d", (char *)(SMB_Hdr(pkt) + SMB_negrLM_buf_offset));
      |                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       |   |
      |                       int char *
      |                      %s
smblib-util.c:363:5: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  363 |     memcpy(Con_Handle->Encrypt_Key, p, 8);
      |     ^~~~~~
smblib-util.c:363:5: note: include '<string.h>' or provide a declaration of 'memcpy'
smblib-util.c:363:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
smblib-util.c:363:5: note: include '<string.h>' or provide a declaration of 'memcpy'
smblib-util.c:367:5: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
  367 |     strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1);
      |     ^~~~~~~
smblib-util.c:367:5: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c:367:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
smblib-util.c:367:5: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c: In function 'SMB_Get_My_Name':
smblib-util.c:421:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
  421 |     strncpy(name, "unknown", len);
      |     ^~~~~~~
smblib-util.c:421:5: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c: In function 'SMB_TreeConnect':
smblib-util.c:465:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  465 |   param_len = strlen(path) + 2 + strlen(password) + 2 + strlen(device) + 2;
      |               ^~~~~~
smblib-util.c:465:15: note: include '<string.h>' or provide a declaration of 'strlen'
smblib-util.c:503:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
  503 |   strncpy(tree -> path, path, sizeof(tree -> path));
      |   ^~~~~~~
smblib-util.c:503:3: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c:523:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  523 |   strcpy(p + 1, path);
      |   ^~~~~~
smblib-util.c:523:3: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib-util.c:594:30: warning: statement with no effect [-Wunused-value]
  594 |     Con_Handle -> first_tree == tree;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
smblib-util.c:595:29: warning: statement with no effect [-Wunused-value]
  595 |     Con_Handle -> last_tree == tree;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
smblib-util.c:446:18: warning: unused variable 'i' [-Wunused-variable]
  446 |   int param_len, i, pkt_len;
      |                  ^
smblib-util.c: In function 'SMB_Get_Error_Msg':
smblib-util.c:765:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
  765 |     strncpy(msgbuf,
      |     ^~~~~~~
smblib-util.c:765:5: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c:776:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
  776 |     strncpy(msgbuf,
      |     ^~~~~~~
smblib-util.c:776:5: note: include '<string.h>' or provide a declaration of 'strncpy'
smblib-util.c:782:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  782 |     if (strlen(msgbuf) < len) { /* If there is space, put rest in */
      |         ^~~~~~
smblib-util.c:782:9: note: include '<string.h>' or provide a declaration of 'strlen'
smblib-util.c:784:7: error: implicit declaration of function 'strncat' [-Wimplicit-function-declaration]
  784 |       strncat(msgbuf, "\n\t", len - strlen(msgbuf));
      |       ^~~~~~~
smblib-util.c:784:7: note: include '<string.h>' or provide a declaration of 'strncat'
smblib-util.c:784:7: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch]
smblib-util.c:784:7: note: include '<string.h>' or provide a declaration of 'strncat'
smblib-util.c:793:1: warning: control reaches end of non-void function [-Wreturn-type]
  793 | }
      | ^
In file included from rfcnb.h:28,
                 from smblib-util.c:29:
rfcnb-error.h: At top level:
rfcnb-error.h:52:14: warning: 'RFCNB_Error_Strings' defined but not used [-Wunused-variable]
   52 | static char *RFCNB_Error_Strings[] = {
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:342: smblib-util.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
"/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  Smb.xs > Smb.xsc
Please specify prototyping behavior for Smb.xs (see perlxs manual)
mv Smb.xsc Smb.c
make: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   rfcnb-io.c
rfcnb-io.c: In function 'RFCNB_Set_Timeout':
rfcnb-io.c:49:7: warning: unused variable 'temp' [-Wunused-variable]
   49 |   int temp;
      |       ^~~~
In file included from rfcnb-priv.h:32,
                 from rfcnb-io.c:27:
rfcnb-error.h: At top level:
rfcnb-error.h:52:14: warning: 'RFCNB_Error_Strings' defined but not used [-Wunused-variable]
   52 | static char *RFCNB_Error_Strings[] = {
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   smblib.c
smblib.c: In function 'SMBlib_Set_Sock_NoDelay':
smblib.c:93:7: error: implicit declaration of function 'RFCNB_Set_Sock_NoDelay'; did you mean 'SMBlib_Set_Sock_NoDelay'? [-Wimplicit-function-declaration]
   93 |   if (RFCNB_Set_Sock_NoDelay(Con_Handle -> Trans_Connect, yn) < 0) {
      |       ^~~~~~~~~~~~~~~~~~~~~~
      |       SMBlib_Set_Sock_NoDelay
smblib.c: In function 'SMB_Connect_Server':
smblib.c:133:3: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  133 |   strcpy(con -> service, "");
      |   ^~~~~~
smblib.c:36:1: note: include '<string.h>' or provide a declaration of 'strcpy'
   35 | #include "rfcnb.h"
  +++ |+#include <string.h>
   36 | 
smblib.c:133:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  133 |   strcpy(con -> service, "");
      |   ^~~~~~
smblib.c:133:3: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib.c:144:3: error: implicit declaration of function 'SMB_Get_My_Name' [-Wimplicit-function-declaration]
  144 |   SMB_Get_My_Name(con -> myname, sizeof(con -> myname));
      |   ^~~~~~~~~~~~~~~
smblib.c:158:17: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  158 |   for (i=0; i < strlen(server); i++)
      |                 ^~~~~~
smblib.c:158:17: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:158:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
smblib.c:158:17: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:159:17: error: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
  159 |     called[i] = toupper(server[i]);
      |                 ^~~~~~~
smblib.c:36:1: note: include '<ctype.h>' or provide a declaration of 'toupper'
   35 | #include "rfcnb.h"
  +++ |+#include <ctype.h>
   36 | 
smblib.c:161:10: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  161 |   called[strlen(server)] = 0;    /* Make it a string */
      |          ^~~~~~
smblib.c:161:10: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:168:7: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  168 |   if (strcmp(con -> address, "") == 0)
      |       ^~~~~~
smblib.c:168:7: note: include '<string.h>' or provide a declaration of 'strcmp'
smblib.c:113:8: warning: unused variable 'temp' [-Wunused-variable]
  113 |   char temp[80], called[80], calling[80], *address;
      |        ^~~~
smblib.c: In function 'SMB_Connect':
smblib.c:230:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  230 |   strcpy(con -> service, service);
      |   ^~~~~~
smblib.c:230:3: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib.c:254:10: error: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
  254 |   host = strtok(temp, "/\\");     /* Separate host name portion */
      |          ^~~~~~
smblib.c:254:8: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  254 |   host = strtok(temp, "/\\");     /* Separate host name portion */
      |        ^
smblib.c:260:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  260 |   for (i=0; i < strlen(host); i++)
      |                 ^~~~~~
smblib.c:260:17: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:263:10: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  263 |   called[strlen(host)] = 0;    /* Make it a string */
      |          ^~~~~~
smblib.c:263:10: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:295:7: error: implicit declaration of function 'SMB_Negotiate' [-Wimplicit-function-declaration]
  295 |   if (SMB_Negotiate(con, SMB_Prots_Restrict) < 0) {
      |       ^~~~~~~~~~~~~
smblib.c: In function 'SMB_Logon_Server':
smblib.c:337:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]
  337 |   strcpy(pword, PassWord);
      |   ^~~~~~
smblib.c:337:3: note: include '<string.h>' or provide a declaration of 'strcpy'
smblib.c:342:5: error: implicit declaration of function 'SMBencrypt' [-Wimplicit-function-declaration]
  342 |     SMBencrypt((uchar *) PassWord, (uchar *)Con_Handle -> Encrypt_Key,(uchar *)pword);
      |     ^~~~~~~~~~
smblib.c:345:18: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  345 |         pass_len=strlen(pword);
      |                  ^~~~~~
smblib.c:345:18: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:352:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  352 |     param_len = strlen(UserName) + 1 + pass_len + 1 +
      |                 ^~~~~~
smblib.c:352:17: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:392:5: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  392 |     memcpy(p, pword, pass_len);
      |     ^~~~~~
smblib.c:392:5: note: include '<string.h>' or provide a declaration of 'memcpy'
smblib.c:392:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
smblib.c:392:5: note: include '<string.h>' or provide a declaration of 'memcpy'
smblib.c:416:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
  416 |     param_len = strlen(UserName) + 1 + pass_len +
      |                 ^~~~~~
smblib.c:416:17: note: include '<string.h>' or provide a declaration of 'strlen'
smblib.c:459:5: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
  459 |     memcpy(p, pword, pass_len);
      |     ^~~~~~
smblib.c:459:5: note: include '<string.h>' or provide a declaration of 'memcpy'
smblib.c:493:5: error: implicit declaration of function 'RFCNB_Free_Pkt'; did you mean 'RFCNB_Alloc_Pkt'? [-Wimplicit-function-declaration]
  493 |     RFCNB_Free_Pkt(pkt);
      |     ^~~~~~~~~~~~~~
      |     RFCNB_Alloc_Pkt
smblib.c:323:39: warning: unused variable 'a' [-Wunused-variable]
  323 |   int param_len, i, pkt_len, pass_len,a;
      |                                       ^
smblib.c:323:18: warning: unused variable 'i' [-Wunused-variable]
  323 |   int param_len, i, pkt_len, pass_len,a;
      |                  ^
In file included from rfcnb.h:28,
                 from smblib.c:35:
rfcnb-error.h: At top level:
rfcnb-error.h:52:14: warning: 'RFCNB_Error_Strings' defined but not used [-Wunused-variable]
   52 | static char *RFCNB_Error_Strings[] = {
      |              ^~~~~~~~~~~~~~~~~~~
In file included from smblib.c:33:
smblib-priv.h:511:12: warning: 'SMB_Types' defined but not used [-Wunused-variable]
  511 | static int SMB_Types[] = {SMB_P_Core,
      |            ^~~~~~~~~
smblib-priv.h:497:14: warning: 'SMB_Prots' defined but not used [-Wunused-variable]
  497 | static char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
      |              ^~~~~~~~~
make[1]: *** [Makefile:342: smblib.o] Error 1
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   rfcnb-util.c
In file included from rfcnb-util.c:31:
rfcnb-util.c: In function 'RFCNB_Session_Req':
rfcnb-priv.h:104:45: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
  104 | #define RFCNB_Put_Pkt_Len(p, v) (p[1] = ((v >> 16) & 1)); \
      |                                             ^~
rfcnb-util.c:438:3: note: in expansion of macro 'RFCNB_Put_Pkt_Len'
  438 |   RFCNB_Put_Pkt_Len(sess_pkt, RFCNB_Pkt_Sess_Len-RFCNB_Pkt_Hdr_Len);
      |   ^~~~~~~~~~~~~~~~~
rfcnb-priv.h:105:45: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
  105 |                                 (p[2] = ((v >> 8) & 0xFF)); \
      |                                             ^~
rfcnb-util.c:438:3: note: in expansion of macro 'RFCNB_Put_Pkt_Len'
  438 |   RFCNB_Put_Pkt_Len(sess_pkt, RFCNB_Pkt_Sess_Len-RFCNB_Pkt_Hdr_Len);
      |   ^~~~~~~~~~~~~~~~~
rfcnb-priv.h:106:44: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
  106 |                                 (p[3] = (v & 0xFF));
      |                                            ^
rfcnb-util.c:438:3: note: in expansion of macro 'RFCNB_Put_Pkt_Len'
  438 |   RFCNB_Put_Pkt_Len(sess_pkt, RFCNB_Pkt_Sess_Len-RFCNB_Pkt_Hdr_Len);
      |   ^~~~~~~~~~~~~~~~~
In file included from rfcnb-priv.h:32:
rfcnb-error.h: At top level:
rfcnb-error.h:52:14: warning: 'RFCNB_Error_Strings' defined but not used [-Wunused-variable]
   52 | static char *RFCNB_Error_Strings[] = {
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make[1]: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE"   smbencrypt.c
In file included from smbencrypt.c:30:
smblib-priv.h:511:12: warning: 'SMB_Types' defined but not used [-Wunused-variable]
  511 | static int SMB_Types[] = {SMB_P_Core,
      |            ^~~~~~~~~
smblib-priv.h:497:14: warning: 'SMB_Prots' defined but not used [-Wunused-variable]
  497 | static char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
      |              ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91/smbval'
make: *** [Makefile:1027: smbval/smbvalid.a] Error 2
make: *** Waiting for unfinished jobs....
make: Entering directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic   -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" -fPIC "-I/usr/lib/perl5/CORE"   Smb.c
Smb.c: In function 'XS_Authen__Smb_Valid_User':
Smb.c:309:18: error: implicit declaration of function 'Valid_User' [-Wimplicit-function-declaration]
  309 |         RETVAL = Valid_User(username, password, server, backup, domain);
      |                  ^~~~~~~~~~
Smb.xs: At top level:
Smb.xs:12:1: warning: 'not_here' defined but not used [-Wunused-function]
   12 | not_here(s)
      | ^~~~~~~~
make: *** [Makefile:338: Smb.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/Authen-Smb-0.91'
error: Bad exit status from /usr/src/tmp/rpm-tmp.50522 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.50522 (%build)
Command exited with non-zero status 1
0.98user 0.38system 0:00.59elapsed 230%CPU (0avgtext+0avgdata 55276maxresident)k
0inputs+0outputs (0major+69883minor)pagefaults 0swaps
hsh-rebuild: rebuild of `perl-Authen-Smb-0.91-alt5.2.src.rpm' failed.
Command exited with non-zero status 1
2.96user 2.41system 0:08.29elapsed 64%CPU (0avgtext+0avgdata 130680maxresident)k
0inputs+0outputs (0major+179750minor)pagefaults 0swaps