Re: Broken make distribution on amd64?

From: Garrett Cooper <gcooper_at_FreeBSD.org>
Date: Mon, 29 Nov 2010 08:22:37 -0800
On Mon, Nov 29, 2010 at 8:05 AM, Kris Moore <kris_at_pcbsd.org> wrote:
> 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.

    Just for future reference, what were your build machine's src.conf
WITHOUT_* knobs?
Thanks,
-Garrett
Received on Mon Nov 29 2010 - 15:22:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC