Skip to content

[libfyaml] new port, [appstream] update to 1.1.2#51490

Open
brunvonlope wants to merge 2 commits intomicrosoft:masterfrom
brunvonlope:bruno/libfyaml-test
Open

[libfyaml] new port, [appstream] update to 1.1.2#51490
brunvonlope wants to merge 2 commits intomicrosoft:masterfrom
brunvonlope:bruno/libfyaml-test

Conversation

@brunvonlope
Copy link
Copy Markdown
Contributor

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch 3 times, most recently from a2cc5c0 to a38f3a7 Compare May 1, 2026 15:23
@BillyONeal BillyONeal marked this pull request as draft May 1, 2026 18:35
@BillyONeal
Copy link
Copy Markdown
Member

Drafting due to build failures in the new port.

@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch 4 times, most recently from 70c3ef2 to 778012a Compare May 1, 2026 20:34
@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch 6 times, most recently from 3e113bd to 91a61d4 Compare May 1, 2026 22:25
@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch 3 times, most recently from 492d07b to f41ce33 Compare May 1, 2026 23:57
@brunvonlope brunvonlope marked this pull request as ready for review May 2, 2026 00:43
@brunvonlope
Copy link
Copy Markdown
Contributor Author

@BillyONeal May be in decent shape for review now :)

Comment on lines +13 to +14
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} -Wno-error=incompatible-pointer-types")
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -Wno-error=incompatible-pointer-types")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Usually we want to get rid of -Werror.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Could you rephrase? I did not get it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AFAIU these lines disable -Wno-error for a particular warning. I see that as a symptom of -Werror being used during the port build. (Correct me if I'm wrong.)

In general, it is not desired to have -Werror in port builds. That flags is a helpful tool in controlled environments (i.e. upstream CI, or actual developer). But it is breaking builds too easily when toolchains, targets and time vary over a wide range.

So I suggest to check the buildsystem and logs for signs of -Werror, and to disable that flag.

Comment thread ports/libfyaml/portfile.cmake Outdated
Comment thread ports/libfyaml/pthread.diff Outdated
Comment thread ports/libfyaml/pthread.diff Outdated
Comment thread ports/libfyaml/pthread.diff Outdated
-set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
-set(THREADS_PREFER_PTHREAD_FLAG TRUE)
-find_dependency(Threads REQUIRED)
+if(NOT WIN32 AND NOT ANDROID)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Again, the patching shouldn't be necessary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Again, already responded in the comment above. I would not patch something unnecessary.

If you have a alternative fix for android, please push a commit

Comment thread ports/libfyaml/pthread.diff Outdated
Comment thread ports/libfyaml/portfile.cmake Outdated
@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch 2 times, most recently from 56c3e87 to abef147 Compare May 2, 2026 12:14
@brunvonlope brunvonlope force-pushed the bruno/libfyaml-test branch from 0f7cecc to e794cd9 Compare May 2, 2026 15:35
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.

3 participants