From owner-freebsd-current@freebsd.org Tue Nov 17 11:04:40 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 C3F0AA2FE94 for ; Tue, 17 Nov 2015 11:04:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 666421E97; Tue, 17 Nov 2015 11:04:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wmww144 with SMTP id w144so20275964wmw.0; Tue, 17 Nov 2015 03:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=+WfF6dzZ7Muh2rQ/GeQaLef2hjMrK0p7+eevM+dPUqM=; b=SK4MohLtj5U9o1gUWftYAafUUTC1jJHHF8fveT2KcWNhaDmkwsmxLfSOlbeJ/FpgKA l0oQC/GvIFA7k/Ea0lhFbd02xmlBA9g39TMpwUSVDWBbMTIyjOIwMHIKkEYUt2Xz3LVu 8kX6Qf/GLwm4e/WH0toHsp6bnmETYtdGqd7ucZj2Xn2Oa2k0Lz0VY/8CR9fyW5miuEmk WkpkinkGpjzjOcAnyd7RjG98Gk5dh/5y4e8jYG9qlvg4QkRQ7oszVEmJx9Yo+I7luFlm KByoVhIOrt39MsQkhthzD6D4RJHP4sWuXDizljQ+F90KmOR1R6zJQ1bdZysW45cNwGkM TOBA== X-Received: by 10.194.95.65 with SMTP id di1mr50147623wjb.134.1447758277665; Tue, 17 Nov 2015 03:04:37 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id n127sm12097864wmf.12.2015.11.17.03.04.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 03:04:36 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 17 Nov 2015 12:04:34 +0100 From: Baptiste Daroussin To: NGie Cooper Cc: freebsd-current Current , Bryan Drewery Subject: Re: make installworld failing with locales due to broken symlinks Message-ID: <20151117110433.GC59189@ivaldir.etoilebsd.net> References: <94D9C31A-2FDF-4B5C-99AE-847FED0DE859@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0" Content-Disposition: inline In-Reply-To: <94D9C31A-2FDF-4B5C-99AE-847FED0DE859@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Tue, 17 Nov 2015 11:04:41 -0000 --tqI+Z3u+9OQ7kwn0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 15, 2015 at 05:57:52PM -0800, NGie Cooper wrote: > Hi, > I run into this error when running `make installworld` with a world inst= alled prior and during the projects/collation merge to head =E2=80=94 reaso= n is that the target for the symlink doesn=E2=80=99t exist. This might be f= allout from recent build changes, or a side effect of the broken symlinks= =E2=80=A6 > Thanks, > -NGie >=20 > install: //usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE: No such file or dir= ectory > *** Error code 71 >=20 > Stop. > make[5]: stopped in /usr/src/git/share/ctypedef > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/git/share > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src/git > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src/git > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src/git > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src/git > $ ls -l /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE > lrwxr-xr-x 1 root wheel 27 Nov 1 16:24 /usr/share/locale/ca_IT.ISO885= 9-1/LC_CTYPE -> ../la_LN.ISO8859-1/LC_CTYPE > $ readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE > /usr/share/locale/la_LN.ISO8859-1 > $ ls `readlink -f /usr/share/locale/ca_IT.ISO8859-1/LC_CTYPE` > ls: /usr/share/locale/la_LN.ISO8859-1: No such file or directory There is a bug in install(1) basically it tries to follow symlinks when installing a file instead of replacing the symlink with the said file. In the current case the problem is la_LN.ISO8859-1 has been removed before,= so the previous symlink is a dead symlink meaning install(1) fails to open it = and die here is a proposal for a fix: https://reviews.freebsd.org/D4191 Best regards, Bapt --tqI+Z3u+9OQ7kwn0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlZLCcEACgkQ8kTtMUmk6EyfWACeMLk0/ftdfS8zYezz1tPRnbqa /u4AoKUPOtYRyos33qEZEgtQ47/Yd6Ll =h/9p -----END PGP SIGNATURE----- --tqI+Z3u+9OQ7kwn0--