Opened 3 years ago
Closed 3 years ago
#64921 closed defect (fixed)
KeePassXC 2.7.0 compilation error on MacOS 12.3.1
Reported by: | Zippyzip | Owned by: | tenzap |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | KeePassXC |
Description
Log snippet:
:info:build [ 27%] Built target keepassxc-proxy :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-2.7.0-src/src/keeshare/ShareExport.cpp:119:31: error: use of undeclared identifier 'Z_DEFLATED' :info:build Z_DEFLATED, :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-2.7.0-src/src/keeshare/ShareExport.cpp:120:31: error: use of undeclared identifier 'Z_BEST_COMPRESSION' :info:build Z_BEST_COMPRESSION, :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-2.7.0-src/src/keeshare/ShareExport.cpp:125:13: error: use of undeclared identifier 'zipWriteInFileInZip' :info:build zipWriteInFileInZip(zf, data.data() + pos, len); :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-2.7.0-src/src/keeshare/ShareExport.cpp:129:9: error: use of undeclared identifier 'zipCloseFileInZip' :info:build zipCloseFileInZip(zf); :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_KeePassXC/KeePassXC/work/keepassxc-2.7.0-src/src/keeshare/ShareExport.cpp:186:19: error: use of undeclared identifier 'zipOpen64' :info:build auto zf = zipOpen64(resolvedPath.toLatin1().data(), 0); :info:build ^ :info:build 5 errors generated.
Change History (4)
comment:1 Changed 3 years ago by detlevd (Detlev Droege)
comment:3 Changed 3 years ago by tenzap
Could you please confirm if this upstream patch fixes it?
https://github.com/keepassxreboot/keepassxc/commit/31db3c325d2ffc9dedc240d8ac5036fe6f1cf5c3.patch
comment:4 Changed 3 years ago by tenzap
Owner: | set to tenzap |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Same problem on High Sierra and Mojave. The quick fix is to go into the build directory and edit the file
src/keeshare/ShareExport.cpp
. There, change the lineto
I'm not sure how to integrate that into the automatic patches though.