Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#68916 closed defect (fixed)

lxqt-build-tools @0.7.0: Could NOT find GLIB (missing: GLIB_GIO_UNIX_INCLUDE_DIR)

Reported by: mouse07410 (Mouse) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: lxqt-build-tools

Description

MacOS Sonoma 14.2, Xcode-15.1.

:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os -m64'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='14.0'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -DNDEBUG -I/opt/local/include -I/opt/local/include -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libqtxdg/libqtxdg/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -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 -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="14.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libqtxdg/libqtxdg/work/libqtxdg-3.5.0 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libqtxdg/libqtxdg/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -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 -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="14.0" -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libqtxdg/libqtxdg/work/libqtxdg-3.5.0 
:info:configure CMake Error at /opt/local/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
:info:configure   Could NOT find GLIB (missing: GLIB_GIO_UNIX_INCLUDE_DIR) (found suitable
:info:configure   version "2.78.0", minimum required is "2.41.0")
:info:configure Call Stack (most recent call first):
:info:configure   /opt/local/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
:info:configure   /opt/local/share/cmake/lxqt-build-tools/find-modules/FindGLIB.cmake:113 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
:info:configure   CMakeLists.txt:26 (find_package)
:info:configure -- Configuring incomplete, errors occurred!

It happens when trying to install ports libqtxdg, rav1e, and probably others. (Why it tries to rebuild those ports rather than pull the binaries from the buildbots is beyond my understanding.)

Based on the error message, I assume the problem is either with the cmake port, or maybe with glib2.

Attaching the full log, in case it helps.

Attachments (1)

libqtxdg.log.txt (167.6 KB) - added by mouse07410 (Mouse) 11 months ago.

Download all attachments as: .zip

Change History (6)

Changed 11 months ago by mouse07410 (Mouse)

Attachment: libqtxdg.log.txt added

comment:1 in reply to:  description Changed 11 months ago by jmroot (Joshua Root)

Replying to mouse07410:

It happens when trying to install ports libqtxdg, rav1e, and probably others. (Why it tries to rebuild those ports rather than pull the binaries from the buildbots is beyond my understanding.)

Because they failed to build on the buildbot too, quite possibly for the same reason.

comment:2 Changed 11 months ago by jmroot (Joshua Root)

Cc: MarcusCalhoun-Lopez added

comment:3 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld mascguy MarcusCalhoun-Lopez removed
Port: lxqt-build-tools added; cmake removed
Summary: cmake fails to properly identify glib versionlxqt-build-tools @0.7.0: Could NOT find GLIB (missing: GLIB_GIO_UNIX_INCLUDE_DIR)

I don't think it's a bug in cmake or glib2; I think it's a bug in the port that provides /opt/local/share/cmake/lxqt-build-tools/find-modules/FindGLIB.cmake (namely lxqt-build-tools) based on this bug report I found by searching for the error message. The bug was fixed in lxqt-build-tools 0.12.0 last year. We should update the port to 0.13.0.

comment:4 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 813be112e91d5f50c111e19135031e55669df608/macports-ports (master):

lxqt-build-tools: Update to 0.13.0

Closes: #68916

comment:5 Changed 11 months ago by mouse07410 (Mouse)

I confirm that your fix of lxqt-build-tools resolved this and some other problems. Thank you!

Note: See TracTickets for help on using tickets.