* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
@ 2024-02-16 10:22 ` oreo639
2024-02-16 14:20 ` chrysos349
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: oreo639 @ 2024-02-16 10:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1948114439
Comment:
> Crossbuilding gets stuck generating WebKit2WebExtension-4.1.typelib
It gets stuck at generating WebKit2.gir (even though the message doesn't get printed).
Updating qemu-user-static to `8.1.5` seems to fix the issue.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
2024-02-16 10:22 ` oreo639
@ 2024-02-16 14:20 ` chrysos349
2024-02-17 20:20 ` chrysos349
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2024-02-16 14:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1948469346
Comment:
Thanks for debugging this issue. Do you plan to update `qemu-user-static`?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
2024-02-16 10:22 ` oreo639
2024-02-16 14:20 ` chrysos349
@ 2024-02-17 20:20 ` chrysos349
2024-02-18 1:59 ` oreo639
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2024-02-17 20:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1950299550
Comment:
> Updating qemu-user-static to `8.1.5` seems to fix the issue.
Tried `qemu-user-static-8.1.5`. Unfortunately, it didn't fix the issue. What else did you do to successfully cross-build `webkit2gtk` for `armv6l-musl`?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (2 preceding siblings ...)
2024-02-17 20:20 ` chrysos349
@ 2024-02-18 1:59 ` oreo639
2024-02-18 5:57 ` oreo639
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: oreo639 @ 2024-02-18 1:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 599 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1950766260
Comment:
Sorry, yeah, I built qemu-user-static with some of the older patches that had been removed. I tried building it with those patches removed to make sure it worked without them, but I ended up building it with the other qemu-user-static.
This is the reason why: https://www.openwall.com/lists/musl/2017/06/21/2
And the patch got removed in the following commit: https://github.com/void-linux/void-packages/commit/147fb2841cdd6532a73009079f73cf0568ada885
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (3 preceding siblings ...)
2024-02-18 1:59 ` oreo639
@ 2024-02-18 5:57 ` oreo639
2024-02-18 8:29 ` [ISSUE] [CLOSED] " chrysos349
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: oreo639 @ 2024-02-18 5:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 622 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1950766260
Comment:
Sorry, yeah, I built qemu-user-static with some of the older patches that had been removed. I tried building it with those patches removed to make sure it worked without them, but I ended up building it with the previously built qemu-user-static by accident.
This is the reason why: https://www.openwall.com/lists/musl/2017/06/21/2
And the patch got removed in the following commit: https://github.com/void-linux/void-packages/commit/147fb2841cdd6532a73009079f73cf0568ada885
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ISSUE] [CLOSED] `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (4 preceding siblings ...)
2024-02-18 5:57 ` oreo639
@ 2024-02-18 8:29 ` chrysos349
2024-02-18 8:29 ` chrysos349
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2024-02-18 8:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
Closed issue by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.16_1 x86_64 GenuineIntel/VM uptodate hold rrFFFFFF
### Package(s) Affected
webkit2gtk-2.40.0_4
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
Be able to crossbuild `webkit2gtk` for `armv6l-musl` via `xbps-src`
### Actual behaviour
Crossbuilding gets stuck generating WebKit2WebExtension-4.1.typelib
```
[5855/5860] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/BrowserWindow.c.o
../Tools/MiniBrowser/gtk/BrowserWindow.c: In function 'browserWindowCreateBackForwardMenu':
../Tools/MiniBrowser/gtk/BrowserWindow.c:257:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'guint64' {aka 'long long unsigned int'} [-Wformat=]
257 | char *actionName = g_strdup_printf("action-%lu", ++actionId);
| ~~^ ~~~~~~~~~~
| | |
| | guint64 {aka long long unsigned int}
| long unsigned int
| %llu
[5856/5860] Linking C executable bin/MiniBrowser
[5857/5860] Generating WebKit2WebExtension-4.1.gir
[5858/5860] Generating WebKit2WebExtension-4.1.typelib
```
### Steps to reproduce
1. Clone repo, bootstrap, etc.
2. Run `./xbps-src -a armv6l-musl pkg webkit2gtk`
3. Wait till eternity
P.S. Of course, I use clean masterdir.
P.P.S. The latest webkit2gtk has the same problem generating typelib file for armv6l-musl.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (5 preceding siblings ...)
2024-02-18 8:29 ` [ISSUE] [CLOSED] " chrysos349
@ 2024-02-18 8:29 ` chrysos349
2024-02-18 21:55 ` oreo639
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2024-02-18 8:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1951014567
Comment:
Adding `mmap-mremap-efault.patch` to `qemu` fixed the issue with `webkit2gtk`. Why was this patch removed and the change approved in the first place, I wonder?
Thanks for getting to the bottom of this. I can proceed now.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (6 preceding siblings ...)
2024-02-18 8:29 ` chrysos349
@ 2024-02-18 21:55 ` oreo639
2024-02-18 22:14 ` chrysos349
2024-02-18 23:37 ` [ISSUE] [CLOSED] " oreo639
9 siblings, 0 replies; 11+ messages in thread
From: oreo639 @ 2024-02-18 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by oreo639 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1951457047
Comment:
For the future, don't close the issue until the issue has been fixed in the void-packages repo.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (7 preceding siblings ...)
2024-02-18 21:55 ` oreo639
@ 2024-02-18 22:14 ` chrysos349
2024-02-18 23:37 ` [ISSUE] [CLOSED] " oreo639
9 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2024-02-18 22:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747#issuecomment-1951461755
Comment:
Will do. Reopened.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [ISSUE] [CLOSED] `webkit2gtk` fails to crossbuild for `armv6l-musl`
2024-02-15 19:41 [ISSUE] `webkit2gtk` fails to crossbuild for `armv6l-musl` chrysos349
` (8 preceding siblings ...)
2024-02-18 22:14 ` chrysos349
@ 2024-02-18 23:37 ` oreo639
9 siblings, 0 replies; 11+ messages in thread
From: oreo639 @ 2024-02-18 23:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]
Closed issue by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/issues/48747
Description:
### Is this a new report?
Yes
### System Info
Void 6.6.16_1 x86_64 GenuineIntel/VM uptodate hold rrFFFFFF
### Package(s) Affected
webkit2gtk-2.40.0_4
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
Be able to crossbuild `webkit2gtk` for `armv6l-musl` via `xbps-src`
### Actual behaviour
Crossbuilding gets stuck generating WebKit2WebExtension-4.1.typelib
```
[5855/5860] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/BrowserWindow.c.o
../Tools/MiniBrowser/gtk/BrowserWindow.c: In function 'browserWindowCreateBackForwardMenu':
../Tools/MiniBrowser/gtk/BrowserWindow.c:257:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'guint64' {aka 'long long unsigned int'} [-Wformat=]
257 | char *actionName = g_strdup_printf("action-%lu", ++actionId);
| ~~^ ~~~~~~~~~~
| | |
| | guint64 {aka long long unsigned int}
| long unsigned int
| %llu
[5856/5860] Linking C executable bin/MiniBrowser
[5857/5860] Generating WebKit2WebExtension-4.1.gir
[5858/5860] Generating WebKit2WebExtension-4.1.typelib
```
### Steps to reproduce
1. Clone repo, bootstrap, etc.
2. Run `./xbps-src -a armv6l-musl pkg webkit2gtk`
3. Wait till eternity
P.S. Of course, I use clean masterdir.
P.P.S. The latest webkit2gtk has the same problem generating typelib file for armv6l-musl.
^ permalink raw reply [flat|nested] 11+ messages in thread