Re: Error code 254

2009-08-12 Thread Per olof Ljungmark
Mel Flynn wrote:
 On Tuesday 11 August 2009 12:56:40 Per olof Ljungmark wrote:
 Mel Flynn wrote:
 On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote:
 Mel Flynn wrote:
 On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:
 Mel Flynn wrote:
 On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:
 On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
 Mel Flynn wrote:
 On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
 === Installing documentation in
 /usr/local/share/doc/pear/XML_Serializer. === Installing tests
 in /usr/local/share/pear/tests/XML_Serializer. === Installing
 examples in /usr/local/share/examples/pear/XML_Serializer. ***
 Error code 254
 Hmmm, when I try
 portupgrade -fO pear
 the error pops up here too.

 Should I suspect the package database then?

 ===  Installing for pear-1.8.1
 ===   pear-1.8.1 depends on file: /usr/local/include/php/main/php.h -
 found ===   pear-1.8.1 depends on file:
 /usr/local/lib/php/20060613/pcre.so - found
 ===   pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so -
 found
 ===   Generating temporary packing list
 *** Error code 254
 
 Is it really at that point? Could you try a make -dl install again? If it's 
 the package list generation for real, then I'm gonna suspect something on a 
 system level, like IO errors or read-only mounts.
 
 If it is the same thing with pear install command, then perhaps you should 
 pkg_delete -r pear-1.8.1 (careful, will uninstall anything depending on pear) 
 and start over to see if the error persists. The pear command sure can use 
 some more verbosity then.

Yes, reinstalling pear made the problem go away. Unfortunately this will
never tell us what was actually wrong but at least it works now.

Thanks a lot for your input.

--
per
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Error code 254

2009-08-11 Thread Per olof Ljungmark

=== Installing documentation in /usr/local/share/doc/pear/XML_Serializer.
=== Installing tests in /usr/local/share/pear/tests/XML_Serializer.
=== Installing examples in /usr/local/share/examples/pear/XML_Serializer.
*** Error code 254


What is Error code 254 ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
 === Installing documentation in /usr/local/share/doc/pear/XML_Serializer.
 === Installing tests in /usr/local/share/pear/tests/XML_Serializer.
 === Installing examples in /usr/local/share/examples/pear/XML_Serializer.
 *** Error code 254


 What is Error code 254 ?

A program returning -2 to the shell. Is that useful info? No.
Run make -dl install to see what goes wrong.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Per olof Ljungmark

Mel Flynn wrote:

On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:

=== Installing documentation in /usr/local/share/doc/pear/XML_Serializer.
=== Installing tests in /usr/local/share/pear/tests/XML_Serializer.
=== Installing examples in /usr/local/share/examples/pear/XML_Serializer.
*** Error code 254


What is Error code 254 ?


A program returning -2 to the shell. Is that useful info? No.
Run make -dl install to see what goes wrong.


is this useful?

/bin/mkdir -p /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0
install  -o root -g wheel -m 444 
/usr/ports/devel/pear-XML_Serializer/work/package.xml 
/usr/local/share/pear/packages/pear-XML_Serializer-0.20.0
/usr/bin/env PKG_PREFIX=/usr/local  /bin/sh 
/usr/ports/devel/pear/pear-install pear-XML_Serializer-0.20.0 POST-INSTALL

*** Error code 254


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
 Mel Flynn wrote:
  On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
  === Installing documentation in
  /usr/local/share/doc/pear/XML_Serializer. === Installing tests in
  /usr/local/share/pear/tests/XML_Serializer. === Installing examples in
  /usr/local/share/examples/pear/XML_Serializer. *** Error code 254
 
 
  What is Error code 254 ?
 
  A program returning -2 to the shell. Is that useful info? No.
  Run make -dl install to see what goes wrong.

 is this useful?

 /bin/mkdir -p /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0
 install  -o root -g wheel -m 444
 /usr/ports/devel/pear-XML_Serializer/work/package.xml
 /usr/local/share/pear/packages/pear-XML_Serializer-0.20.0
 /usr/bin/env PKG_PREFIX=/usr/local  /bin/sh
 /usr/ports/devel/pear/pear-install pear-XML_Serializer-0.20.0 POST-INSTALL
 *** Error code 254

