all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* glibc-locales
@ 2022-01-31  7:40 adriano
  2022-01-31  8:46 ` glibc-locales Efraim Flashner
  0 siblings, 1 reply; 11+ messages in thread
From: adriano @ 2022-01-31  7:40 UTC (permalink / raw)
  To: help-guix

Running Guix the package manager on Ubuntu 21.10 for the first time
after some years

I installed glibc-locales according the the indications in
"Applications Setup" in the manual

BUT

runnig Emacs in the terminal and then quitting it, I get

~$ emacs

(process:55779): Gtk-WARNING **: 08:13:44.529: Locale not supported by
C library.
	Using the fallback 'C' locale.
Gtk-Message: 08:13:44.641: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:13:44.642: Failed to load module "canberra-gtk-module"


We'll get to the canberra thing later

As for the C locale, what's wrong with that ?


~$ ls .guix-profile/lib/locale/2.33/
aa_DJ         ca_ES@euro      eo                 gd_GB.utf8       
mi_NZ.UTF-8       so_SO.utf8
aa_DJ.utf8    ca_ES.utf8      es_AR              gd_GB.UTF-8      
miq_NI            so_SO.UTF-8
aa_DJ.UTF-8   ca_ES.UTF-8     es_AR.utf8         gez_ER           
mjw_IN            sq_AL
aa_ER         ca_ES@valencia  es_AR.UTF-8        gez_ER@abegede   
mk_MK             sq_AL.utf8
aa_ER@saaho   ca_FR           es_BO              gez_ET           
mk_MK.utf8        sq_AL.UTF-8
aa_ET         ca_FR.utf8      es_BO.utf8         gez_ET@abegede   
mk_MK.UTF-8       sq_MK
af_ZA         ca_FR.UTF-8     es_BO.UTF-8        gl_ES            
ml_IN             sr_ME
af_ZA.utf8    ca_IT           es_CL              gl_ES@euro       
mni_IN            sr_RS
af_ZA.UTF-8   ca_IT.utf8      es_CL.utf8         gl_ES.utf8       
mn_MN             sr_RS@latin
agr_PE        ca_IT.UTF-8     es_CL.UTF-8        gl_ES.UTF-8      
mnw_MM            ss_ZA
ak_GH         ce_RU           es_CO              gu_IN            
mr_IN             st_ZA
am_ET         chr_US          es_CO.utf8         gv_GB            
ms_MY             st_ZA.utf8
an_ES         ckb_IQ          es_CO.UTF-8        gv_GB.utf8       
ms_MY.utf8        st_ZA.UTF-8
an_ES.utf8    cmn_TW          es_CR              gv_GB.UTF-8      
ms_MY.UTF-8       sv_FI
an_ES.UTF-8   crh_UA          es_CR.utf8         hak_TW           
mt_MT             sv_FI@euro
anp_IN        csb_PL          es_CR.UTF-8        ha_NG            
mt_MT.utf8        sv_FI.utf8
ar_AE         cs_CZ           es_CU              he_IL            
mt_MT.UTF-8       sv_FI.UTF-8
ar_AE.utf8    cs_CZ.utf8      es_DO              he_IL.utf8       
my_MM             sv_SE
ar_AE.UTF-8   cs_CZ.UTF-8     es_DO.utf8         he_IL.UTF-8      
nan_TW            sv_SE.utf8
ar_BH         cv_RU           es_DO.UTF-8        hif_FJ           
nan_TW@latin      sv_SE.UTF-8
ar_BH.utf8    cy_GB           es_EC              hi_IN            
nb_NO             sw_KE
ar_BH.UTF-8   cy_GB.utf8      es_EC.utf8         hne_IN           
nb_NO.utf8        sw_TZ
ar_DZ         cy_GB.UTF-8     es_EC.UTF-8        hr_HR            
nb_NO.UTF-8       szl_PL
ar_DZ.utf8    da_DK           es_ES              hr_HR.utf8       
nds_DE            ta_IN
ar_DZ.UTF-8   da_DK.utf8      es_ES@euro         hr_HR.UTF-8      
nds_NL            ta_LK
ar_EG         da_DK.UTF-8     es_ES.utf8         hsb_DE           
ne_NP             tcy_IN.utf8
ar_EG.utf8    de_AT           es_ES.UTF-8        hsb_DE.utf8      
nhn_MX            tcy_IN.UTF-8
ar_EG.UTF-8   de_AT@euro      es_GT              hsb_DE.UTF-8     
niu_NU            te_IN
ar_IN         de_AT.utf8      es_GT.utf8         ht_HT            
niu_NZ            tg_TJ
ar_IQ         de_AT.UTF-8     es_GT.UTF-8        hu_HU            
nl_AW             tg_TJ.utf8
ar_IQ.utf8    de_BE           es_HN              hu_HU.utf8       
nl_BE             tg_TJ.UTF-8
ar_IQ.UTF-8   de_BE@euro      es_HN.utf8         hu_HU.UTF-8      
nl_BE@euro        the_NP
ar_JO         de_BE.utf8      es_HN.UTF-8        hy_AM            
nl_BE.utf8        th_TH
ar_JO.utf8    de_BE.UTF-8     es_MX              hy_AM.armscii8   
nl_BE.UTF-8       th_TH.utf8
ar_JO.UTF-8   de_CH           es_MX.utf8         hy_AM.ARMSCII-8  
nl_NL             th_TH.UTF-8
ar_KW         de_CH.utf8      es_MX.UTF-8        ia_FR            
nl_NL@euro        ti_ER
ar_KW.utf8    de_CH.UTF-8     es_NI              id_ID            
nl_NL.utf8        ti_ET
ar_KW.UTF-8   de_DE           es_NI.utf8         id_ID.utf8       
nl_NL.UTF-8       tig_ER
ar_LB         de_DE@euro      es_NI.UTF-8        id_ID.UTF-8      
nn_NO             tk_TM
ar_LB.utf8    de_DE.utf8      es_PA              ig_NG            
nn_NO.utf8        tl_PH
ar_LB.UTF-8   de_DE.UTF-8     es_PA.utf8         ik_CA            
nn_NO.UTF-8       tl_PH.utf8
ar_LY         de_IT           es_PA.UTF-8        is_IS            
nr_ZA             tl_PH.UTF-8
ar_LY.utf8    de_IT.utf8      es_PE              is_IS.utf8       
nso_ZA            tn_ZA
ar_LY.UTF-8   de_IT.UTF-8     es_PE.utf8         is_IS.UTF-8      
oc_FR             to_TO
ar_MA         de_LI.utf8      es_PE.UTF-8        it_CH            
oc_FR.utf8        tpi_PG
ar_MA.utf8    de_LI.UTF-8     es_PR              it_CH.utf8       
oc_FR.UTF-8       tr_CY
ar_MA.UTF-8   de_LU           es_PR.utf8         it_CH.UTF-8      
om_ET             tr_CY.utf8
ar_OM         de_LU@euro      es_PR.UTF-8        it_IT            
om_KE             tr_CY.UTF-8
ar_OM.utf8    de_LU.utf8      es_PY              it_IT@euro       
om_KE.utf8        tr_TR
ar_OM.UTF-8   de_LU.UTF-8     es_PY.utf8         it_IT.utf8       
om_KE.UTF-8       tr_TR.utf8
ar_QA         doi_IN          es_PY.UTF-8        it_IT.UTF-8      
or_IN             tr_TR.UTF-8
ar_QA.utf8    dsb_DE          es_SV              iu_CA            
os_RU             ts_ZA
ar_QA.UTF-8   dv_MV           es_SV.utf8         ja_JP.eucjp      
pa_IN             tt_RU
ar_SA         dz_BT           es_SV.UTF-8        ja_JP.EUC-JP     
pap_AW            tt_RU@iqtelif
ar_SA.utf8    el_CY           es_US              ja_JP.utf8       
pap_CW            ug_CN
ar_SA.UTF-8   el_CY.utf8      es_US.utf8         ja_JP.UTF-8      
pa_PK             uk_UA
ar_SD         el_CY.UTF-8     es_US.UTF-8        kab_DZ           
pl_PL             uk_UA.utf8
ar_SD.utf8    el_GR           es_UY              ka_GE            
pl_PL.utf8        uk_UA.UTF-8
ar_SD.UTF-8   el_GR@euro      es_UY.utf8         ka_GE.utf8       
pl_PL.UTF-8       unm_US
ar_SS         el_GR.utf8      es_UY.UTF-8        ka_GE.UTF-8      
ps_AF             ur_IN
ar_SY         el_GR.UTF-8     es_VE              kk_KZ            
pt_BR             ur_PK
ar_SY.utf8    en_AG           es_VE.utf8         kk_KZ.utf8       
pt_BR.utf8        uz_UZ
ar_SY.UTF-8   en_AU           es_VE.UTF-8        kk_KZ.UTF-8      
pt_BR.UTF-8       uz_UZ@cyrillic
ar_TN         en_AU.utf8      et_EE              kl_GL            
pt_PT             uz_UZ.utf8
ar_TN.utf8    en_AU.UTF-8     et_EE.iso885915    kl_GL.utf8       
pt_PT@euro        uz_UZ.UTF-8
ar_TN.UTF-8   en_BW           et_EE.ISO-8859-15  kl_GL.UTF-8      
pt_PT.utf8        ve_ZA
ar_YE         en_BW.utf8      et_EE.utf8         km_KH            
pt_PT.UTF-8       vi_VN
ar_YE.utf8    en_BW.UTF-8     et_EE.UTF-8        kn_IN            
quz_PE            wa_BE
ar_YE.UTF-8   en_CA           eu_ES              kok_IN           
raj_IN            wa_BE@euro
as_IN         en_CA.utf8      eu_ES@euro         ko_KR.euckr      
ro_RO             wa_BE.utf8
ast_ES        en_CA.UTF-8     eu_ES.utf8         ko_KR.EUC-KR     
ro_RO.utf8        wa_BE.UTF-8
ast_ES.utf8   en_DK           eu_ES.UTF-8        ko_KR.utf8       
ro_RO.UTF-8       wae_CH
ast_ES.UTF-8  en_DK.utf8      fa_IR              ko_KR.UTF-8      
ru_RU             wal_ET
ayc_PE        en_DK.UTF-8     ff_SN              ks_IN            
ru_RU.KOI8-R      wo_SN
az_AZ         en_GB           fi_FI              ks_IN@devanagari 
ru_RU.koi8r       xh_ZA
az_IR         en_GB.utf8      fi_FI@euro         ku_TR            
ru_RU.utf8        xh_ZA.utf8
be_BY         en_GB.UTF-8     fi_FI.utf8         ku_TR.utf8       
ru_RU.UTF-8       xh_ZA.UTF-8
be_BY@latin   en_HK           fi_FI.UTF-8        ku_TR.UTF-8      
ru_UA             yi_US
be_BY.utf8    en_HK.utf8      fil_PH             kw_GB            
ru_UA.utf8        yi_US.utf8
be_BY.UTF-8   en_HK.UTF-8     fo_FO              kw_GB.utf8       
ru_UA.UTF-8       yi_US.UTF-8
bem_ZM        en_IE           fo_FO.utf8         kw_GB.UTF-8      
rw_RW             yo_NG
ber_DZ        en_IE@euro      fo_FO.UTF-8        ky_KG            
sah_RU            yue_HK
ber_MA        en_IE.utf8      fr_BE              lb_LU            
sa_IN             yuw_PG
bg_BG         en_IE.UTF-8     fr_BE@euro         lg_UG            
sat_IN            zh_CN
bg_BG.utf8    en_IL           fr_BE.utf8         lg_UG.utf8       
sc_IT             zh_CN.gb18030
bg_BG.UTF-8   en_IN           fr_BE.UTF-8        lg_UG.UTF-8      
sd_IN             zh_CN.GB18030
bhb_IN.utf8   en_NG           fr_CA              li_BE            
sd_IN@devanagari  zh_CN.gbk
bhb_IN.UTF-8  en_NZ           fr_CA.utf8         lij_IT           
se_NO             zh_CN.GBK
bho_IN        en_NZ.utf8      fr_CA.UTF-8        li_NL            
sgs_LT            zh_CN.utf8
bho_NP        en_NZ.UTF-8     fr_CH              ln_CD            
shn_MM            zh_CN.UTF-8
bi_VU         en_PH           fr_CH.utf8         lo_LA            
shs_CA            zh_HK
bn_BD         en_PH.utf8      fr_CH.UTF-8        lt_LT            
sid_ET            zh_HK.utf8
bn_IN         en_PH.UTF-8     fr_FR              lt_LT.utf8       
si_LK             zh_HK.UTF-8
bo_CN         en_SC.utf8      fr_FR@euro         lt_LT.UTF-8      
sk_SK             zh_SG
bo_IN         en_SC.UTF-8     fr_FR.utf8         lv_LV            
sk_SK.utf8        zh_SG.gbk
br_FR         en_SG           fr_FR.UTF-8        lv_LV.utf8       
sk_SK.UTF-8       zh_SG.GBK
br_FR@euro    en_SG.utf8      fr_LU              lv_LV.UTF-8      
sl_SI             zh_SG.utf8
br_FR.utf8    en_SG.UTF-8     fr_LU@euro         lzh_TW           
sl_SI.utf8        zh_SG.UTF-8
br_FR.UTF-8   en_US           fr_LU.utf8         mag_IN           
sl_SI.UTF-8       zh_TW
brx_IN        en_US.utf8      fr_LU.UTF-8        mai_IN           
sm_WS             zh_TW.euctw
bs_BA         en_US.UTF-8     fur_IT             mai_NP           
so_DJ             zh_TW.EUC-TW
bs_BA.utf8    en_ZA           fy_DE              mfe_MU           
so_DJ.utf8        zh_TW.utf8
bs_BA.UTF-8   en_ZA.utf8      fy_NL              mg_MG            
so_DJ.UTF-8       zh_TW.UTF-8
byn_ER        en_ZA.UTF-8     ga_IE              mg_MG.utf8       
so_ET             zu_ZA
ca_AD         en_ZM           ga_IE@euro         mg_MG.UTF-8      
so_KE             zu_ZA.utf8
ca_AD.utf8    en_ZW           ga_IE.utf8         mhr_RU           
so_KE.utf8        zu_ZA.UTF-8
ca_AD.UTF-8   en_ZW.utf8      ga_IE.UTF-8        mi_NZ            
so_KE.UTF-8
ca_ES         en_ZW.UTF-8     gd_GB              mi_NZ.utf8       
so_SO


Thanks



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-01-31  7:40 glibc-locales adriano
@ 2022-01-31  8:46 ` Efraim Flashner
  2022-01-31 18:03   ` glibc-locales Vagrant Cascadian
  2022-01-31 18:37   ` glibc-locales adriano
  0 siblings, 2 replies; 11+ messages in thread
From: Efraim Flashner @ 2022-01-31  8:46 UTC (permalink / raw)
  To: adriano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

On Mon, Jan 31, 2022 at 08:40:27AM +0100, adriano wrote:
> Running Guix the package manager on Ubuntu 21.10 for the first time
> after some years
> 
> I installed glibc-locales according the the indications in
> "Applications Setup" in the manual
> 
> BUT
> 
> runnig Emacs in the terminal and then quitting it, I get
> 
> ~$ emacs
> 
> (process:55779): Gtk-WARNING **: 08:13:44.529: Locale not supported by
> C library.
> 	Using the fallback 'C' locale.
> Gtk-Message: 08:13:44.641: Failed to load module "canberra-gtk-module"
> Gtk-Message: 08:13:44.642: Failed to load module "canberra-gtk-module"
> 
> 
> We'll get to the canberra thing later
> 
> As for the C locale, what's wrong with that ?
> 
> Thanks

'C' isn't actually a locale in glibc but is something added by Debian.
You'll want to try one of the other locales while running programs from
Guix. You can set it with 'LOCALE=EN_US.UTF-8 emacs' and it'll only take
effect for that command.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-01-31  8:46 ` glibc-locales Efraim Flashner
@ 2022-01-31 18:03   ` Vagrant Cascadian
  2022-01-31 18:37   ` glibc-locales adriano
  1 sibling, 0 replies; 11+ messages in thread
From: Vagrant Cascadian @ 2022-01-31 18:03 UTC (permalink / raw)
  To: Efraim Flashner, adriano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

On 2022-01-31, Efraim Flashner wrote:
> On Mon, Jan 31, 2022 at 08:40:27AM +0100, adriano wrote:
>> Running Guix the package manager on Ubuntu 21.10 for the first time
>> after some years
>> 
>> I installed glibc-locales according the the indications in
>> "Applications Setup" in the manual
>> 
>> BUT
>> 
>> runnig Emacs in the terminal and then quitting it, I get
>> 
>> ~$ emacs
>> 
>> (process:55779): Gtk-WARNING **: 08:13:44.529: Locale not supported by
>> C library.
>> 	Using the fallback 'C' locale.
>> Gtk-Message: 08:13:44.641: Failed to load module "canberra-gtk-module"
>> Gtk-Message: 08:13:44.642: Failed to load module "canberra-gtk-module"
>> 
>> 
>> We'll get to the canberra thing later
>> 
>> As for the C locale, what's wrong with that ?

> 'C' isn't actually a locale in glibc but is something added by Debian.

'C' is definitely a default locale in glibc, but 'C.UTF-8' is added by
various distros. Ubuntu might only support UTF-8 locales...

> You'll want to try one of the other locales while running programs from
> Guix. You can set it with 'LOCALE=EN_US.UTF-8 emacs' and it'll only take
> effect for that command.

But yeah, you want a UTF-8 locale, at least; there is not "generic"
upstream UTF-8 locale, and guix just uses the upstream locales from
glibc.


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-01-31  8:46 ` glibc-locales Efraim Flashner
  2022-01-31 18:03   ` glibc-locales Vagrant Cascadian
@ 2022-01-31 18:37   ` adriano
  2022-01-31 20:02     ` glibc-locales Vagrant Cascadian
  1 sibling, 1 reply; 11+ messages in thread
From: adriano @ 2022-01-31 18:37 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: help-guix

Il giorno lun, 31/01/2022 alle 10.46 +0200, Efraim Flashner ha scritto:
> 
> 'C' isn't actually a locale in glibc but is something added by
> Debian.
> You'll want to try one of the other locales while running programs
> from
> Guix. You can set it with 'LOCALE=EN_US.UTF-8 emacs' and it'll only
> take
> effect for that command.
> 


Thank you Efraim, but

~$ LOCALE=EN_US.UTF-8 emacs

(process:23652): Gtk-WARNING **: 19:36:00.473: Locale not supported by
C library.
	Using the fallback 'C' locale.
Gtk-Message: 19:36:00.530: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:36:00.530: Failed to load module "canberra-gtk-module"



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-01-31 18:37   ` glibc-locales adriano
@ 2022-01-31 20:02     ` Vagrant Cascadian
  2022-01-31 20:37       ` glibc-locales adriano
  0 siblings, 1 reply; 11+ messages in thread
