Hi.I have issues with using package. The folowing is in dmesg. Could you please help?
[ 900.793537] pinentry-dmenu[14946]: segfault at 0 ip 00007f50f08aedfa sp 00007ffe45e08b78 error 4 in libc.so.6[7f50f0826000+15f000] likely on CPU 2 (core 1, socket 0)
[ 900.793552] Code: f3 0f 1e fa 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 66 <f3> 0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83
@dreieck Fixed. Thanks for pointing out.
pinentry-dmenu-inco and pinentry-dmenu need to conflict with each other. And please also check if one of them provides the other:
(3/3) checking for file conflicts [#######################################################] 100%
error: failed to commit transaction (conflicting files)
pinentry-dmenu-inco: /usr/bin/pinentry-dmenu exists in filesystem (owned by pinentry-dmenu)
Thanks for maintaining!
@bandithijo: Thank you for the comment. I fixed it and released a new minor version.
gcc & gcc-libs has upgrade to 10.
This caused the problem.
/usr/bin/ld: pinentry/pinentry.o:(.bss+0x0): multiple definition of `pinentry'; pinentry-dmenu.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:33: pinentry-dmenu] Error 1
Temporary solution, I need to downgrade gcc & gcc-libs to 9.3.0. and make process is success.
I dont understand how to fix the problem ini the package.
This is reference about gcc 10
https://gcc.gnu.org/gcc-10/porting_to.html
Thank you for your hard work. (^_^)
Hi ritze, nice job with this app! Here are a few suggestions for your PKGBUILD:
-
You can remove the line that installs LICENSE, because your license (GPL2) is a common one and is already present in /usr/share/licenses/common. Declaring license=('GPL2') is enough, see here for details: https://wiki.archlinux.org/index.php/PKGBUILD#license
-
You should add provides=('pinentry') line. What this will do is it will allow people to completely replace core/pinentry with your package. Currently people have to install both, because for example gnupg depends on pinentry.
After making these changes, remember to increase pkgrel and run makepkg --printsrcinfo > .SRCINFO before committing and pushing this to AUR.
@scampi: Thanks for the information. I updated the package.
Hi,
You need to update the pkgrel number in .SRCINFO to 2.
ATM you get the following error when installing the package:
ensure package version does not mismatch between .SRCINFO and PKGBUILD