=> Building security/p5-Authen-Smb Started : Thursday, 7 MAR 2019 at 13:10:29 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/p5-Authen-Smb XDG_CONFIG_HOME=/construction/security/p5-Authen-Smb HOME=/construction/security/p5-Authen-Smb TMPDIR="/tmp" PATH=/construction/security/p5-Authen-Smb/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES" -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- INSTALLDIRS="site" CC="cc" CCFLAGS="-pipe -O2 -fno-strict-aliasing " LD="cc" PREFIX="/usr/local" INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib" -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/p5-Authen-Smb XDG_CONFIG_HOME=/construction/security/p5-Authen-Smb HOME=/construction/security/p5-Authen-Smb TMPDIR="/tmp" PATH=/construction/security/p5-Authen-Smb/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/p5-Authen-Smb/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/Authen-Smb" EXAMPLESDIR="share/examples/Authen-Smb" DATADIR="share/Authen-Smb" WWWDIR="www/Authen-Smb" ETCDIR="etc/Authen-Smb" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Authen-Smb DOCSDIR=/usr/local/share/doc/Authen-Smb EXAMPLESDIR=/usr/local/share/examples/Authen-Smb WWWDIR=/usr/local/www/Authen-Smb ETCDIR=/usr/local/etc/Authen-Smb -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> p5-Authen-Smb-0.91_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> p5-Authen-Smb-0.91_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of p5-Authen-Smb-0.91_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Authen-Smb-0.91_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Authen-Smb-0.91_1 for building => SHA256 Checksum OK for Authen-Smb-0.91.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Authen-Smb-0.91_1 for building ===> Extracting for p5-Authen-Smb-0.91_1 => SHA256 Checksum OK for Authen-Smb-0.91.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for p5-Authen-Smb-0.91_1 ===> Applying ports patches for p5-Authen-Smb-0.91_1 ===> Applying dragonfly patches for p5-Authen-Smb-0.91_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> p5-Authen-Smb-0.91_1 depends on package: perl5>=5.28.r1<5.29 - not found ===> Installing existing package /packages/All/perl5-5.28.1.txz Installing perl5-5.28.1... Extracting perl5-5.28.1: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> p5-Authen-Smb-0.91_1 depends on package: perl5>=5.28.r1<5.29 - found ===> Returning to build of p5-Authen-Smb-0.91_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for p5-Authen-Smb-0.91_1 Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Authen::Smb Writing MYMETA.yml and MYMETA.json -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for p5-Authen-Smb-0.91_1 --- blib/lib/Authen/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/Authen/Smb/.exists --- --- blib/arch/auto/Authen/Smb/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- smbval/smbvalid.a --- --- Smb.c --- --- smbval/smbvalid.a --- cd smbval && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-g" PREFIX="/usr/local" PASTHRU_DEFINE=' ' PASTHRU_INC=' ' --- Smb.c --- "/usr/local/bin/perl" "/usr/local/lib/perl5/5.28/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.28/ExtUtils/typemap' Smb.xs > Smb.xsc --- Smb.bs --- --- subdirs --- --- valid.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" valid.c --- Smb.bs --- Running Mkbootstrap for Smb () --- smbval/smbvalid.a --- --- valid.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" valid.c --- pm_to_blib --- --- Smb.bs --- chmod 644 "Smb.bs" --- blibdirs --- --- blib/arch/auto/Authen/Smb/Smb.bs --- "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Smb.bs blib/arch/auto/Authen/Smb/Smb.bs 644 --- config --- --- smbval/smbvalid.a --- --- session.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" session.c --- valid.o --- valid.c: In function 'Valid_User': valid.c:22:3: warning: implicit declaration of function 'SMB_Init'; did you mean 'SMBexit'? [-Wimplicit-function-declaration] SMB_Init(); ^~~~~~~~ SMBexit valid.c:30:7: warning: implicit declaration of function 'SMB_Negotiate'; did you mean 'SMBsetatr'? [-Wimplicit-function-declaration] if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */ ^~~~~~~~~~~~~ SMBsetatr valid.c:31:5: warning: implicit declaration of function 'SMB_Discon'; did you mean 'SMBtcon'? [-Wimplicit-function-declaration] SMB_Discon(con,0); ^~~~~~~~~~ SMBtcon valid.c:42:7: warning: implicit declaration of function 'SMB_Logon_Server'; did you mean 'SMB_Connect_Server'? [-Wimplicit-function-declaration] if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) { ^~~~~~~~~~~~~~~~ SMB_Connect_Server --- subdirs --- valid.c: In function 'Valid_User': valid.c:22:3: warning: implicit declaration of function 'SMB_Init'; did you mean 'SMBexit'? [-Wimplicit-function-declaration] SMB_Init(); ^~~~~~~~ SMBexit valid.c:30:7: warning: implicit declaration of function 'SMB_Negotiate'; did you mean 'SMBsetatr'? [-Wimplicit-function-declaration] if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */ ^~~~~~~~~~~~~ SMBsetatr valid.c:31:5: warning: implicit declaration of function 'SMB_Discon'; did you mean 'SMBtcon'? [-Wimplicit-function-declaration] SMB_Discon(con,0); ^~~~~~~~~~ SMBtcon valid.c:42:7: warning: implicit declaration of function 'SMB_Logon_Server'; did you mean 'SMB_Connect_Server'? [-Wimplicit-function-declaration] if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) { ^~~~~~~~~~~~~~~~ SMB_Connect_Server --- pm_to_blib --- cp Smb.pm blib/lib/Authen/Smb.pm AutoSplitting blib/lib/Authen/Smb.pm (blib/lib/auto/Authen/Smb) --- subdirs --- --- session.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" session.c --- rfcnb-util.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" rfcnb-util.c --- Smb.c --- Please specify prototyping behavior for Smb.xs (see perlxs manual) mv Smb.xsc Smb.c --- subdirs --- --- rfcnb-io.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" rfcnb-io.c --- smbval/smbvalid.a --- --- smblib-util.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smblib-util.c --- subdirs --- --- smblib-util.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smblib-util.c --- smbval/smbvalid.a --- smblib-util.c: In function 'SMB_AtrToStr': smblib-util.c:89:5: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R")); ^~~~~~ smblib-util.c:89:5: warning: incompatible implicit declaration of built-in function 'strcat' smblib-util.c:89:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:30:1: +#include smblib-util.c:89:5: strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R")); ^~~~~~ smblib-util.c:92:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Hidden ":"H")); ^~~~~~ smblib-util.c:92:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:95:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"System ":"S")); ^~~~~~ smblib-util.c:95:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:98:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Volume ":"V")); ^~~~~~ smblib-util.c:98:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:101:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Directory ":"D")); ^~~~~~ smblib-util.c:101:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:104:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Archive ":"A")); ^~~~~~ smblib-util.c:104:5: note: include '' or provide a declaration of 'strcat' smblib-util.c: In function 'SMB_Figure_Protocol': smblib-util.c:180:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(dialects[prot_index], SMB_Prots[i]) == 0) { /* A match */ ^~~~~~ smblib-util.c: In function 'SMB_Negotiate': smblib-util.c:216:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] prots_len = prots_len + strlen(Prots[i]) + 2; /* Account for null etc */ ^~~~~~ smblib-util.c:216:29: warning: incompatible implicit declaration of built-in function 'strlen' smblib-util.c:216:29: note: include '' or provide a declaration of 'strlen' smblib-util.c:268:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(p + 1, Prots[i]); ^~~~~~ smblib-util.c:268:5: warning: incompatible implicit declaration of built-in function 'strcpy' smblib-util.c:268:5: note: include '' or provide a declaration of 'strcpy' smblib-util.c:269:13: warning: incompatible implicit declaration of built-in function 'strlen' p = p + strlen(Prots[i]) + 2; /* Adjust len of p for null plus dialectID */ ^~~~~~ smblib-util.c:269:13: note: include '' or provide a declaration of 'strlen' smblib-util.c:365:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(Con_Handle->Encrypt_Key, p, 8); ^~~~~~ smblib-util.c:365:5: warning: incompatible implicit declaration of built-in function 'memcpy' smblib-util.c:365:5: note: include '' or provide a declaration of 'memcpy' smblib-util.c:369:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1); ^~~~~~~ smblib-util.c:369:5: warning: incompatible implicit declaration of built-in function 'strncpy' smblib-util.c:369:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c: In function 'SMB_Get_My_Name': smblib-util.c:423:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(name, "unknown", len); ^~~~~~~ smblib-util.c:423:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c: In function 'SMB_TreeConnect': smblib-util.c:467:15: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(path) + 2 + strlen(password) + 2 + strlen(device) + 2; ^~~~~~ smblib-util.c:467:15: note: include '' or provide a declaration of 'strlen' smblib-util.c:505:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(tree -> path, path, sizeof(tree -> path)); ^~~~~~~ smblib-util.c:505:3: note: include '' or provide a declaration of 'strncpy' smblib-util.c:525:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(p + 1, path); ^~~~~~ smblib-util.c:525:3: note: include '' or provide a declaration of 'strcpy' smblib-util.c: In function 'SMB_Get_Error_Msg': smblib-util.c:767:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(msgbuf, ^~~~~~~ smblib-util.c:767:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c:778:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(msgbuf, ^~~~~~~ smblib-util.c:778:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c:784:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(msgbuf) < len) { /* If there is space, put rest in */ ^~~~~~ smblib-util.c:784:9: note: include '' or provide a declaration of 'strlen' smblib-util.c:786:7: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] strncat(msgbuf, "\n\t", len - strlen(msgbuf)); ^~~~~~~ smblib-util.c:786:7: warning: incompatible implicit declaration of built-in function 'strncat' smblib-util.c:786:7: note: include '' or provide a declaration of 'strncat' --- subdirs --- --- smblib.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smblib.c --- smbencrypt.o --- --- smbval/smbvalid.a --- --- smblib.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smblib.c --- subdirs --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smbencrypt.c --- smblib.o --- smblib.c: In function 'SMBlib_Set_Sock_NoDelay': smblib.c:93:7: warning: implicit declaration of function 'RFCNB_Set_Sock_NoDelay'; did you mean 'SMBlib_Set_Sock_NoDelay'? [-Wimplicit-function-declaration] 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: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(con -> service, ""); ^~~~~~ smblib.c:133:3: warning: incompatible implicit declaration of built-in function 'strcpy' smblib.c:133:3: note: include '' or provide a declaration of 'strcpy' smblib.c:36:1: +#include smblib.c:133:3: strcpy(con -> service, ""); ^~~~~~ smblib.c:144:3: warning: implicit declaration of function 'SMB_Get_My_Name'; did you mean 'SMB_Sec_Mode_Share'? [-Wimplicit-function-declaration] SMB_Get_My_Name(con -> myname, sizeof(con -> myname)); ^~~~~~~~~~~~~~~ SMB_Sec_Mode_Share smblib.c:158:17: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i=0; i < strlen(server); i++) ^~~~~~ smblib.c:158:17: warning: incompatible implicit declaration of built-in function 'strlen' smblib.c:158:17: note: include '' or provide a declaration of 'strlen' smblib.c:159:17: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] called[i] = toupper(server[i]); ^~~~~~~ smblib.c:161:10: warning: incompatible implicit declaration of built-in function 'strlen' called[strlen(server)] = 0; /* Make it a string */ ^~~~~~ smblib.c:161:10: note: include '' or provide a declaration of 'strlen' smblib.c:168:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(con -> address, "") == 0) ^~~~~~ smblib.c: In function 'SMB_Connect': smblib.c:230:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(con -> service, service); ^~~~~~ smblib.c:230:3: note: include '' or provide a declaration of 'strcpy' smblib.c:254:10: warning: implicit declaration of function 'strtok'; did you mean 'strtoq'? [-Wimplicit-function-declaration] host = strtok(temp, "/\\"); /* Separate host name portion */ ^~~~~~ strtoq smblib.c:254:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] host = strtok(temp, "/\\"); /* Separate host name portion */ ^ smblib.c:260:17: warning: incompatible implicit declaration of built-in function 'strlen' for (i=0; i < strlen(host); i++) ^~~~~~ smblib.c:260:17: note: include '' or provide a declaration of 'strlen' smblib.c:263:10: warning: incompatible implicit declaration of built-in function 'strlen' called[strlen(host)] = 0; /* Make it a string */ ^~~~~~ smblib.c:263:10: note: include '' or provide a declaration of 'strlen' smblib.c:295:7: warning: implicit declaration of function 'SMB_Negotiate'; did you mean 'SMBsetatr'? [-Wimplicit-function-declaration] if (SMB_Negotiate(con, SMB_Prots_Restrict) < 0) { ^~~~~~~~~~~~~ SMBsetatr smblib.c: In function 'SMB_Logon_Server': smblib.c:337:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(pword, PassWord); ^~~~~~ smblib.c:337:3: note: include '' or provide a declaration of 'strcpy' smblib.c:342:5: warning: implicit declaration of function 'SMBencrypt'; did you mean 'encrypt'? [-Wimplicit-function-declaration] SMBencrypt((uchar *) PassWord, (uchar *)Con_Handle -> Encrypt_Key,(uchar *)pword); ^~~~~~~~~~ encrypt smblib.c:345:11: warning: incompatible implicit declaration of built-in function 'strlen' pass_len=strlen(pword); ^~~~~~ smblib.c:345:11: note: include '' or provide a declaration of 'strlen' smblib.c:352:17: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(UserName) + 1 + pass_len + 1 + ^~~~~~ smblib.c:352:17: note: include '' or provide a declaration of 'strlen' --- smbval/smbvalid.a --- smblib.c: In function 'SMBlib_Set_Sock_NoDelay': smblib.c:93:7: warning: implicit declaration of function 'RFCNB_Set_Sock_NoDelay'; did you mean 'SMBlib_Set_Sock_NoDelay'? [-Wimplicit-function-declaration] if (RFCNB_Set_Sock_NoDelay(Con_Handle -> Trans_Connect, yn) < 0) { ^~~~~~~~~~~~~~~~~~~~~~ SMBlib_Set_Sock_NoDelay --- subdirs --- smblib.c:392:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(p, pword, pass_len); ^~~~~~ smblib.c:392:5: warning: incompatible implicit declaration of built-in function 'memcpy' smblib.c:392:5: note: include '' or provide a declaration of 'memcpy' --- smbval/smbvalid.a --- smblib.c: In function 'SMB_Connect_Server': smblib.c:133:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(con -> service, ""); ^~~~~~ smblib.c:133:3: warning: incompatible implicit declaration of built-in function 'strcpy' smblib.c:133:3: note: include '' or provide a declaration of 'strcpy' smblib.c:36:1: +#include smblib.c:133:3: strcpy(con -> service, ""); ^~~~~~ --- subdirs --- smblib.c:416:17: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(UserName) + 1 + pass_len + ^~~~~~ smblib.c:416:17: note: include '' or provide a declaration of 'strlen' --- smbval/smbvalid.a --- smblib.c:144:3: warning: implicit declaration of function 'SMB_Get_My_Name'; did you mean 'SMB_Sec_Mode_Share'? [-Wimplicit-function-declaration] SMB_Get_My_Name(con -> myname, sizeof(con -> myname)); ^~~~~~~~~~~~~~~ SMB_Sec_Mode_Share smblib.c:158:17: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i=0; i < strlen(server); i++) ^~~~~~ smblib.c:158:17: warning: incompatible implicit declaration of built-in function 'strlen' smblib.c:158:17: note: include '' or provide a declaration of 'strlen' smblib.c:159:17: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] called[i] = toupper(server[i]); ^~~~~~~ smblib.c:161:10: warning: incompatible implicit declaration of built-in function 'strlen' called[strlen(server)] = 0; /* Make it a string */ ^~~~~~ smblib.c:161:10: note: include '' or provide a declaration of 'strlen' smblib.c:168:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(con -> address, "") == 0) ^~~~~~ --- subdirs --- smblib.c:459:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(p, pword, pass_len); ^~~~~~ smblib.c:459:5: note: include '' or provide a declaration of 'memcpy' --- smbval/smbvalid.a --- smblib.c: In function 'SMB_Connect': smblib.c:230:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(con -> service, service); ^~~~~~ smblib.c:230:3: note: include '' or provide a declaration of 'strcpy' smblib.c:254:10: warning: implicit declaration of function 'strtok'; did you mean 'strtoq'? [-Wimplicit-function-declaration] host = strtok(temp, "/\\"); /* Separate host name portion */ ^~~~~~ strtoq smblib.c:254:8: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] host = strtok(temp, "/\\"); /* Separate host name portion */ ^ smblib.c:260:17: warning: incompatible implicit declaration of built-in function 'strlen' for (i=0; i < strlen(host); i++) ^~~~~~ smblib.c:260:17: note: include '' or provide a declaration of 'strlen' smblib.c:263:10: warning: incompatible implicit declaration of built-in function 'strlen' called[strlen(host)] = 0; /* Make it a string */ ^~~~~~ smblib.c:263:10: note: include '' or provide a declaration of 'strlen' --- subdirs --- smblib.c:493:5: warning: implicit declaration of function 'RFCNB_Free_Pkt'; did you mean 'RFCNB_Alloc_Pkt'? [-Wimplicit-function-declaration] RFCNB_Free_Pkt(pkt); ^~~~~~~~~~~~~~ RFCNB_Alloc_Pkt --- smbval/smbvalid.a --- smblib.c:295:7: warning: implicit declaration of function 'SMB_Negotiate'; did you mean 'SMBsetatr'? [-Wimplicit-function-declaration] if (SMB_Negotiate(con, SMB_Prots_Restrict) < 0) { ^~~~~~~~~~~~~ SMBsetatr smblib.c: In function 'SMB_Logon_Server': smblib.c:337:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(pword, PassWord); ^~~~~~ smblib.c:337:3: note: include '' or provide a declaration of 'strcpy' smblib.c:342:5: warning: implicit declaration of function 'SMBencrypt'; did you mean 'encrypt'? [-Wimplicit-function-declaration] SMBencrypt((uchar *) PassWord, (uchar *)Con_Handle -> Encrypt_Key,(uchar *)pword); ^~~~~~~~~~ encrypt smblib.c:345:11: warning: incompatible implicit declaration of built-in function 'strlen' pass_len=strlen(pword); ^~~~~~ smblib.c:345:11: note: include '' or provide a declaration of 'strlen' smblib.c:352:17: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(UserName) + 1 + pass_len + 1 + ^~~~~~ smblib.c:352:17: note: include '' or provide a declaration of 'strlen' smblib.c:392:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(p, pword, pass_len); ^~~~~~ smblib.c:392:5: warning: incompatible implicit declaration of built-in function 'memcpy' smblib.c:392:5: note: include '' or provide a declaration of 'memcpy' smblib.c:416:17: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(UserName) + 1 + pass_len + ^~~~~~ smblib.c:416:17: note: include '' or provide a declaration of 'strlen' smblib.c:459:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(p, pword, pass_len); ^~~~~~ smblib.c:459:5: note: include '' or provide a declaration of 'memcpy' smblib.c:493:5: warning: implicit declaration of function 'RFCNB_Free_Pkt'; did you mean 'RFCNB_Alloc_Pkt'? [-Wimplicit-function-declaration] RFCNB_Free_Pkt(pkt); ^~~~~~~~~~~~~~ RFCNB_Alloc_Pkt --- subdirs --- --- smblib-util.o --- smblib-util.c: In function 'SMB_AtrToStr': smblib-util.c:89:5: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R")); ^~~~~~ smblib-util.c:89:5: warning: incompatible implicit declaration of built-in function 'strcat' smblib-util.c:89:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:30:1: +#include smblib-util.c:89:5: strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R")); ^~~~~~ smblib-util.c:92:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Hidden ":"H")); ^~~~~~ smblib-util.c:92:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:95:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"System ":"S")); ^~~~~~ smblib-util.c:95:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:98:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Volume ":"V")); ^~~~~~ smblib-util.c:98:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:101:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Directory ":"D")); ^~~~~~ smblib-util.c:101:5: note: include '' or provide a declaration of 'strcat' smblib-util.c:104:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(SMB_Attrib_Temp, (verbose?"Archive ":"A")); ^~~~~~ smblib-util.c:104:5: note: include '' or provide a declaration of 'strcat' smblib-util.c: In function 'SMB_Figure_Protocol': smblib-util.c:180:11: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(dialects[prot_index], SMB_Prots[i]) == 0) { /* A match */ ^~~~~~ smblib-util.c: In function 'SMB_Negotiate': smblib-util.c:216:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] prots_len = prots_len + strlen(Prots[i]) + 2; /* Account for null etc */ ^~~~~~ smblib-util.c:216:29: warning: incompatible implicit declaration of built-in function 'strlen' smblib-util.c:216:29: note: include '' or provide a declaration of 'strlen' smblib-util.c:268:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(p + 1, Prots[i]); ^~~~~~ smblib-util.c:268:5: warning: incompatible implicit declaration of built-in function 'strcpy' smblib-util.c:268:5: note: include '' or provide a declaration of 'strcpy' smblib-util.c:269:13: warning: incompatible implicit declaration of built-in function 'strlen' p = p + strlen(Prots[i]) + 2; /* Adjust len of p for null plus dialectID */ ^~~~~~ smblib-util.c:269:13: note: include '' or provide a declaration of 'strlen' smblib-util.c:365:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(Con_Handle->Encrypt_Key, p, 8); ^~~~~~ smblib-util.c:365:5: warning: incompatible implicit declaration of built-in function 'memcpy' smblib-util.c:365:5: note: include '' or provide a declaration of 'memcpy' smblib-util.c:369:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1); ^~~~~~~ smblib-util.c:369:5: warning: incompatible implicit declaration of built-in function 'strncpy' smblib-util.c:369:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c: In function 'SMB_Get_My_Name': smblib-util.c:423:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(name, "unknown", len); ^~~~~~~ smblib-util.c:423:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c: In function 'SMB_TreeConnect': smblib-util.c:467:15: warning: incompatible implicit declaration of built-in function 'strlen' param_len = strlen(path) + 2 + strlen(password) + 2 + strlen(device) + 2; ^~~~~~ smblib-util.c:467:15: note: include '' or provide a declaration of 'strlen' smblib-util.c:505:3: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(tree -> path, path, sizeof(tree -> path)); ^~~~~~~ smblib-util.c:505:3: note: include '' or provide a declaration of 'strncpy' smblib-util.c:525:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(p + 1, path); ^~~~~~ smblib-util.c:525:3: note: include '' or provide a declaration of 'strcpy' --- smbdes.o --- --- smblib-util.o --- smblib-util.c: In function 'SMB_Get_Error_Msg': smblib-util.c:767:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(msgbuf, ^~~~~~~ smblib-util.c:767:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c:778:5: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(msgbuf, ^~~~~~~ smblib-util.c:778:5: note: include '' or provide a declaration of 'strncpy' smblib-util.c:784:9: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(msgbuf) < len) { /* If there is space, put rest in */ ^~~~~~ smblib-util.c:784:9: note: include '' or provide a declaration of 'strlen' smblib-util.c:786:7: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] strncat(msgbuf, "\n\t", len - strlen(msgbuf)); ^~~~~~~ smblib-util.c:786:7: warning: incompatible implicit declaration of built-in function 'strncat' smblib-util.c:786:7: note: include '' or provide a declaration of 'strncat' --- smbdes.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" smbdes.c --- Smb.o --- cc -c -pipe -O2 -fno-strict-aliasing -g -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" Smb.c --- smbval/smbvalid.a --- --- md4.o --- cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -g -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/mach/CORE" md4.c --- subdirs --- --- smbvalid.a --- ar cr smbvalid.a valid.o session.o rfcnb-util.o rfcnb-io.o smblib-util.o smblib.o smbencrypt.o smbdes.o md4.o : smbvalid.a --- smbval/smbvalid.a --- --- smbvalid.a --- ar cr smbvalid.a valid.o session.o rfcnb-util.o rfcnb-io.o smblib-util.o smblib.o smbencrypt.o smbdes.o md4.o : smbvalid.a --- makemakerdflt --- --- subdirs --- --- Smb.o --- Smb.c: In function 'XS_Authen__Smb_Valid_User': Smb.c:308:11: warning: implicit declaration of function 'Valid_User' [-Wimplicit-function-declaration] RETVAL = Valid_User(username, password, server, backup, domain); ^~~~~~~~~~ --- blib/arch/auto/Authen/Smb/Smb.so --- rm -f blib/arch/auto/Authen/Smb/Smb.so cc -shared -L/usr/local/lib/perl5/5.28/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong Smb.o -o blib/arch/auto/Authen/Smb/Smb.so smbval/smbvalid.a chmod 755 blib/arch/auto/Authen/Smb/Smb.so --- dynamic --- --- linkext --- --- pure_all --- --- manifypods --- Manifying 1 pod document --- all --- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> p5-Authen-Smb-0.91_1 depends on package: perl5>=5.28.r1<5.29 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for p5-Authen-Smb-0.91_1 ===> Generating temporary packing list "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Smb.bs blib/arch/auto/Authen/Smb/Smb.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /construction/security/p5-Authen-Smb/stage/usr/local/lib/perl5/site_perl/mach/5.28/auto/Authen/Smb/Smb.so Installing /construction/security/p5-Authen-Smb/stage/usr/local/lib/perl5/site_perl/mach/5.28/auto/Authen/Smb/autosplit.ix Installing /construction/security/p5-Authen-Smb/stage/usr/local/lib/perl5/site_perl/mach/5.28/Authen/Smb.pm Installing /construction/security/p5-Authen-Smb/stage/usr/local/lib/perl5/site_perl/man/man3/Authen::Smb.3 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for p5-Authen-Smb-0.91_1 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 7 MAR 2019 at 13:10:40 UTC Duration: 00:00:11