Re: /usr/src/usr.bin/gh-bc don't know how to make /usr/src/contrib/bc/locales/en_US.UTF-8.msg

From: Stefan Esser <se_at_freebsd.org>
Date: Wed, 2 Sep 2020 19:41:46 +0200
Am 02.09.20 um 01:42 schrieb Julian H. Stacey:
> Hi current_at_freebsd.org,
> 
> /usr/src/usr.bin/gh-bc don't know how to make /usr/src/contrib/bc/locales/en_US.UTF-8.msg
> With .ctm_status src-cur 14656 .svn_revision 364986 /usr/src/usr.bin/gh-bc

Hi Julian,

since I'm building -CURRENT at least once a day with this bc
and there have been no other reports, this does appear to be
a local problem on your system (or a problem with CTM).

> Avoided for now with /etc/src.conf WITHOUT_GH_BC=YES

Yes, but the correct fix is to provide the missing file, which
is a symbolic link to en_US.msg. In fact, most of the message
catalogs are provided by symlinks (71 of 96 files in the locales
directory).

My assumption is, that CTM does not correctly encode and create
symbolic links, so you miss them ... (but I did not check the
CTM sources to verify that assumption).

This ought to be fixed in CTM and then a delta should be created
that provides these missing symlinks - since you are one of very
few CTM users left, you may want to create a patch ...

Since the mail list strips binary attachments, I'm including a
compresssed and uuencoded TAR file with these symlinks below.
Extract from within src/contrib/bc/locales to generate them:

begin 644 gh-bc-locales.tar.bz2
M0EIH.3%!6293618`G<P`#W!_D-"``)!``W__at_/_?^D*?77I`$0``(4`/^TQ#A
M4(J+#)3TTTU(]0!#0Q-`:9`#09,14_T1E0&3(`!H:```9-`DU$%)#:_at_`````
M-#0!_at_````-``````4I*::_at_D_5/:IZGJ&)ZC(:`>IIH`'ZI[JAY5#VJAUJ'0S
MB5)<^7/.[OVC><;E,R%I_at_YC!.4$C!%0&\T"DP#,3(KT4RW8;8ZL<=^PJ'\5#
MMBEQ*ABH=RH=50RH94.NH<ZAM1`'("`>DD_at_:R,W/GV>3:MKS5-J$-83WJDS.
M)1%%A['191"3G$0\(S*S-#O-:6214=J+2_at_HJ,CILM%IM\<((&8``>!/:`2:D
M`UNUOI<D)5NO>K>%^6W9OX=W/T^/CPUIGHWXYQ\=I4-M:%0\]0^BH8J'XK\#
MO8SO8QF,X3FF939;&8.-0ZE0RH>JH>;DJ'ON,DNYPY9FOK!SW<\J'94-;]CL
M6M^I%DP_at_060$<&-XODQ>V8=20"BM(8:NE8B<)(!>+T9O4D`:<5G*7:#R20#-
MX2Y(!CAAV:S,Z0V--71:%+%-XN5>7>I(!F2`60,2JD1_at_+-54NJ)C#AQJ&HVV
MTWXU#THM];M^IOIIEF\-(+*24PU)`*M+=:<7JRV2`54-.&<===0X94.VH]TG
M:B\D76B^^G&>V7DL_at_]%87K];RF:UIIFK6M9K_at_>-1E'6G"M+5>2+3Y3U9GG1<
M65M3M1?DTG"H[?8,9,U)P>M?4J"P(OHDY2!**Z,5&+4D"H>1>,-_at_`P(<($XD
MY3WP^Y/=\8ASA=*BJX555YBB'.%PF`G,;A1$V!^BP`_)=0Z='LPS,F99VU#^
MR<JARJ&PRP6"P6"D2$57<(,I!05EF&;JAT=*AMMO4/,.CP5#_at_JMN.8S,S)EF
M6<ZA]I7#AL?=4.BH=]0["Y5#4G_at__1^K&,SH9AF&8"_at_L&E$1$11B(BSC"'^D_at_
0"M>_at_D$#B+N2*<*$_at_+`$[F```
`
end

But since further symlinks will occur if more locales are added,
the problem will re-appear for CTM users, unless symlinks are
supported by CTM.

Regards, STefan

Received on Wed Sep 02 2020 - 15:41:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC