pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [HEAD] p5-YAML-LibYAML was [2017Q3] p5-Text-Balanced seems to be broken
On Mon, Nov 13, 2017 at 09:20:10AM +0100, BERTRAND Joel wrote:
> Hello,
>
> Thanks a lot for your answer. I have upgraded my tree from 2017Q3 to HEAD.
> p5-Text-Balanced can be packaeg without error. I have found two other bugs :
>
> 1/ perl library path is broken. I have to add
> LD_LIBRARY_PATH=/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE
> before calling perl.
Not for me:
# perl -v
This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-netbsd-thread-multi
Copyright 1987-2017, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
> 2/ p5-YAML-LibYAML is built without error, but make package hangs with
> following error :
> ===> Installing for p5-YAML-LibYAML-0.66
> => Generating pre-install file lists
> "/usr/pkg/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibYAML.bs
> ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.bs 644
> Manifying 1 pod document
> Manifying 2 pod documents
> Files found in blib/arch: installing files in blib/lib into architecture
> dependent library tree
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/auto/YAML/XS/LibYAML/LibYAML.so
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/YAML/LibYAML.pm
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/YAML/LibYAML.pod
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/YAML/XS.pm
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/YAML/XS.pod
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/YAML/XS/LibYAML.pm
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/man/man3/YAML::XS::LibYAML.3
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/man/man3/YAML::LibYAML.3
> Installing /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/man/man3/YAML::XS.3
> Appending installation info to /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/root/perl5/lib/perl5/x86_64-netbsd-thread-multi/perllocal.pod
> Perl packlist /usr/src/pkgsrc/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/auto/YAML/LibYAML/.packlist
> is missing.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src/pkgsrc/textproc/p5-YAML-LibYAML
> *** Error code 1
>
> Stop.
Works for me as well.
=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for YAML-LibYAML-0.66.tar.gz
=> Checksum RMD160 OK for YAML-LibYAML-0.66.tar.gz
=> Checksum SHA512 OK for YAML-LibYAML-0.66.tar.gz
work -> /scratch/textproc/p5-YAML-LibYAML/work
===> Installing dependencies for p5-YAML-LibYAML-0.66
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency perl>=5.26.0<5.28.0: found perl-5.26.1
===> Overriding tools for p5-YAML-LibYAML-0.66
===> Extracting for p5-YAML-LibYAML-0.66
===> Patching for p5-YAML-LibYAML-0.66
===> Creating toolchain wrappers for p5-YAML-LibYAML-0.66
===> Configuring for p5-YAML-LibYAML-0.66
=> Checking for portability problems in extracted files
Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for YAML::LibYAML
Writing MYMETA.yml and MYMETA.json
===> Building for p5-YAML-LibYAML-0.66
--- blib/lib/YAML/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/YAML/LibYAML/.exists ---
--- blib/arch/auto/YAML/LibYAML/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- subdirs ---
--- dynamic ---
--- pm_to_blib ---
--- blibdirs ---
--- config ---
--- dynamic ---
--- linkext ---
--- subdirs ---
--- ../blib/lib/YAML/XS/.exists ---
--- ../blib/lib/auto/YAML/XS/LibYAML/.exists ---
--- ../blib/arch/auto/YAML/XS/LibYAML/.exists ---
--- pm_to_blib ---
cp lib/YAML/LibYAML.pod blib/lib/YAML/LibYAML.pod
cp lib/YAML/XS.pm blib/lib/YAML/XS.pm
cp lib/YAML/LibYAML.pm blib/lib/YAML/LibYAML.pm
cp lib/YAML/XS.pod blib/lib/YAML/XS.pod
--- subdirs ---
--- config ---
--- subdirs ---
--- dynamic ---
--- LibYAML.c ---
--- LibYAML.bs ---
--- LibYAML.c ---
"/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.26.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.26.0/ExtUtils/typemap' LibYAML.xs > LibYAML.xsc
--- LibYAML.bs ---
Running Mkbootstrap for LibYAML ()
--- api.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H api.c
--- dumper.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H dumper.c
--- LibYAML.bs ---
chmod 644 "LibYAML.bs"
--- emitter.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H emitter.c
--- LibYAML.c ---
mv LibYAML.xsc LibYAML.c
--- loader.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H loader.c
--- parser.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H parser.c
--- perl_libyaml.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H perl_libyaml.c
--- reader.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H reader.c
--- scanner.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H scanner.c
--- writer.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H writer.c
--- pm_to_blib ---
cp lib/YAML/XS/LibYAML.pm ../blib/lib/YAML/XS/LibYAML.pm
--- blibdirs ---
--- ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.bs ---
"/usr/pkg/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibYAML.bs ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.bs 644
--- LibYAML.o ---
gcc -c -I. -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -O2 -g -fPIC -D_FORTIFY_SOURCE=2 -fstack-check -pthread -I/usr/include -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DHAVE_CONFIG_H LibYAML.c
--- config ---
--- ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.so ---
rm -f ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.so
gcc -shared -Wl,-z,relro -Wl,-z,now -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -fstack-protector-strong api.o dumper.o emitter.o loader.o parser.o perl_libyaml.o reader.o scanner.o writer.o LibYAML.o -o ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.so "-L/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" "-Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" "-Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -lperl
chmod 755 ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.so
--- dynamic ---
--- linkext ---
--- pure_all ---
--- manifypods ---
Manifying 1 pod document
--- all ---
--- pure_all ---
--- manifypods ---
Manifying 2 pod documents
--- all ---
===> Installing for p5-YAML-LibYAML-0.66
=> Generating pre-install file lists
"/usr/pkg/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- LibYAML.bs ../blib/arch/auto/YAML/XS/LibYAML/LibYAML.bs 644
Manifying 1 pod document
Manifying 2 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/auto/YAML/XS/LibYAML/LibYAML.so
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/YAML/LibYAML.pod
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/YAML/XS.pm
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/YAML/LibYAML.pm
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/YAML/XS.pod
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi/YAML/XS/LibYAML.pm
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/man/man3/YAML::XS::LibYAML.3
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/man/man3/YAML::LibYAML.3
Installing /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/vendor_perl/man/man3/YAML::XS.3
Appending installation info to /scratch/textproc/p5-YAML-LibYAML/work/.destdir/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/perllocal.pod
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for p5-YAML-LibYAML-0.66
=> Checking for non-existent script interpreters in p5-YAML-LibYAML-0.66
=> Checking file permissions in p5-YAML-LibYAML-0.66
warning: /scratch: group-writable directory.
0 errors and 1 warnings.
=> Checking for RELRO in p5-YAML-LibYAML-0.66
=> Checking for missing run-time search paths in p5-YAML-LibYAML-0.66
WARNING: Skipping check for SSP in DESTDIR mode.
=> Checking for work-directory references in p5-YAML-LibYAML-0.66
=> Creating binary package /scratch/textproc/p5-YAML-LibYAML/work/.packages/p5-YAML-LibYAML-0.66.tgz
===> Building binary package for p5-YAML-LibYAML-0.66
=> Creating binary package /packages/All/p5-YAML-LibYAML-0.66.tgz
Perhaps you have old working directories lying around. Does 'make
clean && make package' help for this one?
No idea why your perl is broken though.
Thomas
Home |
Main Index |
Thread Index |
Old Index