From owner-freebsd-current@FreeBSD.ORG Sun May 3 19:11:58 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01D8B8BB; Sun, 3 May 2015 19:11:58 +0000 (UTC) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.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 CA0A51DAB; Sun, 3 May 2015 19:11:56 +0000 (UTC) Received: by pacyx8 with SMTP id yx8so142149836pac.1; Sun, 03 May 2015 12:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=hGavoTGkfi2d8pmhpUOFK9DEaZwXCAN47ALHj6yds78=; b=IfRYo9P36JIkMLmhQvTNLu0vfPi2HSuAceANSPQ/hMZvFo2Q+alUYgSa86q44USFhn o6cxM1hkfHaAOiDlFT6LXoTczvv2zOcN3DEvV5Kc6NdAAyFxilEplYq4eqU/VZGyvESE ALO/nOEq5S7i2L1xS6kNQL3rWQRC0ITooZVrqmg3TaK8rowj1U4MQZSPHDKppqnM3gfD qimr9JZgV2mzQI6FILHGpGCvdzpLvYakZcoQb8Ljo+PskeGA7Taku9m8QvprxukmnCeD ZnMCFGfn1UZ+bXJfmI3DUZYDONR8+1eaIpMZW1ezw51sKwFxr3t5ivN7WQmyvDsOVLWs sMXw== X-Received: by 10.66.177.238 with SMTP id ct14mr36172883pac.121.1430680265221; Sun, 03 May 2015 12:11:05 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:b875:2fa7:b346:90ff? ([2601:8:ab80:7d6:b875:2fa7:b346:90ff]) by mx.google.com with ESMTPSA id bs4sm10571628pbc.3.2015.05.03.12.11.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 03 May 2015 12:11:04 -0700 (PDT) Subject: Re: mergemaster failing with read-only /usr/src Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_89736F57-F704-42E0-9C68-23F8CEB8414A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Garrett Cooper In-Reply-To: <20150503155539.GA43387@lyxys.ka.sub.org> Date: Sun, 3 May 2015 12:11:03 -0700 Cc: Jilles Tjoelker , freebsd-current@freebsd.org, Will Andrews , Garrett Cooper Message-Id: References: <20150503120349.GA42415@lyxys.ka.sub.org> <20150503125325.GA70576@stack.nl> <20150503155539.GA43387@lyxys.ka.sub.org> To: Wolfgang Zenker X-Mailer: Apple Mail (2.1878.6) 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: Sun, 03 May 2015 19:11:58 -0000 --Apple-Mail=_89736F57-F704-42E0-9C68-23F8CEB8414A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On May 3, 2015, at 8:55, Wolfgang Zenker = wrote: > * Jilles Tjoelker [150503 14:53]: >> On Sun, May 03, 2015 at 02:03:49PM +0200, Wolfgang Zenker wrote: >>> I'm trying to update this system: >>> FreeBSD pomona 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Mon Apr 13 = 03:48:04 CEST 2015 wolfgang@pomona:/usr/obj/usr/src/sys/UBQTERL mips >=20 >>> Source for that was probably from about April 11th. I sucessfully = built >>> world and kernel, ran mergemaster -p and make installworld on rev = 282299 >>> but then mergemaster fails with: >=20 >>> # mergemaster -iFU >=20 >>> *** Creating the temporary root environment in /var/tmp/temproot >>> *** /var/tmp/temproot ready for use >>> *** Creating and populating directory structure in /var/tmp/temproot >=20 >>> /bin/sh: cannot create routing_test.tmp: Read-only file system >=20 >>> *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to >>> the temproot environment >=20 >>> Filesystems are mounted like this: >>> # mount >>> /dev/da0s2a on / (ufs, local, noatime) >>> devfs on /dev (devfs, local, multilabel) >>> /dev/da0s1 on /boot (msdosfs, local) >>> vulcan.lyx:/usr/src11 on /usr/src (nfs, read-only) >>> vulcan.lyx:/var/obj/11/mips64 on /usr/obj (nfs) >=20 >>> This used to work before. Any ideas, any further info I could = provide? >=20 >> This broke after a test was added for etc/rc.d/. Without special = code, >> this causes these tests to be built and installed as part of >> mergemaster/etcmerge, like other parts of etc. >=20 >> As a workaround you can do: >> echo make -C etc obj all | make buildenv >> on the build machine after make buildworld. Then mergemaster will = work, >> even with a read-only /usr/obj. >=20 > Well, I do build on that machine directly, and /usr/obj is mounted = r/w, > only /usr/src is a read-only mount. Trying the workaround on the = machine > istself does not help, unfortunately: while the "make buildenv" does > work without a problem, mergemaster still fails in the same way. I was going to move it to etc/tests soon since it wasn=92t really = testing /etc/rc.d/, but it makes more sense (with the issue above), just = to create .../tests/etc, and move things there. I wish etc/ wasn=92t = such a special butterfly... --Apple-Mail=_89736F57-F704-42E0-9C68-23F8CEB8414A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVRnLIAAoJEMZr5QU6S73eAlEIALh7FmTeIA1Np5GbgX6fhaUn hpuz7XGp9Fbsfrh6pKBeZ4sFYvTK9uDF2XAxo4sLFNDeOSDGi+9yzmR0/FKYlKz4 AWdxxlwNhRc/o1xglGebbbAGKRG+sOZcc88KWVPIALPHURTfvdixBljLOvgr4vkD 9I8MdgququYL0GI/W+51xeyRqVs5rB4VEflP8/mvlQ26+ZxAaX5BCtKzEaPF5deT rgLyEXFieVD/6mQ43ykhwHlzPV89GypIyEfMowJ6211dum2vj/YuNdc0LD1GMYBD eIruXkRrHWIC4kSD2nR+STFPFoMQd3nU1IMqXe6rDkfvQDnnywTx4Gh9D4dErE0= =7NkH -----END PGP SIGNATURE----- --Apple-Mail=_89736F57-F704-42E0-9C68-23F8CEB8414A--