Yes, the post install script fails. Which means the command:
/usr/local/bin/pear install -r -n -f \
/usr/local/share/pear/packages/pear-XML_Serializer-0.20.0/package.xml 

fails. Why, I don't know, perhaps you can add -v to the above command and see 
if anything useful is printed. In the meantime, I'll try to reproduce it.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:
 On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
  Mel Flynn wrote:
   On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
   === Installing documentation in
   /usr/local/share/doc/pear/XML_Serializer. === Installing tests in
   /usr/local/share/pear/tests/XML_Serializer. === Installing examples
   in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254
...

 In the meantime, I'll try to reproduce it.

Which I can't. Patch below adds -v at the correct spot.
-- 
Mel

Index: devel/pear/pear-install
===
RCS file: /home/ncvs/ports/devel/pear/pear-install,v
retrieving revision 1.1
diff -u -r1.1 pear-install
--- devel/pear/pear-install 9 Dec 2005 18:58:03 -   1.1
+++ devel/pear/pear-install 11 Aug 2009 17:42:03 -
@@ -10,5 +10,5 @@

 [ x$1 = x ]  exit 1
 if [ x$2 = xPOST-INSTALL ]; then
-   ${PEAR} install -r -n -f ${PKGREGDIR}/package.xml
+   ${PEAR} -v install -r -n -f ${PKGREGDIR}/package.xml
 fi

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Per olof Ljungmark

Mel Flynn wrote:

On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:

On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:

=== Installing documentation in
/usr/local/share/doc/pear/XML_Serializer. === Installing tests in
/usr/local/share/pear/tests/XML_Serializer. === Installing examples
in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254

...


In the meantime, I'll try to reproduce it.


Which I can't. Patch below adds -v at the correct spot.


Unfortunately that did not add much, the error looks exacktly as before, 
no change. I welcome more suggestions of course.


