robotology / robotology-superbuild

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

robotology-superbuild CI Failure Begin August 2024 conda-forge Linux #1679

Closed traversaro closed 3 months ago

traversaro commented 3 months ago
2024-08-05T02:37:16.8312087Z [1051/1271] Building CXX object src/yarpmanager/CMakeFiles/yarpmanager.dir/src-manager/mainwindow.cpp.o
2024-08-05T02:37:16.8312443Z FAILED: src/yarpmanager/CMakeFiles/yarpmanager.dir/src-manager/mainwindow.cpp.o 
2024-08-05T02:37:16.8325438Z /home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-c++ -DBUILDING_YARP -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/home/runner/work/robotology-superbuild/robotology-superbuild/b/src/YARP/src/yarpmanager/yarpmanager_autogen/include -I/home/runner/miniconda3/envs/test/include/eigen3 -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/yarpmanager/src-builder -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/yarpmanager/src-manager -I/home/runner/work/robotology-superbuild/robotology-superbuild/b/src/YARP/src/yarpmanager -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/libYARP_os/src -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/libYARP_conf/src -I/home/runner/work/robotology-superbuild/robotology-superbuild/b/src/YARP/src/libYARP_conf/src -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/libYARP_manager/src -I/home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/libYARP_profiler/src -isystem /home/runner/miniconda3/envs/test/include/qt -isystem /home/runner/miniconda3/envs/test/include/qt/QtWidgets -isystem /home/runner/miniconda3/envs/test/include/qt/QtGui -isystem /home/runner/miniconda3/envs/test/include/qt/QtCore -isystem /home/runner/miniconda3/envs/test/./mkspecs/linux-g++ -Wall -Wextra -Wsign-compare -Wpointer-arith -Winit-self -Wnon-virtual-dtor -Wcast-align -Wunused -Wunused-but-set-variable -Wvla -Wmissing-include-dirs -Wlogical-op -Wreorder -Wsizeof-pointer-memaccess -Woverloaded-virtual -Wmismatched-new-delete -Wundef -Wredundant-decls -Wunknown-pragmas -Wunused-result -Wc++2a-compat -Wignored-attributes -Wdangling-else -Wmisleading-indentation -Wtautological-compare -Wsuggest-override -Wmaybe-uninitialized  -Wno-unused-parameter  -Wdeprecated-declarations -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -O3 -DNDEBUG -std=c++20 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT src/yarpmanager/CMakeFiles/yarpmanager.dir/src-manager/mainwindow.cpp.o -MF src/yarpmanager/CMakeFiles/yarpmanager.dir/src-manager/mainwindow.cpp.o.d -o src/yarpmanager/CMakeFiles/yarpmanager.dir/src-manager/mainwindow.cpp.o -c /home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/yarpmanager/src-manager/mainwindow.cpp
2024-08-05T02:37:16.8326224Z In file included from /home/runner/work/robotology-superbuild/robotology-superbuild/src/YARP/src/yarpmanager/src-manager/mainwindow.cpp:7:
2024-08-05T02:37:16.8327029Z /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/YARP/src/yarpmanager/ui_mainwindow.h:13:10: fatal error: QtGui/QAction: No such file or directory
traversaro commented 3 months ago

Nothing super-clear in the env diff:

--- <unnamed>
+++ <unnamed>
@@ -14,7 +14,7 @@
 async-timeout             4.0.3              pyhd8ed1ab_0    conda-forge
 atk-1.0                   2.38.0               h04ea711_2    conda-forge
 attr                      2.5.1                h166bdaf_1    conda-forge
-attrs                     23.2.0             pyh71513ae_0    conda-forge
+attrs                     24.1.0             pyh71513ae_0    conda-forge
 aws-c-auth                0.7.20               h5f1c8d9_0    conda-forge
 aws-c-cal                 0.6.12               h2ba76a8_0    conda-forge
 aws-c-common              0.9.17               h4ab18f5_0    conda-forge
@@ -300,6 +300,7 @@
 libxml2                   2.12.7               h4c95cb1_3    conda-forge
 libxshmfence-cos7-x86_64  1.2               h9b0a68f_1105    conda-forge
 libxshmfence-devel-cos7-x86_64 1.2               h9b0a68f_1105    conda-forge
