pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how create a binary perl-5.34.0 package



Hello Greg,

Thank you,  I would if I had a complete bootstrap to use.

The system has

/bin/perl --version

This is perl, v5.8.8 built for i386-unixware-thread-multi

I do have a native version I am testing in /opt/xinuos/bin/

/opt/xinuos/bin/perl --version

This is perl 5, version 34, subversion 0 (v5.34.0) built for i386-unixware-thread-multi

On Thursday 2021-12-23 13:03, Greg Troxel wrote:

Boyd Lynn Gerber <gerberb%zenez.com@localhost> writes:
I have done

cd /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0
/home/build/pkgsrc/bootstrap/work/bin/bmake
/home/build/pkgsrc/bootstrap/work/bin/bmake test
/home/build/pkgsrc/bootstrap/work/bin/bmake install

After you bootstrap, you go to /path/to/pkgsrc/lang/perl5 and type "make
package".  Going into dirs created by pkgsrc and invoking make is
outside the plan of how pkgsrc works.

bootstrap hasn't finished. And never will continue without the binary package or I do not know how to get pkgsrc bootstrap to continue to the next bootstrap item.

Here is what I am seeing with or without the --full

./bootstrap --full --prefer-pkgsrc=yes

...
===> Installing packages
===> running: (cd /home/build/pkgsrc/pkgtools/bootstrap-mk-files && /home/build/pkgsrc/ bootstrap/work/bin/bmake MAKE_JOBS=1 PKG_COMPRESSION=none -DPKG_PRESERVE PKGSRC_KEEP_B
IN_PKGS=no MAKECONF=/home/build/pkgsrc/bootstrap/work/mk.conf install)
===> Installing dependencies for bootstrap-mk-files-20180901
=> Tool dependency coreutils>=5.2.1: NOT found
=> Verifying reinstall for ../../sysutils/coreutils
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for coreutils-9.0.tar.xz
=> Checksum SHA512 OK for coreutils-9.0.tar.xz
===> Installing dependencies for coreutils-9.0
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: NOT found
=> Verifying reinstall for ../../lang/perl5
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for perl-5.34.0.tar.xz
=> Checksum SHA512 OK for perl-5.34.0.tar.xz
===> Installing dependencies for perl-5.34.0nb3
==========================================================================
The supported build options for perl are:

        debug dtrace mstats perl-64bitall perl-64bitauto
        perl-64bitint perl-64bitmore perl-64bitnone
        threads
:
The currently selected options are:

        perl-64bitauto threads

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.perl (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
perl-5.34.0nb3.  Their current value is shown below:

        * PERL5_SITEPREFIX = /usr/pkg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/home/build/pkgsrc/bootstrap/work/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency xz>=4.999.9betanb1: found xz-5.2.5
===> Overriding tools for perl-5.34.0nb3
===> Extracting for perl-5.34.0nb3
/usr/bin/cp /home/build/pkgsrc/lang/perl5/files/Policy.sh /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0/Policy.sh
===> Patching for perl-5.34.0nb3
=> Applying pkgsrc patches for perl-5.34.0nb3
===> Creating toolchain wrappers for perl-5.34.0nb3
===> Configuring for perl-5.34.0nb3
=> Substituting "dirmode" in install_lib.pl
=> Substituting "policysh" in Policy.sh
=> Substituting "pwd" in dist/PathTools/Cwd.pm
=> Substituting "toolsbin" in Configure
/usr/bin/find /home/build/pkgsrc/bootstrap/work/wrk/lang/perl5/work/perl-5.34.0 -name "*.orig" -type f -exec rm -f {} \; => Replacing Perl interpreter in cpan/Config-Perl-V/V.pm cpan/Getopt-Long/lib/Getopt/Long.pm cpan/version/lib/version.pm dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm ext/File-DosGlob/lib/File/DosGlob.pm lib/unicore/mktables.
INFO: [replace-interpreter] Nothing changed in cpan/Config-Perl-V/V.pm.
First let's make sure your kit is complete.  Checking...
...


And after you boostrap you should be able to nuke the bootstrap work
directory.

The problem is boostrap hasn't finished.

./bootstrap --full --prefer-pkgsrc=yes

Always stops here. Is there a way to continue the bootstrap without the binary package?

I haven't finished the bootstrap to create the binary the normal way.

Thanks for your response.  Any other ideas?

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index