Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
On 10 Feb 2016, at 01:03, Adrian Chaddwrote: > > Ok, so this has been broken since at least early January, right? > > Firstly - how do I get around it? ok, it looks like env LANG=C gets around it. > > Secondly - why hasn't this been fixed in -HEAD? Does this mean that > noone has been doing universe builds since this happened? I have ran more than a handful of universe builds, but I simply use LANG=C. -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
I see it was recently fixed in -HEAD. I'll try it again (without LANG=C) this afternoon. Thanks! -a On 10 February 2016 at 06:17, Dimitry Andricwrote: > On 10 Feb 2016, at 01:03, Adrian Chadd wrote: >> >> Ok, so this has been broken since at least early January, right? >> >> Firstly - how do I get around it? ok, it looks like env LANG=C gets around >> it. >> >> Secondly - why hasn't this been fixed in -HEAD? Does this mean that >> noone has been doing universe builds since this happened? > > I have ran more than a handful of universe builds, but I simply use LANG=C. > > -Dimitry > ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
Ok, so this has been broken since at least early January, right? Firstly - how do I get around it? ok, it looks like env LANG=C gets around it. Secondly - why hasn't this been fixed in -HEAD? Does this mean that noone has been doing universe builds since this happened? -adrain ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
On Mon, Jan 04, 2016 at 12:08:43PM -0800, NGie Cooper wrote: > > It looks like a libc problem though, because I’ve run into this > > issue with both /bin/sh and bash (my default login shell). I’m not > > sure why this isn’t reproing on my VM (yet). > > This doesn’t repro in universe10a.freebsd.org (another jail on the > > same machine I think…). > > It was working yesterday on ref11-amd64.freebsd.org before the > > system was upgraded (it was running October sources), and wasn’t > > 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]. > $ 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 Traditionally, ranges in bracket expressions like A-Z meant characters that collate between A and Z, inclusive. Although this used to be in POSIX and is widely implemented, it does not make much sense. POSIX.1-2008 leaves ranges undefined in locales other than the POSIX locale. Therefore, it is an option to disable collation for ranges and just compare character codes. The problem started to occur more often with the new collation code, which supports UTF-8 and uses CLDR's different collation order, but strange results from [A-Z] can be encountered in much older versions. Bash behaves similarly to sh, but supports 'shopt -s globasciiranges' to disable collation. In some sense this is strange, an option that needs to be enabled to provide the behaviour most people expect. Alternatively, the pattern could be rewritten to be locale-sensitive: [[:upper:][:digit:]]*[[:upper:][:digit:]] -- Jilles Tjoelker ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
> On Jan 4, 2016, at 11:52, NGie Cooperwrote: > > Hi, > I’ve been trying to run `make tinderbox` on universe11a.freebsd.org for > the past couple of days and it’s not working because of this error: > > $ svn diff Makefile > Index: Makefile > === > --- Makefile(revision 293170) > +++ Makefile(working copy) > @@ -460,10 +460,9 @@ > universe_kernconfs: > .for kernel in ${KERNCONFS} > TARGET_ARCH_${kernel}!=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 > > This seems to workaround the issue, but it definitely doesn’t solve the > underlying cause: > > $ svn diff Makefile > Index: Makefile > === > --- Makefile(revision 293137) > +++ Makefile(working copy) > @@ -454,8 +454,8 @@ > _THINNER=xargs grep -L "^.NO_UNIVERSE" || true > .endif > KERNCONFS!=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} > > Oddly enough, this is only an issue with /bin/sh on universe11a (hat > tip to bdrewery for the suggestion): > > $ 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 > > $ uname -a > FreeBSD universe11a.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r293115: > Sun Jan 3 20:25:04 UTC 2016 > pe...@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 > > ref11-amd64.freebsd.org appears to be affected as well: > > $ (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 > pe...@build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11 amd64 > > It looks like a libc problem though, because I’ve run into this issue with > both /bin/sh and bash (my default login shell). I’m not sure why this isn’t > reproing on my VM (yet). > > This doesn’t repro in universe10a.freebsd.org (another jail on the same > machine I think…). > > It was working yesterday on ref11-amd64.freebsd.org before the system was > upgraded (it was running October sources), and wasn’t 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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Can't run `make universe` on universe11a.freebsd.org and ref11-amd64.freebsd.org (anymore); [shell] globbing is broken [there]
On 04 Jan 2016, at 21:08, NGie Cooperwrote: > >> On Jan 4, 2016, at 11:52, NGie Cooper wrote: >> >> Hi, >> I’ve been trying to run `make tinderbox` on universe11a.freebsd.org for >> the past couple of days and it’s not working because of this error: ... >> -.error "Target architecture for ${TARGET}/conf/${kernel} unknown. >> config(8) likely too old." ... > delphij@ pointed me in the right direction (thanks :)..). Globbing > expressions seems extremely broken with LANG set to en_US.UTF-8 [at least]. Yes, I had noticed this some time ago too. We should probably set LANG=C somewhere in the top-level Makefile. -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail