-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gtk2 + gtk3 (and deps): enable for clangarm64 #10424
Conversation
@@ -33,7 +33,6 @@ build() { | |||
meson \ | |||
--prefix="${MINGW_PREFIX}" \ | |||
--buildtype plain \ | |||
-Ddocs=true \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got ../json-glib-1.6.6/meson.build:1:0: ERROR: Unknown options: "docs"
so I took out the option completely
If you are looking for opengl library in System32 it has been added recently in mingw-w64. An update in mingw-w64-crt package will fix it. But there is some confusion about implementation of opengl in Windows 10 vs 11, more here https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/745eaf74-7f4f-e89f-cd7f-f7bbfed2664%40martin.st/#msg37405470 |
If crt update is required, I would suggest to update all the mingw-w64 packages (headers, tools etc.). See any previous update for example. |
After the CRT update it works indeed, thanks for the hint! Will update the other packages as well 👍🏼 |
844d092
to
a37c21d
Compare
See also mstorsjo/llvm-mingw#209 - maybe you could add what your machine has for OpenGL to that thread. |
This comment has been minimized.
This comment has been minimized.
This might need to be split, at least the update of mingw-w64. There aren't generally explicit dependencies on these packages, so the things that try to properly order dependencies will not know that the updated mingw-w64 packages are needed. |
78c9ef9
to
1dd8ba7
Compare
I assume adding clangarm64 does not require pkgrel bump. |
@Biswa96 the MINGW64, MINGW32 and UCRT64 CI jobs are failing due to corrupted packages in the cache. Clang is looking all good. I'm only bumping the pkgrels so that the corrupted packages force a rebuild - that seems to work. If you're comfortable merging this PR without fixing those, I'm good with that. Was just trying to get CI green. |
mingw-w64-librsvg-2.40/PKGBUILD
Outdated
@@ -19,8 +19,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" | |||
"${MINGW_PACKAGE_PREFIX}-vala" | |||
"setconf") | |||
depends=("${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2" | |||
"${MINGW_PACKAGE_PREFIX}-pango" | |||
"${MINGW_PACKAGE_PREFIX}-libcroco") | |||
$( [[ ${MINGW_PACKAGE_PREFIX} != *-clang-aarch64* && ${MINGW_PACKAGE_PREFIX} != *-clang-i686* ]] || echo "${MINGW_PACKAGE_PREFIX}-libcroco" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's weird that CI tries to build librsvg-2.40
on MINGW64
in the first place as it's only intended for clang32
and clangarm64
. Hopefully this conditional (together with a bump of pkgrel
) will make CI pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeremyd2019 CI is still trying to build mingw-w64-librsvg-2.40
on MINGW64
. Any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI has never been taught about mingw_arch. Don't worry about it. I am testing clangarm64. You don't need to worry about those corrupted packages errors in this case either.
Please reset/force-push back to 1dd8ba7 |
f935e74
to
1dd8ba7
Compare
https://github.com/msys2-arm/MINGW-packages/runs/4670206373?check_suite_focus=true
|
I got that same assertion failure again with gtkresources_c this time |
It succeeded on my raspberry pi, going to try again with 'staging' packages (mingw-w64). |
That succeeded too. Maybe there's a race or something that only likes to show up on a 60-core VM 😁 |
Now I am hitting a hang in g-ir-scanner, in librsvg-2.40 and then again in gtk2. It appears to be the same hang (in cygwin) that I've been seeing sometimes with pacman validating sync dbs, that results in debuggers not being able to get the "context" for the main thread, so I cannot see what it's up to. |
g-ir-scanner issue seems to be better after a reboot. 🤷 |
This enables both gtk2 and gtk3 for clangarm64. Note that some packages like
gtk2
andadwaita-icon-theme
take a long time to build as their builds rely heavily on things likesh
, which run under x64 emulation in MSYS2 on Windows on ARM.The update to
mingw-64
is necessary becauselibopengl32.a
was added a few days ago in https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/745eaf74-7f4f-e89f-cd7f-f7bbfed2664%40martin.st/#msg37405470 🚀Will look into
graphviz
andgtk4
after this PR has been merged and all packages so far have been published.