Package Details: nitrokey-app 1.3.1-1

Git Clone URL: https://aur.archlinux.org/nitrokey-app.git (read-only)
Package Base: nitrokey-app
Description: Nitrokey management application
Upstream URL: https://www.nitrokey.com
Keywords: crypto smartcard
Licenses: GPL3
Submitter: cjsthompson
Maintainer: milouse
Last Packager: milouse
Votes: 14
Popularity: 0.248847
First Submitted: 2015-02-12 07:56
Last Updated: 2018-06-25 17:38

Latest Comments

milouse commented on 2018-06-04 16:34

Fixed. Thank you very much for your investigation!

benoliver999 commented on 2018-06-04 15:45

Thanks for posting the issue on GH. The fix there works.

https://github.com/Nitrokey/nitrokey-app/issues/361#issuecomment-394345354

milouse commented on 2018-05-30 07:25

Hi jarred,

As qt 5.10 are not provided easily as package or in aur, I don't think it worth to pin it to 5.10 as new comers will be blocked too. I think this issue should be quickly fixed.

Can you create an upstream issue? https://github.com/Nitrokey/nitrokey-app/issues

I don't know much Qt but it seems to be a naming problem, maybe easily fixed with compiler macro?

jarred commented on 2018-05-30 00:15

Qt5 has been bumped to 5.11. When trying to build against that version, I got the following error:

[ 50%] Building CXX object CMakeFiles/nitrokey-app.dir/src/ui/stick20changepassworddialog.cpp.o
nitrokey-app/src/nitrokey-app-1.3/src/ui/stick20changepassworddialog.cpp: In member function ‘void DialogChangePassword::moveWindowToCenter()’:
nitrokey-app/src/nitrokey-app-1.3/src/ui/stick20changepassworddialog.cpp:196:15: error: incomplete type ‘QStyle’ used in nested name specifier
       QStyle::alignedRect(Qt::LeftToRight, Qt::AlignCenter, size(), desktop->availableGeometry()));
               ^~~~~~~~~~~
make[2]: *** [CMakeFiles/nitrokey-app.dir/build.make:217: CMakeFiles/nitrokey-app.dir/src/ui/stick20changepassworddialog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/nitrokey-app.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: nitrokey-app

I had to downgrade qt5-base, qt5-svg and qt5-tools to 5.10 to get this package to build. The Github project mentions it is tested against 5.9. Is it worth pinning those dependencies to 5.9?

Arvedui commented on 2018-04-24 16:06

Looks good to me too.

techge commented on 2018-04-24 09:22

Looks good to me!

milouse commented on 2018-04-24 08:20

Thank you very much Arvedui and techge for your help. Can you all confirm that it's ok now?

coderkun commented on 2018-04-23 21:08

Thanks for investigating, Arvedui. As workaround I built the package without chroot but would prefer to use a chroot properly, of course.

Arvedui commented on 2018-04-23 20:06

I believe I found the issue with building in a clean chroot.

The logpipe is deleted by an exit handler of makechrootpkg, which runs twice. First when the subshell that grep is running in terminates abnormal, because the grep fails and bash is setup to exit on any error. Second when the prepare function returns.

That the grep fails indicates that the entire for loop is obsolete, and indeed it builds without error (even in clean chroot) after removing the for loop in the prepare function.

techge commented on 2018-04-23 18:06

Thank you for fixing! I have tried the proposed change on #346. This indeed fix the icon problem. As far as I can see this will not fixed in 1.3 but in 1.4.

As next release will be in some month, you could add the following line in the meantime: 'sed -i '/qt5_add_resources/d' ./CMakeLists.txt' to the prepare() section (I did in line 29)?

All comments