(7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:
 Mel Flynn wrote:
  On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:
  On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
  === Installing documentation in
  /usr/local/share/doc/pear/XML_Serializer. === Installing tests in
  /usr/local/share/pear/tests/XML_Serializer. === Installing examples
  in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254
 
  ...
 
  In the meantime, I'll try to reproduce it.
 
  Which I can't. Patch below adds -v at the correct spot.

 Unfortunately that did not add much, the error looks exacktly as before,
 no change. I welcome more suggestions of course.

 (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009)

Well, it's hard if I can't reproduce it. Can you show the output of:
make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Per olof Ljungmark

Mel Flynn wrote:

On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:

On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:

=== Installing documentation in
/usr/local/share/doc/pear/XML_Serializer. === Installing tests in
/usr/local/share/pear/tests/XML_Serializer. === Installing examples
in /usr/local/share/examples/pear/XML_Serializer. *** Error code 254

...


In the meantime, I'll try to reproduce it.

Which I can't. Patch below adds -v at the correct spot.

Unfortunately that did not add much, the error looks exacktly as before,
no change. I welcome more suggestions of course.

(7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009)


Well, it's hard if I can't reproduce it. Can you show the output of:
make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends


I tried to locate the docs for pear, in particular the switches, but 
failed. Even at pear.php.net/manual I could not find them, are they 
installed on my system somewhere?


Thanks!

# make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends
pear-XML_Parser-1.3.2:devel/pear-XML_Parser
pear-XML_Util-1.2.1:devel/pear-XML_Util
pear-1.8.1:devel/pear
expat-2.0.1:textproc/expat2
openldap-client-2.4.17:net/openldap24-client
perl-5.8.9_3:lang/perl5.8
pkg-config-0.23_1:devel/pkg-config
pcre-7.9:devel/pcre
libiconv-1.13.1:converters/libiconv
libxml2-2.7.3:textproc/libxml2
apache-2.2.11_7:www/apache22
php5-5.2.10:lang/php5
php5-xml-5.2.10:textproc/php5-xml
pear-1.8.1:devel/pear
expat-2.0.1:textproc/expat2
openldap-client-2.4.17:net/openldap24-client
perl-5.8.9_3:lang/perl5.8
pkg-config-0.23_1:devel/pkg-config
pcre-7.9:devel/pcre
libiconv-1.13.1:converters/libiconv
libxml2-2.7.3:textproc/libxml2
apache-2.2.11_7:www/apache22
php5-5.2.10:lang/php5
php5-xml-5.2.10:textproc/php5-xml
pear-1.8.1:devel/pear
expat-2.0.1:textproc/expat2
openldap-client-2.4.17:net/openldap24-client
perl-5.8.9_3:lang/perl5.8
pkg-config-0.23_1:devel/pkg-config
pcre-7.9:devel/pcre
libiconv-1.13.1:converters/libiconv
libxml2-2.7.3:textproc/libxml2
apache-2.2.11_7:www/apache22
php5-5.2.10:lang/php5
php5-xml-5.2.10:textproc/php5-xml
php5-pcre-5.2.10:devel/php5-pcre

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote:
 Mel Flynn wrote:
  On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:
  On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
  === Installing documentation in
  /usr/local/share/doc/pear/XML_Serializer. === Installing tests in
  /usr/local/share/pear/tests/XML_Serializer. === Installing
  examples in /usr/local/share/examples/pear/XML_Serializer. ***
  Error code 254
 
  ...
 
  In the meantime, I'll try to reproduce it.
 
  Which I can't. Patch below adds -v at the correct spot.
 
  Unfortunately that did not add much, the error looks exacktly as before,
  no change. I welcome more suggestions of course.
 
  (7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Aug 10 23:50:08 CEST 2009)
 
  Well, it's hard if I can't reproduce it. Can you show the output of:
  make -C /usr/ports/devel/pear-XML_Serializer actual-package-depends

 I tried to locate the docs for pear, in particular the switches, but
 failed. Even at pear.php.net/manual I could not find them, are they
 installed on my system somewhere?

pear help
pear help options
pear help commands

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Per olof Ljungmark

Mel Flynn wrote:

On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:

On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:

Mel Flynn wrote:

On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:

=== Installing documentation in
/usr/local/share/doc/pear/XML_Serializer. === Installing tests in
/usr/local/share/pear/tests/XML_Serializer. === Installing
examples in /usr/local/share/examples/pear/XML_Serializer. ***
Error code 254


Hmmm, when I try
portupgrade -fO pear
the error pops up here too.

Should I suspect the package database then?

===  Installing for pear-1.8.1
===   pear-1.8.1 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.8.1 depends on file: /usr/local/lib/php/20060613/pcre.so - 
found
===   pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so - 
found

===   Generating temporary packing list
*** Error code 254

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20090811-2005-huzahd-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=pear-1.8.1 UPGRADE_PORT_VER=1.8.1 make -DFORCE_PKG_REGISTER 
reinstall

---  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 261 packages 
found (-0 +1) . done]

** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear (pear-1.8.1)   (install error)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error code 254

2009-08-11 Thread Mel Flynn
On Tuesday 11 August 2009 12:56:40 Per olof Ljungmark wrote:
 Mel Flynn wrote:
  On Tuesday 11 August 2009 12:20:00 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 10:53:21 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 09:27:06 Mel Flynn wrote:
  On Tuesday 11 August 2009 08:53:59 Per olof Ljungmark wrote:
  Mel Flynn wrote:
  On Tuesday 11 August 2009 02:48:49 Per olof Ljungmark wrote:
  === Installing documentation in
  /usr/local/share/doc/pear/XML_Serializer. === Installing tests
  in /usr/local/share/pear/tests/XML_Serializer. === Installing
  examples in /usr/local/share/examples/pear/XML_Serializer. ***
  Error code 254

 Hmmm, when I try
 portupgrade -fO pear
 the error pops up here too.

 Should I suspect the package database then?

 ===  Installing for pear-1.8.1
 ===   pear-1.8.1 depends on file: /usr/local/include/php/main/php.h -
 found ===   pear-1.8.1 depends on file:
 /usr/local/lib/php/20060613/pcre.so - found
 ===   pear-1.8.1 depends on file: /usr/local/lib/php/20060613/xml.so -
 found
 ===   Generating temporary packing list
 *** Error code 254

Is it really at that point? Could you try a make -dl install again? If it's 
the package list generation for real, then I'm gonna suspect something on a 
system level, like IO errors or read-only mounts.

If it is the same thing with pear install command, then perhaps you should 
pkg_delete -r pear-1.8.1 (careful, will uninstall anything depending on pear) 
and start over to see if the error persists. The pear command sure can use 
some more verbosity then.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org