Skip to content

Full rebuild fails on ros-humble-ament-uncrustify package #400

@VRichardJP

Description

@VRichardJP

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I am following the "Doing a full rebuild" instructions at https://robostack.github.io/Contributing.html:

  • I ran pixi run create_snapshot
  • Increased build_number in vinca.yaml to 18
  • Removed all build_number override in pkg_additional_info.yaml
  • Then ran pixi run build

I get the following error while building ros-humble-ament-cmake-uncrustify:

 ╭─ Running build for recipe: ros-humble-ament-cmake-uncrustify-0.12.15-np2py312h2ed9cc7_18
 │
 │ ╭─ Fetching source code
 │ │ Fetching source from git repo: https://github.com/ros2-gbp/ament_lint-release.git
 │ │ Fetching git repository: https://github.com/ros2-gbp/ament_lint-release.git
 │ │
 │ ╰─────────────────── (took 2 seconds)
 │
 │ ╭─ Resolving environments
 │ │
 │ │ Resolving build environment:
 │ │   Platform: linux-64 [__unix=0=0, __linux=6.8.0=0, __glibc=2.39=0, __cuda=13.0=0, __archspec=1=skylake]
 │ │   Channels:
 │ │    - file:///home/vrichard/projects/autoware/ros-humble/output/
 │ │    - https://repo.prefix.dev/conda-forge/
 │ │    - robostack-staging
 │ │   Specs:
 │ │    - gxx_linux-64 14.*
 │ │    - gcc_linux-64 14.*
 │ │    - sysroot_linux-64 2.17.*
 │ │    - ninja
 │ │    - python 3.12.* *_cpython
 │ │    - setuptools
 │ │    - git
 │ │    - git-lfs
 │ │    - patch
 │ │    - make
 │ │    - coreutils
 │ │    - cmake 3.*
 │ │    - cython
 │ │
 │ │ ╭──────────────────────────┬──────────────┬──────────────────────┬─────────────┬─────────────╮
 │ │ │ Package                  ┆ Version      ┆ Build                ┆ Channel     ┆        Size │
 │ │ ╞══════════════════════════╪══════════════╪══════════════════════╪═════════════╪═════════════╡
 │ │ │ _openmp_mutex            ┆ 4.5          ┆ 20_gnu               ┆ conda-forge ┆   28.27 KiB │
 │ │ │ binutils_impl_linux-64   ┆ 2.45.1       ┆ default_hfdba357_102 ┆ conda-forge ┆    3.49 MiB │
 │ │ │ binutils_linux-64        ┆ 2.45.1       ┆ default_h4852527_102 ┆ conda-forge ┆   35.45 KiB │
 │ │ │ bzip2                    ┆ 1.0.8        ┆ hda65f42_9           ┆ conda-forge ┆  254.08 KiB │
 │ │ │ c-ares                   ┆ 1.34.6       ┆ hb03c661_0           ┆ conda-forge ┆  203.01 KiB │
 │ │ │ ca-certificates          ┆ 2026.4.22    ┆ hbd8a1cb_0           ┆ conda-forge ┆  127.97 KiB │
 │ │ │ cmake                    ┆ 3.31.8       ┆ hc85cc9f_0           ┆ conda-forge ┆   20.02 MiB │
 │ │ │ coreutils                ┆ 9.5          ┆ hd590300_0           ┆ conda-forge ┆    2.87 MiB │
 │ │ │ cython                   ┆ 3.2.4        ┆ py312h68e6be4_0      ┆ conda-forge ┆    3.56 MiB │
 │ │ │ gcc_impl_linux-64        ┆ 14.3.0       ┆ hbdf3cc3_18          ┆ conda-forge ┆   72.77 MiB │
 │ │ │ gcc_linux-64             ┆ 14.3.0       ┆ h298d278_23          ┆ conda-forge ┆   28.23 KiB │
 │ │ │ git                      ┆ 2.54.0.dev0  ┆ pl5321h6d3cee1_0     ┆ conda-forge ┆    7.12 MiB │
 │ │ │ git-lfs                  ┆ 3.7.1        ┆ ha8f183a_1           ┆ conda-forge ┆    4.23 MiB │
 │ │ │ gxx_impl_linux-64        ┆ 14.3.0       ┆ h2185e75_18          ┆ conda-forge ┆   13.89 MiB │
 │ │ │ gxx_linux-64             ┆ 14.3.0       ┆ h91b0f8e_23          ┆ conda-forge ┆   26.83 KiB │
 │ │ │ icu                      ┆ 78.3         ┆ h33c6efd_0           ┆ conda-forge ┆   12.13 MiB │
 │ │ │ kernel-headers_linux-64  ┆ 3.10.0       ┆ he073ed8_18          ┆ conda-forge ┆  921.37 KiB │
 │ │ │ keyutils                 ┆ 1.6.3        ┆ hb9d3cd8_0           ┆ conda-forge ┆  130.95 KiB │
 │ │ │ krb5                     ┆ 1.22.2       ┆ ha1258a1_0           ┆ conda-forge ┆    1.32 MiB │
 │ │ │ ld_impl_linux-64         ┆ 2.45.1       ┆ default_hbd61a6d_102 ┆ conda-forge ┆  710.94 KiB │
 │ │ │ libcurl                  ┆ 8.19.0       ┆ hcf29cc6_0           ┆ conda-forge ┆  455.77 KiB │
 │ │ │ libedit                  ┆ 3.1.20250104 ┆ pl5321h7949ede_0     ┆ conda-forge ┆  131.52 KiB │
 │ │ │ libev                    ┆ 4.33         ┆ hd590300_2           ┆ conda-forge ┆  110.12 KiB │
 │ │ │ libexpat                 ┆ 2.7.5        ┆ hecca717_0           ┆ conda-forge ┆   74.83 KiB │
 │ │ │ libffi                   ┆ 3.5.2        ┆ h3435931_0           ┆ conda-forge ┆   57.22 KiB │
 │ │ │ libgcc                   ┆ 15.2.0       ┆ he0feb66_18          ┆ conda-forge ┆ 1017.37 KiB │
 │ │ │ libgcc-devel_linux-64    ┆ 14.3.0       ┆ hf649bbc_118         ┆ conda-forge ┆    2.94 MiB │
 │ │ │ libgcc-ng                ┆ 15.2.0       ┆ h69a702a_18          ┆ conda-forge ┆   26.88 KiB │
 │ │ │ libgomp                  ┆ 15.2.0       ┆ he0feb66_18          ┆ conda-forge ┆  589.12 KiB │
 │ │ │ libiconv                 ┆ 1.18         ┆ h3b78370_2           ┆ conda-forge ┆  771.66 KiB │
 │ │ │ liblzma                  ┆ 5.8.3        ┆ hb03c661_0           ┆ conda-forge ┆  110.82 KiB │
 │ │ │ libnghttp2               ┆ 1.68.1       ┆ h877daf1_0           ┆ conda-forge ┆  647.80 KiB │
 │ │ │ libnsl                   ┆ 2.0.1        ┆ hb9d3cd8_1           ┆ conda-forge ┆   32.94 KiB │
 │ │ │ libsanitizer             ┆ 14.3.0       ┆ h8f1669f_18          ┆ conda-forge ┆    7.58 MiB │
 │ │ │ libsqlite                ┆ 3.53.0       ┆ hf4e2dac_0           ┆ conda-forge ┆  936.39 KiB │
 │ │ │ libssh2                  ┆ 1.11.1       ┆ hcf80075_0           ┆ conda-forge ┆  297.65 KiB │
 │ │ │ libstdcxx                ┆ 15.2.0       ┆ h934c35e_18          ┆ conda-forge ┆    5.58 MiB │
 │ │ │ libstdcxx-devel_linux-64 ┆ 14.3.0       ┆ h9f08a49_118         ┆ conda-forge ┆   19.24 MiB │
 │ │ │ libuuid                  ┆ 2.42         ┆ h5347b49_0           ┆ conda-forge ┆   39.35 KiB │
 │ │ │ libuv                    ┆ 1.51.0       ┆ hb03c661_1           ┆ conda-forge ┆  874.13 KiB │
 │ │ │ libxcrypt                ┆ 4.4.36       ┆ hd590300_1           ┆ conda-forge ┆   98.04 KiB │
 │ │ │ libzlib                  ┆ 1.3.2        ┆ h25fd6f3_2           ┆ conda-forge ┆   62.14 KiB │
 │ │ │ make                     ┆ 4.4.1        ┆ hb9d3cd8_2           ┆ conda-forge ┆  501.06 KiB │
 │ │ │ ncurses                  ┆ 6.5          ┆ h2d0b736_3           ┆ conda-forge ┆  870.74 KiB │
 │ │ │ ninja                    ┆ 1.13.2       ┆ h171cf75_0           ┆ conda-forge ┆  181.96 KiB │
 │ │ │ openssl                  ┆ 3.6.2        ┆ h35e630c_0           ┆ conda-forge ┆    3.02 MiB │
 │ │ │ patch                    ┆ 2.8          ┆ hb03c661_1002        ┆ conda-forge ┆  114.47 KiB │
 │ │ │ pcre2                    ┆ 10.47        ┆ haa7fec5_0           ┆ conda-forge ┆    1.17 MiB │
 │ │ │ perl                     ┆ 5.32.1       ┆ 7_hd590300_perl5     ┆ conda-forge ┆   12.73 MiB │
 │ │ │ python                   ┆ 3.12.13      ┆ hd63d673_0_cpython   ┆ conda-forge ┆   30.14 MiB │
 │ │ │ python_abi               ┆ 3.12         ┆ 8_cp312              ┆ conda-forge ┆    6.79 KiB │
 │ │ │ readline                 ┆ 8.3          ┆ h853b02a_0           ┆ conda-forge ┆  336.99 KiB │
 │ │ │ rhash                    ┆ 1.4.6        ┆ hb9d3cd8_1           ┆ conda-forge ┆  189.23 KiB │
 │ │ │ setuptools               ┆ 82.0.1       ┆ pyh332efcf_0         ┆ conda-forge ┆  624.70 KiB │
 │ │ │ sysroot_linux-64         ┆ 2.17         ┆ h0157908_18          ┆ conda-forge ┆   14.46 MiB │
 │ │ │ tk                       ┆ 8.6.13       ┆ noxft_h366c992_103   ┆ conda-forge ┆    3.15 MiB │
 │ │ │ tzdata                   ┆ 2025c        ┆ hc9c84f9_1           ┆ conda-forge ┆  116.34 KiB │
 │ │ │ zstd                     ┆ 1.5.7        ┆ hb78ec9c_6           ┆ conda-forge ┆  587.28 KiB │
 │ │ ╰──────────────────────────┴──────────────┴──────────────────────┴─────────────┴─────────────╯
 │ │
 │ │ Resolving host environment:
 │ │   Platform: linux-64 [__unix=0=0, __linux=6.8.0=0, __glibc=2.39=0, __cuda=13.0=0, __archspec=1=skylake]
 │ │   Channels:
 │ │    - file:///home/vrichard/projects/autoware/ros-humble/output/
 │ │    - https://repo.prefix.dev/conda-forge/
 │ │    - robostack-staging
 │ │   Specs:
 │ │    - pkg-config
 │ │    - numpy 2.*
 │ │    - pip
 │ │    - python 3.12.* *_cpython
 │ │    - ros-humble-ament-cmake-copyright
 │ │    - ros-humble-ament-cmake-core
 │ │    - ros-humble-ament-cmake-lint-cmake
 │ │    - ros-humble-ament-cmake-test
 │ │    - ros-humble-ament-uncrustify
 │ │    - ros-humble-ros-environment
 │ │    - ros-humble-ros-workspace
 │ │    - ros2-distro-mutex 0.9.* humble_*
 │ │    - libgcc >=14
 │ │    - libstdcxx >=14
 │ │    - libgcc >=14
 │ │    - __glibc >=2.17,<3.0.a0
 │ │
 │ ╰─────────────────── (took 0 seconds)
 │
 ╰─────────────────── (took 2 seconds)
Error:   × Failed to resolve dependencies: Cannot solve the request because of: ros-humble-ament-uncrustify * cannot be
  │ installed because there are no viable options:
  │ └─ ros-humble-ament-uncrustify 0.12.15 would require
  │    └─ ros-humble-uncrustify-vendor *, which cannot be installed because there are no viable options:
  │       └─ ros-humble-uncrustify-vendor 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 would require
  │          └─ ros2-distro-mutex 0.2.*, for which no candidates were found.
  │ The following packages are incompatible
  │ └─ ros-humble-ament-uncrustify * cannot be installed because there are no viable options:
  │    └─ ros-humble-ament-uncrustify 0.12.4 | 0.12.5 | 0.12.10 | 0.12.10 | 0.12.11 | 0.12.12 | 0.12.15 is excluded
  │ because due to strict channel priority not using this option from: 'https://conda.anaconda.org/robostack-
  │ staging/'
  │

Truncated git diff (homitted rosdistro_snapshot.yaml)

diff --git a/pkg_additional_info.yaml b/pkg_additional_info.yaml
index f6023d7f..3f196e78 100644
--- a/pkg_additional_info.yaml
+++ b/pkg_additional_info.yaml
@@ -158,23 +158,14 @@ proxsuite:
     max_pin: 'x.x'
     override_version: '0.7.2'
 
-# remember on next rebuild to remove build number override
 apriltag:
-  build_number: 16
   generate_dummy_package_with_run_deps:
     dep_name: apriltag
     max_pin: 'x.x.x'
 apriltag_ros:
-  build_number: 16
 apriltag_draw:
-  build_number: 16
 apriltag_tools:
-  build_number: 16
 apriltag_detector_umich:
-  build_number: 16
 apriltag_detector_mit:
-  build_number: 16
 apriltag_detector:
-  build_number: 16
 controller_manager:
-  build_number: 16
diff --git a/vinca.yaml b/vinca.yaml
index 951099fa..a330c06d 100644
--- a/vinca.yaml
+++ b/vinca.yaml
@@ -5,12 +5,11 @@ conda_index:
   - robostack.yaml
   - packages-ignore.yaml
 
-# Reminder for next full rebuild, the next build number should be 17
-build_number: 15
+build_number: 18
 
 mutex_package:
   name: "ros2-distro-mutex"
-  version: "0.8.0"
+  version: "0.9.0"
   upper_bound: "x.x"
   run_constraints:
     - libboost 1.88.*
@@ -301,7 +300,7 @@ packages_select_by_deps:
       - autoware_point_types
       - autoware_signal_processing
       - autoware_vehicle_info_utils
-  
+
       - automatika_ros_sugar
       - automatika_embodied_agents
       - flex_sync

Installed packages

N/A

Environment info

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions