Question on bug



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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Mantis package bombs
    ... piles of bug reports to deal with as some maintainers do. ... That's advice I've been giving volunteers ... installed the package last night and got it working (in a little over ...
    (Fedora)
  • Re: Patch Hell in Solaris 9
    ... >> IMHO SUN and others might want to look at, for example, Red Hat Linux. ... >> if a package has a bug, this package is updated to a newer version. ... > benefits of the fixes without making major changes. ...
    (comp.unix.solaris)
  • [REVS] Security holes... Who cares? (Security patches handling case study)
    ... Immediately after the publication of the bug and its ... subsequent fix we identified a set of vulnerable servers. ... The information in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
    (Securiteam)
  • Re: Mantis package bombs
    ... distro and a little other 400 maintainers. ... I do understand your hesitation of the package seems so full of bugs ... a bugzilla may be the most ... I've had one bug oustanding since ...
    (Fedora)
  • Re: Ubuntus disorganized behaviour
    ... It did not add MyPassWordSafe to any menu. ... MyPasswordSafe is from the Ubuntu Universe repository. ... To locate the package you can either ... a link for filing a bug: ...
    (Ubuntu)