Subject: Errors while creating/updating PEAR packages
To: None <tech-pkg@netbsd.org>
From: None <essen@dev-extend.eu>
List: tech-pkg
Date: 04/13/2007 12:10:44
Hello,

I'm currently building a new package which requires a lot of PEAR ones.
I got the following error with a lot of packages. Here it is with a
pear/Date 1.4.7 (I just changed the version number in the Makefile in
pkgsrc/time/pear-Date).

I get that error while updating this package, but also with some packages I just created. I don't get this with non-pear packages tough.

Is there something special that must be done for pear packages?

Thanks,

[essen@aefe-web] % sudo make install | tee /tmp/pear-Date
=> Required installed package digest>=20010302: digest-20060826 found
===> Skipping vulnerability checks.
WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
=> Checksum SHA1 OK for pear/Date-1.4.7.tgz
=> Checksum RMD160 OK for pear/Date-1.4.7.tgz
===> Installing dependencies for php5-pear-Date-1.4.7
=> Required installed package php>=5.1.2: php-5.2.1nb1 found
===> Overriding tools for php5-pear-Date-1.4.7
===> Extracting for php5-pear-Date-1.4.7
===> Patching for php5-pear-Date-1.4.7
===> Creating toolchain wrappers for php5-pear-Date-1.4.7
===> Configuring for php5-pear-Date-1.4.7
=> Checking for portability problems in extracted files
===> Installing for php5-pear-Date-1.4.7
=> Generating pre-install file lists
cd /usr/pkgsrc/time/pear-Date/work/Date-1.4.7 && /usr/pkg/bin/pear "install" package.xml || exit 1
install ok: channel://pear.php.net/Date-1.4.7
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/usr/pkg/lib/php/.registry/.reg'
pkg_create: can't stat `/usr/pkg/lib/php/doc//docs/LICENSE'
pkg_create: can't stat `/usr/pkg/lib/php/doc//docs/TODO'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-674.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-727-1.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-727-2.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-727-3.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-727-4.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-967.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-8912.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-9213.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/bugs/bug-9414.phpt'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/calc.php'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/testunit.php'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/testunit_date.php'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/testunit_date_span.php'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/test_calc.php'
pkg_create: can't stat `/usr/pkg/lib/php/test//tests/test_date_methods_span.php'
=> Registering installation for php5-pear-Date-1.4.7
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/.registry/.reg' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/doc//docs/LICENSE' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/doc//docs/TODO' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-674.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-727-1.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-727-2.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-727-3.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-727-4.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-967.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-8912.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-9213.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/bugs/bug-9414.phpt' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/calc.php' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/testunit.php' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/testunit_date.php' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/testunit_date_span.php' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/test_calc.php' is in +CONTENTS but not on filesystem!
pkg_admin: php5-pear-Date-1.4.7: File `/usr/pkg/lib/php/test//tests/test_date_methods_span.php' is in +CONTENTS but not on filesystem!
php5-pear-Date-1.4.7 requires installed package php-5.2.1nb1
=> Checking file-check results for php5-pear-Date-1.4.7
ERROR: The following files have been deleted from /usr/pkg!
ERROR:         /usr/pkg/lib/perl5/man/man1/perlos2.tmp
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/php/.registry/.reg
ERROR:         /usr/pkg/lib/php/doc//docs/LICENSE
ERROR:         /usr/pkg/lib/php/doc//docs/TODO
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-674.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-727-1.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-727-2.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-727-3.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-727-4.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-8912.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-9213.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-9414.phpt
ERROR:         /usr/pkg/lib/php/test//tests/bugs/bug-967.phpt
ERROR:         /usr/pkg/lib/php/test//tests/calc.php
ERROR:         /usr/pkg/lib/php/test//tests/test_calc.php
ERROR:         /usr/pkg/lib/php/test//tests/test_date_methods_span.php
ERROR:         /usr/pkg/lib/php/test//tests/testunit.php
ERROR:         /usr/pkg/lib/php/test//tests/testunit_date.php
ERROR:         /usr/pkg/lib/php/test//tests/testunit_date_span.php
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/perl5/man/man1/perlos2.1
ERROR:         /usr/pkg/lib/php/.registry/date.reg
ERROR:         /usr/pkg/lib/php/doc/Date/docs/LICENSE
ERROR:         /usr/pkg/lib/php/doc/Date/docs/TODO
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-674.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-727-1.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-727-2.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-727-3.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-727-4.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-8912.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-9213.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-9414.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/bugs/bug-967.phpt
ERROR:         /usr/pkg/lib/php/test/Date/tests/calc.php
ERROR:         /usr/pkg/lib/php/test/Date/tests/test_calc.php
ERROR:         /usr/pkg/lib/php/test/Date/tests/test_date_methods_span.php
ERROR:         /usr/pkg/lib/php/test/Date/tests/testunit.php
ERROR:         /usr/pkg/lib/php/test/Date/tests/testunit_date.php
ERROR:         /usr/pkg/lib/php/test/Date/tests/testunit_date_span.php
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/time/pear-Date
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/time/pear-Date
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/time/pear-Date

-- 
Loic Hoguin
Dev:Extend