Re: Portinstall/upgrade stops with no error
On Sunday 13 March 2005 02:36 am, Doug Lee wrote: On Sat, Mar 12, 2005 at 03:24:19PM -0800, Michael C. Shultz wrote: Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike Yes I ran it as root (hence the # in Kirk 3#), but I'm now doing a cvsup of ports and will try an upgrade of portmanager anyway. If it still cores, build with WITH_DEBUG=yes and send me the core please if you are on a X86 system. If not the output of gdb /usr/local/bin/portmanager ./portmanager.core bt would be very helpful. Thanks -Mike Built with debug, still cores. gdb output first: (gdb) bt #0 0x280d5b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, portName=0x804e1b0 pine-4.44) at PMGRrAddDependencies.c:109 #2 0x2806fca6 in PMGRrDbCreate (property=0xbfbff5b4) at PMGRrDbCreate.c:173 #3 0x280746ff in PMGRrStatus (property=0xbfbff5b4) at PMGRrStatus.c:53 #4 0x8049137 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #5 0x8048a44 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #6 0x8048986 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 (gdb) f 1 #1 0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, portName=0x804e1b0 pine-4.44) at PMGRrAddDependencies.c:109 109 stringSize = strstr( portDependencyDir, \n ) - portDependencyDir; (gdb) print portDependency $1 = 0x8050049 cclient-2001a,1 (gdb) Core size 417 K. If you need it, I'll email it privately. I doubt there's anything compromising in there... This back trace is very helpful, from it I should be able to find the problem so thanks! If your machine is a X86 class machine then sending the core file would make things even easier, also the output of uname -a would be nice. On first glance I am suspicious of the /var/db/pkg/pine-4.44/+CONTENTS file, it maybe corrupt on your system but I need to install pine and check it out on my system first. Even if there is something wrong with pine on your system portmanager should be printing an error message and not core dumping. I certainly have a bug to fix on this end so thanks for reporting this! I'll keep you informed on the progress with fixing this. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portinstall/upgrade stops with no error
You said simply to try sysutils/portmanager. I must have really made a mess here: Kirk 3# portmanager -s PMGRrStatus 0.2.7_0 info: Creating inital data bases Segmentation fault (core dumped) Kirk 3# gdb /usr/local/bin/portmanager portmanager.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd... (no debugging symbols found)... Core was generated by `portmanager'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols found)... done. Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 (gdb) bt #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806e618 in PMGRrAddDependencies () from /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () #5 0x8048862 in PMGRrShowLeaves () #6 0x80487a2 in PMGRrShowLeaves () (gdb) I had no errors installing portmanager, though I think I had to use make install. On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: On Friday 25 February 2005 09:26 pm, Doug Lee wrote: System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: portinstall lang/perl5.8 and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. Try sysutils/portmanager -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com In laughter, love is found; but in tears, it is forged. (12/09/01) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portinstall/upgrade stops with no error
On Saturday 12 March 2005 12:16 pm, Doug Lee wrote: You said simply to try sysutils/portmanager. I must have really made a mess here: Kirk 3# portmanager -s - --- PMGRrStatus 0.2.7_0 info: Creating inital data bases - --- Segmentation fault (core dumped) Kirk 3# gdb /usr/local/bin/portmanager portmanager.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd... (no debugging symbols found)... Core was generated by `portmanager'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols found)... done. Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 (gdb) bt #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806e618 in PMGRrAddDependencies () from /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () #5 0x8048862 in PMGRrShowLeaves () #6 0x80487a2 in PMGRrShowLeaves () (gdb) I had no errors installing portmanager, though I think I had to use make install. On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: On Friday 25 February 2005 09:26 pm, Doug Lee wrote: System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: portinstall lang/perl5.8 and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. Try sysutils/portmanager Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portinstall/upgrade stops with no error
On Sat, Mar 12, 2005 at 01:58:58PM -0800, Michael C. Shultz wrote: On Saturday 12 March 2005 12:16 pm, Doug Lee wrote: You said simply to try sysutils/portmanager. I must have really made a mess here: Kirk 3# portmanager -s - --- PMGRrStatus 0.2.7_0 info: Creating inital data bases - --- Segmentation fault (core dumped) Kirk 3# gdb /usr/local/bin/portmanager portmanager.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-unknown-freebsd... (no debugging symbols found)... Core was generated by `portmanager'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols found)... done. Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 (gdb) bt #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806e618 in PMGRrAddDependencies () from /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () #5 0x8048862 in PMGRrShowLeaves () #6 0x80487a2 in PMGRrShowLeaves () (gdb) I had no errors installing portmanager, though I think I had to use make install. On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: On Friday 25 February 2005 09:26 pm, Doug Lee wrote: System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: portinstall lang/perl5.8 and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. Try sysutils/portmanager Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike Yes I ran it as root (hence the # in Kirk 3#), but I'm now doing a cvsup of ports and will try an upgrade of portmanager anyway. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com Pray devoutly, but hammer stoutly. --Sir William G. Benham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portinstall/upgrade stops with no error
Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike Yes I ran it as root (hence the # in Kirk 3#), but I'm now doing a cvsup of ports and will try an upgrade of portmanager anyway. If it still cores, build with WITH_DEBUG=yes and send me the core please if you are on a X86 system. If not the output of gdb /usr/local/bin/portmanager ./portmanager.core bt would be very helpful. Thanks -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Portinstall/upgrade stops with no error
System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: portinstall lang/perl5.8 and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Portinstall/upgrade stops with no error
On Friday 25 February 2005 09:26 pm, Doug Lee wrote: System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: portinstall lang/perl5.8 and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. Try sysutils/portmanager ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]