[MacPorts] #52471: kmymoney4: currently fails to build due to qqpgpme
#52471: kmymoney4: currently fails to build due to qqpgpme --------------------+----------------------- Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: kmymoney4 --------------------+----------------------- Due to #52342 I run into this when building kmymoney4 from source: {{{ info:configure -- Found gpgme-config at /opt/local/bin/gpgme-config :info:configure -- Found gpgme v1.7.0, checking for flavours... :info:configure -- Found flavour 'vanilla', checking whether it's usable...yes :info:configure -- Found flavour 'pthread', checking whether it's usable...yes :info:configure CMake Error at /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message): :info:configure Could NOT find QGpgme (missing: _QGPGME_EXTRA_LIBRARY) :info:configure Call Stack (most recent call first): :info:configure /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) :info:configure /opt/local/share/apps/cmake/modules/FindQGpgme.cmake:43 (find_package_handle_standard_args) :info:configure CMakeLists.txt:79 (find_package) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! }}} -- Ticket URL: <https://trac.macports.org/ticket/52471> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Changes (by mk@…): * port: kmymoney4 => kmymoney4,kmymoney4-devel -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Changes (by mk@…): * cc: stansand@… (added) Comment: '''' -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Description changed by mk@…: Old description:
Due to #52342 I run into this when building kmymoney4 from source: {{{ info:configure -- Found gpgme-config at /opt/local/bin/gpgme-config :info:configure -- Found gpgme v1.7.0, checking for flavours... :info:configure -- Found flavour 'vanilla', checking whether it's usable...yes :info:configure -- Found flavour 'pthread', checking whether it's usable...yes :info:configure CMake Error at /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message): :info:configure Could NOT find QGpgme (missing: _QGPGME_EXTRA_LIBRARY) :info:configure Call Stack (most recent call first): :info:configure /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) :info:configure /opt/local/share/apps/cmake/modules/FindQGpgme.cmake:43 (find_package_handle_standard_args) :info:configure CMakeLists.txt:79 (find_package) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! }}}
New description: Due to #52342 I run into this when building kmymoney4 from source: {{{ info:configure -- Found gpgme-config at /opt/local/bin/gpgme-config :info:configure -- Found gpgme v1.7.0, checking for flavours... :info:configure -- Found flavour 'vanilla', checking whether it's usable...yes :info:configure -- Found flavour 'pthread', checking whether it's usable...yes :info:configure CMake Error at /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message): :info:configure Could NOT find QGpgme (missing: _QGPGME_EXTRA_LIBRARY) :info:configure Call Stack (most recent call first): :info:configure /opt/local/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) :info:configure /opt/local/share/apps/cmake/modules/FindQGpgme.cmake:43 (find_package_handle_standard_args) :info:configure CMakeLists.txt:79 (find_package) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! }}} Happens for the version currently on MacPorts as well as the newer version 4.8.0 (needless attached patch). -- -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Comment (by mk@…): Still no luck after recent changes to kdelibs4: {{{ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kmymoney4/kmymoney4/work/kmymoney-4.7.2/libkgpgfile/kgpgfile.cpp:50: :info:build In file included from /opt/local/include/qgpgme/dataprovider.h:26: :info:build /opt/local/include/gpgme++/interfaces/dataprovider.h:28:10: fatal error: 'gpgmepp_export.h' file not found :info:build #include "gpgmepp_export.h" :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Comment (by rjvbertin@…): I don't think anything has changed to kdelibs4?! You'll have to figure out what and why nicos changed to KDEPIM4, make the same changes, and hope it works. I still think that port:gpgme is late to the gpgme++ party, and thus should use the mechanism provided by its buildsystem to put its gpgme++ headers somewhere where they cannot be picked up by accident. All the more so given that it clearly hasn't been given such a warm welcome on Linux that it has replaced KDE's gpgme++ wrappers everywhere and immediately. -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:6> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+------------------ Reporter: mk@… | Owner: mk@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+------------------ Comment (by mk@…): Despite this: {{{ Index: Portfile =================================================================== --- Portfile (revision 153452) +++ Portfile (working copy) @@ -45,7 +45,8 @@ patch.dir ${workpath}/${distname} patch.pre_args -p1 -patchfiles patch-mainRaster.diff +patchfiles patch-mainRaster.diff \ + patch-CMakeLists_QGPGME.txt.diff # # OK, let's try building with documentation and see whether we end up with meinproc crashing again: # Index: files/patch-CMakeLists_QGPGME.txt.diff =================================================================== --- files/patch-CMakeLists_QGPGME.txt.diff (nonexistent) +++ files/patch-CMakeLists_QGPGME.txt.diff (working copy) @@ -0,0 +1,18 @@ +*** kmymoney-4.7.2/CMakeLists.txt Sat Apr 25 19:20:16 2015 +--- kmymoney-4.7.2/CMakeLists.txt Wed Oct 5 23:14:44 2016 +*************** +*** 70,75 **** +--- 70,82 ---- + endif (WIN32) + # needed by libkgpgfile + find_package(QGpgme REQUIRED) ++ ++ # This is specific for MacPorts, as it ships a newer version of gpgme (1.7.0) ++ if (QGPGME_FOUND) ++ set(GPGME_INCLUDES "%PREFIX%/include/kde4") ++ include_directories(${GPGME_INCLUDES}) ++ endif (QGPGME_FOUND) ++ + find_package(KdepimLibs REQUIRED) + find_package(SharedMimeInfo REQUIRED) + }}} I still get above error concerning not being able to find {{{gpgmepp_export.h}}}, although the file is installed by {{{port:gpgme}}}: {{{ $ port contents gpgme | grep _export /opt/local/include/gpgme++/gpgmepp_export.h }}} Well, and the to-be-used file is actually using "++" instead of "pp": {{{ $ ls /opt/local/include/kde4/gpgme++/gpgme*_export.h /opt/local/include/kde4/gpgme++/gpgme++_export.h }}} What can/should be done about this! René, you described this situation already... -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+-------------------- Reporter: mk@… | Owner: mk@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+-------------------- Changes (by mk@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52471: kmymoney4(-devel): currently fail to build due to qqpgpme ----------------------------------------+-------------------- Reporter: mk@… | Owner: mk@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: kmymoney4,kmymoney4-devel | ----------------------------------------+-------------------- Comment (by mk@…): {{{kmymoney4-devel}}} done in r153613 -- Ticket URL: <https://trac.macports.org/ticket/52471#comment:9> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts