bug#64906: 'guix shell -D po4a' fails (texlive-font-maps.drv build failure)

2023-07-29 Thread Maxim Cournoyer
Hello,

Nicolas Goaziou  writes:

[...]

> This should be fixed in commit e43cbeafd1b632f39b08b3644af5230d5350a656.

Yay, thank you for the prompt resolution.

-- 
Thanks,
Maxim





bug#64783: Build of texlive-font-maps fails

2023-07-29 Thread Nicolas Goaziou
Hello,

"Dr. Arne Babenhauserheide"  writes:

> Is there a package that says "all of texlive"? When working with LaTeX,
> I do not know beforehand which packages I need but rather always need
> all available to try out what works well.

The "all of texlive" package is called `texlive'.

When you have this one in your profile, you shouldn't need any
"texlive-" prefixed package. OTOH, if you don't have `texlive', which is
what I suggest, you need to start off with a base system, such as
`texlive-scheme-basic' and extend it with TeX Live collections.

Regards,
-- 
Nicolas Goaziou





bug#64941: ModuleNotFoundError in ibus-anthy

2023-07-29 Thread elaexuotee--- via Bug reports for GNU Guix
Hey guix,

Anthy has been giving me grief lately. It's not showing up in ibus-setup's list
of input methods.

After futzing around with ibus and gsettings for a while, I noticed this:

$ guix shell --pure ibus ibus-anthy
$ ibus read-cache | xml sel -t -c 
'(//name[text()="org.freedesktop.IBus.Anthy"])[1]/..' -n

org.freedesktop.IBus.Anthy
Anthy Component
1.5.14
GPL
Peng Huang 
https://github.com/ibus/ibus/wiki

/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/libexec/ibus-engine-anthy
 --ibus
ibus-anthy

/home/x/.guix-profile/share/ibus/component/anthy.xml
~/.config/ibus-anthy/engines.xml
/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/default.xml





So anthy is definitely detected by ibus, but directly running that exec command
results in Python falling over:

$ 
/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/libexec/ibus-engine-anthy
 --ibus
Traceback (most recent call last):
  File 
"/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/main.py",
 line 44, in 
import factory
  File 
"/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/factory.py",
 line 33, in 
import engine
  File 
"/gnu/store/bm3jm0d942ljzmbckbg4872cj70ljqzi-ibus-anthy-1.5.14/share/ibus-anthy/engine/engine.py",
 line 59, in 
from anthyprefs import AnthyPrefs
ModuleNotFoundError: No module named 'anthyprefs'

Any idea on what might be going on? I have had this issue for about a month,
but the above was performed with

$ guix describe
Generation 16   Jul 30 2023 09:58:49(current)
  guix 6b903e2
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 6b903e210462f7c1e428e0ded7e690d315e1f7a1
...





bug#64941: ModuleNotFoundError in ibus-anthy

2023-07-29 Thread elaexuotee--- via Bug reports for GNU Guix
Some headway: It looks like anthyprefs sits under a different directory than
the engine script:

$ guix shell --pure ibus ibus-anthy

$ ls $GUIX_ENVIRONMENT/share/ibus-anthy/setup/
__pycache__/  _config.py  anthyprefs.py  main.py  prefs.py  setup.ui

$ ls $GUIX_ENVIRONMENT/share/ibus-anthy/engine/
__pycache__/  _config.py  default.xml  engine.py  factory.py  jastring.py
kana.py  main.py  romaji.py  segment.py  tables.py  thumb.py

Manually running the engine with a PYTHONPATH fixes the error:

$ PYTHONPATH=$GUIX_ENVIRONMENT/share/ibus-anthy/setup 
$GUIX_ENVIRONMENT/libexec/ibus-engine-anthy

However, starting ibus-daemon with PYTHONPATH doesn't do anything. I'm guessing
that the environment variable doesn't propagate to engine exec commands. Maybe
a problem in the ibus-engine-anthy wrapper script?





bug#64941: ModuleNotFoundError in ibus-anthy

2023-07-29 Thread 宋文武 via Bug reports for GNU Guix
elaexuo...@wilsonb.com writes:

> Hey guix,
>
> Anthy has been giving me grief lately. It's not showing up in ibus-setup's 
> list
> of input methods.
>

Hello, thanks for the report, fix now in master!