Date: Tue, 27 Feb 2007 13:47:22 -0700 From: Tmp List Guy <tmplist01@gomoviepod.com> To: freebsd-bugbusters@freebsd.org Subject: Question on solving a bug (or if it is a bug) Message-ID: <45E498DA.4090704@gomoviepod.com>
next in thread | raw e-mail | index | archive | help
Hello everyone! 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E498DA.4090704>