From: Vagrant Cascadian @ 2022-01-31 20:02 UTC (permalink / raw)
  To: adriano, Efraim Flashner; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

On 2022-01-31, adriano wrote:
> Il giorno lun, 31/01/2022 alle 10.46 +0200, Efraim Flashner ha scritto:
>> 
>> 'C' isn't actually a locale in glibc but is something added by
>> Debian.
>> You'll want to try one of the other locales while running programs
>> from
>> Guix. You can set it with 'LOCALE=EN_US.UTF-8 emacs' and it'll only
>> take
>> effect for that command.
>> 
>
>
> Thank you Efraim, but
>
> ~$ LOCALE=EN_US.UTF-8 emacs
>
> (process:23652): Gtk-WARNING **: 19:36:00.473: Locale not supported by
> C library.
> 	Using the fallback 'C' locale.
> Gtk-Message: 19:36:00.530: Failed to load module "canberra-gtk-module"
> Gtk-Message: 19:36:00.530: Failed to load module "canberra-gtk-module"

LANG=en_US.UTF-8 and/or LC_ALL=en_US.UTF-8

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-01-31 20:02     ` glibc-locales Vagrant Cascadian
@ 2022-01-31 20:37       ` adriano
  0 siblings, 0 replies; 11+ messages in thread
From: adriano @ 2022-01-31 20:37 UTC (permalink / raw)
  To: Vagrant Cascadian, Efraim Flashner; +Cc: help-guix

Il giorno lun, 31/01/2022 alle 12.02 -0800, Vagrant Cascadian ha
scritto:
> > 
> > 
> > 

> LANG=en_US.UTF-8 and/or LC_ALL=en_US.UTF-8
> 
> live well,
>   vagrant

Thank you again

This time it's slightly different, there's a warning


~$ LC_ALL=en_US.UTF-8 emacs
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-
5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.UTF-8)

(process:26785): Gtk-WARNING **: 21:35:02.278: Locale not supported by
C library.
	Using the fallback 'C' locale.

...




~$ LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 emacs
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-
5.0.16/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.UTF-8)

(process:26795): Gtk-WARNING **: 21:35:39.110: Locale not supported by
C library.
	Using the fallback 'C' locale.
Gtk-Message: 21:35:39.165: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:35:39.166: Failed to load module "canberra-gtk-module"



^ permalink raw reply	[flat|nested] 11+ messages in thread

* glibc-locales
@ 2022-07-03  8:53 Efraim Flashner
  2022-07-03  9:53 ` glibc-locales Efraim Flashner
  0 siblings, 1 reply; 11+ messages in thread
From: Efraim Flashner @ 2022-07-03  8:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2919 bytes --]

The package glibc-locales and glibc-locales-2.32 are nearly identical
according to diffoscope.

(ins)efraim@3900XT ~$ guix shell diffoscope -- diffoscope /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33 /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
--- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33
+++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
│   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib
├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib
│ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib/locale
│ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib/locale
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -2.33
│ │ │ +2.32
│   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share
├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share
│ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share/doc
│ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share/doc
│ │ ├── file list
│ │ │ @@ -1 +1 @@
│ │ │ -glibc-locales-2.33
│ │ │ +glibc-locales-2.32-2.32
│ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ @@ -1,8 +1,8 @@
│ │ │
│ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
│ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
│ │ │  Links: 1
│ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
│ │ │
│ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ @@ -1,8 +1,8 @@
│ │ │
│ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
│ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
│ │ │  Links: 1
│ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
│ │ │
│ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000


So while it would be nice to build glibc-locales-2.32 with glibc-2.33 I
don't think it's actually in use anywhere since IIRC we jumped from 2.31
to 2.33.

Also, for 2.33 I'd like to build it with glibc-final. glibc-locales
doesn't retain a reference to any packages and it would reduce an
instance of using an "extra" glibc when there's already one in the build
environment.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-07-03  8:53 glibc-locales Efraim Flashner
@ 2022-07-03  9:53 ` Efraim Flashner
  2022-07-03 11:35   ` glibc-locales Andreas Enge
  0 siblings, 1 reply; 11+ messages in thread
From: Efraim Flashner @ 2022-07-03  9:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 3316 bytes --]

On Sun, Jul 03, 2022 at 11:53:45AM +0300, Efraim Flashner wrote:
> The package glibc-locales and glibc-locales-2.32 are nearly identical
> according to diffoscope.
> 
> (ins)efraim@3900XT ~$ guix shell diffoscope -- diffoscope /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33 /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
> --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33
> +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32
> │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib
> ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib
> │ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/lib/locale
> │ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/lib/locale
> │ │ ├── file list
> │ │ │ @@ -1 +1 @@
> │ │ │ -2.33
> │ │ │ +2.32
> │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share
> ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share
> │ │   --- /gnu/store/ixzmi6614baf4w37qfjgqrv8hwsl8jcv-glibc-locales-2.33/share/doc
> │ ├── +++ /gnu/store/zrq9pr31wl128y6nwyh2022i9jqxazpz-glibc-locales-2.32-2.32/share/doc
> │ │ ├── file list
> │ │ │ @@ -1 +1 @@
> │ │ │ -glibc-locales-2.33
> │ │ │ +glibc-locales-2.32-2.32
> │ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
> │ │ │ @@ -1,8 +1,8 @@
> │ │ │
> │ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
> │ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
> │ │ │  Links: 1
> │ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> │ │ │
> │ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
> │ │ ├── /gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
> │ │ │ @@ -1,8 +1,8 @@
> │ │ │
> │ │ │ +  Size: 46               Blocks: 0          IO Block: 4096   directory
> │ │ │ -  Size: 36               Blocks: 0          IO Block: 4096   directory
> │ │ │  Links: 1
> │ │ │  Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> │ │ │
> │ │ │  Modify: 1970-01-01 00:00:01.000000000 +0000
> 
> 
> So while it would be nice to build glibc-locales-2.32 with glibc-2.33 I
> don't think it's actually in use anywhere since IIRC we jumped from 2.31
> to 2.33.
> 
> Also, for 2.33 I'd like to build it with glibc-final. glibc-locales
> doesn't retain a reference to any packages and it would reduce an
> instance of using an "extra" glibc when there's already one in the build
> environment.

I misread the source. I'd like glibc-utf8-locales built with glibc-final.
glibc-locales actually rebuilds the sources with an extra patch. I
suppose another option would be to use glibc-locales to build
glibc-utf8-locales.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-07-03  9:53 ` glibc-locales Efraim Flashner
@ 2022-07-03 11:35   ` Andreas Enge
  2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Enge @ 2022-07-03 11:35 UTC (permalink / raw)
  To: guix-devel

Am Sun, Jul 03, 2022 at 12:53:09PM +0300 schrieb Efraim Flashner:
> I misread the source. I'd like glibc-utf8-locales built with glibc-final.

Has glibc-utf8-locales not been removed some time ago? I always had it in
my profile, then saw a message during upgrade that it had been removed,
and dropped it from my profile (without any apparent harm to my GNU system).

Andreas



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-07-03 11:35   ` glibc-locales Andreas Enge
@ 2022-07-03 14:36     ` Vagrant Cascadian
  2022-07-03 14:41       ` glibc-locales Tobias Geerinckx-Rice
  0 siblings, 1 reply; 11+ messages in thread
From: Vagrant Cascadian @ 2022-07-03 14:36 UTC (permalink / raw)
  To: guix-devel; +Cc: Andreas Enge, Efraim Flashner

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

On 2022-07-03, Andreas Enge wrote:
> Am Sun, Jul 03, 2022 at 12:53:09PM +0300 schrieb Efraim Flashner:
>> I misread the source. I'd like glibc-utf8-locales built with glibc-final.
>
> Has glibc-utf8-locales not been removed some time ago? I always had it in
> my profile, then saw a message during upgrade that it had been removed,
> and dropped it from my profile (without any apparent harm to my GNU system).

Still is there as a hidden package and used as an input for some
packages, though this brings up another locales-related question...

Before glibc-utf8-locales was a hidden package, I preferred using that
because it only included a small subset of locales, and happened to
include the main one I needed (lucky me!).

How feasible would it be to make each locale it's own output on
glibc-locales (e.g. glibc-locales:en_US.utf8, or maybe cluster languages
together, e.g. glibc-locales:en) ? Most people probably only use a
relatively small number of locales on any given system... though which
locales any given person uses probably varies.

Is it a complexity vs. space-savings issue? Would it be tricky to
compose multiple locales packages into a single profile? Just not worth
the effort?

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: glibc-locales
  2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
@ 2022-07-03 14:41       ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-07-03 14:41 UTC (permalink / raw)
  To: guix-devel, Vagrant Cascadian; +Cc: Andreas Enge, Efraim Flashner

The intended use is NOT to use a package at all, see https://guix.gnu.org/en/manual/devel/en/html_node/Application-Setup.html#Locales-1

Strongly put (and very possibly missing something :-), this sounds like maintenance effort to support an antipattern.

Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-07-03 14:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-31  7:40 glibc-locales adriano
2022-01-31  8:46 ` glibc-locales Efraim Flashner
2022-01-31 18:03   ` glibc-locales Vagrant Cascadian
2022-01-31 18:37   ` glibc-locales adriano
2022-01-31 20:02     ` glibc-locales Vagrant Cascadian
2022-01-31 20:37       ` glibc-locales adriano
  -- strict thread matches above, loose matches on Subject: below --
2022-07-03  8:53 glibc-locales Efraim Flashner
2022-07-03  9:53 ` glibc-locales Efraim Flashner
2022-07-03 11:35   ` glibc-locales Andreas Enge
2022-07-03 14:36     ` glibc-locales Vagrant Cascadian
2022-07-03 14:41       ` glibc-locales Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.