Question on bug

2007-02-27 Thread Tmp List Guy

Hello everyone!
Hopefully this is the right area for posting this problem.  Here it is:
I've been running freebsd servers for some time now and a bug started 
appearing roughly the time that the new /usr/ports/ports-mgmt tree 
appeared and the old /usr/ports/sysutils was removed.  I've been trying 
to fix this for days, but I'm not sure how to and I think it might be a 
bug.

Here is what I do to get a bug:
server1: cd /usr/ports/ports-mgmt/portupgrade
server1: make deinstall package

A new package gets created in /usr/ports/packages/All.

server1: scp /usr/ports/packages/All/portupgrade-2.2.2_4,2.tbz 
server2:/usr/ports/packages/All


I then go to server2
server2: cd /usr/ports/packages/All
server2: pkg_add -v portupgrade-2.2.2_4,2.tbz

Here's the output I get:
extract: Package name is portupgrade-2.2.2_4,2
extract: CWD to /usr/local
extract: /usr/local/man/man1/pkg_deinstall.1.gz
extract: /usr/local/man/man1/pkg_fetch.1.gz
extract: /usr/local/man/man1/pkg_glob.1.gz
extract: /usr/local/man/man1/pkg_sort.1.gz
extract: /usr/local/man/man1/pkgdb.1.gz
extract: /usr/local/man/man1/portcvsweb.1.gz
extract: /usr/local/man/man1/portsclean.1.gz
extract: /usr/local/man/man1/portsdb.1.gz
extract: /usr/local/man/man1/portupgrade.1.gz
extract: /usr/local/man/man1/portversion.1.gz
extract: /usr/local/man/man5/pkgtools.conf.5.gz
extract: /usr/local/man/man1/pkg_which.1.gz
extract: /usr/local/man/man1/portinstall.1.gz
extract: /usr/local/man/man1/ports_glob.1.gz
extract: execute '/bin/mkdir -p /usr/local/lib/compat/pkg'
extract: /usr/local/sbin/pkg_deinstall
extract: /usr/local/sbin/pkg_fetch
extract: /usr/local/sbin/pkg_glob
extract: /usr/local/sbin/pkg_sort
extract: /usr/local/sbin/pkg_which
extract: /usr/local/sbin/pkgdb
extract: /usr/local/sbin/portcvsweb
extract: /usr/local/sbin/portinstall
extract: /usr/local/sbin/ports_glob
extract: /usr/local/sbin/portsclean
extract: /usr/local/sbin/portsdb
extract: /usr/local/sbin/portupgrade
extract: /usr/local/sbin/portversion
extract: /usr/local/lib/ruby/site_ruby/1.8/pkg.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgdbtools.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgmisc.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgtsort.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/portinfo.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/ports.rb
extract: /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb
extract: /usr/local/etc/pkgtools.conf.sample
extract: execute '[ -f /usr/local/etc/pkgtools.conf ] || cp 
/usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf'

extract: /usr/local/etc/pkgtools.status-pkg.sh
extract: /usr/local/share/zsh/site-functions/_pkgtools
extract: /usr/local/share/examples/pkgtools/bash/complete.sample
extract: /usr/local/share/examples/pkgtools/tcsh/complete.sample
extract: /usr/local/share/doc/pkgtools/ChangeLog
extract: /usr/local/share/doc/pkgtools/NEWS
extract: /usr/local/share/doc/pkgtools/README
extract: execute '/sbin/ldconfig -m /usr/local/lib/compat/pkg'
extract: CWD to (null)
Segmentation fault (core dumped)

Note that it is trying to CWD into a null directory and that causes the 
core dump.


The same thing happens on my dovecot packages as well.  I'm sure that 
others have the same problem.  I don't have the option to build the port 
on the remote system, otherwise I would do that.  I have to use a 
package to perform the task.  Is this a bug or something in my 
environment that I am not seeing?


My system is a 6.0-RELEASE FreeBSD system.

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


Re: Mozilla 1.3 port problem - general question about bug report

2003-06-11 Thread dick hoogendijk
On 11 Jun kusa wrote:
 
 I have a portudate problem on mozilla-1.3.1,2 after I updated my ports
 by cvs : I can't get it to recognize all the dependencies and it
 throws me this error after checking a bunch of things that are marked
 as ok

After the portupgrade, did you do a
# cd /usr/ports
# make index
# pkgdb-u

-(I don't like pkgdb -uU which is supposed to do the same, but gives
diff results..)-

After that I would begin with a portupgrade -rR portupgrade
-(the base of all things.. ;-)-

You probably will loose the next error msgs..

 *** Your version of pkg-config is too old. You need version 0.9.0 or
 newer.  *** See http://www.freedesktop.org/software/pkgconfig

And because mozilla depends on a lot of things other than itself I would
recomment a portupgrade -rR mozilla if you have mozilla already
installed. That way you can be sure that *all dependancies* are met.
Take some time off during compile.. ;)
If mozilla is not installed yet a portinstall mozilla handles it all.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]