Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 15, 2025

Fix Essentia Build CI Failure

Problem: Essentia build fails due to C++ standard mismatch (C++11 vs C++14)

Root Cause: Eigen 5.0.1 requires C++14, but Essentia's WAF build system defaults to C++11

Changes Made:

  1. Added CXXFLAGS="-std=c++14 -stdlib=libc++" to Essentia WAF configure command
  2. Added ffmpeg to brew install dependencies (removed per review feedback)
  3. Added explanatory comments for clarity

Checklist:

  • Update workflow to add C++14 flags to Essentia configure step
  • Remove FFmpeg dependency per review feedback
  • Test build succeeds with changes
  • Verify no regression in existing functionality
Original prompt

This section details on the original issue you should resolve

<issue_title>Essensia build is broken</issue_title>
<issue_description>@claude fix CI. Currently failed on essentioa build.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Note

In the GitHub Actions macOS workflow, configure Essentia with C++14/libc++ by setting CXXFLAGS during waf configure to resolve Eigen compatibility.

  • CI (GitHub Actions):
    • Update /.github/workflows/build.yml Essentia fallback build: set CXXFLAGS="-std=c++14 -stdlib=libc++" for python3 waf configure --build-static and add a brief explanatory comment.

Written by Cursor Bugbot for commit ea74807. This will update automatically on new commits. Configure here.

Copilot AI changed the title [WIP] Fix CI for Essensia build failure Fix Essentia build failure: Add C++14 compiler flags Dec 15, 2025
Copilot AI requested a review from kyab December 15, 2025 10:49
@kyab
Copy link
Owner

kyab commented Dec 15, 2025

Failing

# Install minimal C++ dependencies for Essentia
brew install pkg-config eigen fftw libtag libsamplerate
# Include ffmpeg for audio I/O support
brew install pkg-config eigen fftw libtag libsamplerate ffmpeg
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cancel ffmpeg install.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed ffmpeg from dependencies in commit ea74807.

Copilot AI requested a review from kyab December 15, 2025 12:28
@kyab kyab marked this pull request as ready for review December 15, 2025 12:45
@kyab kyab merged commit ee34a6a into master Dec 15, 2025
3 checks passed
@kyab kyab deleted the copilot/fix-essensia-build-issue branch December 15, 2025 12:46
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.

Essensia build is broken

2 participants