Created attachment 184206 [details] keepassxc-2.2.0.patch
keepassxc-2.2.0 fails to build on 10.3-R because Clang base version is too old. FAILED: src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o /usr/bin/c++ -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_STRICT_ITERATORS -DWITH_APP_BUNDLE -Isrc/zxcvbn_autogen/include -isystem /usr/local/include -I/wrkdirs/usr/ports/security/keepassxc/work/keepassxc-2.2.0/src -Isrc -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-common -Wall -Wextra -Wundef -Wpointer-arith -Wno-long-long -Wformat=2 -Wmissing-format-attribute -fvisibility=hidden -fvisibility-inlines-hidden -fstack-protector-strong -fno-exceptions -fno-rtti -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -D_FORTIFY_SOURCE=2 -std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o -MF src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o.d -o src/CMakeFiles/zxcvbn.dir/zxcvbn/zxcvbn.cpp.o -c /wrkdirs/usr/ports/security/keepassxc/work/keepassxc-2.2.0/src/zxcvbn/zxcvbn.cpp c++: error: unknown argument: '-fstack-protector-strong' Full build log: http://sprunge.us/RaCC It builds fine after switching to USES=compiler:c++14-lang
Other possible solution would be tweak the keepassxc-2.2.0/CMakeLists.txt to request a higher Clang version which does support the -fstack-protector-strong flag.
Created attachment 184289 [details] keepassxc-2.2.0.fix.patch ok, i've added check for minimum clang version (3.8) in the keepassxc-2.2.0/CMakeLists.txt
Created attachment 184292 [details] patch-keepassxc-2.2.0.diff Fix segmentation fault at startup (reproduced on 10.3-R/amd64).
poudriere testport builds fine on 10.3/amd64, 10.3/i386, 11.0/amd64, 11.0/i386, 12.0/amd64 and 12.0/i386.
(In reply to Carlos J. Puga Medina from comment #4) Andrew, You are the maintainer, please set (+) to approve the attachment. Attachments: Details -> Flags
Comment on attachment 184292 [details] patch-keepassxc-2.2.0.diff ok
A commit references this bug: Author: cpm Date: Thu Jul 13 23:46:35 UTC 2017 New revision: 445719 URL: https://svnweb.freebsd.org/changeset/ports/445719 Log: security/keepassxc: update to 2.2.0 - Add YUBIKEY option because keepassxc has added support for YubiKey 2FA - Update pkg-descr to reflect the new added changes Changelog: https://github.com/keepassxreboot/keepassxc/blob/develop/CHANGELOG PR: 220585 Submitted by: Andrew Romanenko <melanhit@gmail.com> (maintainer) MFH: 2017Q3 Changes: head/security/keepassxc/Makefile head/security/keepassxc/distinfo head/security/keepassxc/files/ head/security/keepassxc/files/patch-CMakeLists.txt head/security/keepassxc/files/patch-src_CMakeLists.txt head/security/keepassxc/pkg-descr head/security/keepassxc/pkg-plist
yes merge
A commit references this bug: Author: cpm Date: Fri Jul 14 10:44:19 UTC 2017 New revision: 445742 URL: https://svnweb.freebsd.org/changeset/ports/445742 Log: MFH: r445719 security/keepassxc: update to 2.2.0 - Add YUBIKEY option because keepassxc has added support for YubiKey 2FA - Update pkg-descr to reflect the new added changes Changelog: https://github.com/keepassxreboot/keepassxc/blob/develop/CHANGELOG PR: 220585 Submitted by: Andrew Romanenko <melanhit@gmail.com> (maintainer) Approved by: ports-secteam (junovitch) Changes: _U branches/2017Q3/ branches/2017Q3/security/keepassxc/Makefile branches/2017Q3/security/keepassxc/distinfo branches/2017Q3/security/keepassxc/files/ branches/2017Q3/security/keepassxc/pkg-descr branches/2017Q3/security/keepassxc/pkg-plist
Committed! Thanks