Repository navigation
ci: build GNU findutils in C17 mode - #939
Conversation
ubuntu-latest is now Ubuntu 26.04, whose compiler defaults to C23. There _GL_ATTRIBUTE_NODISCARD expands to [[__nodiscard__]], which the pinned gnulib places after __THROW in fts_.h, and the build fails in gl/lib/fts.c. Force -std=gnu17 so the GNU testsuite job builds again.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #939 +/- ##
=======================================
Coverage 92.79% 92.79%
=======================================
Files 37 37
Lines 8038 8038
Branches 403 403
=======================================
Hits 7459 7459
Misses 437 437
Partials 142 142 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will not alter performance1 warning
Comparing |
ubuntu-latestis now Ubuntu 26.04, whose compiler defaults to C23. There_GL_ATTRIBUTE_NODISCARDexpands to[[__nodiscard__]], which the pinned gnulib places after__THROWinfts_.h, so the GNU findutils build fails ingl/lib/fts.c:No result JSON is produced and the "Run GNU findutils tests" job has been failing on
mainsince 2026-10-29 (last green run was on ubuntu-24.04).Force
-std=gnu17when configuring GNU findutils inutil/build-gnu.sh.