Broken make distribution on amd64?
Kris Moore
kris at pcbsd.org
Mon Nov 29 16:05:09 UTC 2010
On Fri, Nov 26, 2010 at 05:22:06PM +0200, Kostik Belousov wrote:
> On Fri, Nov 26, 2010 at 09:59:09AM -0500, Kris Moore wrote:
> >
> > For about 2 weeks now I've been seeing failures when trying to spin ISOs
> > of CURRENT (amd64) and using "make distribution" specifically:
> >
> > --------------------
> > pwd_mkdb -L -i -p -d /usr/pcbsd-build90/buildworld/etc /usr/pcbsd-build90/buildworld/etc/master.passwd
> > *** Signal 6
> >
> > Stop in /usr/pcbsd-build90/fbsd-source/9.0/etc.
> > *** Error code 1
> >
> > ---------------------
> >
> > It looks like the pwd_mkdb command is core dumping every time:
> >
> > pwd_mkdb -L -i -p -d /usr/pcbsd-build90/buildworld/etc /usr/pcbsd-build90/buildworld/etc/master.passwd
> > Abort (core dumped)
> >
> > Whats odd is that with the same source tree, I'm spinning ISOs of i386 no
> > problem. I've tried rebuilding the world / pwd_mkdb command with the latest
> > source a few times, and no luck so far.
> >
> > Is anybody else seeing this on amd64? Here's the core file:
> >
> > http://www.pcbsd.org/~kris/pwd_mkdb.core.gz
> The core file is only useful for somebody who has a binary and full set
> of dsos that were loaded into the image.
>
> I think you should start with build containing debug symbols and show
> us the full backtrace from gdb.
Ok, I was able to figure this out the cause of the crash. I had a number of entries in /etc/shells
from some odd port builds I had been doing. When I cleaned this up, the core dump went away.
I haven't had a chance to look much farther than this, but somewhere in there it doesn't like
/etc/shells with lots of entries :) If somebody wants to look into this great, otherwise sorry
about the noise.
--
Kris Moore
PC-BSD Software
More information about the freebsd-current
mailing list