+libxslt                   1.1.39               h76b75d6_0    conda-forge
 libzip                    1.10.1               h2629f0a_3    conda-forge
 libzlib                   1.3.1                h4ab18f5_1    conda-forge
 loguru                    0.7.2           py310hff52083_1    conda-forge
@@ -307,8 +308,8 @@
 lz4-c                     1.9.4                hcb278e6_0    conda-forge
 lzo                       2.10              hd590300_1001    conda-forge
 make                      4.3                  hd18ef5c_1    conda-forge
-matplotlib                3.9.1           py310hff52083_1    conda-forge
-matplotlib-base           3.9.1           py310hf02ac8c_1    conda-forge
+matplotlib                3.9.1           py310hff52083_2    conda-forge
+matplotlib-base           3.9.1           py310hf02ac8c_2    conda-forge
 matplotlib-inline         0.1.7              pyhd8ed1ab_0    conda-forge
 mesa-khr-devel-cos7-x86_64 18.3.4            h9b0a68f_1105    conda-forge
 mesa-libgl-cos7-x86_64    18.3.4            h9b0a68f_1105    conda-forge
@@ -375,6 +376,7 @@
 pyqt                      5.15.9          py310h04931ad_5    conda-forge
 pyqt5-sip                 12.12.2         py310hc6cd4ac_5    conda-forge
 pyqtwebengine             5.15.9          py310h704022c_5    conda-forge
+pyside6                   6.7.2           py310heb5a38e_1    conda-forge
 python                    3.10.14         hd12c33a_0_cpython    conda-forge
 python-dateutil           2.9.0              pyhd8ed1ab_0    conda-forge
 python_abi                3.10                    4_cp310    conda-forge
@@ -494,14 +496,14 @@
 _CE_M=
 build_alias=x86_64-conda-linux-gnu
 CMAKE_ARGS=-DCMAKE_AR=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-ar -DCMAKE_CXX_COMPILER_AR=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_C_COMPILER_AR=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gcc-ar -DCMAKE_RANLIB=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-ranlib -DCMAKE_CXX_COMPILER_RANLIB=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_C_COMPILER_RANLIB=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gcc-ranlib -DCMAKE_LINKER=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-ld -DCMAKE_STRIP=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-strip -DCMAKE_BUILD_TYPE=Release
-GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_fc6be1f1-aa8f-4490-a620-4ff74497fb5d
+GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_1e83880b-0fde-4f58-a60e-7ec4dab304a3
 GITHUB_ACTION=__run_9
 GPROF=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gprof
 JAVA_HOME=/usr/lib/jvm/temurin-11-jdk-amd64
 CONDA_TOOLCHAIN_BUILD=x86_64-conda-linux-gnu
 _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu
-GITHUB_RUN_NUMBER=5136
-RUNNER_NAME=GitHub Actions 30
+GITHUB_RUN_NUMBER=5137
+RUNNER_NAME=GitHub Actions 59
 GRADLE_HOME=/usr/share/gradle-8.9
 STRINGS=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-strings
 GITHUB_REPOSITORY_OWNER_ID=1587191
@@ -524,14 +526,13 @@
 STATS_TRP=true
 GSETTINGS_SCHEMA_DIR=/home/runner/miniconda3/envs/test/share/glib-2.0/schemas
 CONDA_PREFIX=/home/runner/miniconda3/envs/test
-STATS_BLT=true
 GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.14/x64
 GITHUB_REPOSITORY_ID=111796716
 DEPLOYMENT_BASEPATH=/opt/runner
 GITHUB_ACTIONS=true
 STATS_VMD=true
 ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/27.0.12077973
-SYSTEMD_EXEC_PID=595
+SYSTEMD_EXEC_PID=594
 GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
 GITHUB_SHA=a24a266def0b1d092294d3e09f5641f766c53b15
 GITHUB_WORKFLOW_REF=robotology/robotology-superbuild/.github/workflows/ci.yml@refs/heads/master
@@ -556,7 +557,7 @@
 MESON_ARGS=-Dbuildtype=release
 GAZEBO_MODEL_DATABASE_URI=http://models.gazebosim.org
 DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -fno-plt -Og -g -Wall -Wextra -fvar-tracking-assignments -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include
-RUNNER_TRACKING_ID=github_d850c436-13d3-4d20-93b3-6ec2ad3ee94d
+RUNNER_TRACKING_ID=github_c49a4951-b843-4739-b222-53e6ed6b7cec
 RUNNER_ARCH=X64
 OGRE2_RESOURCE_PATH=/home/runner/miniconda3/envs/test/lib/OGRE-Next
 GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.12/x64
@@ -564,25 +565,25 @@
 CXX_FOR_BUILD=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-c++
 ELFEDIT=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-elfedit
 CONDA_PROMPT_MODIFIER=
-GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_fc6be1f1-aa8f-4490-a620-4ff74497fb5d
+GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_1e83880b-0fde-4f58-a60e-7ec4dab304a3
 CMAKE_PREFIX_PATH=/home/runner/miniconda3/envs/test:/home/runner/miniconda3/envs/test/x86_64-conda-linux-gnu/sysroot/usr
 EDGEWEBDRIVER=/usr/local/share/edge_driver
 CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/runner/miniconda3/envs/test/include
 JAVA_HOME_21_X64=/usr/lib/jvm/temurin-21-jdk-amd64
-GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_fc6be1f1-aa8f-4490-a620-4ff74497fb5d
+GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_1e83880b-0fde-4f58-a60e-7ec4dab304a3
 CPL_ZIP_ENCODING=UTF-8
 GAZEBO_RESOURCE_PATH=/home/runner/miniconda3/envs/test/share/gazebo-11:
 LD=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-ld
 GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
-INVOCATION_ID=ed7880134c4d418e9f1e3c0f79599a63
+INVOCATION_ID=528280b36ed64f6ba1a7d89dc9b5b90f
 STATS_D=false
 CONDA_PKGS_DIR=/home/runner/conda_pkgs_dir
 GITHUB_EVENT_NAME=schedule
-GITHUB_RUN_ID=10224478468
+GITHUB_RUN_ID=10232730506
 JAVA_HOME_17_X64=/usr/lib/jvm/temurin-17-jdk-amd64
 ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk/27.0.12077973
 READELF=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-readelf
-GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_fc6be1f1-aa8f-4490-a620-4ff74497fb5d
+GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_1e83880b-0fde-4f58-a60e-7ec4dab304a3
 GXX=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-g++
 HOMEBREW_NO_AUTO_UPDATE=1
 GHA_Matlab_MEX_EXTENSION=mexa64
@@ -648,13 +649,13 @@
 STATS_VMFE=true
 GITHUB_REPOSITORY=robotology/robotology-superbuild
 FC=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-gfortran
+ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk/27.0.12077973
 CHROME_BIN=/usr/bin/google-chrome
 GOROOT_1_22_X64=/opt/hostedtoolcache/go/1.22.5/x64
-ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk/27.0.12077973
 STRIP=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-strip
 GITHUB_RETENTION_DAYS=90
 GAZEBO_MODEL_PATH=/home/runner/miniconda3/envs/test/share/gazebo-11/models:
-JOURNAL_STREAM=8:16188
+JOURNAL_STREAM=8:17350
 RUNNER_WORKSPACE=/home/runner/work/robotology-superbuild
 LEIN_HOME=/usr/local/lib/lein
 XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
@@ -680,7 +681,7 @@
 CONDA_PREFIX_1=/home/runner/miniconda3
 GITHUB_WORKFLOW=CI Workflow
 DEBIAN_FRONTEND=noninteractive
-GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_fc6be1f1-aa8f-4490-a620-4ff74497fb5d
+GITHUB_OUTPUT=/home/runner/work/_temp/_runner_file_commands/set_output_1e83880b-0fde-4f58-a60e-7ec4dab304a3
 RANLIB=/home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-ranlib
 AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
 CONDA_BUILD_SYSROOT=/home/runner/miniconda3/envs/test/x86_64-conda-linux-gnu/sysroot
traversaro commented 3 months ago

I wonder if this is related to https://github.com/conda-forge/matplotlib-feedstock/pull/393 .

traversaro commented 3 months ago

Argh, I reproduced the issue locally, the problem is that somehow now the .ui files are preprocessed by qt6 instead of qt5, see for example in blocktestcore the header of hte offending file:

/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 6.7.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
traversaro commented 3 months ago

Apparently all boils down to https://github.com/conda-forge/pyside2-feedstock/issues/223 .

traversaro commented 3 months ago

Hopefully this will be solved by https://github.com/conda-forge/pyside2-feedstock/pull/234 .

traversaro commented 3 months ago

This was fixed by https://github.com/conda-forge/pyside2-feedstock/pull/234 .