Skip to content

recipes: remove S = ${UNPACKDIR}/git for Whinlatter compliance#279

Draft
ajlennon wants to merge 1 commit into
feature/whinlatter-migrationfrom
cursor/whinlatter-recipe-s-fix-de70
Draft

recipes: remove S = ${UNPACKDIR}/git for Whinlatter compliance#279
ajlennon wants to merge 1 commit into
feature/whinlatter-migrationfrom
cursor/whinlatter-recipe-s-fix-de70

Conversation

@ajlennon

@ajlennon ajlennon commented Jul 1, 2026

Copy link
Copy Markdown
Member

Fixes the CI build failure in run 28430587738.

Problem

The whinlatter build failed during mono-native-6.12.0.206:do_unpack with:

ERROR: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.

Yocto 5.3 (whinlatter) changed the git fetcher to unpack into BB_GIT_DEFAULT_DESTSUFFIX (set to ${BP} in oe-core), which matches the default S from bitbake.conf. Explicit S = "${UNPACKDIR}/git" assignments are now rejected.

Fix

Remove all S = "${UNPACKDIR}/git" lines from git-based recipes across the layer (10 files):

  • recipes-mono/mono/mono-6.12.0.206.inc (the immediate CI failure)
  • recipes-mono/mono/mono-git.inc
  • recipes-mono/msbuild/msbuild_16.10.1.bb
  • recipes-mono/taglib-sharp/taglib-sharp.inc
  • recipes-mono/mono-xsp/mono-xsp_git.bb
  • recipes-mono/mono-addins/mono-addins-xbuild.inc
  • recipes-mono/mono-addins/mono-addins.inc
  • recipes-mono/mono-upnp/mono-upnp.inc
  • recipes-mono/gtk-sharp/gtk-sharp3_2.99.4.bb
  • recipes-mono/libgdiplus/libgdiplus-common.inc

Per the Yocto 5.3 migration guide, these assignments should simply be deleted — no replacement is needed for recipes where the source root is the git checkout itself.

Open in Web Open in Cursor 

Yocto 5.3 (whinlatter) errors when recipes explicitly set
S = "${UNPACKDIR}/git" because oe-core bitbake.conf now sets S
to match BB_GIT_DEFAULT_DESTSUFFIX (BP) automatically.

This fixes mono-native-6.12.0.206 do_unpack failure in CI.

Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants