Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-17 Thread jason

I guess that's the fix.  Everything seemed to go just fine.  
Everything has been rebuilt (except OO, and a sun-jdk... but I think I 
installed them as packages anyway).  So I guess I'll be doing 
something like the following to upgrade my ports from now on:

  # cvsup -g -L 2 /root/ports-supfile
  # /usr/ports/make fetchindex
  # portsdb -u
  # pkgdb -F
  # portupgrade -a
If this looks incorrect please let me know.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Thanks for everyone's assistance.
Looks great, I install cvsup woith the gui so I don't need to add the -g 
-L 2.

Also Jonathan Franks, you aren't the actor from star trek are you?  I 
just had to ask!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Eric Schuele
Hello,
I'm having trouble with 'portsdb -uU'
It worked exactly twice on my machine.  I was using the following 
commands to upgrade all my ports:

# cvsup -g -L 2 /root/ports-supfile
# portsdb -uU
# pkgdb -F
# portupupgrade -a
worked fine first two times.  Now.. my cvsup works fine.  but when I 
'portsdb -uU', it runs for a while and then I get something like:

K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
/usr/bin/awk '{ print $1 }' returned non-zero status
=== java/javamail failed
*** Error code 1
2 errors
/libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
*** Error code 1

Stop in /usr/ports.
*** Error code 1
Stop in /usr/ports.
failed to generate INDEX!
fangorn#
// Note that if I do a ls immediately afterwards i get
fangorn# ls
/libexec/ld-elf.so.1: ls: Shared object has no run-time symbol table.
Now mind you I may have broken my ports tree at some point.  I'm 
relatively new to FreeBSD... and before I began using portupgrade... I 
was manually upgrading a handful of ports (make install.. deinstall... 
reinstall type stuff... downloading port folder manually).. and I think 
a placed a few in 'new' directories in my ports tree.  So I do not know 
if that would 'break' my ports tree or not.  But thought it was worth 
mentioning.

Other things worth mentioning:
- I have a very slight customized kernel config file.  Added support for 
ath, removed some processor support (486/586), added splash screen.
- I have NEVER cvsupped my kernel src... only the ports tree.
- Other than changing the kernel config file and buildkernel/install 
kernel... I have done nothing such as buildworld.
- No other problems on my machine.

# unanme -a
FreeBSD fangorn.nxdomain.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Thu Nov 
11 09:39:38 CST 2004  [EMAIL PROTECTED]: 
/usr/obj/usr/src/sys/INSPIRON5100 i386

Have I broken something?  Am I going about upgrading ports the wrong 
way?  If I have broken my ports tree is it possible to recreate it 
correctly?  Maybe delete it and reinstall off CD then cvsup it?

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


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread jason
Eric Schuele wrote:
Hello,
I'm having trouble with 'portsdb -uU'
It worked exactly twice on my machine.  I was using the following 
commands to upgrade all my ports:

# cvsup -g -L 2 /root/ports-supfile
# portsdb -uU
# pkgdb -F
# portupupgrade -a
worked fine first two times.  Now.. my cvsup works fine.  but when I 
'portsdb -uU', it runs for a while and then I get something like:

K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
/usr/bin/awk '{ print $1 }' returned non-zero status
=== java/javamail failed
*** Error code 1
2 errors
/libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
*** Error code 1

Stop in /usr/ports.
*** Error code 1
Stop in /usr/ports.
failed to generate INDEX!
fangorn#
// Note that if I do a ls immediately afterwards i get
fangorn# ls
/libexec/ld-elf.so.1: ls: Shared object has no run-time symbol table.
Now mind you I may have broken my ports tree at some point.  I'm 
relatively new to FreeBSD... and before I began using portupgrade... I 
was manually upgrading a handful of ports (make install.. deinstall... 
reinstall type stuff... downloading port folder manually).. and I 
think a placed a few in 'new' directories in my ports tree.  So I do 
not know if that would 'break' my ports tree or not.  But thought it 
was worth mentioning.

Other things worth mentioning:
- I have a very slight customized kernel config file.  Added support 
for ath, removed some processor support (486/586), added splash screen.
- I have NEVER cvsupped my kernel src... only the ports tree.
- Other than changing the kernel config file and buildkernel/install 
kernel... I have done nothing such as buildworld.
- No other problems on my machine.

# unanme -a
FreeBSD fangorn.nxdomain.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Thu 
Nov 11 09:39:38 CST 2004  [EMAIL PROTECTED]: 
/usr/obj/usr/src/sys/INSPIRON5100 i386

Have I broken something?  Am I going about upgrading ports the wrong 
way?  If I have broken my ports tree is it possible to recreate it 
correctly?  Maybe delete it and reinstall off CD then cvsup it?

Thanks
Something bad is going on, but you should read stuff like 
/usr/ports/UPDATING.  What is likely our problem is the change that was 
made to the way cvsup handles the index file now.  It doesn't update it 
automatically anymore.  You have to do something like make fetchindex.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Michael C. Shultz
On Thursday 16 December 2004 08:07 am, Eric Schuele wrote:
 Hello,

 I'm having trouble with 'portsdb -uU'

 It worked exactly twice on my machine.  I was using the following
 commands to upgrade all my ports:

 # cvsup -g -L 2 /root/ports-supfile
 # portsdb -uU
 # pkgdb -F
 # portupupgrade -a

 worked fine first two times.  Now.. my cvsup works fine.  but when I
 'portsdb -uU', it runs for a while and then I get something like:

 K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 |
 /usr/bin/awk '{ print $1 }' returned non-zero status
 === java/javamail failed
 *** Error code 1
 2 errors
 /libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
 *** Error code 1

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

 Stop in /usr/ports.
 failed to generate INDEX!
 fangorn#

 // Note that if I do a ls immediately afterwards i get

 fangorn# ls
 /libexec/ld-elf.so.1: ls: Shared object has no run-time symbol table.

 Now mind you I may have broken my ports tree at some point.  I'm
 relatively new to FreeBSD... and before I began using portupgrade...
 I was manually upgrading a handful of ports (make install..
 deinstall... reinstall type stuff... downloading port folder
 manually).. and I think a placed a few in 'new' directories in my
 ports tree.  So I do not know if that would 'break' my ports tree or
 not.  But thought it was worth mentioning.

 Other things worth mentioning:
 - I have a very slight customized kernel config file.  Added support
 for ath, removed some processor support (486/586), added splash
 screen. - I have NEVER cvsupped my kernel src... only the ports tree.
 - Other than changing the kernel config file and buildkernel/install
 kernel... I have done nothing such as buildworld.
 - No other problems on my machine.

 # unanme -a
 FreeBSD fangorn.nxdomain.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Thu
 Nov 11 09:39:38 CST 2004  [EMAIL PROTECTED]:
 /usr/obj/usr/src/sys/INSPIRON5100 i386

 Have I broken something?  Am I going about upgrading ports the wrong
 way?  If I have broken my ports tree is it possible to recreate
 it correctly?  Maybe delete it and reinstall off CD then cvsup it?

Before you go deleting your entire port tree try the following:

1. install /usr/ports/sysutils/portmanager
2. To see the status of installed ports:
portmanager -s
3. To upgrade installed ports
portmanager -u

Note: portmanager does not depend on INDEX, INDEX-5 etc...

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


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Joe Altman
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
 Hello,
 
 I'm having trouble with 'portsdb -uU'
 
 It worked exactly twice on my machine.  I was using the following 
 commands to upgrade all my ports:
 
 # cvsup -g -L 2 /root/ports-supfile
 # portsdb -uU
 # pkgdb -F
 # portupupgrade -a
 
 worked fine first two times.  Now.. my cvsup works fine.  but when I 
 'portsdb -uU', it runs for a while and then I get something like:
 
 K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
 /usr/bin/awk '{ print $1 }' returned non-zero status
 === java/javamail failed
 *** Error code 1
 2 errors
 /libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table

Here is my guess, and I emphasize that it is a guess:

http://fireflynetworks.net/pipermail/rtg/2004-December/001375.html

is a page I found by using Google to search for:

Shared object has no run-time symbol table

 Now mind you I may have broken my ports tree at some point. 

This appears to be the case:

 I'm 
 relatively new to FreeBSD... and before I began using portupgrade... I 
 was manually upgrading a handful of ports (make install.. deinstall... 
 reinstall type stuff... downloading port folder manually).. 

I suggest reinstalling the ports you deinstalled, if you haven't
already done so...

 and I think 
 a placed a few in 'new' directories in my ports tree.  So I do not know 
 if that would 'break' my ports tree or not.  But thought it was worth 
 mentioning.

I can't quite parse this because it appears to me that you've left out
a word or two.

 
 Other things worth mentioning:
 - I have a very slight customized kernel config file.  Added support for 
 ath, removed some processor support (486/586), added splash screen.

I don't think this is relevant.

 - I have NEVER cvsupped my kernel src... only the ports tree.

And here it is: go and update your source, including the ports tree,
after you have reinstalled the ports you deinstalled. Make sure that
the world is correctly installed; then go and try the portupgrade
bits, one port at a time.

 I have done nothing such as buildworld.

Go and do buildworld, then portupgrade.

 Have I broken something?  Am I going about upgrading ports the wrong 
 way?  

Yes, it appears that you have broken something.

 If I have broken my ports tree is it possible to recreate it 
 correctly?  Maybe delete it and reinstall off CD then cvsup it?

No, you don't need to do a complete reinstall, IMO; you do need to
update your source, perhaps even desperately.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Jonathan Franks
Joe Altman wrote:
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
 

Hello,
I'm having trouble with 'portsdb -uU'
It worked exactly twice on my machine.  I was using the following 
commands to upgrade all my ports:

# cvsup -g -L 2 /root/ports-supfile
# portsdb -uU
# pkgdb -F
# portupupgrade -a
worked fine first two times.  Now.. my cvsup works fine.  but when I 
'portsdb -uU', it runs for a while and then I get something like:

K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
/usr/bin/awk '{ print $1 }' returned non-zero status
=== java/javamail failed
*** Error code 1
2 errors
/libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
   

Here is my guess, and I emphasize that it is a guess:
http://fireflynetworks.net/pipermail/rtg/2004-December/001375.html
is a page I found by using Google to search for:
Shared object has no run-time symbol table
 

Now mind you I may have broken my ports tree at some point. 
   

This appears to be the case:
 

I'm 
relatively new to FreeBSD... and before I began using portupgrade... I 
was manually upgrading a handful of ports (make install.. deinstall... 
reinstall type stuff... downloading port folder manually).. 
   

I suggest reinstalling the ports you deinstalled, if you haven't
already done so...
 

and I think 
a placed a few in 'new' directories in my ports tree.  So I do not know 
if that would 'break' my ports tree or not.  But thought it was worth 
mentioning.
   

I can't quite parse this because it appears to me that you've left out
a word or two.
 

Other things worth mentioning:
- I have a very slight customized kernel config file.  Added support for 
ath, removed some processor support (486/586), added splash screen.
   

I don't think this is relevant.
 

- I have NEVER cvsupped my kernel src... only the ports tree.
   

And here it is: go and update your source, including the ports tree,
after you have reinstalled the ports you deinstalled. Make sure that
the world is correctly installed; then go and try the portupgrade
bits, one port at a time.
 

I have done nothing such as buildworld.
   

Go and do buildworld, then portupgrade.
 

Have I broken something?  Am I going about upgrading ports the wrong 
way?  
   

Yes, it appears that you have broken something.
 

If I have broken my ports tree is it possible to recreate it 
correctly?  Maybe delete it and reinstall off CD then cvsup it?
   

No, you don't need to do a complete reinstall, IMO; you do need to
update your source, perhaps even desperately.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

From what I've heard, portsdb -Uu is not preferred in 5.3, rather one 
should do make fetchindex in /usr/ports then run portsdb -u afterwards. 
I've only HEARD that this is correct, but it worked for me. so make 
of it what you will
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Joe Altman
On Thu, Dec 16, 2004 at 09:30:43PM -0500, Jonathan Franks wrote:
 Joe Altman wrote:
 
 On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:

 K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
 /usr/bin/awk '{ print $1 }' returned non-zero status
 === java/javamail failed
 *** Error code 1
 2 errors
 /libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
 
 From what I've heard, portsdb -Uu is not preferred in 5.3, rather one 
 should do make fetchindex in /usr/ports then run portsdb -u afterwards. 
 I've only HEARD that this is correct, but it worked for me. so make 
 of it what you will

I've used it on my 5.3 box; it seems fine. My experience doesn't mean
you are wrong.

Anyway, to my eye, it's not portsdb that is failing; in the first
example, it's awk:

 K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3
 /usr/bin/awk '{ print $1 }' returned non-zero status

It just happens to be failing within portsdb, at that point.

His second example had to do with running ls; that also failed, with
the same message:

Shared object has no run-time symbol table
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Eric Schuele
Joe Altman wrote:
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
snip
and I think 
a placed a few in 'new' directories in my ports tree.  So I do not know 
if that would 'break' my ports tree or not.  But thought it was worth 
mentioning.

I can't quite parse this because it appears to me that you've left out
a word or two.
snip
Sorry.  I meant that I had placed a few ports in 'new' directories.  By 
that I meant:
 - I went to the FreeBSD Ports site
 - found a port I wanted to upgrade (firefox or fluxbox for example)
 - 'make deinstall'ed the one that was installed.
 - Copied the directory on the site to a folder within the ports tree 
with a similar but different name.
 - and then did a 'make install clean'

Then I was enlightened to the fact that this was... not the way to do 
things.  So on to portupgrades I went.  First one or two went without a 
hitch.

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


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Eric Schuele
Jonathan Franks wrote:
Joe Altman wrote:
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
 snip lots

If I have broken my ports tree is it possible to recreate it 
correctly?  Maybe delete it and reinstall off CD then cvsup it?
  

No, you don't need to do a complete reinstall, IMO; you do need to
update your source, perhaps even desperately.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

 From what I've heard, portsdb -Uu is not preferred in 5.3, rather one 
should do make fetchindex in /usr/ports then run portsdb -u afterwards. 
I've only HEARD that this is correct, but it worked for me. so make 
of it what you will
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

ahh yes.. I've run across a msg or two mentioning this... but that was 
before I was trying to solve this problem so I was not paying close 
attention at the time.

I just tried it.  I did a fresh cvsup, then the 'make fetchindex' (which 
pulled something out of the ether)... and then a 'portsdb -u'.  The 
portsdb finished almost immediately and provided no output!? good? bad? 
dunno.  So I moved on to 'pkgdb -F' which went well. I am currently 
watching the portupgrade do its thing.  It takes a while because I have 
OpenOffice installed.  I'll post back with my results.

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


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Eric Schuele
Jonathan Franks wrote:
Joe Altman wrote:
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
 

snip
No, you don't need to do a complete reinstall, IMO; you do need to
update your source, perhaps even desperately.
I will do a update of my sources and build world asap.  I was simply 
under the impression that I could safely upgrade only the ports.  So 
that's how I got started down this.  And then when things went bad I 
wanted to fix it before I tried upgrading anything else and possibly 
compunding things.

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

 From what I've heard, portsdb -Uu is not preferred in 5.3, rather one 
should do make fetchindex in /usr/ports then run portsdb -u afterwards. 
I've only HEARD that this is correct, but it worked for me. so make 
of it what you will
I guess that's the fix.  Everything seemed to go just fine.  Everything 
has been rebuilt (except OO, and a sun-jdk... but I think I installed 
them as packages anyway).  So I guess I'll be doing something like the 
following to upgrade my ports from now on:

  # cvsup -g -L 2 /root/ports-supfile
  # /usr/ports/make fetchindex
  # portsdb -u
  # pkgdb -F
  # portupgrade -a
If this looks incorrect please let me know.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Thanks for everyone's assistance.
--
Regards,
Eric
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]