Re: portupgrade problems, please help

2003-10-22 Thread ivan georgiev
 What versions of ruby do you have installed? I can remember back a
 few versions, that uninstalling portupgrade and ruby and then
 making and installing portupgrade was faster than fighting the
 problems with ruby.

 Kent

-su-2.05b# ruby -v
ruby 1.6.8 (2003-03-26) [i386-freebsd5]

Ivan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Kent Stewart
On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
  What versions of ruby do you have installed? I can remember back a
  few versions, that uninstalling portupgrade and ruby and then
  making and installing portupgrade was faster than fighting the
  problems with ruby.
 
  Kent

 -su-2.05b# ruby -v
 ruby 1.6.8 (2003-03-26) [i386-freebsd5]

I don't have any idea. It looks like a source/configuration/make error of some 
type. My version is the also the following
ruby 1.6.8 (2003-03-26) [i386-freebsd5]

I didn't have any problem re-building portupgrade and the ruby tools using
portupgrade -pufr ruby.

My last cvsup was on 15 Oct, which is a little bit old. So, I recvsuped 
ports-all and, as always, re-built INDEX and INDEX.db. I use make index to 
update INDEX and the only refuse I have is ports/INDEX-5. Since I rebuild 
the INDEXs everytime I cvsup ports-all, there isn't any point in having cvsup 
grab a current copy of INDEX-5, which is always out of date. After INDEX.db 
was rebuilt, I reran the -pufr update of ruby and didn't have any problems.

My setup is KISS simple. I use the stock gcc that comes with 5-current. I 
don't use options for the build flags in /etc/make.conf. My port tree is also 
located in /usr/ports. The only thing different on my FreeBSD-5-current 
machine is the packages produced by portupgrade are stored on a different fs 
called /usr3/All. That shouldn't make any difference to the build process. 
The iso images for version 5.1-Release were built on 5 Jun, which is several 
months after the last changes to ruby-1.6.8.

A uname -a of my system shows
FreeBSD opal 5.1-CURRENT FreeBSD 5.1-CURRENT #41: Wed Oct 15

You aren't the only one with problems and it may be something simple like a 
trashed ruby patch file. I haven't seen them re-roll the tarballs for ruby, 
which is only seen when the checksums don't agree. Since I don't have a 
5.1-release system, there isn't much else that I can try.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Jens Rehsack
Kent Stewart wrote:
On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:

What versions of ruby do you have installed? I can remember back a
few versions, that uninstalling portupgrade and ruby and then
making and installing portupgrade was faster than fighting the
problems with ruby.
Kent
-su-2.05b# ruby -v
ruby 1.6.8 (2003-03-26) [i386-freebsd5]


I don't have any idea. It looks like a source/configuration/make error of some 
type. My version is the also the following
ruby 1.6.8 (2003-03-26) [i386-freebsd5]
Maybe complete remove of ruby and dependend packages
followed by a reinstall of all of them may help.
If you only have portupgrade installed, you can
simply
# pkg_delete -rx ruby
# cd /usr/ports/sysutils/portupgrade
# make install clean
If you have other ruby-dependend ports, please write them down,
eg. by
$ cd
$ ls -l /var/db/pkg/ installed-packages
$ su -
# [above procedure]
$ ls -l /var/db/pkg/ after-reinstall-ruby-packages
$ diff installed-packages after-reinstall-ruby-packages
And then reinstall all packages missing (and you need).

Regards,
Jens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread ivan georgiev
 Kent Stewart wrote:
  On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
 What versions of ruby do you have installed? I can remember back
  a few versions, that uninstalling portupgrade and ruby and then
  making and installing portupgrade was faster than fighting the
  problems with ruby.
 
 Kent
 
 -su-2.05b# ruby -v
 ruby 1.6.8 (2003-03-26) [i386-freebsd5]
 
  I don't have any idea. It looks like a source/configuration/make
  error of some type. My version is the also the following
  ruby 1.6.8 (2003-03-26) [i386-freebsd5]

 Maybe complete remove of ruby and dependend packages
 followed by a reinstall of all of them may help.
 If you only have portupgrade installed, you can
 simply
 # pkg_delete -rx ruby
 # cd /usr/ports/sysutils/portupgrade
 # make install clean

 If you have other ruby-dependend ports, please write them down,
 eg. by
 $ cd
 $ ls -l /var/db/pkg/ installed-packages
 $ su -
 # [above procedure]
 $ ls -l /var/db/pkg/ after-reinstall-ruby-packages
 $ diff installed-packages after-reinstall-ruby-packages

 And then reinstall all packages missing (and you need).

Thanks for all of the suggestions!
Finaly portupgrade -arR works again. Here is what I did 
(chronologically)
1) ls -l /var/db/pkg/  ~/old
2) pkg_delete -rx ruby
3) cd /usr/ports/sysutils/portupgrade; make install; make clean
4) ls -l /var/db/pkg/  ~/new
5) diff ~/old ~/new
which showed no other difference but for the new installed ruby;
6)/usr/local/sbin/pkgdb -fuF
7)/usr/local/sbin/portupgrade -arR
the result was :( 

Then I tried the other suggestion:
8)cd /usr/ports
9) make index
which produced zillion of outputs like:

make_index: xcdplayer-2.2_1: no entry for /usr/ports/x11/
XFree86-4-libraries

10) /usr/local/sbin/pkgdb -fuF
11) /usr/local/sbin/portupgrade -arR
which took much longer than usual to say something the result is :) 

Ivan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-22 Thread Kent Stewart
On Wednesday 22 October 2003 05:02 pm, ivan georgiev wrote:
  Kent Stewart wrote:
   On Wednesday 22 October 2003 05:37 am, ivan georgiev wrote:
  What versions of ruby do you have installed? I can remember back
   a few versions, that uninstalling portupgrade and ruby and then
   making and installing portupgrade was faster than fighting the
   problems with ruby.
  
  Kent
  
  -su-2.05b# ruby -v
  ruby 1.6.8 (2003-03-26) [i386-freebsd5]
  
   I don't have any idea. It looks like a source/configuration/make
   error of some type. My version is the also the following
   ruby 1.6.8 (2003-03-26) [i386-freebsd5]
 
  Maybe complete remove of ruby and dependend packages
  followed by a reinstall of all of them may help.
  If you only have portupgrade installed, you can
  simply
  # pkg_delete -rx ruby
  # cd /usr/ports/sysutils/portupgrade
  # make install clean
 
  If you have other ruby-dependend ports, please write them down,
  eg. by
  $ cd
  $ ls -l /var/db/pkg/ installed-packages
  $ su -
  # [above procedure]
  $ ls -l /var/db/pkg/ after-reinstall-ruby-packages
  $ diff installed-packages after-reinstall-ruby-packages
 
  And then reinstall all packages missing (and you need).

 Thanks for all of the suggestions!
 Finaly portupgrade -arR works again. Here is what I did
 (chronologically)
 1) ls -l /var/db/pkg/  ~/old
 2) pkg_delete -rx ruby
 3) cd /usr/ports/sysutils/portupgrade; make install; make clean
 4) ls -l /var/db/pkg/  ~/new
 5) diff ~/old ~/new
 which showed no other difference but for the new installed ruby;
 6)/usr/local/sbin/pkgdb -fuF
 7)/usr/local/sbin/portupgrade -arR
 the result was :(

 Then I tried the other suggestion:
 8)cd /usr/ports
 9) make index
 which produced zillion of outputs like:
 
 make_index: xcdplayer-2.2_1: no entry for /usr/ports/x11/
 XFree86-4-libraries
 

You must have been lucky because a condensed version of a recent cvsup of 
ports-all on my 5-current machine looks like

 Edit ports/www/epiphany/pkg-plist
  Add delta 1.16 2003.10.22.17.20.29 marcus
Shutting down connection to server
Finished successfully
Generating INDEX-5 - please wait.. Done.
[Updating the portsdb format:bdb1_btree in /usr/ports ... - 9533 port 
entries 
found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.
 . 
done]

All of your messages would have appeared between wait.. and done.

I use a script to do all of my cvsups because I use a thing called cvsuplog, 
that was written by Ben Smithurst, to convert my redirected cvsup.log into 
HTML links to cvsweb.cgi. I use make index to update INDEX-5 and portsdb -u 
to update INDEX.db. I have been told that portupgrade will build INDEX.db if 
it is out of date but I want to see it on the monitor. Since all I did is 
type uports, running an extra process is a not a big deal.

 10) /usr/local/sbin/pkgdb -fuF
 11) /usr/local/sbin/portupgrade -arR
 which took much longer than usual to say something the result is :)


