Closed drew1kun closed 7 years ago
Make sure to follow this: https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-OS-X
And this: https://github.com/keepassxreboot/keepassxc/wiki/Building-KeePassXC
I can successfully build keepassxc on macos 10.11.6.... The resulting binary doesn't work though. So I would be interested if it works for you.
I can successfully build keepassxc on macos 10.11.6.... The resulting binary doesn't work though.
Ditto.
It seems we're not a select group: https://sts10.github.io/post/building-keepassxc-on-osx/
Basically my steps to build this were:
# clone latest develop branch
mkdir build
cd build
cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=Release -DWITH_XC_AUTOTYPE=OFF -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.8.0_2/lib/cmake ..
make -j 8
If I execute the binary directly, it isn't very helpful:
./src/KeePassXC.app/Contents/MacOS/KeePassXC
objc[30445]: Class RunLoopModeTracker is implemented in both /usr/local/Cellar/qt/5.8.0_2/lib/QtCore.framework/Versions/5/QtCore and ~/source/thirdparty/keepassxc/build/src/KeePassXC.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore. One of the two will be used. Which one is undefined.
objc[30445]: Class NotificationReceiver is implemented in both ~/source/thirdparty/keepassxc/build/src/KeePassXC.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets and /usr/local/Cellar/qt/5.8.0_2/lib/QtWidgets.framework/Versions/5/QtWidgets. One of the two will be used. Which one is undefined.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Application(0x7fff575f43e0), parent's thread is QThread(0x7f8ca1e01050), current thread is QThread(0x7f8ca1f405f0)
QSocketNotifier: Can only be used with threads started with QThread
QCoreApplication::arguments: Please instantiate the QApplication object first
QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
The "Fix the QT5 Environment" step was the important one for me when my binary didn't work. I had to change the QT5_DIR do to a path change though.
QT5_DIR="/usr/local/Cellar/qt5/$(ls /usr/local/Cellar/qt5 | sort -r | head -n1)"
To
QT5_DIR="/usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt | sort -r | head -n1)"
My cmake line looks like the following. The main thing I had to do was specify the cmake prefix path otherwise I would receive errors.
cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.8.0_2/lib/cmake ..
bck-i
QT5_DIR="/usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt | sort -r | head -n1)"
This fixed the binary build. Dear sir, you win 10 points at arcane mastery.
With the last version of QT5 on brew they decided to change the folder from /usr/local/Cellar/qt5/
to /usr/local/Cellar/qt/
so the script in the wiki isn't working anymore.
I've edited the fix_mac.sh
script here to address this changes.
Can you guys test this? Thanks
Odd thing is, /usr/local/Cellar/qt5 is symlinked to usr/local/Cellar/qt, but it makes the resulting binary rather unhappy.
The script seems to be working, however, I'm not 100% a bad script would overwrite stuff already put in the right place by install_name_tool. Is there an unistall procedure for stuff installed by install_name_tool?
@TheZ3ro That looks good to me
@mrrsm looks good mean works fine? :smile:
@SaltwaterC personally IDK if there is an uninstall procedure and even if that's useful
@TheZ3ro Yea, I realized my wording was a bit confusing after I posted. Tested it and things worked as expected.
Well. I've done this:
$ QT5_DIR="/usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt | sort -r | head -n1)"
$ echo $QT5_DIR
/usr/local/Cellar/qt/5.8.0_2/
$ cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.8.0_2/lib/cmake ..
bck-i
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test WERROR_C_AVAILABLE
-- Performing Test WERROR_C_AVAILABLE - Success
-- Performing Test WERROR_CXX_AVAILABLE
-- Performing Test WERROR_CXX_AVAILABLE - Success
-- Found LibGPGError: /usr/local/lib/libgpg-error.dylib
-- Found Gcrypt: /usr/local/lib/libgcrypt.dylib (Required is at least version "1.6.0")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Performing Test ZLIB_SUPPORTS_GZIP
-- Performing Test ZLIB_SUPPORTS_GZIP - Success
-- Performing Test HAVE_PR_SET_DUMPABLE
-- Performing Test HAVE_PR_SET_DUMPABLE - Failed
-- Performing Test HAVE_RLIMIT_CORE
-- Performing Test HAVE_RLIMIT_CORE - Success
-- Performing Test HAVE_PT_DENY_ATTACH
-- Performing Test HAVE_PT_DENY_ATTACH - Success
-- /Users/drew/keepassxc/share/translations/keepassx_cs.ts;/Users/drew/keepassxc/share/translations/keepassx_da.ts;/Users/drew/keepassxc/share/translations/keepassx_de.ts;/Users/drew/keepassxc/share/translations/keepassx_el.ts;/Users/drew/keepassxc/share/translations/keepassx_en_plurals.ts;/Users/drew/keepassxc/share/translations/keepassx_es.ts;/Users/drew/keepassxc/share/translations/keepassx_fr.ts;/Users/drew/keepassxc/share/translations/keepassx_id.ts;/Users/drew/keepassxc/share/translations/keepassx_it.ts;/Users/drew/keepassxc/share/translations/keepassx_ja.ts;/Users/drew/keepassxc/share/translations/keepassx_ko.ts;/Users/drew/keepassxc/share/translations/keepassx_lt.ts;/Users/drew/keepassxc/share/translations/keepassx_nl_NL.ts;/Users/drew/keepassxc/share/translations/keepassx_pl.ts;/Users/drew/keepassxc/share/translations/keepassx_pt_BR.ts;/Users/drew/keepassxc/share/translations/keepassx_pt_PT.ts;/Users/drew/keepassxc/share/translations/keepassx_ru.ts;/Users/drew/keepassxc/share/translations/keepassx_sl_SI.ts;/Users/drew/keepassxc/share/translations/keepassx_sv.ts;/Users/drew/keepassxc/share/translations/keepassx_uk.ts;/Users/drew/keepassxc/share/translations/keepassx_zh_CN.ts;/Users/drew/keepassxc/share/translations/keepassx_zh_TW.ts
-- Enabled features:
* AutoType , Automatic password typing
* KeePassHTTP , Browser integration compatible with ChromeIPass and PassIFox
-- Disabled features:
* YubiKey , YubiKey HMAC-SHA1 challenge-response
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/drew/keepassxc/build
But then:
And ./src/KeepassXC/Contents/MacOS is empty
What am I doing wrong?
@Drewshg312 You need to run the fix_mac.sh script from here That is what the line I posted was from. Otherwise the other steps seem fine
@Drewshg312 you need also to run make -j8 package
, follow this wiki page
I'm closing this since the bug seems fixed
Well the issue is not actually fixed. I run the script and this did not fix anything. Same issue. /src/KeepassXC/Contents/MacOS is empty Here is the build output:
$ cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.8.0_2/lib/cmake ..
bck-i
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test WERROR_C_AVAILABLE
-- Performing Test WERROR_C_AVAILABLE - Success
-- Performing Test WERROR_CXX_AVAILABLE
-- Performing Test WERROR_CXX_AVAILABLE - Success
-- Found LibGPGError: /usr/local/lib/libgpg-error.dylib
-- Found Gcrypt: /usr/local/lib/libgcrypt.dylib (Required is at least version "1.6.0")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Performing Test ZLIB_SUPPORTS_GZIP
-- Performing Test ZLIB_SUPPORTS_GZIP - Success
-- Found YubiKey: /usr/local/lib/libyubikey.dylib;/usr/local/lib/libykpers-1.dylib
-- Performing Test HAVE_PR_SET_DUMPABLE
-- Performing Test HAVE_PR_SET_DUMPABLE - Failed
-- Performing Test HAVE_RLIMIT_CORE
-- Performing Test HAVE_RLIMIT_CORE - Success
-- Performing Test HAVE_PT_DENY_ATTACH
-- Performing Test HAVE_PT_DENY_ATTACH - Success
-- /Users/drew/keepassxc/share/translations/keepassx_cs.ts;/Users/drew/keepassxc/share/translations/keepassx_da.ts;/Users/drew/keepassxc/share/translations/keepassx_de.ts;/Users/drew/keepassxc/share/translations/keepassx_el.ts;/Users/drew/keepassxc/share/translations/keepassx_en_plurals.ts;/Users/drew/keepassxc/share/translations/keepassx_es.ts;/Users/drew/keepassxc/share/translations/keepassx_fr.ts;/Users/drew/keepassxc/share/translations/keepassx_id.ts;/Users/drew/keepassxc/share/translations/keepassx_it.ts;/Users/drew/keepassxc/share/translations/keepassx_ja.ts;/Users/drew/keepassxc/share/translations/keepassx_ko.ts;/Users/drew/keepassxc/share/translations/keepassx_lt.ts;/Users/drew/keepassxc/share/translations/keepassx_nl_NL.ts;/Users/drew/keepassxc/share/translations/keepassx_pl.ts;/Users/drew/keepassxc/share/translations/keepassx_pt_BR.ts;/Users/drew/keepassxc/share/translations/keepassx_pt_PT.ts;/Users/drew/keepassxc/share/translations/keepassx_ru.ts;/Users/drew/keepassxc/share/translations/keepassx_sl_SI.ts;/Users/drew/keepassxc/share/translations/keepassx_sv.ts;/Users/drew/keepassxc/share/translations/keepassx_uk.ts;/Users/drew/keepassxc/share/translations/keepassx_zh_CN.ts;/Users/drew/keepassxc/share/translations/keepassx_zh_TW.ts
-- Enabled features:
* AutoType, Automatic password typing
* KeePassHTTP, Browser integration compatible with ChromeIPass and PassIFox
* YubiKey, YubiKey HMAC-SHA1 challenge-response
-- Disabled features:
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/drew/keepassxc/build
@Drewshg312 like I said before, you miss one step.
you need also to run
make -j8 package
, follow this wiki page
Sorry, my bad.. Done it. Seems like it's working somehow... Got Some Errors:
$ make -j8 package
Scanning dependencies of target zxcvbn_autogen
Scanning dependencies of target KeePassXC_autogen
Scanning dependencies of target keepasshttp_autogen
Scanning dependencies of target autotype_autogen
Scanning dependencies of target keepassx_core_autogen
Scanning dependencies of target translations
Scanning dependencies of target qhttp_autogen
Scanning dependencies of target keepassx-autotype-cocoa_autogen
[ 0%] Automatic MOC for target keepasshttp
[ 1%] Automatic MOC for target autotype
[ 2%] Automatic MOC for target KeePassXC
[ 2%] Automatic MOC for target keepassx-autotype-cocoa
Generating MOC compilation KeePassXC_autogen/moc_compilation.cpp
Generating MOC source keepassx-autotype-cocoa_autogen/EWIEGA46WW/moc_AutoTypeMac.cpp
[ 3%] Automatic MOC for target qhttp
Generating MOC source autotype_autogen/F22UK32LQA/moc_AutoType.cpp
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_AccessControlDialog.cpp
[ 3%] Built target KeePassXC_autogen
[ 4%] Automatic MOC for target zxcvbn
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpabstracts.cpp
Scanning dependencies of target cli_autogen
Generating MOC compilation zxcvbn_autogen/moc_compilation.cpp
[ 5%] Automatic MOC for target keepassx_core
[ 5%] Automatic MOC for target cli
[ 5%] Built target zxcvbn_autogen
Generating MOC compilation cli_autogen/moc_compilation.cpp
Scanning dependencies of target keepassxc-cli_autogen
[ 5%] Built target cli_autogen
[ 6%] Automatic MOC for target keepassxc-cli
Scanning dependencies of target zxcvbn
Generating MOC compilation keepassxc-cli_autogen/moc_compilation.cpp
[ 6%] Generating keepassx_cs.qm
[ 6%] Built target keepassxc-cli_autogen
[ 7%] Generating keepassx_da.qm
Generating MOC source keepassx_core_autogen/include/moc_KMessageWidget.cpp
[ 7%] Building CXX object src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpclient.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_da.qm'...
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_cs.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 7%] Generating keepassx_de.qm
Scanning dependencies of target cli
Generating MOC source autotype_autogen/F22UK32LQA/moc_AutoTypeSelectDialog.cpp
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_EntryConfig.cpp
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_AutoTypeAssociations.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_de.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 8%] Generating keepassx_el.qm
[ 9%] Building CXX object src/cli/CMakeFiles/cli.dir/EntropyMeter.cpp.o
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_el.qm'...
Generated 291 translation(s) (291 finished and 0 unfinished)
Ignored 20 untranslated source text(s)
[ 9%] Generating keepassx_en_plurals.qm
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpclientrequest.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_en_plurals.qm'...
Generated 3 translation(s) (3 finished and 0 unfinished)
[ 10%] Generating keepassx_es.qm
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_Config.cpp
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_HttpPasswordGeneratorWidget.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_es.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 10%] Generating keepassx_fr.qm
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_fr.qm'...
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpclientresponse.cpp
Generating MOC source autotype_autogen/F22UK32LQA/moc_AutoTypeSelectView.cpp
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 11%] Generating keepassx_id.qm
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_id.qm'...
Generated 301 translation(s) (301 finished and 0 unfinished)
Ignored 10 untranslated source text(s)
[ 11%] Generating keepassx_it.qm
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_Database.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_it.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 12%] Generating keepassx_ja.qm
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpserver.cpp
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_OptionDialog.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_ja.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
[ 12%] Generating keepassx_ko.qm
[ 12%] Building CXX object src/cli/CMakeFiles/cli.dir/Extract.cpp.o
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_ko.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
[ 13%] Generating keepassx_lt.qm
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_Entry.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_lt.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 13%] Generating keepassx_nl_NL.qm
Generating MOC source autotype_autogen/F22UK32LQA/moc_ShortcutWidget.cpp
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpserverconnection.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_nl_NL.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 14%] Generating keepassx_pl.qm
Generating MOC compilation keepassx-autotype-cocoa_autogen/moc_compilation.cpp
[ 14%] Built target keepassx-autotype-cocoa_autogen
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_pl.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 403 translation(s) (403 finished and 0 unfinished)
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_Protocol.cpp
[ 15%] Building CXX object src/CMakeFiles/zxcvbn.dir/zxcvbn_autogen/moc_compilation.cpp.o
[ 15%] Generating keepassx_pt_BR.qm
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_pt_BR.qm'...
[ 16%] Building CXX object src/cli/CMakeFiles/cli.dir/List.cpp.o
Generated 403 translation(s) (403 finished and 0 unfinished)
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpserverrequest.cpp
[ 17%] Generating keepassx_pt_PT.qm
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_EntryAttachments.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_pt_PT.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 17%] Generating keepassx_ru.qm
Generating MOC source autotype_autogen/F22UK32LQA/moc_WindowSelectComboBox.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_ru.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 404 translation(s) (404 finished and 0 unfinished)
[ 18%] Generating keepassx_sl_SI.qm
Generating MOC source qhttp_autogen/EWIEGA46WW/moc_qhttpserverresponse.cpp
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_Server.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_sl_SI.qm'...
Generated 285 translation(s) (285 finished and 0 unfinished)
Ignored 26 untranslated source text(s)
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_EntryAttributes.cpp
[ 18%] Generating keepassx_sv.qm
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_sv.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
[ 19%] Generating keepassx_uk.qm
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_uk.qm'...
Generating MOC compilation qhttp_autogen/moc_compilation.cpp
Generated 289 translation(s) (289 finished and 0 unfinished)
Ignored 22 untranslated source text(s)
[ 19%] Generating keepassx_zh_CN.qm
[ 19%] Built target qhttp_autogen
[ 19%] Building CXX object src/cli/CMakeFiles/cli.dir/Merge.cpp.o
Generating MOC source keepasshttp_autogen/EWIEGA46WW/moc_Service.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_zh_CN.qm'...
Generated 385 translation(s) (385 finished and 0 unfinished)
Ignored 18 untranslated source text(s)
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_Group.cpp
[ 20%] Generating keepassx_zh_TW.qm
Generating MOC compilation autotype_autogen/moc_compilation.cpp
Updating '/Users/drew/keepassxc/build/share/translations/keepassx_zh_TW.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
[ 20%] Built target autotype_autogen
[ 21%] Built target translations
[ 21%] Building CXX object src/cli/CMakeFiles/cli.dir/Show.cpp.o
Scanning dependencies of target qhttp
[ 21%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpabstracts.cpp.o
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_InactivityTimer.cpp
Generating MOC compilation keepasshttp_autogen/moc_compilation.cpp
[ 21%] Built target keepasshttp_autogen
[ 21%] Building CXX object src/cli/CMakeFiles/cli.dir/cli_autogen/moc_compilation.cpp.o
Generating MOC source keepassx_core_autogen/TAC5DWH4SE/moc_Metadata.cpp
[ 22%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverconnection.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_AboutDialog.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_Application.cpp
Scanning dependencies of target autotype
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_CategoryListWidget.cpp
[ 22%] Building CXX object src/CMakeFiles/autotype.dir/core/Tools.cpp.o
[ 23%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoType.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_ChangeMasterKeyWidget.cpp
[ 23%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverrequest.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_Clipboard.cpp
[ 23%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeAction.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_CloneDialog.cpp
[ 24%] Linking CXX static library libcli.a
[ 24%] Linking CXX static library libzxcvbn.a
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseOpenWidget.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libzxcvbn.a(moc_compilation.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcli.a(moc_compilation.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcli.a(moc_compilation.cpp.o) has no symbols
[ 24%] Built target cli
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libzxcvbn.a(moc_compilation.cpp.o) has no symbols
[ 25%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverresponse.cpp.o
[ 25%] Built target zxcvbn
[ 26%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectDialog.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseRepairWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseSettingsWidget.cpp
[ 26%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectView.cpp.o
[ 26%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserver.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseTabWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseWidget.cpp
[ 27%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclientrequest.cpp.o
[ 28%] Building CXX object src/CMakeFiles/autotype.dir/autotype/ShortcutWidget.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DatabaseWidgetStateSync.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DialogyWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_DragTabBar.cpp
[ 28%] Building CXX object src/CMakeFiles/autotype.dir/autotype/WildcardMatcher.cpp.o
[ 28%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclientresponse.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_EditWidget.cpp
[ 29%] Building CXX object src/CMakeFiles/autotype.dir/autotype/WindowSelectComboBox.cpp.o
[ 30%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclient.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_EditWidgetIcons.cpp
[ 30%] Building C object src/http/qhttp/CMakeFiles/qhttp.dir/http-parser/http_parser.c.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_EditWidgetProperties.cpp
[ 30%] Building CXX object src/CMakeFiles/autotype.dir/autotype_autogen/moc_compilation.cpp.o
[ 31%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttp_autogen/moc_compilation.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_IconModels.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_KeePass1OpenWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_LineEdit.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_MainWindow.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_MessageWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_PasswordEdit.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_PasswordGeneratorWidget.cpp
[ 31%] Linking CXX static library libqhttp.a
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_SearchWidget.cpp
[ 32%] Linking CXX static library libautotype.a
[ 32%] Built target qhttp
[ 33%] Generating ui_HttpPasswordGeneratorWidget.h
[ 34%] Generating ui_OptionDialog.h
[ 34%] Generating ui_AccessControlDialog.h
Scanning dependencies of target keepasshttp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_SettingsWidget.cpp
[ 34%] Built target autotype
[ 35%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/EntryConfig.cpp.o
[ 36%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/HttpPasswordGeneratorWidget.cpp.o
[ 36%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/OptionDialog.cpp.o
[ 37%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/AccessControlDialog.cpp.o
[ 37%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/HttpSettings.cpp.o
[ 37%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/Protocol.cpp.o
[ 37%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/Server.cpp.o
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_SortFilterHideProxyModel.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_UnlockDatabaseDialog.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_UnlockDatabaseWidget.cpp
Generating MOC source keepassx_core_autogen/DMHXEJ42XS/moc_WelcomeWidget.cpp
Generating MOC source keepassx_core_autogen/BKQXV2HLMH/moc_CsvImportWidget.cpp
Generating MOC source keepassx_core_autogen/BKQXV2HLMH/moc_CsvImportWizard.cpp
[ 38%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/Service.cpp.o
Generating MOC source keepassx_core_autogen/BKQXV2HLMH/moc_CsvParserModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_AutoTypeAssociationsModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EditEntryWidget.cpp
[ 38%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/keepasshttp_autogen/moc_compilation.cpp.o
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EntryAttachmentsModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EntryAttributesModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EntryHistoryModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EntryModel.cpp
Generating MOC source keepassx_core_autogen/6E6TVKAI7O/moc_EntryView.cpp
Generating MOC source keepassx_core_autogen/G34MNZT3H7/moc_EditGroupWidget.cpp
Generating MOC source keepassx_core_autogen/G34MNZT3H7/moc_GroupModel.cpp
Generating MOC source keepassx_core_autogen/G34MNZT3H7/moc_GroupView.cpp
Generating MOC source keepassx_core_autogen/NZJB33BVO3/moc_CompositeKey_p.cpp
Generating MOC source keepassx_core_autogen/NZJB33BVO3/moc_YkChallengeResponseKey.cpp
Generating MOC source keepassx_core_autogen/LUKUYJILS4/moc_YubiKey.cpp
Generating MOC source keepassx_core_autogen/IKJORKT4JR/moc_HashedBlockStream.cpp
Generating MOC source keepassx_core_autogen/IKJORKT4JR/moc_LayeredStream.cpp
Generating MOC source keepassx_core_autogen/IKJORKT4JR/moc_StoreDataStream.cpp
Generating MOC source keepassx_core_autogen/IKJORKT4JR/moc_SymmetricCipherStream.cpp
Generating MOC source keepassx_core_autogen/IKJORKT4JR/moc_qtiocompressor.cpp
[ 39%] Linking CXX static library libkeepasshttp.a
Generating MOC compilation keepassx_core_autogen/moc_compilation.cpp
[ 39%] Built target keepassx_core_autogen
[ 39%] Built target keepasshttp
[ 40%] Generating ui_AboutDialog.h
[ 40%] Generating ui_CloneDialog.h
[ 40%] Generating ui_EditGroupWidgetMain.h
[ 40%] Generating ui_ChangeMasterKeyWidget.h
[ 42%] Generating ui_CsvImportWidget.h
[ 42%] Generating ui_DatabaseOpenWidget.h
[ 42%] Generating ui_DatabaseSettingsWidget.h
[ 42%] Generating ui_CategoryListWidget.h
[ 43%] Generating ui_EditWidgetIcons.h
[ 43%] Generating ui_EditWidget.h
[ 44%] Generating ui_MainWindow.h
[ 45%] Generating ui_PasswordGeneratorWidget.h
[ 45%] Generating ui_EditWidgetProperties.h
[ 45%] Generating ui_SearchWidget.h
[ 46%] Generating ui_SettingsWidgetGeneral.h
[ 46%] Generating ui_SettingsWidgetSecurity.h
[ 47%] Generating ui_EditEntryWidgetAdvanced.h
[ 47%] Generating ui_WelcomeWidget.h
[ 47%] Generating ui_EditEntryWidgetHistory.h
[ 49%] Generating ui_EditEntryWidgetAutoType.h
[ 49%] Generating ui_EditEntryWidgetMain.h
Scanning dependencies of target keepassx_core
[ 50%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Config.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/AutoTypeAssociations.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/CsvParser.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Database.cpp.o
[ 52%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Endian.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntryAttachments.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/DatabaseIcons.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Entry.cpp.o
[ 54%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntryAttributes.cpp.o
[ 54%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntrySearcher.cpp.o
[ 55%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/FilePath.cpp.o
[ 55%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Group.cpp.o
[ 56%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/InactivityTimer.cpp.o
[ 56%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Metadata.cpp.o
[ 57%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/PasswordGenerator.cpp.o
[ 57%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/PassphraseGenerator.cpp.o
[ 58%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/SignalMultiplexer.cpp.o
[ 58%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/TimeDelta.cpp.o
[ 59%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/TimeInfo.cpp.o
[ 59%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/ToDbExporter.cpp.o
[ 60%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Tools.cpp.o
[ 60%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Translator.cpp.o
[ 61%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Uuid.cpp.o
[ 61%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/Crypto.cpp.o
[ 62%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/CryptoHash.cpp.o
[ 62%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/Random.cpp.o
[ 63%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/SymmetricCipher.cpp.o
[ 63%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/SymmetricCipherGcrypt.cpp.o
[ 64%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/CsvExporter.cpp.o
[ 64%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass1Reader.cpp.o
[ 65%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2RandomStream.cpp.o
[ 65%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2Reader.cpp.o
[ 66%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2Repair.cpp.o
[ 66%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2Writer.cpp.o
[ 67%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2XmlReader.cpp.o
[ 67%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/KeePass2XmlWriter.cpp.o
[ 68%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/AboutDialog.cpp.o
[ 68%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/Application.cpp.o
[ 69%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/CategoryListWidget.cpp.o
[ 69%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/ChangeMasterKeyWidget.cpp.o
[ 70%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/Clipboard.cpp.o
[ 70%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/CloneDialog.cpp.o
[ 71%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseOpenWidget.cpp.o
[ 71%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseRepairWidget.cpp.o
[ 72%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseSettingsWidget.cpp.o
[ 72%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseTabWidget.cpp.o
[ 73%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseWidget.cpp.o
[ 73%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DatabaseWidgetStateSync.cpp.o
[ 74%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DialogyWidget.cpp.o
[ 74%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/DragTabBar.cpp.o
[ 75%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/EditWidget.cpp.o
[ 75%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/EditWidgetIcons.cpp.o
[ 76%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/EditWidgetProperties.cpp.o
[ 76%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/FileDialog.cpp.o
[ 77%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/IconModels.cpp.o
[ 77%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/KeePass1OpenWidget.cpp.o
[ 78%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/KMessageWidget.cpp.o
[ 78%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/LineEdit.cpp.o
[ 79%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/MainWindow.cpp.o
[ 79%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/MessageBox.cpp.o
[ 80%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/MessageWidget.cpp.o
[ 80%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/PasswordEdit.cpp.o
[ 81%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/PasswordGeneratorWidget.cpp.o
[ 81%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/SettingsWidget.cpp.o
[ 82%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/SearchWidget.cpp.o
[ 82%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/SortFilterHideProxyModel.cpp.o
[ 83%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/UnlockDatabaseWidget.cpp.o
[ 83%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/UnlockDatabaseDialog.cpp.o
[ 84%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/WelcomeWidget.cpp.o
[ 84%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/csvImport/CsvImportWidget.cpp.o
[ 85%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/csvImport/CsvImportWizard.cpp.o
[ 86%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/AutoTypeAssociationsModel.cpp.o
[ 86%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/csvImport/CsvParserModel.cpp.o
[ 86%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EditEntryWidget.cpp.o
[ 87%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EntryAttachmentsModel.cpp.o
[ 87%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EntryAttributesModel.cpp.o
[ 88%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EntryHistoryModel.cpp.o
[ 88%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EntryModel.cpp.o
[ 89%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/entry/EntryView.cpp.o
[ 89%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/group/EditGroupWidget.cpp.o
[ 90%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/group/GroupModel.cpp.o
[ 90%] Building CXX object src/CMakeFiles/keepassx_core.dir/gui/group/GroupView.cpp.o
[ 91%] Building CXX object src/CMakeFiles/keepassx_core.dir/keys/CompositeKey.cpp.o
[ 91%] Building CXX object src/CMakeFiles/keepassx_core.dir/keys/FileKey.cpp.o
[ 92%] Building CXX object src/CMakeFiles/keepassx_core.dir/keys/PasswordKey.cpp.o
[ 92%] Building CXX object src/CMakeFiles/keepassx_core.dir/keys/YkChallengeResponseKey.cpp.o
[ 93%] Building CXX object src/CMakeFiles/keepassx_core.dir/streams/HashedBlockStream.cpp.o
[ 93%] Building CXX object src/CMakeFiles/keepassx_core.dir/streams/LayeredStream.cpp.o
[ 94%] Building CXX object src/CMakeFiles/keepassx_core.dir/streams/qtiocompressor.cpp.o
[ 94%] Building CXX object src/CMakeFiles/keepassx_core.dir/streams/StoreDataStream.cpp.o
[ 95%] Building CXX object src/CMakeFiles/keepassx_core.dir/streams/SymmetricCipherStream.cpp.o
[ 95%] Building CXX object src/CMakeFiles/keepassx_core.dir/keys/drivers/YubiKey.cpp.o
[ 96%] Building CXX object src/CMakeFiles/keepassx_core.dir/keepassx_core_autogen/moc_compilation.cpp.o
[ 96%] Linking CXX static library libkeepassx_core.a
[ 96%] Built target keepassx_core
Scanning dependencies of target KeePassXC
Scanning dependencies of target keepassxc-cli
[ 96%] Building CXX object src/cli/CMakeFiles/keepassxc-cli.dir/keepassxc-cli.cpp.o
[ 97%] Building CXX object src/cli/CMakeFiles/keepassxc-cli.dir/keepassxc-cli_autogen/moc_compilation.cpp.o
[ 97%] Building CXX object src/CMakeFiles/KeePassXC.dir/main.cpp.o
[ 98%] Building CXX object src/CMakeFiles/KeePassXC.dir/KeePassXC_autogen/moc_compilation.cpp.o
[ 98%] Linking CXX executable keepassxc-cli
[ 98%] Built target keepassxc-cli
[ 98%] Linking CXX executable KeePassXC.app/Contents/MacOS/KeePassXC
Deploying app bundle
[ 98%] Built target KeePassXC
Scanning dependencies of target keepassx-autotype-cocoa
[100%] Building CXX object src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AppKitImpl.mm.o
[100%] Building CXX object src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/keepassx-autotype-cocoa_autogen/moc_compilation.cpp.o
[100%] Building CXX object src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AutoTypeMac.cpp.o
/Users/drew/keepassxc/src/autotype/mac/AutoTypeMac.cpp:422:25: error: assigning to 'CGEventFlags' from incompatible type
'uint64_t' (aka 'unsigned long long')
nativeModifiers |= shiftMod;
^ ~~~~~~~~
/Users/drew/keepassxc/src/autotype/mac/AutoTypeMac.cpp:425:25: error: assigning to 'CGEventFlags' from incompatible type
'uint64_t' (aka 'unsigned long long')
nativeModifiers |= cmdMod;
^ ~~~~~~
/Users/drew/keepassxc/src/autotype/mac/AutoTypeMac.cpp:428:25: error: assigning to 'CGEventFlags' from incompatible type
'uint64_t' (aka 'unsigned long long')
nativeModifiers |= optionMod;
^ ~~~~~~~~~
/Users/drew/keepassxc/src/autotype/mac/AutoTypeMac.cpp:431:25: error: assigning to 'CGEventFlags' from incompatible type
'uint64_t' (aka 'unsigned long long')
nativeModifiers |= controlMod;
^ ~~~~~~~~~~
4 errors generated.
make[2]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AutoTypeMac.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/all] Error 2
make: *** [all] Error 2
Is it normal??? Also may it be the reason for my Chromeipass keeps saying "no connected database found", while keepassxc is open and the database in it is unlocked? Or should I open another issue? Thank you!
Ping @weslly (our MacOS guy :smile: )
@Drewshg312 this was fixed at #517, make sure you have the latest revision of the develop
branch.
@Drewshg312 Actually it seems to be another error, maybe you have an older Xcode version?
Since I can't reproduce it, can you try building this branch before I submit a new PR? https://github.com/weslly/keepassxc/tree/hotfix/elcapitan-compile
@weslly still unhappy.
cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.8.0_2/lib/cmake ..
[...]
make -j 8 package
[...]
~/keepassxc-weslly/src/autotype/mac/AutoTypeMac.cpp:422:25: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t'
(aka 'unsigned long long')
nativeModifiers |= CGEventFlags(shiftMod);
^ ~~~~~~~~~~~~~~~~~~~~~~
~/keepassxc-weslly/src/autotype/mac/AutoTypeMac.cpp:425:25: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t'
(aka 'unsigned long long')
nativeModifiers |= CGEventFlags(cmdMod);
^ ~~~~~~~~~~~~~~~~~~~~
~/keepassxc-weslly/src/autotype/mac/AutoTypeMac.cpp:428:25: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t'
(aka 'unsigned long long')
nativeModifiers |= CGEventFlags(optionMod);
^ ~~~~~~~~~~~~~~~~~~~~~~~
~/keepassxc-weslly/src/autotype/mac/AutoTypeMac.cpp:431:25: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t'
(aka 'unsigned long long')
nativeModifiers |= CGEventFlags(controlMod);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
make[2]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/AutoTypeMac.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/autotype/mac/CMakeFiles/keepassx-autotype-cocoa.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable testmodified
[100%] Built target testmodified
make: *** [all] Error 2
git branch
feature/totp
* hotfix/elcapitan-compile
git log -1
commit e964279c1eab600f869d8b628b06c317c523e88c
Author: Weslly <weslly.honorato@gmail.com>
Date: Fri Apr 28 10:22:09 2017 -0300
Fix compile issue on OSX El Capitan
clang -v
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
This happens on OS X 10.11.6 with Xcode 8.2.1.
@SaltwaterC can you update the branch and try again?
@weslly spot on:
[100%] Built target keepassx-autotype-cocoa
Run CPack packaging tool...
CPack: Create package using DragNDrop
CPack: Install projects
CPack: - Run preinstall target for: KeePassXC
CPack: - Install project: KeePassXC
CPack: Create package
CPack: - package: ~/keepassxc-weslly/build/KeePassXC-2.1.4.dmg generated.
Thanks, I'll submit a PR with the fix.
@Drewshg312 can you retry to compile the develop
branch? Should be fixed right now. If works I will close this issue.
Thanks @SaltwaterC for testing and @weslly for the hotfix :tada:
Thanks guys! It's fixed now... For OSX... But now I've tried on CentOS and I've got this:
$ make -j8
Scanning dependencies of target keepassx_core_automoc
Scanning dependencies of target keepasshttp_automoc
Scanning dependencies of target autotype_automoc
Scanning dependencies of target keepassxc_automoc
Scanning dependencies of target keepassx-autotype-xcb_automoc
[ 0%] [ 1%] [ 2%] Scanning dependencies of target translations
Automoc for target autotype
Scanning dependencies of target qhttp_automoc
[ 2%] Automoc for target keepassx_core
[ 3%] Scanning dependencies of target zxcvbn_automoc
Automoc for target keepasshttp
Generating moc_AutoType.cpp
Automoc for target keepassx-autotype-xcb
[ 3%] Automoc for target keepassxc
[ 4%] Generating moc_KMessageWidget.cpp
Generating moc_AutoTypeXCB.cpp
Automoc for target qhttp
Generating keepassx_cs.qm
[ 5%] Generating moc_AccessControlDialog.cpp
Automoc for target zxcvbn
Generating moc_qhttpabstracts.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_cs.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 5%] [ 5%] Built target keepassxc_automoc
Generating moc_AutoTypeSelectDialog.cpp
[ 5%] Generating keepassx_da.qm
Built target zxcvbn_automoc
Generating moc_AutoTypeAssociations.cpp
[ 5%] Updating '/home/drew/keepassxc/build/share/translations/keepassx_da.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Generating keepassx_de.qm
Generating moc_qhttpclient.cpp
Scanning dependencies of target keepassx-autotype-test_automoc
Generating moc_EntryConfig.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_de.qm'...
[ 6%] Generated 403 translation(s) (403 finished and 0 unfinished)
[ 7%] Generating keepassx_el.qm
[ 7%] Generating moc_AutoTypeSelectView.cpp
Generating keepassx_en_plurals.qm
Updating '/home/drew/keepassxc/build/share/translations/keepassx_el.qm'...
Automoc for target keepassx-autotype-test
Generated 291 translation(s) (291 finished and 0 unfinished)
Ignored 20 untranslated source text(s)
Generating moc_qhttpclientrequest.cpp
[ 7%] Generating moc_Config.cpp
Built target keepassx-autotype-xcb_automoc
Generating moc_HttpPasswordGeneratorWidget.cpp
[ 7%] Generating moc_AutoTypeTest.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_en_plurals.qm'...
Generated 3 translation(s) (3 finished and 0 unfinished)
Scanning dependencies of target cli_automoc
Generating keepassx_es.qm
Scanning dependencies of target keepassxc-cli_automoc
[ 8%] Generating moc_qhttpclientresponse.cpp
Generating moc_ShortcutWidget.cpp
[ 8%] Automoc for target cli
Updating '/home/drew/keepassxc/build/share/translations/keepassx_es.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
Generating moc_Database.cpp
[ 9%] Automoc for target keepassxc-cli
Generating keepassx_fr.qm
[ 9%] Built target cli_automoc
[ 9%] Generating moc_OptionDialog.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_fr.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 9%] Built target keepassxc-cli_automoc
Built target keepassx-autotype-test_automoc
[ 9%] [ 10%] Generating keepassx_id.qm
Scanning dependencies of target testautotype_automoc
Scanning dependencies of target testcryptohash_automoc
Generating keepassx_it.qm
[ 10%] Updating '/home/drew/keepassxc/build/share/translations/keepassx_id.qm'...
Generated 301 translation(s) (301 finished and 0 unfinished)
Ignored 10 untranslated source text(s)
Generating moc_qhttpserver.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_it.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 10%] [ 10%] Generating moc_Entry.cpp
Automoc for target testautotype
[ 10%] Automoc for target testcryptohash
Generating keepassx_ja.qm
Generating keepassx_ko.qm
Generating moc_Protocol.cpp
Generating moc_TestAutoType.cpp
Generating moc_TestCryptoHash.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_ko.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Updating '/home/drew/keepassxc/build/share/translations/keepassx_ja.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
[ 11%] Generating moc_WindowSelectComboBox.cpp
Scanning dependencies of target testcsvexporter_automoc
Generating keepassx_lt.qm
[ 11%] Generating moc_qhttpserverconnection.cpp
Generating moc_EntryAttachments.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_lt.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 11%] [ 11%] Automoc for target testcsvexporter
Built target testcryptohash_automoc
[ 11%] Generating moc_TestCsvExporter.cpp
Built target testautotype_automoc
Generating keepassx_nl_NL.qm
Updating '/home/drew/keepassxc/build/share/translations/keepassx_nl_NL.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
[ 11%] Scanning dependencies of target testcsvparser_automoc
Generating keepassx_pl.qm
Generating moc_EntryAttributes.cpp
[ 11%] Updating '/home/drew/keepassxc/build/share/translations/keepassx_pl.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 403 translation(s) (403 finished and 0 unfinished)
Scanning dependencies of target testdatabase_automoc
Automoc for target testcsvparser
Generating moc_qhttpserverrequest.cpp
[ 12%] Generating moc_TestCsvParser.cpp
Generating moc_Server.cpp
[ 12%] Generating keepassx_pt_BR.qm
[ 13%] Updating '/home/drew/keepassxc/build/share/translations/keepassx_pt_BR.qm'...
Generated 403 translation(s) (403 finished and 0 unfinished)
Built target testcsvexporter_automoc
[ 13%] [ 13%] Automoc for target testdatabase
Built target autotype_automoc
Generating keepassx_pt_PT.qm
Generating moc_Group.cpp
Scanning dependencies of target testdeletedobjects_automoc
Updating '/home/drew/keepassxc/build/share/translations/keepassx_pt_PT.qm'...
Generating moc_qhttpserverresponse.cpp
Generated 403 translation(s) (403 finished and 0 unfinished)
Generating moc_TestDatabase.cpp
Generating moc_Service.cpp
[ 14%] [ 15%] [ 15%] Scanning dependencies of target testentry_automoc
Automoc for target testdeletedobjects
Built target testcsvparser_automoc
Generating keepassx_ru.qm
Updating '/home/drew/keepassxc/build/share/translations/keepassx_ru.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Generated 404 translation(s) (404 finished and 0 unfinished)
[ 15%] Scanning dependencies of target testentrymodel_automoc
[ 16%] Generating moc_TestDeletedObjects.cpp
Automoc for target testentry
Generating keepassx_sl_SI.qm
[ 16%] [ 16%] Generating moc_InactivityTimer.cpp
Generating moc_TestEntry.cpp
[ 16%] Built target qhttp_automoc
Updating '/home/drew/keepassxc/build/share/translations/keepassx_sl_SI.qm'...
Generated 285 translation(s) (285 finished and 0 unfinished)
Ignored 26 untranslated source text(s)
Automoc for target testentrymodel
Built target testdatabase_automoc
[ 16%] Built target keepasshttp_automoc
[ 16%] [ 17%] Generating moc_TestEntryModel.cpp
Scanning dependencies of target testsupport_automoc
Scanning dependencies of target testentrysearcher_automoc
Generating moc_Metadata.cpp
[ 17%] Generating keepassx_uk.qm
Generating keepassx_sv.qm
[ 17%] [ 18%] [ 18%] Built target testdeletedobjects_automoc
Automoc for target testsupport
Built target testentry_automoc
Updating '/home/drew/keepassxc/build/share/translations/keepassx_uk.qm'...
Generated 289 translation(s) (289 finished and 0 unfinished)
Ignored 22 untranslated source text(s)
Automoc for target testentrysearcher
[ 18%] [ 18%] Updating '/home/drew/keepassxc/build/share/translations/keepassx_sv.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Generating moc_FailDevice.cpp
Built target testentrymodel_automoc
[ 18%] Generating keepassx_zh_CN.qm
Generating moc_TestEntrySearcher.cpp
Scanning dependencies of target testexporter_automoc
Generating keepassx_zh_TW.qm
Generating moc_AboutDialog.cpp
Scanning dependencies of target testgroup_automoc
Updating '/home/drew/keepassxc/build/share/translations/keepassx_zh_TW.qm'...
Generated 303 translation(s) (303 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Scanning dependencies of target testgroupmodel_automoc
Generating moc_modeltest.cpp
Updating '/home/drew/keepassxc/build/share/translations/keepassx_zh_CN.qm'...
Generated 385 translation(s) (385 finished and 0 unfinished)
Ignored 18 untranslated source text(s)
[ 18%] Automoc for target testexporter
[ 18%] [ 18%] Built target translations
Automoc for target testgroup
[ 18%] Generating moc_TestExporter.cpp
Scanning dependencies of target testhashedblockstream_automoc
Generating moc_Application.cpp
Automoc for target testgroupmodel
[ 18%] [ 18%] Scanning dependencies of target testkeepass1reader_automoc
Generating moc_TestGroup.cpp
Generating moc_TestGroupModel.cpp
Built target testentrysearcher_automoc
[ 18%] Automoc for target testhashedblockstream
[ 19%] Built target testsupport_automoc
Scanning dependencies of target testkeepass2randomstream_automoc
Automoc for target testkeepass1reader
Generating moc_TestHashedBlockStream.cpp
[ 19%] Generating moc_TestKeePass1Reader.cpp
Built target testexporter_automoc
[ 20%] Scanning dependencies of target testkeepass2reader_automoc
[ 20%] Generating moc_CategoryListWidget.cpp
[ 20%] Automoc for target testkeepass2randomstream
[ 20%] [ 21%] Automoc for target testkeepass2reader
Built target testgroupmodel_automoc
Generating moc_TestKeePass2RandomStream.cpp
Built target testgroup_automoc
Generating moc_TestKeePass2Reader.cpp
[ 21%] Built target testhashedblockstream_automoc
Built target testkeepass1reader_automoc
Scanning dependencies of target testkeepass2writer_automoc
Generating moc_ChangeMasterKeyWidget.cpp
Scanning dependencies of target testkeepass2xmlreader_automoc
Scanning dependencies of target testkeys_automoc
Scanning dependencies of target testrandom_automoc
Scanning dependencies of target testmodified_automoc
[ 21%] Automoc for target testkeepass2writer
[ 21%] Generating moc_TestKeePass2Writer.cpp
[ 21%] Automoc for target testkeepass2xmlreader
[ 21%] Generating moc_TestKeePass2XmlReader.cpp
[ 21%] [ 21%] Built target testkeepass2randomstream_automoc
Generating moc_Clipboard.cpp
Automoc for target testmodified
Automoc for target testkeys
Built target testkeepass2reader_automoc
[ 21%] [ 21%] Generating moc_TestKeys.cpp
Built target testkeepass2writer_automoc
Generating moc_TestModified.cpp
Scanning dependencies of target testsymmetriccipher_automoc
[ 21%] Automoc for target testrandom
Scanning dependencies of target testwildcardmatcher_automoc
[ 21%] Built target testkeepass2xmlreader_automoc
Generating moc_CloneDialog.cpp
Scanning dependencies of target testykchallengeresponsekey_automoc
[ 21%] Automoc for target testsymmetriccipher
Generating moc_TestRandom.cpp
[ 21%] Automoc for target testwildcardmatcher
Automoc for target testykchallengeresponsekey
Scanning dependencies of target autotype
Generating moc_TestSymmetricCipher.cpp
Generating moc_TestYkChallengeResponseKey.cpp
Generating moc_TestWildcardMatcher.cpp
[ 21%] [ 21%] [ 21%] Built target testmodified_automoc
[ 21%] Building CXX object src/CMakeFiles/autotype.dir/core/Tools.cpp.o
Built target testkeys_automoc
Built target testrandom_automoc
[ 21%] Scanning dependencies of target qhttp
[ 21%] Scanning dependencies of target cli
Scanning dependencies of target zxcvbn
[ 21%] Built target testsymmetriccipher_automoc
Built target testykchallengeresponsekey_automoc
Generating moc_DatabaseOpenWidget.cpp
Built target testwildcardmatcher_automoc
[ 21%] [ 22%] Scanning dependencies of target testsupport
Building CXX object src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o
[ 23%] [ 24%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoType.cpp.o
Building CXX object src/cli/CMakeFiles/cli.dir/EntropyMeter.cpp.o
Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeAction.cpp.o
[ 24%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpabstracts.cpp.o
Generating moc_DatabaseRepairWidget.cpp
[ 25%] Building CXX object tests/CMakeFiles/testsupport.dir/modeltest.cpp.o
[ 25%] Building CXX object src/cli/CMakeFiles/cli.dir/Extract.cpp.o
Generating moc_DatabaseSettingsWidget.cpp
Generating moc_DatabaseTabWidget.cpp
Generating moc_DatabaseWidget.cpp
Generating moc_DatabaseWidgetStateSync.cpp
Generating moc_DialogyWidget.cpp
[ 26%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverconnection.cpp.o
Generating moc_DragTabBar.cpp
Generating moc_EditWidget.cpp
[ 26%] Building CXX object src/cli/CMakeFiles/cli.dir/List.cpp.o
Generating moc_EditWidgetIcons.cpp
Generating moc_EditWidgetProperties.cpp
[ 26%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverrequest.cpp.o
Generating moc_IconModels.cpp
Generating moc_KeePass1OpenWidget.cpp
Generating moc_LineEdit.cpp
[ 26%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectDialog.cpp.o
Generating moc_MainWindow.cpp
Generating moc_MessageWidget.cpp
Generating moc_PasswordEdit.cpp
Generating moc_PasswordGeneratorWidget.cpp
Generating moc_SearchWidget.cpp
[ 26%] Building CXX object src/CMakeFiles/autotype.dir/autotype/AutoTypeSelectView.cpp.o
Generating moc_SettingsWidget.cpp
[ 26%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserverresponse.cpp.o
Generating moc_SortFilterHideProxyModel.cpp
[ 27%] Building CXX object src/cli/CMakeFiles/cli.dir/Merge.cpp.o
Generating moc_UnlockDatabaseDialog.cpp
[ 28%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpserver.cpp.o
Generating moc_UnlockDatabaseWidget.cpp
Generating moc_WelcomeWidget.cpp
Generating moc_CsvImportWidget.cpp
[ 28%] Building CXX object tests/CMakeFiles/testsupport.dir/FailDevice.cpp.o
Generating moc_CsvImportWizard.cpp
Generating moc_CsvParserModel.cpp
[ 29%] Building CXX object src/CMakeFiles/autotype.dir/autotype/ShortcutWidget.cpp.o
Generating moc_AutoTypeAssociationsModel.cpp
Generating moc_EditEntryWidget.cpp
Generating moc_EntryAttachmentsModel.cpp
Generating moc_EntryAttributesModel.cpp
[ 29%] Building CXX object src/cli/CMakeFiles/cli.dir/Show.cpp.o
Generating moc_EntryHistoryModel.cpp
Generating moc_EntryModel.cpp
[ 29%] Building CXX object src/CMakeFiles/zxcvbn.dir/zxcvbn_automoc.cpp.o
Generating moc_EntryView.cpp
[ 29%] Building CXX object src/cli/CMakeFiles/cli.dir/cli_automoc.cpp.o
[ 29%] [ 29%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclientrequest.cpp.o
Building CXX object src/CMakeFiles/autotype.dir/autotype/WildcardMatcher.cpp.o
[ 29%] Generating moc_EditGroupWidget.cpp
[ 29%] Building CXX object tests/CMakeFiles/testsupport.dir/testsupport_automoc.cpp.o
Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclientresponse.cpp.o
Generating moc_GroupModel.cpp
Generating moc_GroupView.cpp
Generating moc_CompositeKey_p.cpp
Generating moc_YkChallengeResponseKey.cpp
Generating moc_YubiKey.cpp
Generating moc_HashedBlockStream.cpp
Generating moc_LayeredStream.cpp
Generating moc_StoreDataStream.cpp
Generating moc_SymmetricCipherStream.cpp
[ 29%] Building CXX object src/CMakeFiles/autotype.dir/autotype/WindowSelectComboBox.cpp.o
Generating moc_qtiocompressor.cpp
Linking CXX static library libzxcvbn.a
[ 29%] Built target keepassx_core_automoc
[ 30%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttpclient.cpp.o
[ 31%] Building CXX object src/CMakeFiles/autotype.dir/autotype_automoc.cpp.o
[ 31%] Built target zxcvbn
Linking CXX static library libcli.a
[ 31%] Building C object src/http/qhttp/CMakeFiles/qhttp.dir/http-parser/http_parser.c.o
[ 31%] Built target cli
[ 32%] Building CXX object src/http/qhttp/CMakeFiles/qhttp.dir/qhttp_automoc.cpp.o
Linking CXX static library libtestsupport.a
[ 32%] Built target testsupport
Linking CXX static library libautotype.a
[ 32%] Built target autotype
Linking CXX static library libqhttp.a
[ 32%] Built target qhttp
[ 32%] [ 32%] [ 33%] Generating ui_AccessControlDialog.h
Generating ui_HttpPasswordGeneratorWidget.h
Generating ui_OptionDialog.h
Scanning dependencies of target keepasshttp
[ 33%] [ 34%] [ 34%] [ 34%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/AccessControlDialog.cpp.o
Building CXX object src/http/CMakeFiles/keepasshttp.dir/EntryConfig.cpp.o
Building CXX object src/http/CMakeFiles/keepasshttp.dir/HttpSettings.cpp.o
[ 34%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/HttpPasswordGeneratorWidget.cpp.o
[ 35%] [ 36%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/OptionDialog.cpp.o
Building CXX object src/http/CMakeFiles/keepasshttp.dir/Protocol.cpp.o
Building CXX object src/http/CMakeFiles/keepasshttp.dir/Server.cpp.o
[ 36%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/Service.cpp.o
[ 36%] Building CXX object src/http/CMakeFiles/keepasshttp.dir/keepasshttp_automoc.cpp.o
In file included from /usr/include/qt5/QtCore/qnamespace.h:37:0,
from /usr/include/qt5/QtCore/qobjectdefs.h:41,
from /usr/include/qt5/QtCore/qobject.h:40,
from /usr/include/qt5/QtCore/qabstractanimation.h:37,
from /usr/include/qt5/QtCore/QtCore:4,
from /home/drew/keepassxc/src/http/Protocol.h:17,
from /home/drew/keepassxc/src/http/Protocol.cpp:14:
/home/drew/keepassxc/src/http/Protocol.cpp: In function ‘QByteArray encrypt2(const QByteArray&, SymmetricCipherGcrypt&)’:
/usr/include/qt5/QtCore/qglobal.h:670:28: warning: ignoring return value of function declared with attribute warn_unused_result [-Wunused-result]
#define Q_UNUSED(x) (void)x;
^
/home/drew/keepassxc/src/http/Protocol.cpp:114:5: note: in expansion of macro ‘Q_UNUSED’
Q_UNUSED(cipher.processInPlace(buffer));
^
Linking CXX static library libkeepasshttp.a
[ 36%] Built target keepasshttp
[ 36%] [ 37%] [ 37%] [ 37%] Generating ui_CloneDialog.h
Generating ui_AboutDialog.h
[ 38%] Generating ui_CsvImportWidget.h
Generating ui_ChangeMasterKeyWidget.h
[ 39%] Generating ui_DatabaseOpenWidget.h
Generating ui_EditGroupWidgetMain.h
[ 39%] [ 39%] [ 40%] [ 40%] Generating ui_CategoryListWidget.h
Generating ui_DatabaseSettingsWidget.h
[ 41%] Generating ui_EditWidget.h
[ 41%] Generating ui_EditWidgetIcons.h
[ 42%] Generating ui_EditWidgetProperties.h
Generating ui_MainWindow.h
[ 42%] [ 42%] [ 42%] Generating ui_SearchWidget.h
Generating ui_SettingsWidgetGeneral.h
Generating ui_PasswordGeneratorWidget.h
[ 43%] Generating ui_SettingsWidgetSecurity.h
Generating ui_WelcomeWidget.h
[ 43%] [ 44%] Generating ui_EditEntryWidgetAdvanced.h
[ 44%] [ 44%] Generating ui_EditEntryWidgetAutoType.h
Generating ui_EditEntryWidgetHistory.h
Generating ui_EditEntryWidgetMain.h
Scanning dependencies of target keepassx_core
[ 44%] [ 44%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/AutoTypeAssociations.cpp.o
[ 45%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Config.cpp.o
[ 45%] [ 46%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/CsvParser.cpp.o
[ 46%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Database.cpp.o
Building CXX object src/CMakeFiles/keepassx_core.dir/core/DatabaseIcons.cpp.o
Building CXX object src/CMakeFiles/keepassx_core.dir/core/Endian.cpp.o
[ 46%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Entry.cpp.o
[ 47%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntryAttachments.cpp.o
[ 47%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntryAttributes.cpp.o
[ 47%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/EntrySearcher.cpp.o
[ 48%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/FilePath.cpp.o
[ 48%] [ 49%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Group.cpp.o
Building CXX object src/CMakeFiles/keepassx_core.dir/core/InactivityTimer.cpp.o
[ 49%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Metadata.cpp.o
[ 49%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/PasswordGenerator.cpp.o
[ 50%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/PassphraseGenerator.cpp.o
[ 50%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/SignalMultiplexer.cpp.o
[ 50%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/TimeDelta.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/TimeInfo.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/ToDbExporter.cpp.o
[ 51%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Tools.cpp.o
[ 52%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Translator.cpp.o
[ 52%] Building CXX object src/CMakeFiles/keepassx_core.dir/core/Uuid.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/Crypto.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/CryptoHash.cpp.o
[ 53%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/Random.cpp.o
[ 54%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/SymmetricCipher.cpp.o
[ 54%] Building CXX object src/CMakeFiles/keepassx_core.dir/crypto/SymmetricCipherGcrypt.cpp.o
/home/drew/keepassxc/src/crypto/Crypto.cpp: In static member function ‘static bool Crypto::checkAlgorithms()’:
/home/drew/keepassxc/src/crypto/Crypto.cpp:93:31: error: ‘GCRY_CIPHER_SALSA20’ was not declared in this scope
if (gcry_cipher_algo_info(GCRY_CIPHER_SALSA20, GCRYCTL_TEST_ALGO, nullptr, nullptr) != 0) {
^
[ 54%] Building CXX object src/CMakeFiles/keepassx_core.dir/format/CsvExporter.cpp.o
make[2]: *** [src/CMakeFiles/keepassx_core.dir/crypto/Crypto.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/drew/keepassxc/src/crypto/SymmetricCipherGcrypt.cpp: In static member function ‘static int SymmetricCipherGcrypt::gcryptAlgo(SymmetricCipher::Algorithm)’:
/home/drew/keepassxc/src/crypto/SymmetricCipherGcrypt.cpp:48:16: error: ‘GCRY_CIPHER_SALSA20’ was not declared in this scope
return GCRY_CIPHER_SALSA20;
^
make[2]: *** [src/CMakeFiles/keepassx_core.dir/crypto/SymmetricCipherGcrypt.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/keepassx_core.dir/all] Error 2
make: *** [all] Error 2
I guess it's not normal too... Should I open another issue?
@Drewshg312 Yes, open a new issue please, anyway seems a problem with libgcrypt
what version are you using? Check with the package manager, you need libgcrypt > 1.6
@TheZ3ro, Damn, you are right it is libgcrypt 1.5 in packages ((((
Hi! I tried to build keepassxc from source on OS X 10.11.6. This is what I've done:
QT 5.8 (installed from Homebrew)
Please help.