robotology / robotology-superbuild

CMake/YCM-based superbuild to simplify the build process of robotology projects.
49 stars 48 forks source link

macOS Apple Silicon (macos-14) Conda CI Failure Begin of January 2024 #1613

Closed traversaro closed 8 months ago

traversaro commented 8 months ago
2024-03-05T02:10:52.0719670Z -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
2024-03-05T02:10:52.0821270Z     Reason given by package: The command
2024-03-05T02:10:52.0922890Z       "/Users/runner/miniconda3/envs/test/bin/pkg-config" --version
2024-03-05T02:10:52.1024470Z     failed with output:
2024-03-05T02:10:52.1125430Z 
2024-03-05T02:10:52.1226420Z     stderr: 
2024-03-05T02:10:52.1327760Z       dyld[24080]: Library not loaded: @rpath/libintl.8.dylib
2024-03-05T02:10:52.1429730Z       Referenced from: <C997D7D1-DEE5-3E80-9ABA-A69CAF083BCF> /Users/runner/miniconda3/envs/test/lib/libglib-2.0.0.dylib
2024-03-05T02:10:52.1533960Z       Reason: tried: '/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/lib/gazebo-11/plugins/libintl.8.dylib' (no such file), '/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/lib/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/bin/../lib/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/bin/../lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)
2024-03-05T02:10:52.1637270Z     dyld[24084]: Library not loaded: @rpath/libintl.8.dylib
2024-03-05T02:10:52.1739620Z       Referenced from: <C997D7D1-DEE5-3E80-9ABA-A69CAF083BCF> /Users/runner/miniconda3/envs/test/lib/libglib-2.0.0.dylib
2024-03-05T02:10:52.1843520Z       Reason: tried: '/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/lib/gazebo-11/plugins/libintl.8.dylib' (no such file), '/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/lib/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/bin/../lib/libintl.8.dylib' (no such file), '/Users/runner/miniconda3/envs/test/bin/../lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)
2024-03-05T02:10:52.1947580Z     /Users/runner/miniconda3/envs/test/bin/pkg-config: line 19: 24084 Abort trap: 6           PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR}:${PC_PATH_HOST}:${PC_PATH_SYSROOT}" ${PC_PREFIX}/bin/pkg-config.bin --define-prefix "$@"
2024-03-05T02:10:52.2049720Z     result: 
2024-03-05T02:10:52.2151050Z 134
2024-03-05T02:10:52.2252350Z 
2024-03-05T02:10:52.2353840Z -- Checking for one of the modules 'ipopt'
2024-03-05T02:10:52.2455580Z -- Could NOT find IPOPT (missing: IPOPT_LIBRARIES IPOPT_INCLUDE_DIRS) 
2024-03-05T02:10:52.2562140Z CMake Error at CMakeLists.txt:906 (message):
2024-03-05T02:10:52.2663450Z   IPOPT not found on your system yet required.  Set WITH_BUILD_IPOPT or
2024-03-05T02:10:52.2664150Z   WITH_BUILD_REQUIRED ON to build this required package from source.

However, the only difference is in a patch version of ipython:

--- <unnamed>
+++ <unnamed>
@@ -116,7 +116,7 @@
 idna                      3.6                pyhd8ed1ab_0    conda-forge
 imath                     3.1.11               h1059232_0    conda-forge
 ipopt                     3.14.14              h6639f4a_1    conda-forge
-ipython                   8.22.1             pyh707e725_0    conda-forge
+ipython                   8.22.2             pyh707e725_0    conda-forge
 irrlicht                  1.8.5                h1344824_4    conda-forge
 isl                       0.26            imath32_h347afa1_101    conda-forge
 jasper                    4.2.1                h7c0e182_0    conda-forge

so I guess it is an environment regression either on its own or just a change that revealed a bug in pkg-config packaing on osx-arm64 .

traversaro commented 8 months ago

I am not sure about this (I do not have a system to quickly check this) but this may be related to https://github.com/conda-forge/glib-feedstock/issues/162 , as it is something related to intl.

traversaro commented 8 months ago

Fixed by https://github.com/conda-forge/admin-requests/pull/953 and https://github.com/conda-forge/glib-feedstock/pull/163 .