You are not logged in.
Pages: 1
Hi, I'm trying to install libtd-git because is a Tok's dependency, but while it is installing I get the following error
In file included from /home/valentino/.cache/paru/clone/libtd-git/src/libtd/td/telegram/Account.cpp:9:
/home/valentino/.cache/paru/clone/libtd-git/src/libtd/td/telegram/ContactsManager.h:1479:50: error: extra qualification ‘td::ContactsManager::’ on member ‘get_chat_administrators_object’ [-fpermissive]
1479 | td_api::object_ptr<td_api::chatAdministrators> ContactsManager::get_chat_administrators_object(
| ^~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/tdcore.dir/build.make:342: CMakeFiles/tdcore.dir/td/telegram/Account.cpp.o] Errore 1
make[1]: *** [CMakeFiles/Makefile2:463: CMakeFiles/tdcore.dir/all] Errore 2
make: *** [Makefile:146: all] Errore 2
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
errore: compilazione fallita per 'libtd-git-1.7.0.r760.g445183e5-1':
errore: compilazione fallita per i seguenti pacchetti: libtd-git-1.7.0.r760.g445183e5-1Someone knows how to solve it?
My computer has 16GB RAM
Offline
-fpermissive needs to be added to CXXFLAGS to allow the code.
CXXFLAGS+=' -fpermissive'Please consider reporting the issue to the upstream project.
Offline
-fpermissive needs to be added to CXXFLAGS to allow the code.
CXXFLAGS+=' -fpermissive'Please consider reporting the issue to the upstream project.
Thank you!
So it's an issue that needs to be solved by the project team, right?
Offline
With -fpermissive added to CXXFLAGS the package built for me. The project team could change the code so it builds without -fpermissive or adds the option automatically.
Edit:
PKGBUILD has been updated to fix the issue:
https://aur.archlinux.org/cgit/aur.git/ … 29845524a3
Last edited by loqs (2021-12-19 20:39:33)
Offline
Pages: 1