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

Stefan Esser se at freebsd.org
Wed Sep 2 17:41:49 UTC 2020


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_@/_?^D*?77I`$0``(4`/^TQ#A
M4(J+#)3TTTU(]0!#0Q-`:9`#09,14_T1E0&3(`!H:```9-`DU$%)#:@`````
M-#0!@````-``````4I*::@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@: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@]%87K];RF:UIIFK6M9K@>-1E'6G"M+5>2+3Y3U9GG1<
M65M3M1?DTG"H[?8,9,U)P>M?4J"P(OHDY2!**Z,5&+4D"H>1>,-@`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#@JMN.8S,S)EF
M6<ZA]I7#AL?=4.BH=]0["Y5#4G at _1^K&,SH9AF&8"@L&E$1$11B(BSC"'^D@
0"M>@D$#B+N2*<*$@+`$[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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200902/d458ea99/attachment.sig>


More information about the freebsd-current mailing list