Open ynikitenko opened 4 years ago
I found that the error is pretty same as in https://github.com/kiwix/kiwix-build/issues/260#issuecomment-436046733.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
The Qt compilation is mostly broken. We should remove it and use a pre-compiled version (system packages).
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
@ynikitenko Do you still experience this problem with latest vetsions of kiwix-desktop?
I don't know. I'm using kiwix-desktop from the "community" Arch Linux repository, so it should be rather up-to-date. I have a problem with the search bar, https://github.com/kiwix/kiwix-desktop/issues/499, so I'm not going to make a new manual installation. I use Kiwix 0.9 most often, it functions flawlessly for me (but I also use the more recent version for newer ZIM files, when I really want to check them). I think if it works for other people, you can close this issue (hope things have improved since then, and also it can be installed by its maintainers on Arch).
@ynikitenko Glad to hear the result of your last attempt... otherwise I will close at some point in the future.
Fine, I'm trying to install it. I have several notes.
$ kiwix-build kiwix-desktop ERROR: The target platform native_dyn cannot be build on host arch. Select another target platform or change your host system. [INSTALL PACKAGES] SKIP, No package to install. [SETUP PLATFORMS] [PREPARE] prepare sources icu4c : download icu4c : OK (4.7s) extract icu4c : OK (4.0s) patch icu4c : OK (0.1s) prepare sources zlib : download zlib : OK (3.7s) extract zlib : OK (0.1s) patch zlib : OK (0.0s) prepare sources qt : download qt : 3.64%
qt
installed on my system. It's not needed (or at least unexpected for me) that it has to download it anew.So the error reported first has vanished?
I didn't know at that time, because it was downloading qt, and then it was building it. Oh, yes, here is the error:
`build qt (native_dyn): configure qt : .ERROR run command '/opt/kiwix-build/SOURCE/qt-5.10.1/configure -recheck -opensource -confirm-license -ccache -make libs -skip qt3d -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtlocation -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebglplugin -skip qtwebsockets -shared -prefix /opt/kiwix-build/./BUILD_native_dyn/INSTALL -libdir /opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib' current directory is '/opt/kiwix-build/./BUILD_nativedyn/qt-5.10.1' env is : SHELL : '/bin/bash' ... : '/home/yaroslav/.local/bin/kiwix-build' PKG_CONFIG_PATH : ':/opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib/pkgconfig' QMAKE_CXXFLAGS : '-I/opt/kiwix-build/./BUILD_native_dyn/INSTALL/include ' CPPFLAGS : '-I/opt/kiwix-build/./BUILD_native_dyn/INSTALL/include ' QMAKE_LFLAGS : '-L/opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib -L/opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib ' LDFLAGS : '-L/opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib -L/opt/kiwix-build/./BUILD_native_dyn/INSTALL/lib ' CFLAGS : ' -O3' CXXFLAGS : ' -O3'
Stopping build due to errors `
So now it is a different error. Maybe one can say that the old error has disappeared, but I'm not sure.
I didn't use virtualenv (hope it doesn't influence the results), but otherwise I ran commands from https://github.com/kiwix/kiwix-build.
@mgautierfr Honestly I'm a bit puzzled how to deal with this issue. Do you?
I run
kiwix-build --target-platform native_static kiwix-desktop
. Duringqt
build there appears an error:(... some environment, I can show it if needed ...)
It seems that qt functions
statx
andrenameat2
conflict with system functions. Probably this is not so much an issue ofkiwix-build
, but what should be done about that? A better version of the qt package? Some manual fixes? (I'm using Fedora Core 29).