Skip to content

buildscripts: build the meshreduce package for deb and MinGW - #3130

Open
willend wants to merge 1 commit into
mainfrom
2026-11-meshreduce-pkgs
Open

willend wants to merge 1 commit into
mainfrom
2026-11-meshreduce-pkgs

Conversation

@willend

@willend willend commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Bugfix: the mcstas-suite-python / mcxtrace-suite-python deb metapackages (and the MinGW .iss metapackages) depend on *-tools-python-mcmeshreduce / mxmeshreduce, but no build script built that package. Installing the local debs therefore failed with mcxtrace-suite-python : Depends: mcxtrace-tools-python-mxmeshreduce but it is not installable.

This adds the missing mkdist line to build_debs_mcstas, build_debs_mcstas_arm64, build_debs_mcxtrace, build_debs_mcxtrace_arm64, build_windows_mcstas and build_windows_mcxtrace.

The tool keeps soft dependencies only: the deb depends on <flavour>, python3-numpy and recommends python3-trimesh; the wrapper reports a missing trimesh / fast-simplification with an install tip.

Not changed: build_pkg_ghostbsd and build_loc_* (no suite metapackage there).


Declaration of use of AI-tools

  • Please add a checkmark here if you used AI-tools during the work for this contribution
  • Furter, please describe how / where and for what the tools were used: Claude Code (Opus 5.5) traced the missing package and edited the build scripts.

Development OS / boundary conditions

Please describe what OS you developed and tested your additions on, and if any special dependencies are required:

macOS arm64. All six scripts pass bash -n. A trial ./mkdist mcxtrace-tools-python-mxmeshreduce ... -- deb configured and gives package name mcxtrace-tools-python-mxmeshreduce with the dependencies above; the .deb itself could not be generated on macOS (no CPack DEB generator).

Not tested: a full build_debs_* run and install on Debian/Ubuntu, and the Windows MinGW build.


PR Checklist for contributing to McStas/McXtrace

  • My PR is meant to fix a specific, existing issue

    • I have indicated the issue number here: (reported by a co-developer, no issue filed)
    • I have added documentation for the fix and possible side effects

🤖 Generated with Claude Code

The suite metapackages depend on *-tools-python-mc/mxmeshreduce, but no
build script made it, so the debs could not be installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant