From owner-freebsd-stable@freebsd.org Mon Jul 6 20:42:51 2015 Return-Path: Delivered-To: freebsd-stable@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 D9D07995935 for ; Mon, 6 Jul 2015 20:42:51 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) (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 7D0361E17 for ; Mon, 6 Jul 2015 20:42:51 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by wgck11 with SMTP id k11so150571583wgc.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=K9wX6Oi3l4GdjYLn27XsMAPnW1dMdoJpnTbcLeYVxtcEPZqiL+yx+Crfc7peZ3lwGv reggvJrDas0/y0XsSKTwA1wUjhwoz5JWNHeB9lomPBYx7sXN32KNEI4azSYJxqPeLDst iw/u2//8UEOsMe9rxW7KdmsIgtun0YOckX2yLjSE+CPsotnmb3ICn1SjIRcweGCxWHhe 3W46q+2VFPKFgQWKGOVgyC7lFyl1moEHqorgpq6rc65T4ZoC8eaQCreh/JQsqIAjst3L OrR/W05jbTNrDPjlhTPY+eF+wTaRPwy2p969NZRMSbD4o06Gznwe+7j6KupkZ8yq9A8h Wa2Q== X-Gm-Message-State: ALoCoQkcpv1dX3c5KSU3TPyhCuv0eRIDXRoYL2tfZFfH3ShyAPiOAYHaEhhWjD343SW5+3NOyXDA 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-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code 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