Thank @lunaryorn for the patch. This works.
Just out of curiosity: Why do we enforce Qt6 where we need a patch and not use Qt5?
Git Clone URL: | https://aur.archlinux.org/ausweisapp2.git (read-only, click to copy) |
---|---|
Package Base: | ausweisapp2 |
Description: | A software application that you install on your computer to use your national identity card or your electronic residence permit for online identification |
Upstream URL: | https://www.ausweisapp.bund.de/ |
Licenses: | custom:EUPL1.2 |
Submitter: | J5lx |
Maintainer: | Misery |
Last Packager: | Misery |
Votes: | 73 |
Popularity: | 1.58 |
First Submitted: | 2017-09-15 18:13 (UTC) |
Last Updated: | 2024-10-30 12:11 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »
Thank @lunaryorn for the patch. This works.
Just out of curiosity: Why do we enforce Qt6 where we need a patch and not use Qt5?
Run into the same issue like MartinX3. Still the same error. I have qt6 installed, that seems to change nothing.
Applying https://github.com/Governikus/AusweisApp2/pull/37 should fix the build and the QML errors.
Perhaps this PKGBUILD could apply a corresponding patch until a new release is available?
Edit: See https://pastebin.mozilla.org/z0rLWVoy for a corresponding patch to this package.
Same error here! After downgrading to Qt6 v6.3 everything works fine again.
Somehow I don't see a GUI anymore.
Only the tray icon.
Sadly the developer claim in his support webform that Linux is not supported.
I think it's because
default 2022.10.01 12:12:21.669 130081 W (unknown:0) : QQmlApplicationEngine failed to load component
default 2022.10.01 12:12:21.669 130081 W (/qml/+desktop/main.qml:43) : qrc:/qml/+desktop/main.qml:43:11: Type TitleBar unavailable
default 2022.10.01 12:12:21.669 130081 W (/qml/Governikus/TitleBar/+desktop/TitleBar.qml:94) : qrc:/qml/Governikus/TitleBar/+desktop/TitleBar.qml:94:3: Type GSeparator unavailable
default 2022.10.01 12:12:21.669 130081 W (/qml/Governikus/Global/GSeparator.qml:-1) : qrc:/qml/Governikus/Global/GSeparator.qml: Type Style unavailable
default 2022.10.01 12:12:21.669 130081 W (/qml/Governikus/Style/Style.qml:16) : qrc:/qml/Governikus/Style/Style.qml:16:32: Type HighContrastColors unavailable
default 2022.10.01 12:12:21.669 130081 W (/qml/Governikus/Style/+desktop/HighContrastColors.qml:7) : qrc:/qml/Governikus/Style/+desktop/HighContrastColors.qml:7:1: Type Colors unavailable
default 2022.10.01 12:12:21.669 130081 W (/qml/Governikus/Style/Colors.qml:7) : qrc:/qml/Governikus/Style/Colors.qml:7:2: color is not a type
Recompilation doesn't work because of error:
[23/515] Building CXX object src/global/CMakeFiles/AusweisAppGlobal.dir/VersionNumber.cpp.o
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/global/VersionNumber.cpp: In Konstruktor »governikus::VersionNumber::VersionNumber(const QString&)«:
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/global/VersionNumber.cpp:21:52: Warnung: »static QVersionNumber QVersionNumber::fromString(QAnyStringView, int*) [with <template-parameter-1-1> = void]« ist veraltet: Use the 'qsizetype *suffixIndex' overload. [-Wdeprecated-declarations]
21 | mVersionNumber = QVersionNumber::fromString(pVersion, &idx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/qt6/QtCore/QVersionNumber:1,
von /tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/global/VersionNumber.h:10,
von /tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/global/VersionNumber.cpp:5:
/usr/include/qt6/QtCore/qversionnumber.h:256:41: Anmerkung: hier deklariert
256 | [[nodiscard]] static QVersionNumber fromString(QAnyStringView string, int *suffixIndex)
| ^~~~~~~~~~
[24/515] Building CXX object src/global/CMakeFiles/AusweisAppGlobal.dir/VersionInfo.cpp.o
[25/515] Linking CXX static library src/global/libAusweisAppGlobal.a
[26/515] Automatic MOC for target AusweisAppSecureStorage
[27/515] Automatic MOC for target AusweisAppUi
[28/515] Automatic MOC for target AusweisAppSettings
[29/515] Building CXX object src/ui/base/CMakeFiles/AusweisAppUi.dir/UIPlugIn.cpp.o
[30/515] Building CXX object src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/TlsConfiguration.cpp.o
FAILED: src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/TlsConfiguration.cpp.o
/usr/lib/ccache/bin/c++ -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DUNICODE -I/tmp/makepkg/ausweisapp2/src/build/src/secure_storage -I/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage -I/tmp/makepkg/ausweisapp2/src/build/src/secure_storage/AusweisAppSecureStorage_autogen/include -I/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/global -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtNetwork -march=native -O2 -pipe -fno-plt -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Wcast-qual -Wshadow -fstack-protector-strong -fcf-protection -fstack-clash-protection -fno-exceptions -Wold-style-cast -Wcast-align=strict -Wpedantic -Wvla -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wsuggest-override -Wnon-virtual-dtor -Wdate-time -Wunused -Wextra-semi -Wuseless-cast -Os -DNDEBUG -g -fno-rtti -fPIC -fPIC -std=c++20 -MD -MT src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/TlsConfiguration.cpp.o -MF src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/TlsConfiguration.cpp.o.d -o src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/TlsConfiguration.cpp.o -c /tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp: In Elementfunktion »void governikus::TlsConfiguration::load(const QJsonObject&)«:
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp:72:53: Fehler: Umwandlung von »const QJsonValueConstRef« in nicht-skalaren Typen »JsonValueRef« {aka »const QJsonValueRef«} angefordert
72 | for (JsonValueRef line : qAsConst(pskCiphers))
| ^
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp:79:53: Fehler: Umwandlung von »const QJsonValueConstRef« in nicht-skalaren Typen »JsonValueRef« {aka »const QJsonValueRef«} angefordert
79 | for (JsonValueRef line : qAsConst(allowedEcs))
| ^
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp: In Elementfunktion »QByteArrayList governikus::TlsConfiguration::readSignatureAlgorithms(const QJsonObject&, QLatin1String) const«:
/tmp/makepkg/ausweisapp2/src/AusweisApp2-1.24.2/src/secure_storage/TlsConfiguration.cpp:216:34: Fehler: Umwandlung von »const QJsonValueConstRef« in nicht-skalaren Typen »JsonValueRef« {aka »const QJsonValueRef«} angefordert
216 | for (JsonValueRef line : array)
| ^~~~~
[31/515] Building CXX object src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/AusweisAppSecureStorage_autogen/mocs_compilation.cpp.o
[32/515] Building CXX object src/settings/CMakeFiles/AusweisAppSettings.dir/AbstractSettings.cpp.o
[33/515] Building CXX object src/ui/base/CMakeFiles/AusweisAppUi.dir/AusweisAppUi_autogen/mocs_compilation.cpp.o
[34/515] Building CXX object src/settings/CMakeFiles/AusweisAppSettings.dir/AutoStart.cpp.o
[35/515] Building CXX object src/settings/CMakeFiles/AusweisAppSettings.dir/AusweisAppSettings_autogen/mocs_compilation.cpp.o
[36/515] Building CXX object src/settings/CMakeFiles/AusweisAppSettings.dir/AppSettings.cpp.o
[37/515] Building CXX object src/ui/base/CMakeFiles/AusweisAppUi.dir/UILoader.cpp.o
[38/515] Building CXX object src/secure_storage/CMakeFiles/AusweisAppSecureStorage.dir/SecureStorage.cpp.o
[39/515] Building CXX object src/settings/CMakeFiles/AusweisAppSettings.dir/GeneralSettings.cpp.o
ninja: build stopped: subcommand failed.
Thanks to older comments, problem with unknown pgp key is solved. Had to enter
gpg --keyserver keyserver.ubuntu.com --recv-keys 699BF3055B0A49224EFDE7C72D7479A531451088
I tried several keyservers, but keyserver.ubuntu.com was the right one.
same here , can not import pgp key:
:: PGP keys need importing:
-> 699BF3055B0A49224EFDE7C72D7479A531451088, required by: ausweisapp2
:: Import? [Y/n] y
:: Importing keys with gpg...
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
-> problem importing keys
The build takes a lot longer than needed because it uses only one CPU core. Could you add the -j
-flag to enable parallel builds?
cmake --build build -j
Maybe something's wrong with the public pgp-key? At the end of the installationprocedure the message pops up:
==> Überprüfe source Dateien mit sha256sums...
AusweisApp2-1.24.1.tar.gz ... Erfolg
AusweisApp2-1.24.1.tar.gz.asc ... Übersprungen
==> Überprüfe Signaturen der Quell-Dateien mit gpg...
AusweisApp2-1.24.1.tar.gz ... FEHLGESCHLAGEN (Unbekannter öffentlicher Schlüssel 2D7479A531451088)
==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden!
The forelast line is the important one: " Failure (unknown public key 2D7479A531451088) "
Can anyone help please?
Pinned Comments
williX commented on 2022-09-18 17:08 (UTC) (edited on 2022-09-18 17:09 (UTC) by williX)
Thanks to older comments, problem with unknown pgp key is solved. Had to enter
I tried several keyservers, but keyserver.ubuntu.com was the right one.