Great!!

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-21 Thread Kent Stewart
On Tuesday 21 October 2003 05:48 pm, ivan georgiev wrote:
   I use 5_1_RELEASE. I do not know what happened but now I get:
  
   -su-2.05b# portupgrade -arR
   /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin':
   failed to convert nil into String (PkgDB::DBError)
   from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in
   `tsort_build' from
   /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from
   /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build'
   from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
   from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in
   `tsort_build' from
   /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build'
   from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in
   `sort_build!' from /usr/local/sbin/portupgrade:674:in `main'
   from /usr/local/sbin/portupgrade:207:in `initialize'
   from /usr/local/sbin/portupgrade:207:in `new'
   from /usr/local/sbin/portupgrade:207:in `main'
   from /usr/local/sbin/portupgrade:1846
  
   Can someone tell how to fix it. I tried pkgdb -uf but it
   doesn't help.
 
  You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again.

 Thanks, but it didn't cure it  :(

I would force upgrade portupgrade before you do anything using

portupgrade -Rf portupgrade.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-21 Thread Chris
On Tuesday 21 October 2003 09:02 pm, Kent Stewart wrote:
 On Tuesday 21 October 2003 05:48 pm, ivan georgiev wrote:
I use 5_1_RELEASE. I do not know what happened but now I get:
   
-su-2.05b# portupgrade -arR
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in `deorigin':
failed to convert nil into String (PkgDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in
`tsort_build' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in
`tsort_build' from
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in `sort_build'
from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in
`sort_build!' from /usr/local/sbin/portupgrade:674:in `main'
from /usr/local/sbin/portupgrade:207:in `initialize'
from /usr/local/sbin/portupgrade:207:in `new'
from /usr/local/sbin/portupgrade:207:in `main'
from /usr/local/sbin/portupgrade:1846
   
Can someone tell how to fix it. I tried pkgdb -uf but it
doesn't help.
  
   You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u again.
 
  Thanks, but it didn't cure it  :(

 I would force upgrade portupgrade before you do anything using

 portupgrade -Rf portupgrade.

/usr/local/sbin/pkgdb -fuF
/usr/local/sbin/portupgrade -arR 


-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-21 Thread ivan georgiev
 I use 5_1_RELEASE. I do not know what happened but now I
 get:

 -su-2.05b# portupgrade -arR
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in
 `deorigin': failed to convert nil into String
 (PkgDB::DBError) from
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in
 `tsort_build' from
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each'
 from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in
 `tsort_build' from
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
 from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in
 `tsort_build' from
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in
 `sort_build' from
 /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in
 `sort_build!' from /usr/local/sbin/portupgrade:674:in
 `main' from /usr/local/sbin/portupgrade:207:in `initialize'
 from /usr/local/sbin/portupgrade:207:in `new'
 from /usr/local/sbin/portupgrade:207:in `main'
 from /usr/local/sbin/portupgrade:1846

 Can someone tell how to fix it. I tried pkgdb -uf but it
 doesn't help.
   
You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u
again.
  
   Thanks, but it didn't cure it  :(
 
  I would force upgrade portupgrade before you do anything using
 
  portupgrade -Rf portupgrade.

 /usr/local/sbin/pkgdb -fuF
 /usr/local/sbin/portupgrade -arR

Thanks for the input,

  portupgrade -Rf portupgrade.

did not help. As well as

 /usr/local/sbin/pkgdb -fuF

Still :( 




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade problems, please help

2003-10-21 Thread Kent Stewart
On Tuesday 21 October 2003 07:50 pm, ivan georgiev wrote:
  I use 5_1_RELEASE. I do not know what happened but now I
  get:
 
  -su-2.05b# portupgrade -arR
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in
  `deorigin': failed to convert nil into String
  (PkgDB::DBError) from
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in
  `tsort_build' from
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each'
  from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in
  `tsort_build' from
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each'
  from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in
  `tsort_build' from
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in
  `sort_build' from
  /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in
  `sort_build!' from /usr/local/sbin/portupgrade:674:in
  `main' from /usr/local/sbin/portupgrade:207:in `initialize'
  from /usr/local/sbin/portupgrade:207:in `new'
  from /usr/local/sbin/portupgrade:207:in `main'
  from /usr/local/sbin/portupgrade:1846
 
  Can someone tell how to fix it. I tried pkgdb -uf but it
  doesn't help.

 You may try to remove /var/db/pkg/pkgdb.db and pkgdb -u
 again.
   
Thanks, but it didn't cure it  :(
  
   I would force upgrade portupgrade before you do anything using
  
   portupgrade -Rf portupgrade.
 
  /usr/local/sbin/pkgdb -fuF
  /usr/local/sbin/portupgrade -arR

 Thanks for the input,

   portupgrade -Rf portupgrade.

 did not help. As well as

  /usr/local/sbin/pkgdb -fuF

 Still :(


What versions of ruby do you have installed? I can remember back a few 
versions, that uninstalling portupgrade and ruby and then making and 
installing portupgrade was faster than fighting the problems with ruby.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]