Changes between Initial Version and Version 1 of npl/perl/Parse_RecDescent


Ignore:
Timestamp:
05/25/09 18:05:28 (16 years ago)
Author:
rick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • npl/perl/Parse_RecDescent

    v1 v1  
     1Voorbeeld van een package dat niet in 1x build met newpackage:
     2
     3Het blijkt dat we eerst het perl 'version' pakketje nodig hebben:
     4{{{
     5psy npl # ./newpackage perl Parse_RecDescent http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.96.0.tar.gz
     6Using perl/buildmods.SlackBuild as slackbuild..
     7--2009-02-21 13:32:10--  http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.96.0.tar.gz
     8Resolving search.cpan.org... 84.45.68.23
     9Connecting to search.cpan.org|84.45.68.23|:80... connected.
     10HTTP request sent, awaiting response... 302 Found
     11Location: http://mirror.hostfuss.com/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.96.0.tar.gz [following]
     12--2009-02-21 13:32:10--  http://mirror.hostfuss.com/CPAN/authors/id/D/DC/DCONWAY/Parse-RecDescent-1.96.0.tar.gz
     13Resolving mirror.hostfuss.com... 88.85.76.7
     14Connecting to mirror.hostfuss.com|88.85.76.7|:80... connected.
     15HTTP request sent, awaiting response... 200 OK
     16Length: 152818 (149K) [application/x-tar]
     17Saving to: `Parse-RecDescent-1.96.0.tar.gz'
     18
     19100%[====================================================================================>] 152,818      695K/s   in 0.2s
     20
     212009-02-21 13:32:10 (695 KB/s) - `Parse-RecDescent-1.96.0.tar.gz' saved [152818/152818]
     22
     23/home/psy/syn3/npl
     24Rebuild required: ./Parse_RecDescent.SlackBuild has changed!
     25REBUILDING /home/psy/syn3/npl/perl/Parse_RecDescent/Parse_RecDescent.SlackBuild:
     26Buildroot up-to-date check: (nopkgcheck to skip)......................................................................................................DONE
     27Buildroot /tmp/buildroot0._home_psy_syn3_builder repareren/syncen...OK
     28Build-dependency perl installeren: /home/psy/syn3/npl/.tmp/D/perl-5.8.7-i486-2056.tgz
     29Nieuwe packages ldconfiggen...
     30etc-update doen
     31stderr is not a tty - where are you?
     32/home/psy/syn3/npl/perl/Parse_RecDescent word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_syn3_builder/tmp/build
     33*** Chroot naar /tmp/buildroot0._home_psy_syn3_builder en starten van Parse_RecDescent.SlackBuild in /tmp/build:
     34/dev/pts/33: No such file or directory
     351 /tmp/build > pwd
     368 /tmp/build > CWD=/tmp/build
     371 /tmp/build > pwd
     389 /tmp/build > PKGROOT=/tmp/build/pkgtmp
     391 /tmp/build > echo Parse-RecDescent-1.96.0.tar.gz
     401 /tmp/build > sed s/.tar.gz//
     4112 /tmp/build > TARDIR=Parse-RecDescent-1.96.0
     421 /tmp/build > echo Parse-RecDescent-1.96.0
     431 /tmp/build > sed 's/.*-//'
     4413 /tmp/build > VER=1.96.0
     451 /tmp/build > echo Parse-RecDescent-1.96.0
     461 /tmp/build > sed 's/-[^-]*$//'
     471 /tmp/build > sed s/-/_/
     4814 /tmp/build > NAME=perlmod_Parse_RecDescent
     4916 /tmp/build > rm -r /tmp/build/pkgtmp
     5017 /tmp/build > mkdir -p /tmp/build/pkgtmp
     5120 /tmp/build > cd /tmp/build
     5221 /tmp/build > export PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     5321 /tmp/build > PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     5422 /tmp/build > tar -xzf Parse-RecDescent-1.96.0.tar.gz
     5523 /tmp/build > cd Parse-RecDescent-1.96.0
     5624 /tmp/build/Parse-RecDescent-1.96.0 > perl Makefile.PL
     57Checking if your kit is complete...
     58Looks good
     59Warning: prerequisite version 0 not found.
     60Could not eval '
     61            package ExtUtils::MakeMaker::_version;
     62            no strict;
     63
     64            local $VERSION;
     65            $VERSION=undef; do {
     66                use version; $VERSION = qv('1.96.0');
     67            }; $VERSION
     68        ' in lib/Parse/RecDescent.pm: Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at (eval 14) line 7, <FH> line 1722.
     69BEGIN failed--compilation aborted at (eval 14) line 7, <FH> line 1722.
     70WARNING: Setting VERSION via file 'lib/Parse/RecDescent.pm' failed
     71 at /usr/lib/perl5/5.8.7/ExtUtils/MakeMaker.pm line 486
     72Writing Makefile for Parse::RecDescent
     7325 /tmp/build/Parse-RecDescent-1.96.0 > make
     74cp lib/Parse/RecDescent.pm blib/lib/Parse/RecDescent.pm
     75Manifying blib/man3/Parse::RecDescent.3
     7626 /tmp/build/Parse-RecDescent-1.96.0 > make test
     77PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
     78t/00.load....NOK 1
     79#     Failed test (t/00.load.t at line 4)
     80#     Tried to use 'Parse::RecDescent'.
     81#     Error:  Can't locate version.pm in @INC (@INC contains: /tmp/build/Parse-RecDescent-1.96.0/blib/lib /tmp/build/Parse-RecDescent-1.96.0/blib/arch /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at /tmp/build/Parse-RecDescent-1.96.0/blib/lib/Parse/RecDescent.pm line 1722.
     82# BEGIN failed--compilation aborted at t/00.load.t line 4.
     83# Compilation failed in require at (eval 3) line 2.
     84# BEGIN failed--compilation aborted at (eval 3) line 2.
     85Use of uninitialized value in concatenation (.) or string at t/00.load.t line 7.
     86# Testing Parse::RecDescent
     87# Looks like you failed 1 test of 1.
     88t/00.load....dubious
     89        Test returned status 1 (wstat 256, 0x100)
     90DIED. FAILED test 1
     91        Failed 1/1 tests, 0.00% okay
     92t/basics.....Can't locate version.pm in @INC (@INC contains: /tmp/build/Parse-RecDescent-1.96.0/blib/lib /tmp/build/Parse-RecDescent-1.96.0/blib/arch /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at /tmp/build/Parse-RecDescent-1.96.0/blib/lib/Parse/RecDescent.pm line 1722.
     93BEGIN failed--compilation aborted at /tmp/build/Parse-RecDescent-1.96.0/blib/lib/Parse/RecDescent.pm line 1722.
     94Compilation failed in require at t/basics.t line 11.
     95BEGIN failed--compilation aborted at t/basics.t line 11.
     96t/basics.....dubious
     97        Test returned status 2 (wstat 512, 0x200)
     98DIED. FAILED tests 1-19
     99        Failed 19/19 tests, 0.00% okay
     100t/pod........skipped
     101        all skipped: Test::Pod 1.14 required for testing POD
     102Failed Test Stat Wstat Total Fail  Failed  List of Failed
     103-------------------------------------------------------------------------------
     104t/00.load.t    1   256     1    1 100.00%  1
     105t/basics.t     2   512    19   37 194.74%  1-19
     1061 test skipped.
     107Failed 2/3 test scripts, 33.33% okay. 20/20 subtests failed, 0.00% okay.
     108make: *** [test_dynamic] Error 255
     10926 /tmp/build/Parse-RecDescent-1.96.0 > exit 1
     110*** Er ging iets mis tijdens het bakken in de buildroot!
     111Om verder te testen/onderzoeken, tik:
     112chroot /tmp/buildroot0._home_psy_syn3_builder
     113Error while rebuilding /home/psy/syn3/npl/perl/Parse_RecDescent/Parse_RecDescent.SlackBuild!
     114}}}
     115
     116Nadat we het version pakketje gebouwd hebben dat nodig is, voegen we deze toe met een #DEP:perlmod_version in de Slackbuild:
     117{{{
     118psy npl # mcedit perl/Parse_RecDescent/Parse_RecDescent.SlackBuild
     119
     120psy npl # ./rebuildcheck perl/Parse_RecDescent/Parse_RecDescent.SlackBuild
     121Rebuild required: ./Parse_RecDescent.SlackBuild has changed!
     122REBUILDING /home/psy/syn3/npl/perl/Parse_RecDescent/Parse_RecDescent.SlackBuild:
     123Buildroot up-to-date check: (nopkgcheck to skip)......................................................................................................DONE
     124Buildroot /tmp/buildroot0._home_psy_syn3_builder repareren/syncen...OK
     125Build-dependency perl installeren: /home/psy/syn3/npl/.tmp/D/perl-5.8.7-i486-2056.tgz
     126Build-dependency perlmod_version installeren: /home/psy/syn3/npl/.tmp/D/perlmod_version-0.76-i586-new.tgz
     127Nieuwe packages ldconfiggen...
     128etc-update doen
     129stderr is not a tty - where are you?
     130/home/psy/syn3/npl/perl/Parse_RecDescent word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_syn3_builder/tmp/build
     131*** Chroot naar /tmp/buildroot0._home_psy_syn3_builder en starten van Parse_RecDescent.SlackBuild in /tmp/build:
     132/dev/pts/33: No such file or directory
     1331 /tmp/build > pwd
     1349 /tmp/build > CWD=/tmp/build
     1351 /tmp/build > pwd
     13610 /tmp/build > PKGROOT=/tmp/build/pkgtmp
     1371 /tmp/build > echo Parse-RecDescent-1.96.0.tar.gz
     1381 /tmp/build > sed s/.tar.gz//
     13913 /tmp/build > TARDIR=Parse-RecDescent-1.96.0
     1401 /tmp/build > echo Parse-RecDescent-1.96.0
     1411 /tmp/build > sed 's/.*-//'
     14214 /tmp/build > VER=1.96.0
     1431 /tmp/build > echo Parse-RecDescent-1.96.0
     1441 /tmp/build > sed 's/-[^-]*$//'
     1451 /tmp/build > sed s/-/_/
     14615 /tmp/build > NAME=perlmod_Parse_RecDescent
     14717 /tmp/build > rm -r /tmp/build/pkgtmp
     14818 /tmp/build > mkdir -p /tmp/build/pkgtmp
     14921 /tmp/build > cd /tmp/build
     15022 /tmp/build > export PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     15122 /tmp/build > PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     15223 /tmp/build > tar -xzf Parse-RecDescent-1.96.0.tar.gz
     15324 /tmp/build > cd Parse-RecDescent-1.96.0
     15425 /tmp/build/Parse-RecDescent-1.96.0 > perl Makefile.PL
     155Checking if your kit is complete...
     156Looks good
     157Writing Makefile for Parse::RecDescent
     15826 /tmp/build/Parse-RecDescent-1.96.0 > make
     159cp lib/Parse/RecDescent.pm blib/lib/Parse/RecDescent.pm
     160Manifying blib/man3/Parse::RecDescent.3
     16127 /tmp/build/Parse-RecDescent-1.96.0 > make test
     162PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
     163t/00.load....ok 1/1# Testing Parse::RecDescent 1.96.0
     164t/00.load....ok
     165t/basics.....Name "main::D" used only once: possible typo at t/basics.t line 15.
     166t/basics.....ok
     167t/pod........skipped
     168        all skipped: Test::Pod 1.14 required for testing POD
     169All tests successful, 1 test skipped.
     170Files=3, Tests=20,  1 wallclock secs ( 0.22 cusr +  0.03 csys =  0.25 CPU)
     17128 /tmp/build/Parse-RecDescent-1.96.0 > make install
     172Manifying blib/man3/Parse::RecDescent.3
     173Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/Parse/RecDescent.pm
     174Installing /tmp/build/pkgtmp/usr/man/man3/Parse::RecDescent.3
     175Writing /usr/lib/perl5/site_perl/5.8.7/i486-linux/auto/Parse/RecDescent/.packlist
     176Appending installation info to /usr/lib/perl5/5.8.7/i486-linux/perllocal.pod
     17730 /tmp/build/Parse-RecDescent-1.96.0 > cd /tmp/build/pkgtmp
     17831 /tmp/build/pkgtmp > makepkg -l y -c n /tmp/build/perlmod_Parse_RecDescent.pkg
     179tar-1.13: perlmod_Parse_RecDescent.pkg.tar is the archive; not dumped
     18032 /tmp/build/pkgtmp > echo 1.96.0
     18133 /tmp/build/pkgtmp > arch
     182*** Build gelukt.
     183* Packages terugmoven naar originele directory..
     184/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Parse_RecDescent.arch ...
     185/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Parse_RecDescent.version ...
     186/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_Parse_RecDescent.pkg ...
     187
     188* Klaar ja!
     189Updating md5 for /home/psy/syn3/npl/perl/Parse_RecDescent/Parse_RecDescent.SlackBuild...
     190Updating dependency information for /home/psy/syn3/npl/perl/Parse_RecDescent/Parse_RecDescent.SlackBuild...
     191All rebuilds completed.
     192
     193
     194}}}