Skip to content

Fix build warning contrib/natvis/LICENSE: No such file - #99909

Merged
cv4g merged 3 commits into
masterfrom
fix-build-warning-natvis-license-no-such-file
May 5, 2026
Merged

cv4g merged 3 commits into
masterfrom
fix-build-warning-natvis-license-no-such-file

Conversation

@cv4g

@cv4g cv4g commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Fix a warning logged during cmake configuration:

cat: /workspace/clickhouse//contrib/natvis/LICENSE: No such file or directory (os error 2)

The fix adjusts a truncation applied to path ./contrib/rapidjson/contrib/natvis/LICENSE when gathering the licenses of included libraries.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Version info

  • Merged into: 26.5.1.269

@clickhouse-gh

clickhouse-gh Bot commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7d4f4c0]

Summary: ✅


AI Review

Summary

This PR fixes path normalization in utils/list-licenses/list-licenses.sh so nested paths like contrib/rapidjson/contrib/natvis/LICENSE are no longer truncated to a non-existent contrib/natvis/LICENSE. The change is small, targeted, and addresses the reported warning without introducing correctness or safety risks.

ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ➖
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
No large/binary files ✅
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 18, 2026
@thevar1able thevar1able self-assigned this Mar 18, 2026
@cv4g

cv4g commented Apr 28, 2026

Copy link
Copy Markdown
Contributor Author

Warning still present in 6387321:

-- Will build ClickHouse 26.5.1.1 revision 54510 
cat: /workspace/clickhouse//contrib/natvis/LICENSE: No such file or directory (os error 2)

@cv4g
cv4g added this pull request to the merge queue May 5, 2026
Merged via the queue into master with commit 6d46286 May 5, 2026
325 of 326 checks passed
@cv4g
cv4g deleted the fix-build-warning-natvis-license-no-such-file branch May 5, 2026 06:23
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants