10-20-2021, 09:40 AM | #1 |
Zealot
Posts: 146
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Clara 2E, Tolino shine 4
|
Stuck in building calibre (aarch64, qemu)
I know that calibre is a complex piece of software. Nevertheless, I tried to compile it in a aarch64 qemu with debian bullseye. I tried to follow this guide. Running "./setup.py bootstrap" ends up with the following error message:
Code:
Traceback (most recent call last): File "/home/martin/src/calibre/./setup.py", line 119, in <module> sys.exit(main()) File "/home/martin/src/calibre/./setup.py", line 104, in main command.run_all(opts) File "/home/martin/src/calibre/setup/__init__.py", line 233, in run_all self.run_cmd(self, opts) File "/home/martin/src/calibre/setup/__init__.py", line 223, in run_cmd self.run_cmd(scmd, opts) File "/home/martin/src/calibre/setup/__init__.py", line 227, in run_cmd cmd.run(opts) File "/home/martin/src/calibre/setup/translations.py", line 319, in run self.compile_website_translations() File "/home/martin/src/calibre/setup/translations.py", line 615, in compile_website_translations done = self._compile_website_translations() File "/home/martin/src/calibre/setup/translations.py", line 608, in _compile_website_translations lang_names[l] = {x: t(x) for x in dl} File "/home/martin/src/calibre/setup/translations.py", line 608, in <dictcomp> lang_names[l] = {x: t(x) for x in dl} File "/home/martin/src/calibre/src/calibre/utils/localization.py", line 417, in get_language return get_iso_language(gettext_func, lang) File "/home/martin/src/calibre/src/calibre/utils/localization.py", line 397, in get_iso_language iso639 = _load_iso639() File "/home/martin/src/calibre/src/calibre/utils/localization.py", line 390, in _load_iso639 _iso639 = msgpack_loads(ip) File "/home/martin/src/calibre/src/calibre/utils/serialize.py", line 110, in msgpack_loads return msgpack.unpackb(dump, ext_hook=msgpack_decoder, raw=False, use_list=use_list, strict_map_key=False) File "msgpack/_unpacker.pyx", line 206, in msgpack._cmsgpack.unpackb ValueError: Unpack failed: incomplete input |
10-20-2021, 11:36 AM | #2 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those apply only building x86/x64 binaries. Support for arm is not present.
|
Advert | |
|
10-21-2021, 03:28 AM | #3 | ||
Zealot
Posts: 146
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Clara 2E, Tolino shine 4
|
Oh, what a pity. So there's no easy way to build an installer for ARM-based systems then, is there?
At least, the bootstrap process went through (after a --clean-all). The only remaining problem during bootstrap is: Quote:
Quote:
(EDIT: Creating /usr/share/desktop-directories by hand fixed this problem.) But, not being able to make an installer lets me stop here. Last edited by beedaddy; 10-21-2021 at 03:34 AM. |
||
10-21-2021, 03:49 AM | #4 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, there are no arm binaries for calibre. If I get around to adding ARM support to bypy I will just release an ARM linux calibre build myself. But its more likely that ARM support will be added to macOS first (its already partially there and used to build kitty for M1 macs)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building Calibre | komple | Calibre | 5 | 07-15-2021 10:04 AM |
Booting Pocketbook in qemu | sigizmund | PocketBook Developer's Corner | 5 | 02-28-2020 05:22 AM |
Stuck with building KOBO shelves... | lucone | Calibre | 10 | 04-11-2018 06:13 PM |
DR1000 Where can I start qemu in Anjuta? | Gogolo | iRex Developer's Corner | 2 | 08-29-2011 04:44 PM |
More memory for qemu image | Mackx | iRex Developer's Corner | 2 | 06-27-2010 02:20 PM |