Github messages for voidlinux
 help / color / Atom feed
* [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf
@ 2020-03-22 11:35 pullmoll
  2020-03-23  7:14 ` sgn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pullmoll @ 2020-03-22 11:35 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

New issue by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/20281

Description:
I don't know how this can happen as we have not set this value anywhere, but this is what happens when trying to build `NetworkManager` for `mips*`:
```
[682/692] Generating nm-property-docs.xml with a custom command.
FAILED: libnm/nm-property-docs.xml 
env -i GI_TYPELIB_PATH=/builddir/NetworkManager-1.22.6/build/libnm LD_LIBRARY_PATH=/builddir/NetworkManager-1.22.6/build/libnm sh -c '/usr/bin/qemu-mipselhf-static -L /usr/mipsel-linux-muslhf /usr/mipsel-linux-muslhf/bin/python3' /builddir/NetworkManager-1.22.6/libnm/generate-setting-docs.py --lib-path /builddir/NetworkManager-1.22.6/build/libnm --gir libnm/NM-1.0.gir --output libnm/nm-property-docs.xml
/builddir/NetworkManager-1.22.6/libnm/generate-setting-docs.py: /usr/bin/qemu-mipselhf-static: No such file or directory
```

See it tries to use a `qemu-mipselhf-static` which does not exist. The correct arch to use here is `qemu-mipsel-static` and it is what can be found in `common/cross-profiles/mipselhf.sh`:
```
XBPS_TARGET_QEMU_MACHINE="mipsel"
```
I even tried to explicitly set `-Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static` in `NetworkManager`'s `configure_args` yet it insists to use the wrong name.

I really wonder where this wrapper name is constructed, it seems from the cross triplet by stripping `-linux-musl`,  and why`this happens.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NetworkManager: wrong meson exe_wrapper for mips*hf
  2020-03-22 11:35 [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf pullmoll
@ 2020-03-23  7:14 ` sgn
  2020-03-23 15:40 ` sgn
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2020-03-23  7:14 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/20281#issuecomment-602424470

Comment:
Have you tried added `build_helper=qemu` to the template,
that helper will set exe_wrapper into the xbps_meson.cross

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NetworkManager: wrong meson exe_wrapper for mips*hf
  2020-03-22 11:35 [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf pullmoll
  2020-03-23  7:14 ` sgn
@ 2020-03-23 15:40 ` sgn
  2020-03-23 15:44 ` sgn
  2020-03-23 21:58 ` [ISSUE] [CLOSED] " pullmoll
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2020-03-23 15:40 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/20281#issuecomment-602424470

Comment:
Have you tried added `build_helper=qemu` to the template,
that helper will set exe_wrapper into the xbps_meson.cross

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NetworkManager: wrong meson exe_wrapper for mips*hf
  2020-03-22 11:35 [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf pullmoll
  2020-03-23  7:14 ` sgn
  2020-03-23 15:40 ` sgn
@ 2020-03-23 15:44 ` sgn
  2020-03-23 21:58 ` [ISSUE] [CLOSED] " pullmoll
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2020-03-23 15:44 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/20281#issuecomment-602684223

Comment:
It comes from fix-cross-gir.patch

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] NetworkManager: wrong meson exe_wrapper for mips*hf
  2020-03-22 11:35 [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf pullmoll
                   ` (2 preceding siblings ...)
  2020-03-23 15:44 ` sgn
@ 2020-03-23 21:58 ` pullmoll
  3 siblings, 0 replies; 5+ messages in thread
From: pullmoll @ 2020-03-23 21:58 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

Closed issue by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/20281

Description:
I don't know how this can happen as we have not set this value anywhere, but this is what happens when trying to build `NetworkManager` for `mips*`:
```
[682/692] Generating nm-property-docs.xml with a custom command.
FAILED: libnm/nm-property-docs.xml 
env -i GI_TYPELIB_PATH=/builddir/NetworkManager-1.22.6/build/libnm LD_LIBRARY_PATH=/builddir/NetworkManager-1.22.6/build/libnm sh -c '/usr/bin/qemu-mipselhf-static -L /usr/mipsel-linux-muslhf /usr/mipsel-linux-muslhf/bin/python3' /builddir/NetworkManager-1.22.6/libnm/generate-setting-docs.py --lib-path /builddir/NetworkManager-1.22.6/build/libnm --gir libnm/NM-1.0.gir --output libnm/nm-property-docs.xml
/builddir/NetworkManager-1.22.6/libnm/generate-setting-docs.py: /usr/bin/qemu-mipselhf-static: No such file or directory
```

See it tries to use a `qemu-mipselhf-static` which does not exist. The correct arch to use here is `qemu-mipsel-static` and it is what can be found in `common/cross-profiles/mipselhf.sh`:
```
XBPS_TARGET_QEMU_MACHINE="mipsel"
```
I even tried to explicitly set `-Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static` in `NetworkManager`'s `configure_args` yet it insists to use the wrong name.

I really wonder where this wrapper name is constructed, it seems from the cross triplet by stripping `-linux-musl`,  and why`this happens.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 11:35 [ISSUE] NetworkManager: wrong meson exe_wrapper for mips*hf pullmoll
2020-03-23  7:14 ` sgn
2020-03-23 15:40 ` sgn
2020-03-23 15:44 ` sgn
2020-03-23 21:58 ` [ISSUE] [CLOSED] " pullmoll

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git