Skip to content

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Apr 11, 2025

Avoid git log while applying patches, that will print a bunch of content to stdout.
The stdout then might (or not) contain the word error, interpreted by MSBuild's cmake as an... error.

Thanks to the internet, at https://stackoverflow.com/questions/78622876/visual-studio-msbuild-error-msb8066-custom-build and https://developercommunity.visualstudio.com/t/MSBuild:-error:-output-of-custom-build/10554390?sort=newest, and @ccfelius that first raised the problem.

Fixes #16177, also reverts #16722.

This should unlock #16196 and #16463.

@Tishj
Copy link
Contributor

Tishj commented Apr 11, 2025

The stdout then might (or not) contain the word error, interpreted by MSBuild's cmake as an... error.

I love technology

carlopi added a commit to carlopi/duckdb that referenced this pull request Apr 11, 2025
This is not intended to be merged, only to demo duckdb#17075
actually does something of relevance
@carlopi carlopi changed the title Fix httpfs patches Fix httpfs patches: avoid git log since might contain unsanitised error word Apr 11, 2025
@carlopi
Copy link
Contributor Author

carlopi commented Apr 11, 2025

A/B testing experiment with a PR with only one of this commits did fail as expected #17077.

This is ready to be merged on my side.

@Mytherin
Copy link
Collaborator

I have also pushed this as part of #17071

@carlopi
Copy link
Contributor Author

carlopi commented Apr 11, 2025

Feel free to merge yours first, but I do like this PR, don't close it please.

Bragging rights are relevant.

@Mytherin Mytherin merged commit aadcb3d into duckdb:main Apr 11, 2025
52 checks passed
@Mytherin
Copy link
Collaborator

Thanks :)

@carlopi carlopi deleted the fix_httpfs_patches branch April 11, 2025 22:11
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
[Nested] Optimize List Type in `list_value` (duckdb/duckdb#17063)
Re-enable Avro on core (duckdb/duckdb#17072)
Fix httpfs patches: avoid `git log` since might contain unsanitised `error` word (duckdb/duckdb#17075)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
[Nested] Optimize List Type in `list_value` (duckdb/duckdb#17063)
Re-enable Avro on core (duckdb/duckdb#17072)
Fix httpfs patches: avoid `git log` since might contain unsanitised `error` word (duckdb/duckdb#17075)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
[Nested] Optimize List Type in `list_value` (duckdb/duckdb#17063)
Re-enable Avro on core (duckdb/duckdb#17072)
Fix httpfs patches: avoid `git log` since might contain unsanitised `error` word (duckdb/duckdb#17075)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 19, 2025
[Nested] Optimize List Type in `list_value` (duckdb/duckdb#17063)
Re-enable Avro on core (duckdb/duckdb#17072)
Fix httpfs patches: avoid `git log` since might contain unsanitised `error` word (duckdb/duckdb#17075)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patching httpfs extension leads to Windows Extensions CI failure
3 participants