tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Issue with pkg_info on NetBSD 5.1/x64

I'm having a weird issue with pkg_info, with pkgsrc 2011Q3, on NetBSD
5.1/x64.  When I try to install the 'xfce4-extras' meta-pkg, I get the

$ make install
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg
===> Installing dependencies for xfce4-extras-4.6.1nb12
The following variables will affect the build process of this package,
xfce4-extras-4.6.1nb12.  Their current value is shown below:

        * FAM_DEFAULT = fam
        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * FAMBASE (defined, but empty)
        * FAM_TYPE = fam
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency intltool>=0.40.0: found intltool-0.41.1
=> Build dependency gmake>=3.81: found gmake-3.82nb2
=> Build dependency perl>=5.0: found perl-5.14.2nb1
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency x11-links>=0.66: found x11-links-0.68
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.6
=> Full dependency ristretto-[0-9]*: found ristretto-0.0.22nb6
=> Full dependency glib2>=2.28.6nb3: found glib2-2.28.8
=> Full dependency gtk2+>=2.24.4nb1: found gtk2+-2.24.6
[1]   Segmentation fault (core dumped) /usr/sbin/pkg_in...
*** Error code 139

make: stopped in /usr/pkgsrc/meta-pkgs/xfce4-extras

When I look at the core file, with gdb, I see:

$ gdb /usr/sbin/pkg_info ./pkg_info.core
GNU gdb 6.5
Copyright (C) 2006 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 "x86_64--netbsd"...(no debugging symbols found)

Core was generated by `pkg_info'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000040c10d in pkg_match ()
(gdb) backtrace
#0  0x000000000040c10d in pkg_match ()
#1  0x00007f7ffdffa000 in ?? ()
#2  0x00007f7ffde04bf0 in ?? ()
#3  0x0000000000000006 in ?? ()
#4  0x00007f7ffde03e0d in ?? ()
#5  0x00007f7ffd48fdf9 in ?? ()
#6  0x00007f7ffdffa800 in ?? ()
#7  0x0000000000000000 in ?? ()
(gdb) frame 0
#0  0x000000000040c10d in pkg_match ()
(gdb) frame 1
#1  0x00007f7ffdffa000 in ?? ()
(gdb) quit

So, there are really no usable symbols that I have found, in pkg_info.
 I have tried both the 'pkg_info' binary that comes with NetBSD 5.1,
and the one installed by bootstrapping pkgsrc, and both behave the
same way.

Any suggestions?  My first thought is bad memory, but I've used the
memory and the other system hardware quite a bit, with no other

- Alex

Home | Main Index | Thread Index | Old Index