Opened 14 months ago
Last modified 10 months ago
#68423 assigned defect
gpgme @1.22.0_0: does not install /opt/local/lib/cmake/Gpgmepp/GpgmeppConfig.cmake
Reported by: | rmottola (Riccardo) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger leopard | Cc: | barracuda156, ballapete (Peter "Pete" Dyballa) |
Port: | gpgme |
Description
On 10.5 i386 poppler fails.
I is this because Gpgmepp is mising? The message is given as warning, but then fails. A missing dependency?
Full log attached.
:info:configure CMake Warning at CMakeLists.txt:160 (find_package): :info:configure By not providing "FindGpgmepp.cmake" in CMAKE_MODULE_PATH this project has :info:configure asked CMake to find a package configuration file provided by "Gpgmepp", but :info:configure CMake did not find one. :info:configure Could not find a package configuration file provided by "Gpgmepp" :info:configure (requested version 1.19) with any of the following names: :info:configure GpgmeppConfig.cmake :info:configure gpgmepp-config.cmake :info:configure Add the installation prefix of "Gpgmepp" to CMAKE_PREFIX_PATH or set :info:configure "Gpgmepp_DIR" to a directory containing one of the above files. If :info:configure "Gpgmepp" provides a separate development package or SDK, be sure it has :info:configure been installed. :info:configure Call Stack (most recent call first): :info:configure CMakeLists.txt:168 (find_soft_mandatory_package) :info:configure CMake Error at CMakeLists.txt:162 (MESSAGE): :info:configure Could not find the 1.19 version of Gpgmepp. If you're not interested in :info:configure the features it provides set the cmake ENABLE_GPGME option to OFF :info:configure Call Stack (most recent call first): :info:configure CMakeLists.txt:168 (find_soft_mandatory_package) :info:configure -- Configuring incomplete, errors occurred! :info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/CMakeFiles/CMakeOutput.log". :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DBUILD_CPP_TESTS=OFF -DBUILD_GTK_TESTS=OFF -DBUILD_MANUAL_TESTS=OFF -DBUILD_QT5_TESTS=OFF -DBUILD_QT6_TESTS=OFF -DENABLE_BOOST=ON -DENABLE_QT5=OFF -DENABLE_QT6=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DGLIB2_MKENUMS_PYTHON=/opt/local/bin/python3.11 -DRUN_GPERF_IF_PRESENT=OFF -DWITH_NSS3=ON -DENABLE_GOBJECT_INTROSPECTION=ON -DBOOST_ROOT=/opt/local/libexec/boost/1.76 -DBOOSTROOT=/opt/local/libexec/boost/1.76 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.76/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.76/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.76/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.76/include -DBoost_DIR=/opt/local/libexec/boost/1.76 -DCMAKE_OSX_ARCHITECTURES="i386" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.5" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.10.0 :info:configure Exit code: 1
Attachments (1)
Change History (14)
Changed 14 months ago by rmottola (Riccardo)
Attachment: | poppler.log added |
---|
comment:1 Changed 14 months ago by rmottola (Riccardo)
Owner: | set to dbevans |
---|---|
Status: | new → assigned |
comment:2 Changed 14 months ago by mascguy (Christopher Nielsen)
Owner: | changed from dbevans to mascguy |
---|
comment:3 Changed 14 months ago by barracuda156
comment:4 Changed 14 months ago by mascguy (Christopher Nielsen)
Unfortunately I'm currently travelling, without access to my suite of macOS VMs.
But we haven't seen any similar failures on the 10.6 buildbots, nor can I reproduce with macOS Ventura.
Once I'm back home in a day or two, I'll test on 10.6 and 10.5. Stay tuned...
comment:5 follow-up: 6 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to rmottola:
I is this because Gpgmepp is mising? The message is given as warning, but then fails. A missing dependency?
It is provided by the gpgme port, which is already declared as a dependency.
:info:configure Could not find a package configuration file provided by "Gpgmepp" :info:configure (requested version 1.19) with any of the following names: :info:configure GpgmeppConfig.cmake :info:configure gpgmepp-config.cmake
On my system, this file is located at /opt/local/lib/cmake/Gpgmepp/GpgmeppConfig.cmake. Is it there on yours?
comment:6 Changed 14 months ago by rmottola (Riccardo)
Replying to ryandesign:
It is provided by the gpgme port, which is already declared as a dependency.
I have gpgme 1.22.0_0 marked as active.
On my system, this file is located at /opt/local/lib/cmake/Gpgmepp/GpgmeppConfig.cmake. Is it there on yours?
No, I don't have it, the subdirectory '/opt/local/lib/cmake/' contains other libraries (like json-c, libxml2, libxslt...) but no Gpgmepp or similar. I will try to uninstall it and see if pulling it again fixes it. Stay tuned.
comment:7 Changed 14 months ago by rmottola (Riccardo)
After uninstalling all versions of gpgme, I issued an upgrade to poppler again, which triggered a build but no gpgme files in /opt/local/lib/cmake Perhaps this is actually a gpgme bug?
comment:8 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | tiger leopard added |
---|---|
Port: | gpgme added; poppler removed |
Summary: | poppler fails to build - missing Gpgmepp → gpgme @1.22.0_0: does not install /opt/local/lib/cmake/Gpgmepp/GpgmeppConfig.cmake |
I see this in the gpgme portfile:
# cpp bindings require libc++ platform darwin { if {${configure.cxx_stdlib} eq "libc++"} { lappend languages cpp } }
We default to libc++ on Snow Leopard and later but libstdc++ on Leopard and Tiger. If you haven't changed that default, that would explain why gpgme doesn't install its C++ parts for you on Leopard and why you then can't install other ports that depend on those C++ parts.
This bit was added to gpgme in 2016; see #52383. Maybe it is outdated by now. You could try removing the restriction to see if you can build with C++ support on Leopard, i.e. try replacing that entire block with:
lappend languages cpp
comment:9 follow-up: 11 Changed 13 months ago by rmottola (Riccardo)
@ryandesign, I changed the cited part of the portfile in:
platform darwin { lappend languages cpp }
And built on 10.5 32bit-intel 64bit intel, in both cases build succeeded and in /opt/local/lib/cmake I find the configure files. On 32bit I was also to rebuild poppler. ON 64bit gegl2 fails, so couldn't rebuild poppler. On both systems I still have other packages which ahre hard to update before I can start gimp or emacs and "test".
It seems a fix though. Safe enough? or final test needed?
comment:10 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | barracuda156 added |
---|
Has duplicate #68566.
comment:11 follow-up: 13 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
comment:12 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ballapete added |
---|
Has duplicate #69296.
comment:13 Changed 10 months ago by barracuda156
Replying to ryandesign:
Replying to rmottola:
It seems a fix though.
Yes! Sounds like whatever the problem was back in 2016 isn't a problem anymore and r153382 should be reverted.
UPD2. It has been in fact. Portfile now has:
# This has to be enabled, otherwise CMake config files are not installed, # which breaks some dependents, like Poppler. # Contrary to the earlier situation, it does build now against libstdc++. platform darwin { lappend languages cpp }
Same on 10.6: