Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-Text-ExtractWords.spec'], printOutput=Falsenspawn_args=[]timeout=172800uid=1000user='mockbuild'chrootPath='/var/lib/mock/f27-build-9424575-774576/root'gid=425logger=shell=Falseenv={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/perl-Text-ExtractWords.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/perl-Text-ExtractWords-0.08-15.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-Text-ExtractWords.spec'], printOutput=Falsenspawn_args=[]timeout=172800uid=1000user='mockbuild'chrootPath='/var/lib/mock/f27-build-9424575-774576/root'gid=425logger=shell=Falseenv={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/perl-Text-ExtractWords.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.09ewqd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Text-ExtractWords-0.08 + /usr/bin/gzip -dc /builddir/build/SOURCES/Text-ExtractWords-0.08.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Text-ExtractWords-0.08 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x examples/extract.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XYeVcr + umask 022 + cd /builddir/build/BUILD + cd Text-ExtractWords-0.08 + perl Makefile.PL INSTALLDIRS=vendor '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 -fasynchronous-unwind-tables' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::ExtractWords + make -j6 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' ExtractWords.xs > ExtractWords.xsc Running Mkbootstrap for ExtractWords () chmod 644 "ExtractWords.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ExtractWords.bs blib/arch/auto/Text/ExtractWords/ExtractWords.bs 644 cp ExtractWords.pm blib/lib/Text/ExtractWords.pm AutoSplitting blib/lib/Text/ExtractWords.pm (blib/lib/auto/Text/ExtractWords) mv ExtractWords.xsc ExtractWords.c gcc -c -D_REENTRANT -D_GNU_SOURCE -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 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib/perl5/CORE" ExtractWords.c ExtractWords.xs: In function 'unescape_str': ExtractWords.xs:70:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] sscanf(&s[y+1], "%02X", &hex)) { ^ In file included from /usr/lib/perl5/CORE/perlio.h:41:0, from /usr/lib/perl5/CORE/iperlsys.h:51, from /usr/lib/perl5/CORE/perl.h:3880, from ExtractWords.xs:16: /usr/include/stdio.h:385:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int sscanf (const char *__restrict __s, ^~~~~~ ExtractWords.xs: In function 'entity2char': ExtractWords.xs:85:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(*s, cstr, len) == 0) { ^ In file included from /usr/lib/perl5/CORE/perl.h:941:0, from ExtractWords.xs:16: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ExtractWords.xs:85:17: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(*s, cstr, len) == 0) { ^~~~ In file included from /usr/lib/perl5/CORE/perl.h:941:0, from ExtractWords.xs:16: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ExtractWords.xs: In function 'extension': ExtractWords.xs:120:19: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] return((!strncmp(s, extension, len) && !isalpha(*(s+len+1))) ? TRUE : FALSE); ^ In file included from /usr/lib/perl5/CORE/perl.h:941:0, from ExtractWords.xs:16: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ExtractWords.xs:120:22: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] return((!strncmp(s, extension, len) && !isalpha(*(s+len+1))) ? TRUE : FALSE); ^~~~~~~~~ In file included from /usr/lib/perl5/CORE/perl.h:941:0, from ExtractWords.xs:16: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ExtractWords.xs: In function 'check_extension': ExtractWords.xs:124:23: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] return( extension(s, "asp", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:125:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "html", 4) ? TRUE : ^~~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:126:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "htm", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:127:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "gif", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:128:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "png", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:129:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "jpeg", 4) ? TRUE : ^~~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:130:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "jpg", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:131:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "js", 2) ? TRUE : ^~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:132:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "swf", 3) ? TRUE : ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:133:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "pl", 2) ? TRUE : ^~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs:134:16: warning: pointer targets in passing argument 2 of 'extension' differ in signedness [-Wpointer-sign] extension(s, "php", 3) ? TRUE : FALSE); ^~~~~ ExtractWords.xs:119:6: note: expected 'unsigned char *' but argument is of type 'char *' bool extension(unsigned char *s, unsigned char *extension, int len) { ^~~~~~~~~ ExtractWords.xs: In function 'XS_Text__ExtractWords_words_list': ExtractWords.xs:280:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ls = strlen(source)) { ^~ ExtractWords.xs:282:18: warning: pointer targets in passing argument 1 of 'unescape_str' differ in signedness [-Wpointer-sign] unescape_str(source); ^~~~~~ ExtractWords.xs:63:6: note: expected 'unsigned char *' but argument is of type 'char *' void unescape_str(unsigned char *s) { ^~~~~~~~~~~~ ExtractWords.xs:283:19: warning: pointer targets in passing argument 1 of 'str_normalize' differ in signedness [-Wpointer-sign] str_normalize(source); ^~~~~~ ExtractWords.xs:183:6: note: expected 'unsigned char *' but argument is of type 'char *' void str_normalize(unsigned char *s) { ^~~~~~~~~~~~~ ExtractWords.xs:285:26: warning: pointer targets in passing argument 1 of 'clean_repeated_chars' differ in signedness [-Wpointer-sign] clean_repeated_chars(source); ^~~~~~ ExtractWords.xs:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void clean_repeated_chars(unsigned char *s) { ^~~~~~~~~~~~~~~~~~~~ ExtractWords.xs:251:9: warning: variable 'locale' set but not used [-Wunused-but-set-variable] char *locale = NULL; ^~~~~~ ExtractWords.xs: In function 'XS_Text__ExtractWords_words_count': ExtractWords.xs:333:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(ls = strlen(source)) { ^~ ExtractWords.xs:335:18: warning: pointer targets in passing argument 1 of 'unescape_str' differ in signedness [-Wpointer-sign] unescape_str(source); ^~~~~~ ExtractWords.xs:63:6: note: expected 'unsigned char *' but argument is of type 'char *' void unescape_str(unsigned char *s) { ^~~~~~~~~~~~ ExtractWords.xs:336:19: warning: pointer targets in passing argument 1 of 'str_normalize' differ in signedness [-Wpointer-sign] str_normalize(source); ^~~~~~ ExtractWords.xs:183:6: note: expected 'unsigned char *' but argument is of type 'char *' void str_normalize(unsigned char *s) { ^~~~~~~~~~~~~ ExtractWords.xs:338:26: warning: pointer targets in passing argument 1 of 'clean_repeated_chars' differ in signedness [-Wpointer-sign] clean_repeated_chars(source); ^~~~~~ ExtractWords.xs:100:6: note: expected 'unsigned char *' but argument is of type 'char *' void clean_repeated_chars(unsigned char *s) { ^~~~~~~~~~~~~~~~~~~~ ExtractWords.xs:302:9: warning: variable 'locale' set but not used [-Wunused-but-set-variable] char *locale = NULL; ^~~~~~ rm -f blib/arch/auto/Text/ExtractWords/ExtractWords.so gcc -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong ExtractWords.o -o blib/arch/auto/Text/ExtractWords/ExtractWords.so \ -lperl \ chmod 755 blib/arch/auto/Text/ExtractWords/ExtractWords.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tXspOG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 ++ dirname /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 + cd Text-ExtractWords-0.08 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ExtractWords.bs blib/arch/auto/Text/ExtractWords/ExtractWords.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/lib/perl5/vendor_perl/auto/Text/ExtractWords/ExtractWords.so Installing /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/lib/perl5/vendor_perl/auto/Text/ExtractWords/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/lib/perl5/vendor_perl/Text/ExtractWords.pm Installing /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/man/man3/Text::ExtractWords.3pm + find /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.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-Text-ExtractWords-0.08-15.fc27.i386/usr + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 0.08-15.fc27 --unique-debug-suffix -0.08-15.fc27.i386 --unique-debug-src-base perl-Text-ExtractWords-0.08-15.fc27.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Text-ExtractWords-0.08 extracting debug info from /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/lib/perl5/vendor_perl/auto/Text/ExtractWords/ExtractWords.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 47 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xsensX + umask 022 + cd /builddir/build/BUILD + cd Text-ExtractWords-0.08 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ExtractWords.bs blib/arch/auto/Text/ExtractWords/ExtractWords.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/words_count.t .. ok t/words_list.t ... ok All tests successful. Files=2, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.01 cusr 0.00 csys = 0.04 CPU) Result: PASS + exit 0 Processing files: perl-Text-ExtractWords-0.08-15.fc27.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sg42pe + umask 022 + cd /builddir/build/BUILD + cd Text-ExtractWords-0.08 + DOCDIR=/builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/doc/perl-Text-ExtractWords + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/doc/perl-Text-ExtractWords + cp -pr Changes /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/doc/perl-Text-ExtractWords + cp -pr README /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/doc/perl-Text-ExtractWords + cp -pr examples /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386/usr/share/doc/perl-Text-ExtractWords + exit 0 Provides: perl(Text::ExtractWords) = 0.08 perl-Text-ExtractWords = 0.08-15.fc27 perl-Text-ExtractWords(x86-32) = 0.08-15.fc27 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) libc.so.6(GLIBC_2.4) libperl.so.5.26 perl(AutoLoader) perl(DynaLoader) perl(Exporter) perl(strict) perl(vars) rtld(GNU_HASH) Processing files: perl-Text-ExtractWords-debugsource-0.08-15.fc27.i686 Provides: perl-Text-ExtractWords-debugsource = 0.08-15.fc27 perl-Text-ExtractWords-debugsource(x86-32) = 0.08-15.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Text-ExtractWords-debuginfo-0.08-15.fc27.i686 Provides: debuginfo(build-id) = 24808b0040c81d0862d724d7ef5e41eef234cc8c perl-Text-ExtractWords-debuginfo = 0.08-15.fc27 perl-Text-ExtractWords-debuginfo(x86-32) = 0.08-15.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 Wrote: /builddir/build/RPMS/perl-Text-ExtractWords-0.08-15.fc27.i686.rpm Wrote: /builddir/build/RPMS/perl-Text-ExtractWords-debugsource-0.08-15.fc27.i686.rpm Wrote: /builddir/build/RPMS/perl-Text-ExtractWords-debuginfo-0.08-15.fc27.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.P8j7Hv + umask 022 + cd /builddir/build/BUILD + cd Text-ExtractWords-0.08 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Text-ExtractWords-0.08-15.fc27.i386 + exit 0 Child return code was: 0