Mock Version: 1.2.8 Mock Version: 1.2.8 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-Filesys-SmbClient.spec'], chrootPath='/var/lib/mock/f23-perl-3445693-489906/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=425user='mockbuild'timeout=86400logger=uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-Filesys-SmbClient.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: buildvm-03.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/perl-Filesys-SmbClient-3.2-7.fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-Filesys-SmbClient.spec '], chrootPath='/var/lib/mock/f23-perl-3445693-489906/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=425user='mockbuild'timeout=86400logger=uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-Filesys-SmbClient.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L8kHIE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Filesys-SmbClient-3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/Filesys-SmbClient-3.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Filesys-SmbClient-3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (Filesys-SmbClient-3.2_Makefile.patch): + echo 'Patch #0 (Filesys-SmbClient-3.2_Makefile.patch):' + /usr/bin/cat /builddir/build/SOURCES/Filesys-SmbClient-3.2_Makefile.patch + /usr/bin/patch -p0 --fuzz=0 patching file Makefile.PL + chmod -x Changes + find . -name '*.pm' -exec chmod -c a-x '{}' + mode of './SmbClient.pm' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + find . -name 'libauthSamba*' -exec chmod -c a-x '{}' + mode of './libauthSamba.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './libauthSamba.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + find . -name SmbClient.xs -exec chmod -c a-x '{}' + mode of './SmbClient.xs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iFyVbb + umask 022 + cd /builddir/build/BUILD + cd Filesys-SmbClient-3.2 + export PERL_MM_USE_DEFAULT=1 + PERL_MM_USE_DEFAULT=1 + export HOSTTYPE + perl Makefile.PL INSTALLDIRS=vendor CCFLAGS=-DHAVE_CLOSEFN 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' I search in: /include /usr/s/include /s/include /usr/local/s/include /usr/local/samba3/include /usr/include /usr/local/include /usr/local/samba/include /usr/include/samba-4.0 Where can I find libsmbclient.h ? [/usr/include/samba-4.0] /usr/include/samba-4.0 I search in: /lib /usr/s/lib /s/lib /usr/local/s/lib /usr/lib /usr/local/samba3/lib /usr/local/lib /usr/local/samba/lib /usr/include/samba-4.0 Where can I find libsmbclient.so ? [/lib] /lib Do you want make tests ?(you will be prompted for server / worgroup / share / user / password to make read write access. [no] no Compile module with trace to STDERR ? [no] no checking for gcc... gcc checking for C compiler default output... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for working alloca.h... yes checking for alloca... yes checking for smbc_mkdir in -lsmbclient... yes checking for smbc_open in -lsmbclient... yes checking for smbc_fstat in -lsmbclient... yes checking for smbc_init_context in -lsmbclient... yes You don't define SMBCTXX->flags. Samba older than 3.0.11. Filesys::SmbClient::set_flag will not work You use SMBCTXX->close (release < 3.0.20). configure: creating ./config.status config.status: creating config.h Warning: prerequisite Test::More 0 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Filesys::SmbClient + make -j4 Running Mkbootstrap for Filesys::SmbClient () gcc -c -I/usr/include/samba-4.0 -DHAVE_CLOSEFN -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"3.2\" -DXS_VERSION=\"3.2\" -fPIC "-I/usr/lib/perl5/CORE" libauthSamba.c "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "typemap" SmbClient.xs > SmbClient.xsc && mv SmbClient.xsc SmbClient.c chmod 644 "SmbClient.bs" libauthSamba.c: In function 'ask_auth_fn': libauthSamba.c:80:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(temp, sizeof(temp), stdin); ^ libauthSamba.c:88:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(temp, sizeof(temp), stdin); ^ libauthSamba.c:96:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(temp, sizeof(temp), stdin); ^ cp SmbClient.pm blib/lib/Filesys/SmbClient.pm AutoSplitting blib/lib/Filesys/SmbClient.pm (blib/lib/auto/Filesys/SmbClient) gcc -c -I/usr/include/samba-4.0 -DHAVE_CLOSEFN -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"3.2\" -DXS_VERSION=\"3.2\" -fPIC "-I/usr/lib/perl5/CORE" SmbClient.c SmbClient.c: In function 'XS_Filesys__SmbClient__set_flags': SmbClient.c:273:6: warning: unused variable 'flag' [-Wunused-variable] int flag = (int)SvIV(ST(1)) ^ SmbClient.c:272:12: warning: variable 'context' set but not used [-Wunused-but-set-variable] SMBCCTX * context; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__mkdir': SmbClient.xs:104:1: warning: 'mkdir' is deprecated [-Wdeprecated-declarations] RETVAL = context->mkdir(context, fname, mode); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2931:41: note: declared here smbc_mkdir_fn mkdir DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__rmdir': SmbClient.xs:128:1: warning: 'rmdir' is deprecated [-Wdeprecated-declarations] RETVAL = context->rmdir(context, fname); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2932:41: note: declared here smbc_rmdir_fn rmdir DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__opendir': SmbClient.xs:150:3: warning: 'opendir' is deprecated [-Wdeprecated-declarations] RETVAL = context->opendir(context, fname); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2927:41: note: declared here smbc_opendir_fn opendir DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__closedir': SmbClient.xs:177:1: warning: 'closedir' is deprecated [-Wdeprecated-declarations] RETVAL = context->closedir(context, fd); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2928:41: note: declared here smbc_closedir_fn closedir DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__readdir': SmbClient.xs:209:18: warning: 'readdir' is deprecated [-Wdeprecated-declarations] dirp = (struct smbc_dirent *)context->readdir(context, fd); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2929:41: note: declared here smbc_readdir_fn readdir DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__stat': SmbClient.xs:237:3: warning: 'stat' is deprecated [-Wdeprecated-declarations] i = context->stat(context, fname, &buf); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2921:41: note: declared here smbc_stat_fn stat DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__fstat': SmbClient.xs:273:1: warning: 'fstat' is deprecated [-Wdeprecated-declarations] i = context->fstat(context, fd, &buf); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2922:41: note: declared here smbc_fstat_fn fstat DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__rename': SmbClient.xs:305:1: warning: 'rename' is deprecated [-Wdeprecated-declarations] RETVAL = context->rename(context, oname, context, nname); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2919:41: note: declared here smbc_rename_fn rename DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__open': SmbClient.xs:350:1: warning: 'open' is deprecated [-Wdeprecated-declarations] RETVAL = context->open(context, fname, flags, mode); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2914:41: note: declared here smbc_open_fn open DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs:361:1: warning: 'lseek' is deprecated [-Wdeprecated-declarations] } else if (seek_end) { context->lseek(context, RETVAL, 0, SEEK_END); } ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2920:41: note: declared here smbc_lseek_fn lseek DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__read': SmbClient.xs:380:3: warning: 'read' is deprecated [-Wdeprecated-declarations] returnValue = context->read(context, fd, buf, count); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2916:41: note: declared here smbc_read_fn read DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__write': SmbClient.xs:404:3: warning: 'write' is deprecated [-Wdeprecated-declarations] RETVAL=context->write(context, fd, buf, count); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2917:41: note: declared here smbc_write_fn write DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__lseek': SmbClient.xs:430:3: warning: 'lseek' is deprecated [-Wdeprecated-declarations] RETVAL=context->lseek(context, fd, offset, whence); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2920:41: note: declared here smbc_lseek_fn lseek DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__close': SmbClient.xs:458:3: warning: 'close_fn' is deprecated [-Wdeprecated-declarations] RETVAL=context->close_fn(context, fd); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2926:41: note: declared here smbc_close_fn close_fn DEPRECATED_SMBC_INTERFACE; ^ SmbClient.xs: In function 'XS_Filesys__SmbClient__unlink': SmbClient.xs:476:3: warning: 'unlink' is deprecated [-Wdeprecated-declarations] RETVAL = context->unlink(context, fname); ^ In file included from SmbClient.xs:20:0: /usr/include/samba-4.0/libsmbclient.h:2918:41: note: declared here smbc_unlink_fn unlink DEPRECATED_SMBC_INTERFACE; ^ SmbClient.c: In function 'XS_Filesys__SmbClient__unlink_print_job': SmbClient.c:1082:12: warning: variable 'context' set but not used [-Wunused-but-set-variable] SMBCCTX * context; ^ SmbClient.c: In function 'XS_Filesys__SmbClient__print_file': SmbClient.c:1125:12: warning: variable 'context' set but not used [-Wunused-but-set-variable] SMBCCTX * context; ^ rm -f blib/arch/auto/Filesys/SmbClient/SmbClient.so gcc -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib libauthSamba.o SmbClient.o -o blib/arch/auto/Filesys/SmbClient/SmbClient.so \ -L/lib -lsmbclient -lperl \ chmod 755 blib/arch/auto/Filesys/SmbClient/SmbClient.so "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SmbClient.bs blib/arch/auto/Filesys/SmbClient/SmbClient.bs 644 Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YRAPE5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 ++ dirname /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 + cd Filesys-SmbClient-3.2 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 Running Mkbootstrap for Filesys::SmbClient () chmod 644 "SmbClient.bs" Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/lib/perl5/vendor_perl/auto/Filesys/SmbClient/SmbClient.so Installing /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/lib/perl5/vendor_perl/auto/Filesys/SmbClient/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/lib/perl5/vendor_perl/Filesys/SmbClient.pm Installing /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/man/man3/Filesys::SmbClient.3pm + find /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/Filesys-SmbClient-3.2 extracting debug info from /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/lib/perl5/vendor_perl/auto/Filesys/SmbClient/SmbClient.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 91 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: perl-Filesys-SmbClient-3.2-7.fc23.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.286vk1 + umask 022 + cd /builddir/build/BUILD + cd Filesys-SmbClient-3.2 + DOCDIR=/builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/doc/perl-Filesys-SmbClient + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/doc/perl-Filesys-SmbClient + cp -pr Changes /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/doc/perl-Filesys-SmbClient + cp -pr README /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/doc/perl-Filesys-SmbClient + cp -pr COPYING /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386/usr/share/doc/perl-Filesys-SmbClient + exit 0 Provides: perl(Filesys::SmbClient) = 3.2 perl-Filesys-SmbClient = 3.2-7.fc23 perl-Filesys-SmbClient(x86-32) = 3.2-7.fc23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libperl.so.5.22 libsmbclient.so.0 libsmbclient.so.0(SMBCLIENT_0.1.0) perl(AutoLoader) perl(DynaLoader) perl(Exporter) perl(POSIX) perl(Tie::Handle) perl(constant) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-Filesys-SmbClient-debuginfo-3.2-7.fc23.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 Wrote: /builddir/build/RPMS/perl-Filesys-SmbClient-3.2-7.fc23.i686.rpm Wrote: /builddir/build/RPMS/perl-Filesys-SmbClient-debuginfo-3.2-7.fc23.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mZtxiX + umask 022 + cd /builddir/build/BUILD + cd Filesys-SmbClient-3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Filesys-SmbClient-3.2-7.fc23.i386 + exit 0 Child return code was: 0 LEAVE do -->