I am trying to build Calibre from source since after the distri upgrade to the latest v12 aka Bookworm (what a surprise
) no binary package is advised by the standard repositories.
This my current notebook where I worked around some road blocks:
Spoiler :
Build podofo from source
https://github.com/podofo/podofo
Install dependencies
sudo apt-get install -y libfontconfig1-dev libfreetype-dev libxml2-dev libssl-dev libjpeg-dev libpng-dev libtiff-dev libidn11-dev cmake
Clone the repository
git clone
https://github.com/podofo/podofo.git
Run the build procedure
cd podofo
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug
Install locally
sudo make install
Build calibre from source
https://github.com/kovidgoyal/calibre
Install dependencies
sudo apt install -y libfreetype6 libhunspell-dev qmake6 libuchardet-dev python3-dev libhyphen-dev libicu-dev libsqlite3-dev libstemmer-dev libusb-1.0-0-dev libmtp-dev pyqt6-dev sip-dev python3-pyqt6 python3-pyqt6.sip pkgconf python-is-python3 python3 g++ git
Clone the repository
git clone
https://github.com/kovidgoyal/bypy.git
git clone
https://github.com/kovidgoyal/calibre.git
Run the build procedure
cd calibre/
export PODOFO_INC_DIR=/usr/local/include/podofo
python3 setup.py install
However, I am stuck at this point:
-c: /home/nico/calibre/build/pyqt/rcc_backend/rcc.sip: line 19: column 9: 'QtCore/QtCoremod.sip' could not be found
Full log:
Spoiler :
*
* Running build
*
Building 27 extensions
Compiling 37 files...
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++11 -I/usr/include/hunspell -c /home/nico/calibre/src/calibre/utils/spell/hunspell_wrapper.cpp -o /home/nico/calibre/build/objects/hunspell/hunspell_wrapper.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -std=c99 -c /home/nico/calibre/src/calibre/utils/hyphenation/hyphen.c -o /home/nico/calibre/build/objects/hyphen/hyphen.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/usr/include/uchardet -c /home/nico/calibre/src/calibre/ebooks/uchardet.c -o /home/nico/calibre/build/objects/uchardet/uchardet.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -std=c99 -c /home/nico/calibre/src/unicode_names/unicode_names.c -o /home/nico/calibre/build/objects/unicode_names/unicode_names.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/utils/speedup.c -o /home/nico/calibre/build/objects/speedup/speedup.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/utils/certgen.c -o /home/nico/calibre/build/objects/certgen/certgen.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/gui2/tweak_book/editor/syntax/html.c -o /home/nico/calibre/build/objects/html_syntax_highlighter/html.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/tinycss/tokenizer.c -o /home/nico/calibre/build/objects/tokenizer/tokenizer.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/gui2/tweak_book/diff/_patiencediff_c.c -o /home/nico/calibre/build/objects/_patiencediff_c/_patiencediff_c.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/utils/icu.c -o /home/nico/calibre/build/objects/icu/icu.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/utils/matcher.c -o /home/nico/calibre/build/objects/matcher/matcher.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/library/sqlite_custom.c -o /home/nico/calibre/build/objects/sqlite_custom/sqlite_custom.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++14 -c /home/nico/calibre/src/calibre/db/sqlite_extension.cpp -o /home/nico/calibre/build/objects/sqlite_extension/sqlite_extension.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/lzx -c /home/nico/calibre/src/calibre/utils/lzx/lzxmodule.c -o /home/nico/calibre/build/objects/lzx/lzxmodule.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/lzx -c /home/nico/calibre/src/calibre/utils/lzx/lzxc.c -o /home/nico/calibre/build/objects/lzx/lzxc.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/lzx -c /home/nico/calibre/src/calibre/utils/lzx/lzc.c -o /home/nico/calibre/build/objects/lzx/lzc.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/lzx -c /home/nico/calibre/src/calibre/utils/lzx/lzxd.c -o /home/nico/calibre/build/objects/lzx/lzxd.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/lzx -c /home/nico/calibre/src/calibre/utils/lzx/compressor.c -o /home/nico/calibre/build/objects/lzx/compressor.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -I/usr/include/libpng16 -I/usr/include/freetype2 -c /home/nico/calibre/src/calibre/utils/fonts/freetype.cpp -o /home/nico/calibre/build/objects/freetype/freetype.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/msdes -c /home/nico/calibre/src/calibre/utils/msdes/msdesmodule.c -o /home/nico/calibre/build/objects/msdes/msdesmodule.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -I/home/nico/calibre/src/calibre/utils/msdes -c /home/nico/calibre/src/calibre/utils/msdes/des.c -o /home/nico/calibre/build/objects/msdes/des.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/ebooks/compression/palmdoc.c -o /home/nico/calibre/build/objects/cPalmdoc/palmdoc.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/ebooks/djvu/bzzdecoder.c -o /home/nico/calibre/build/objects/bzzdec/bzzdecoder.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/doc.cpp -o /home/nico/calibre/build/objects/podofo/doc.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/output.cpp -o /home/nico/calibre/build/objects/podofo/output.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/utils.cpp -o /home/nico/calibre/build/objects/podofo/utils.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/outline.cpp -o /home/nico/calibre/build/objects/podofo/outline.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/podofo.cpp -o /home/nico/calibre/build/objects/podofo/podofo.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/impose.cpp -o /home/nico/calibre/build/objects/podofo/impose.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/outlines.cpp -o /home/nico/calibre/build/objects/podofo/outlines.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/images.cpp -o /home/nico/calibre/build/objects/podofo/images.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/local/include -I/usr/local/include/podofo -c /home/nico/calibre/src/calibre/utils/podofo/fonts.cpp -o /home/nico/calibre/build/objects/podofo/fonts.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++11 -c /home/nico/calibre/src/calibre/srv/html_as_json.cpp -o /home/nico/calibre/build/objects/html_as_json/html_as_json.o
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++14 -I/home/nico/calibre/src/perfect-hashing -c /home/nico/calibre/src/calibre/srv/fast_css_transform.cpp -o /home/nico/calibre/build/objects/fast_css_transform/fast_css_transform.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/devices/libusb/libusb.c -o /home/nico/calibre/build/objects/libusb/libusb.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/devices/mtp/unix/libmtp.c -o /home/nico/calibre/build/objects/libmtp/libmtp.o
gcc -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.11 '-DCALIBRE_MODINIT_FUNC= __attribute__ ((visibility ("default"))) PyObject*' -c /home/nico/calibre/src/calibre/devices/mtp/unix/devices.c -o /home/nico/calibre/build/objects/libmtp/devices.o
Linking 23 files...
g++ /home/nico/calibre/build/objects/hunspell/hunspell_wrapper.o -o /home/nico/calibre/src/calibre/plugins/hunspell.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -lhunspell-1.7
gcc /home/nico/calibre/build/objects/hyphen/hyphen.o -o /home/nico/calibre/src/calibre/plugins/hyphen.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lhyphen
gcc /home/nico/calibre/build/objects/uchardet/uchardet.o -o /home/nico/calibre/src/calibre/plugins/uchardet.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -luchardet
gcc /home/nico/calibre/build/objects/unicode_names/unicode_names.o -o /home/nico/calibre/src/calibre/plugins/unicode_names.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/speedup/speedup.o -o /home/nico/calibre/src/calibre/plugins/speedup.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lm
gcc /home/nico/calibre/build/objects/certgen/certgen.o -o /home/nico/calibre/src/calibre/plugins/certgen.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lcrypto
gcc /home/nico/calibre/build/objects/html_syntax_highlighter/html.o -o /home/nico/calibre/src/calibre/plugins/html_syntax_highlighter.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/tokenizer/tokenizer.o -o /home/nico/calibre/src/calibre/plugins/tokenizer.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/_patiencediff_c/_patiencediff_c.o -o /home/nico/calibre/src/calibre/plugins/_patiencediff_c.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/icu/icu.o -o /home/nico/calibre/src/calibre/plugins/icu.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -licudata -licui18n -licuuc -licuio
gcc /home/nico/calibre/build/objects/matcher/matcher.o -o /home/nico/calibre/src/calibre/plugins/matcher.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -licudata -licui18n -licuuc -licuio
gcc /home/nico/calibre/build/objects/sqlite_custom/sqlite_custom.o -o /home/nico/calibre/src/calibre/plugins/sqlite_custom.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
g++ /home/nico/calibre/build/objects/sqlite_extension/sqlite_extension.o -o /home/nico/calibre/src/calibre/plugins/sqlite_extension.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -licudata -licui18n -licuuc -licuio -lstemmer
gcc /home/nico/calibre/build/objects/lzx/lzxmodule.o /home/nico/calibre/build/objects/lzx/lzxc.o /home/nico/calibre/build/objects/lzx/lzc.o /home/nico/calibre/build/objects/lzx/lzxd.o /home/nico/calibre/build/objects/lzx/compressor.o -o /home/nico/calibre/src/calibre/plugins/lzx.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
g++ /home/nico/calibre/build/objects/freetype/freetype.o -o /home/nico/calibre/src/calibre/plugins/freetype.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -lfreetype
gcc /home/nico/calibre/build/objects/msdes/msdesmodule.o /home/nico/calibre/build/objects/msdes/des.o -o /home/nico/calibre/src/calibre/plugins/msdes.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/cPalmdoc/palmdoc.o -o /home/nico/calibre/src/calibre/plugins/cPalmdoc.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/bzzdec/bzzdecoder.o -o /home/nico/calibre/src/calibre/plugins/bzzdec.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
g++ /home/nico/calibre/build/objects/podofo/doc.o /home/nico/calibre/build/objects/podofo/output.o /home/nico/calibre/build/objects/podofo/utils.o /home/nico/calibre/build/objects/podofo/outline.o /home/nico/calibre/build/objects/podofo/podofo.o /home/nico/calibre/build/objects/podofo/impose.o /home/nico/calibre/build/objects/podofo/outlines.o /home/nico/calibre/build/objects/podofo/images.o /home/nico/calibre/build/objects/podofo/fonts.o -o /home/nico/calibre/src/calibre/plugins/podofo.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/home/nico/sw/lib -lpodofo
g++ /home/nico/calibre/build/objects/html_as_json/html_as_json.o -o /home/nico/calibre/src/calibre/plugins/html_as_json.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
g++ /home/nico/calibre/build/objects/fast_css_transform/fast_css_transform.o -o /home/nico/calibre/src/calibre/plugins/fast_css_transform.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
gcc /home/nico/calibre/build/objects/libusb/libusb.o -o /home/nico/calibre/src/calibre/plugins/libusb.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lusb-1.0
gcc /home/nico/calibre/build/objects/libmtp/libmtp.o /home/nico/calibre/build/objects/libmtp/devices.o -o /home/nico/calibre/src/calibre/plugins/libmtp.so -Wall -shared -L/usr/lib/arm-linux-gnueabihf -lpython3.11 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lmtp
SIPing 4 files...
/usr/bin/python3 -c 'from sipbuild.tools.build import main; main();' --verbose --no-make --qmake /usr/bin/qmake6
Querying qmake about your Qt installation...
/usr/bin/qmake6 -query
These bindings will be built: rcc_backend.
Generating the rcc_backend bindings...
-c: /home/nico/calibre/build/pyqt/rcc_backend/rcc.sip: line 19: column 9: 'QtCore/QtCoremod.sip' could not be found
Any advise please.