From owner-freebsd-current@freebsd.org Mon Jan 4 20:08:46 2016 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 5E3BEA62273 for ; Mon, 4 Jan 2016 20:08:46 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 36A3A1E41; Mon, 4 Jan 2016 20:08:46 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x241.google.com with SMTP id 78so20604189pfw.0; Mon, 04 Jan 2016 12:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SVbgPKs1w7W73k0trhwRgf89NWX8XF3xkswRboWDMP8=; b=GpfkxDaqo6m6qqpKCZniyk1u+twjxE2ZOP4jDvVHaV+f1WTzq38qDi4V/PlBGgf/Sy OenKVdWVCvIBahEH1Re+mJ6tIaeWKUJXvVMR3SB9xsPQwlZ2pzWHljk8QwDpagU/zBve CHMvCSqf4U6VN1hDEDOgqU0hgqcM3kQVb5Z1o6iZxdPRNwEVXv3Db54UMk6US2EZjiWy va58nO7vTjM+4I7fCTrgAfWXxbFF+ry4OH18xWKzZ8HQZJ5zIiDtmMc03pyWWkuQbDDH eElkKgvn0xxEYY4hjWwIMON02c4zV7jeEmmEubNY6rhpE9rJH+R2Hgw5j+06aTqOqrWv Q0rg== X-Received: by 10.98.43.204 with SMTP id r195mr59363565pfr.8.1451938125868; Mon, 04 Jan 2016 12:08:45 -0800 (PST) Received: from ?IPv6:2601:601:800:126d:cc07:42b8:cc49:8dd6? ([2601:601:800:126d:cc07:42b8:cc49:8dd6]) by smtp.gmail.com with ESMTPSA id q87sm85302045pfa.45.2016.01.04.12.08.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jan 2016 12:08:44 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there] From: NGie Cooper In-Reply-To: <091C7193-4EDD-4AE4-AC52-FD62B6934440@gmail.com> Date: Mon, 4 Jan 2016 12:08:43 -0800 Cc: Baptiste Daroussin , Dimitry Andric , Jilles Tjoelker Content-Transfer-Encoding: quoted-printable Message-Id: <30640BF0-84F3-446D-808E-547B04E9EA53@gmail.com> References: <091C7193-4EDD-4AE4-AC52-FD62B6934440@gmail.com> To: FreeBSD CURRENT X-Mailer: Apple Mail (2.2104) 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, 04 Jan 2016 20:08:46 -0000 > On Jan 4, 2016, at 11:52, NGie Cooper wrote: >=20 > Hi, > I=E2=80=99ve been trying to run `make tinderbox` on = universe11a.freebsd.org for the past couple of days and it=E2=80=99s not = working because of this error: >=20 > $ svn diff Makefile > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile (revision 293170) > +++ Makefile (working copy) > @@ -460,10 +460,9 @@ > universe_kernconfs: > .for kernel in ${KERNCONFS} > TARGET_ARCH_${kernel}!=3D cd ${KERNSRCDIR}/${TARGET}/conf && \ > - config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null = | \ > - grep -v WARNING: | cut -f 2 > + config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null > .if empty(TARGET_ARCH_${kernel}) > -.error "Target architecture for ${TARGET}/conf/${kernel} unknown. = config(8) likely too old." > +.warning "Target architecture for ${TARGET}/conf/${kernel} unknown. = config(8) likely too old." > .endif > universe_kernconfs: universe_kernconf_${TARGET}_${kernel} > universe_kernconf_${TARGET}_${kernel}: .MAKE > $ make -VKERNCONFS tinderbox -k > make: "/scratch/tmp/ngie/svn/Makefile" line 463: warning: "cd = /scratch/tmp/ngie/svn/sys/amd64/conf && config -m = /scratch/tmp/ngie/svn/sys/amd64/conf/GENERIC.hints 2> /dev/null" = returned non-zero status > make: "/scratch/tmp/ngie/svn/Makefile" line 465: warning: "Target = architecture for amd64/conf/GENERIC.hints unknown. config(8) likely too = old." > make: "/scratch/tmp/ngie/svn/Makefile" line 463: warning: "cd = /scratch/tmp/ngie/svn/sys/amd64/conf && config -m = /scratch/tmp/ngie/svn/sys/amd64/conf/Makefile 2> /dev/null" returned = non-zero status > make: "/scratch/tmp/ngie/svn/Makefile" line 465: warning: "Target = architecture for amd64/conf/Makefile unknown. config(8) likely too = old." > GENERIC GENERIC-NODEBUG GENERIC.hints MINIMAL Makefile >=20 > This seems to workaround the issue, but it definitely doesn=E2=80=99= t solve the underlying cause: >=20 > $ svn diff Makefile > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Makefile (revision 293137) > +++ Makefile (working copy) > @@ -454,8 +454,8 @@ > _THINNER=3Dxargs grep -L "^.NO_UNIVERSE" || true > .endif > KERNCONFS!=3D cd ${KERNSRCDIR}/${TARGET}/conf && \ > - find [A-Z0-9]*[A-Z0-9] -type f -maxdepth 0 \ > - ! -name DEFAULTS ! -name NOTES | \ > + find -E . -regex './[A-Z0-9-]+' -type f \ > + ! -name DEFAULTS ! -name NOTES -exec basename {} \; | = \ > ${_THINNER} > universe_kernconfs: > .for kernel in ${KERNCONFS} >=20 > Oddly enough, this is only an issue with /bin/sh on universe11a = (hat tip to bdrewery for the suggestion): >=20 > $ uname -a > FreeBSD fbsd11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 = r292818+9b36ba26(isilon-atf-rt): Mon Dec 28 15:32:48 PST 2015 = ngie@fbsd11:/usr/obj/usr/src/git/sys/GENERIC-NODEBUG amd64 > $ (cd sys/amd64/conf && echo [A-Z0-9]*[A-Z0-9]) > DEFAULTS GENERIC GENERIC-NODEBUG GENERIC-OFED GENERIC-ZFS LINT = LINT-NOINET LINT-NOINET6 LINT-NOIP LINT-VIMAGE MINIMAL NOTES >=20 > $ uname -a > FreeBSD universe11a.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 = r293115: Sun Jan 3 20:25:04 UTC 2016 = peter@build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11 amd64 > $ (cd sys/amd64/conf && echo [A-Z0-9]*[A-Z0-9]) > DEFAULTS GENERIC GENERIC-NODEBUG GENERIC.hints Makefile MINIMAL NOTES >=20 > ref11-amd64.freebsd.org appears to be affected as well: >=20 > $ (cd sys/amd64/conf && echo [A-Z0-9]*[A-Z0-9]) > DEFAULTS GENERIC GENERIC-NODEBUG GENERIC.hints LINT LINT-NOINET = LINT-NOINET6 LINT-NOIP LINT-VIMAGE Makefile MINIMAL NOTES > $ uname -a > FreeBSD ref11-amd64.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 = r293115: Sun Jan 3 20:25:04 UTC 2016 = peter@build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11 amd64 >=20 > It looks like a libc problem though, because I=E2=80=99ve run into = this issue with both /bin/sh and bash (my default login shell). I=E2=80=99= m not sure why this isn=E2=80=99t reproing on my VM (yet). >=20 > This doesn=E2=80=99t repro in universe10a.freebsd.org (another jail on = the same machine I think=E2=80=A6). >=20 > It was working yesterday on ref11-amd64.freebsd.org before the system = was upgraded (it was running October sources), and wasn=E2=80=99t = working on universe11a.freebsd.org yesterday (it was running December = sources yesterday). delphij@ pointed me in the right direction (thanks :)..). Globbing = expressions seems extremely broken with LANG set to en_US.UTF-8 [at = least]. Thanks! -NGie $ echo $LANG en_US.UTF-8 $ hostname universe11a.freebsd.org $ (unset LANG; cd sys/amd64/conf && echo [A-Z0-9]*[A-Z0-9]) DEFAULTS GENERIC GENERIC-NODEBUG MINIMAL NOTES=