From owner-freebsd-current@freebsd.org Mon Jul 6 20:42:51 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D921F995934 for ; Mon, 6 Jul 2015 20:42:51 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D0E61E18 for ; Mon, 6 Jul 2015 20:42:51 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by wiwl6 with SMTP id l6so295862919wiw.0 for ; Mon, 06 Jul 2015 13:42:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=VJU14vaMF7vwu8ZcZ7BS3vT7xvO/guHJbQJZIlEVIas=; b=G1vGyu9PXNkHnTJaW2kpT8ysnjTo7R6gsJrgpNhXtfCexkXU5VoFRP3PAIEkrYSF+h O7IWKLBq7uMOcBhmLRv4bWofc370Ytmcdz+ZCLURqkRSzK/lZGy+P4uCPWu9T2YdWiQ6 r4um/0eGub5ftPIMU0rniX9uC/Jws+UHsQJIqhbi9s/PzeZYPplV6MVtkV52cp1xeBkq Ufv3e3uiqcAAA7bI39Nc4LYTV2gw7mMyR/oog5bnl5Mh2HAds81eApyqMvrYLxalRaRx 9M2ebisaItWDLeTkh6eeJWsR0UuVlUfVU+HAzBFxlIFUdfhsT6qBou+Vy4YXKWVOgDB0 IeFA== X-Gm-Message-State: ALoCoQmV8attAVMJWsDBRtsI3YodAxUypwzM2dJYj13v89CIHkiaXDe1xsxLCRJ4rC7LRCaqfK/3 MIME-Version: 1.0 X-Received: by 10.194.71.226 with SMTP id y2mr1464516wju.34.1436215363178; Mon, 06 Jul 2015 13:42:43 -0700 (PDT) Received: by 10.194.81.106 with HTTP; Mon, 6 Jul 2015 13:42:43 -0700 (PDT) In-Reply-To: <29110.1436214362@chaos> References: <29110.1436214362@chaos> Date: Mon, 6 Jul 2015 22:42:43 +0200 Message-ID: Subject: Re: Parallel release failed on pwd_mkdb From: Oliver Pinter To: "Simon J. Gerraty" Cc: FreeBSD-Current , FreeBSD-Stable Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 20:42:51 -0000 On Mon, Jul 6, 2015 at 10:26 PM, Simon J. Gerraty wrote: > Oliver Pinter wrote: >> We got this build failure, when two release make release running in parallel: > > Can you elaborate what you mean by "two release make release" ? Two concurrent make release would be the previous statement. > Do you mean two separate builds running in the same tree at the same > time using the same DESTDIR? We building from separated git repos. Every "target" has an it's own, and we don't specify custom DESTDIR, just issue a simple make real-release in the ${SRCTOP}/release directory. > >> >>> stage 4.4: building everything >> -------------------------------------------------------------- >> pwd_mkdb: /var/tmp/temproot/etc/pwd.db.tmp to >> /var/tmp/temproot/etc/pwd.db: No such file or directory >> *** Error code 1 > > The pwd_mkdb command in etc uses $DESTDIR/etc - it obviously assumes > that is unique. I tracked down the issue to the ${SRCTOP}/release/scripts/mm-mtree.sh file, which called without release specific temproot argument. https://reviews.freebsd.org/D3002