From owner-freebsd-current@freebsd.org Mon Nov 16 03:08:21 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 96AE6A2FE6F for ; Mon, 16 Nov 2015 03:08:21 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (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 50A841F76; Mon, 16 Nov 2015 03:08:21 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: by ykdr82 with SMTP id r82so218553975ykd.3; Sun, 15 Nov 2015 19:08:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZakKw2yB3IQHsneX+Ao+UvinAURyC36y1442ljFy8jc=; b=tjC4WQPa5Y67g9ErCcnc+KNjSaO5jNVT5o9b1nGATnZ57tvVT8tlzHiczhJ04E0yzh Q7+kLshG2mHIDMgvLYik1QwcFriwBXHTBOmfua2/6mZ9LGQjAHwCcl1U9r/c+S615zjo tZ3WXhIXt04a1BAr0dk0jq1/FMS6KkaSBB0xatjeHr3Q/+/rXMHktQOyG5BKmB1nzOda tTlp1HS+xDcZ6Aq+uH1FXVZSjZ9JtTeHagMyQoNPLSf2YwNxj8epNqGgYrro2Cf52UHX wmaD6/ba5ua2Q8huLxtIKYEu6zALUh7XbM5rs7PxvCa5kBcQqpl+h3TTF/FQQk5yjgR0 1xjg== MIME-Version: 1.0 X-Received: by 10.13.196.193 with SMTP id g184mr32713828ywd.293.1447643299224; Sun, 15 Nov 2015 19:08:19 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.37.95.9 with HTTP; Sun, 15 Nov 2015 19:08:19 -0800 (PST) In-Reply-To: References: <94D9C31A-2FDF-4B5C-99AE-847FED0DE859@gmail.com> Date: Sun, 15 Nov 2015 19:08:19 -0800 X-Google-Sender-Auth: 7yz4z6GKbXecLAjls4biH-kREk0 Message-ID: Subject: Re: make installworld failing with locales due to broken symlinks From: Craig Rodrigues To: freebsd-current Current Cc: Bryan Drewery , Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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, 16 Nov 2015 03:08:21 -0000 On Sun, Nov 15, 2015 at 6:27 PM, Craig Rodrigues wrote: > On Sun, Nov 15, 2015 at 5:57 PM, NGie Cooper > wrote: > >> $ 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 >> > > > I built the latest world, and then did the following: > > rm -fr /tmp/testdir > mkdir /tmp/testdir > > make installworld DESTDIR=/tmp/testdir > > cd /tmp/testdir/usr/share/locale > for f in $(find . -type l) ; do [ ! -e $f ] && echo "$f does not exist"; > done > > ./zh_CN.GB2312/LC_NUMERIC does not exist > ./zh_CN.GB2312/LC_MONETARY does not exist > ./zh_CN.GB2312/LC_COLLATE does not exist > ./zh_CN.GB2312/LC_CTYPE does not exist > ./zh_CN.GB2312/LC_MESSAGES does not exist > ./zh_CN.GB2312/LC_TIME does not exist > ./zh_CN.eucCN/LC_MESSAGES does not exist > ./zh_CN.eucCN/LC_NUMERIC does not exist > ./zh_CN.eucCN/LC_TIME does not exist > ./zh_CN.eucCN/LC_CTYPE does not exist > ./zh_CN.eucCN/LC_MONETARY does not exist > ./zh_CN.eucCN/LC_COLLATE does not exist > ./zh_HK.UTF-8/LC_NUMERIC does not exist > ./zh_HK.UTF-8/LC_MONETARY does not exist > ./zh_HK.UTF-8/LC_COLLATE does not exist > ./zh_HK.UTF-8/LC_MESSAGES does not exist > ./zh_HK.UTF-8/LC_TIME does not exist > ./zh_HK.UTF-8/LC_CTYPE does not exist > ./zh_CN.GBK/LC_CTYPE does not exist > ./zh_CN.GBK/LC_NUMERIC does not exist > ./zh_CN.GBK/LC_MESSAGES does not exist > ./zh_CN.GBK/LC_COLLATE does not exist > ./zh_CN.GBK/LC_MONETARY does not exist > ./zh_CN.GBK/LC_TIME does not exist > ./zh_CN.GB18030/LC_COLLATE does not exist > ./zh_CN.GB18030/LC_MESSAGES does not exist > ./zh_CN.GB18030/LC_CTYPE does not exist > ./zh_CN.GB18030/LC_TIME does not exist > ./zh_CN.GB18030/LC_NUMERIC does not exist > ./zh_CN.GB18030/LC_MONETARY does not exist > ./zh_TW.UTF-8/LC_MESSAGES does not exist > ./zh_TW.UTF-8/LC_NUMERIC does not exist > ./zh_TW.UTF-8/LC_MONETARY does not exist > ./zh_TW.UTF-8/LC_TIME does not exist > ./zh_TW.UTF-8/LC_CTYPE does not exist > ./zh_TW.UTF-8/LC_COLLATE does not exist > ./zh_HK.Big5HKSCS/LC_MONETARY does not exist > ./zh_HK.Big5HKSCS/LC_NUMERIC does not exist > ./zh_HK.Big5HKSCS/LC_CTYPE does not exist > ./zh_HK.Big5HKSCS/LC_TIME does not exist > ./zh_HK.Big5HKSCS/LC_COLLATE does not exist > ./zh_HK.Big5HKSCS/LC_MESSAGES does not exist > ./zh_TW.Big5/LC_MONETARY does not exist > ./zh_TW.Big5/LC_CTYPE does not exist > ./zh_TW.Big5/LC_TIME does not exist > ./zh_TW.Big5/LC_NUMERIC does not exist > ./zh_TW.Big5/LC_MESSAGES does not exist > ./zh_TW.Big5/LC_COLLATE does not exist > > -- > Craig > > This fixed it for me: Index: Makefile =================================================================== --- Makefile (revision 290902) +++ Makefile (working copy) @@ -15,7 +15,7 @@ .for from to in ${ALIASES} .for f in ${LC_FILES} -SYMLINKS+= ${from}/${f} ${LOCALEDIR}/${to}/${f} +SYMLINKS+= ../${from}/${f} ${LOCALEDIR}/${to}/${f} .endfor .endfor -- Craig