Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2019-01-10 Thread Bob Friesenhahn
On Fri, 11 Jan 2019, benta...@chez.com wrote: Ok, I just needed a few more minutes obviously so I found where this options were defined by default : CMakeLists.txt:add_gcc_compiler_flags("-fvisibility=hidden") CMakeLists.txt:add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden") commented th

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2019-01-10 Thread bentahyr
Ok, I just needed a few more minutes obviously so I found where this options were defined by default : CMakeLists.txt:add_gcc_compiler_flags("-fvisibility=hidden") CMakeLists.txt:add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden") commented them out and compiled it Et voila! It works (

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2019-01-10 Thread bentahyr
Hi all, I'm coming back to this and spent nearly 1.5 day on this. They used to have this issue on netbsd and first solved it by removing compilation option related to symbol visibility, then removed that hack later on but I cannot figure out how they work it out to not use the hack. http://cv

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-04 Thread bentahyr
The issue on autotype is related to QT. The plugin for autotype doesn't load at start : $ LANG=en_US.UTF-8 LD_LIBRARY_PATH=/usr/lib/qt/5.8/lib:/usr/local/lib /usr/local/bin/keepassxc Qt: Session management error: Could not open network socket Warning: using insecure memory! Couldn't load transla

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-03 Thread bentahyr
This is not perfect, this is what's left to do : - 64bits keepassxc and libargon2 - autotype doesn't work, option (menu entries, shortcut) not present libargon2 compiles out of the box https://github.com/P-H-C/phc-winner-argon2 cmake : - cmake linker flags -lsocket -lnsl -lrt -lresolv - cmake di

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-03 Thread Till Wegmüller
Nice work. I would also be interested in it. Could you Publish a patch or put a makefile into OI Userland? Thanks and Greetings Till On 12/03/18 09:28 PM, benta...@chez.com wrote: > Thanks Bob and Alexander, I think I start to understand. > > grep digits ../../src/totp/totp.cpp > [...] > quint8

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-03 Thread bentahyr
Thanks Bob and Alexander, I think I start to understand. grep digits ../../src/totp/totp.cpp [...] quint8 digits = encoder.digits == 0 ? numDigits : encoder.digits; [...] From my 30 years old rusty knowledge of C++, this mean that digits is supposed to be a 'quint8' which is most probably QT ve

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-03 Thread Bob Friesenhahn
On Mon, 3 Dec 2018, benta...@chez.com wrote: Hello, 'static QString Totp::generateTotp(QByteArray, quint64, quint8, quint8)': /home/ben/tmp/keepassxc-2.3.4/src/totp/totp.cpp:167:62: error: call of overloaded 'pow(int, quint8&)' is ambiguous quint32 digitsPower = pow(encoder.alphabet.size()

Re: [OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-02 Thread Alexander Pyhalov via openindiana-discuss
инфраструктуры ЮФУ От: benta...@chez.com Отправлено: 3 декабря 2018 г. 6:07:34 Кому: openindiana-discuss@openindiana.org Тема: [OpenIndiana-discuss] Compiling KeepassXC on Hipster Hello, I'm trying to compile KeepassXC from source using gcc-7 but I

[OpenIndiana-discuss] Compiling KeepassXC on Hipster

2018-12-02 Thread bentahyr
Hello, I'm trying to compile KeepassXC from source using gcc-7 but I fall onto the following issue : [ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/totp/totp.cpp.o /home/ben/tmp/keepassxc-2.3.4/src/totp/totp.cpp: In static member function 'static QString Totp::generateTotp(QByte