Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cannot cross-compile libevent for armv5tel-musl
@ 2021-01-22 16:51 lfdebrux
  2021-01-22 17:12 ` pullmoll
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: lfdebrux @ 2021-01-22 16:51 UTC (permalink / raw)
  To: ml

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

New issue by lfdebrux on void-packages repository

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

Description:
### System

* xuname:  Void 5.10.8_1 x86_64-musl GenuineIntel/VM notuptodate rF
* package:  libressl-devel, libevent, nghttp2, curl, elfutils, binutils, gcc

### Expected behavior

Running `./xbps-src -a armv5tel-musl libevent` builds and installs `libevent`

### Actual behavior

Build does not start due to issue installing libressl-devel as libssp is missing:

```
=> xbps-src: cleaning up / masterdir...
=> libevent-2.1.12_1: removing autodeps, please wait...
=> libevent-2.1.12_1: removing autocrossdeps, please wait...
=> libevent-2.1.12_1: building [gnu-configure] for armv5tel-musl...
   [target] libressl-devel-3.1.5_2: found (/host/binpkgs)
   [runtime] libressl-devel-3.1.5_2: found (/host/binpkgs)
   [runtime] libevent-2.1.12_1: not found (self, ignored)
=> libevent-2.1.12_1: installing target dependencies: libressl-devel-3.1.5_2 ...
=> libevent-2.1.12_1: removing autodeps, please wait...
=> libevent-2.1.12_1: removing autocrossdeps, please wait...
=> ERROR: libevent-2.1.12_1: failed to install 'libressl-devel-3.1.5_2' dependency! (error 19)
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
Transaction aborted due to unresolved dependencies.
=> ERROR: Please see above for the real error, exiting...
```

This is particularly annoying because libssp is part of the gcc package, which depends on libevent transitively, so there is a circular dependency. I end up with the same issue trying to build any package in the dependency chain from gcc to libevent.

Strangely however I can build libressl-devel without issues using `./xbs-src -a armv5tel-musl pkg libressl`.

### Steps to reproduce the behavior

On Void Linux x86_64-musl, clone void-packages, install bootstrap and try to build libevent targeting armv5tel-musl. 

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
@ 2021-01-22 17:12 ` pullmoll
  2021-01-22 17:20 ` pullmoll
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 17:12 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765561102

Comment:
This has bitten me not too long ago as well. The `(error 19)` is the only indication that there is indeed a cyclic dependency and we need to identify and eliminate it.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
  2021-01-22 17:12 ` pullmoll
@ 2021-01-22 17:20 ` pullmoll
  2021-01-22 17:22 ` pullmoll
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 17:20 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765561102

Comment:
This has bitten me not too long ago as well. The `(error 19)` is the only indication that there is indeed a cyclic dependency and we need to identify and eliminate it.

Edit: I'm confused: just tried with my locally built repository and there I can build libevent w/o error.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
  2021-01-22 17:12 ` pullmoll
  2021-01-22 17:20 ` pullmoll
@ 2021-01-22 17:22 ` pullmoll
  2021-01-22 17:26 ` pullmoll
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 17:22 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765561102

Comment:
This type of issue has bitten me not too long ago as well. The `(error 19)` is the only indication that there is indeed a cyclic dependency and we need to identify and eliminate it.

Edit: I'm confused: just tried with my locally built repository and there I can build libevent w/o error.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (2 preceding siblings ...)
  2021-01-22 17:22 ` pullmoll
@ 2021-01-22 17:26 ` pullmoll
  2021-01-22 19:49 ` Johnnynator
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 17:26 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765561102

Comment:
This type of issue has bitten me not too long ago as well. The `(error 19)` is the only indication that there is indeed a cyclic dependency and we need to identify and eliminate it.

Edit: I'm confused: just tried with my locally built repository and there I can build libevent w/o error.
Edit2: The first thing I did to get `armv5tel-musl` built is to cross build the `base-chroot` package. Perhaps you can try that and then build with `-N` option to use your local repository's `arm5tel-musl` packages.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (3 preceding siblings ...)
  2021-01-22 17:26 ` pullmoll
@ 2021-01-22 19:49 ` Johnnynator
  2021-01-22 20:11 ` pullmoll
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Johnnynator @ 2021-01-22 19:49 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765646531

Comment:
Shouldn't `libssp` be listed in `cross-vpkg-dummy` since it is provided by the cross toolchain? This is also the reason why `libressl` compiles but xbps refues to install it.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (4 preceding siblings ...)
  2021-01-22 19:49 ` Johnnynator
@ 2021-01-22 20:11 ` pullmoll
  2021-01-22 20:13 ` pullmoll
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 20:11 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765657116

Comment:
I think you are right @Johnnynator . And `cross-vpkg-dummy` needs an update for gcc10 anyway as it lists the gcc9 gcc ada libraries.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (5 preceding siblings ...)
  2021-01-22 20:11 ` pullmoll
@ 2021-01-22 20:13 ` pullmoll
  2021-01-22 20:30 ` q66
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pullmoll @ 2021-01-22 20:13 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765657116

Comment:
I think you are right @Johnnynator . And `cross-vpkg-dummy` needs an update for gcc10 anyway as it lists the gcc9 ada libraries.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (6 preceding siblings ...)
  2021-01-22 20:13 ` pullmoll
@ 2021-01-22 20:30 ` q66
  2021-01-22 20:34 ` q66
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-22 20:30 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765665651

Comment:
only on musl, there is no libssp in glibc crosstoolchains

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (7 preceding siblings ...)
  2021-01-22 20:30 ` q66
@ 2021-01-22 20:34 ` q66
  2021-01-22 20:48 ` q66
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-22 20:34 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765669572

Comment:
anyway, i will fix this along with other things

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (8 preceding siblings ...)
  2021-01-22 20:34 ` q66
@ 2021-01-22 20:48 ` q66
  2021-01-22 20:52 ` q66
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-22 20:48 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765676000

Comment:
okay, that should be updated now (will take a while to propagate since builders are still busy)

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (9 preceding siblings ...)
  2021-01-22 20:48 ` q66
@ 2021-01-22 20:52 ` q66
  2021-01-23 20:49 ` lfdebrux
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-22 20:52 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-765676000

Comment:
okay, that should be updated now (will take a while to propagate since builders are still busy)

maybe we should just build libssp in all crosstoolchains, it'd make more sense perhaps... i mean you can just have libssp be installed through a makedepend, but considering it's a hard dependency of gcc package itself (and therefore always present in masterdir), it doesn't make much sense not to provide it through the crosstoolchain (things will generally not makedepend on libssp, though in practice nothing should really run into it, since glibc provides it builtin - on musl it's needed because we internally link to libssp_nonshared)

it's something to think about for next gcc update, right now it's not pressing at all, since it will practically never be a problem

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (10 preceding siblings ...)
  2021-01-22 20:52 ` q66
@ 2021-01-23 20:49 ` lfdebrux
  2021-01-23 22:21 ` lfdebrux
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lfdebrux @ 2021-01-23 20:49 UTC (permalink / raw)
  To: ml

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

New comment by lfdebrux on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-766176974

Comment:
Thank you for looking into this!

I am getting the same error even after checking out the latest version, do I have to wait for @q66 's changes to propagate?

@pullmoll that's strange, if I try to cross compile base-chroot I get the same error, as libevent gets pulled in.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (11 preceding siblings ...)
  2021-01-23 20:49 ` lfdebrux
@ 2021-01-23 22:21 ` lfdebrux
  2021-01-23 22:21 ` lfdebrux
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lfdebrux @ 2021-01-23 22:21 UTC (permalink / raw)
  To: ml

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

New comment by lfdebrux on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-766188864

Comment:
Update: after rebuilding cross-pkg-vdummy I can build libevent

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (12 preceding siblings ...)
  2021-01-23 22:21 ` lfdebrux
@ 2021-01-23 22:21 ` lfdebrux
  2021-01-24  1:16 ` [ISSUE] [CLOSED] " q66
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: lfdebrux @ 2021-01-23 22:21 UTC (permalink / raw)
  To: ml

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

New comment by lfdebrux on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-766188864

Comment:
Update: after rebuilding cross-vpkg-dummy I can build libevent

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

* Re: [ISSUE] [CLOSED] Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (13 preceding siblings ...)
  2021-01-23 22:21 ` lfdebrux
@ 2021-01-24  1:16 ` q66
  2022-02-17  5:11 ` RossComputerGuy
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-24  1:16 UTC (permalink / raw)
  To: ml

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

Closed issue by lfdebrux on void-packages repository

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

Description:
### System

* xuname:  Void 5.10.8_1 x86_64-musl GenuineIntel/VM notuptodate rF
* package:  libressl-devel, libevent, nghttp2, curl, elfutils, binutils, gcc

### Expected behavior

Running `./xbps-src -a armv5tel-musl libevent` builds and installs `libevent`

### Actual behavior

Build does not start due to issue installing libressl-devel as libssp is missing:

```
=> xbps-src: cleaning up / masterdir...
=> libevent-2.1.12_1: removing autodeps, please wait...
=> libevent-2.1.12_1: removing autocrossdeps, please wait...
=> libevent-2.1.12_1: building [gnu-configure] for armv5tel-musl...
   [target] libressl-devel-3.1.5_2: found (/host/binpkgs)
   [runtime] libressl-devel-3.1.5_2: found (/host/binpkgs)
   [runtime] libevent-2.1.12_1: not found (self, ignored)
=> libevent-2.1.12_1: installing target dependencies: libressl-devel-3.1.5_2 ...
=> libevent-2.1.12_1: removing autodeps, please wait...
=> libevent-2.1.12_1: removing autocrossdeps, please wait...
=> ERROR: libevent-2.1.12_1: failed to install 'libressl-devel-3.1.5_2' dependency! (error 19)
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
MISSING: libssp>=4.4.0_1
Transaction aborted due to unresolved dependencies.
=> ERROR: Please see above for the real error, exiting...
```

This is particularly annoying because libssp is part of the gcc package, which depends on libevent transitively, so there is a circular dependency. I end up with the same issue trying to build any package in the dependency chain from gcc to libevent.

Strangely however I can build libressl-devel without issues using `./xbs-src -a armv5tel-musl pkg libressl`.

### Steps to reproduce the behavior

On Void Linux x86_64-musl, clone void-packages, install bootstrap and try to build libevent targeting armv5tel-musl. 

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (14 preceding siblings ...)
  2021-01-24  1:16 ` [ISSUE] [CLOSED] " q66
@ 2022-02-17  5:11 ` RossComputerGuy
  2022-03-26  3:27 ` Xlaits
  2022-03-26  3:28 ` Xlaits
  17 siblings, 0 replies; 19+ messages in thread
From: RossComputerGuy @ 2022-02-17  5:11 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-1042581816

Comment:
Huh, I get this same error with `unbound` when I try compiling for aarch64.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (15 preceding siblings ...)
  2022-02-17  5:11 ` RossComputerGuy
@ 2022-03-26  3:27 ` Xlaits
  2022-03-26  3:28 ` Xlaits
  17 siblings, 0 replies; 19+ messages in thread
From: Xlaits @ 2022-03-26  3:27 UTC (permalink / raw)
  To: ml

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

New comment by Xlaits on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-1079042027

Comment:
I am also having this issue with `unbound`, but building for armv5tel and not the musl version.

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

* Re: Cannot cross-compile libevent for armv5tel-musl
  2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
                   ` (16 preceding siblings ...)
  2022-03-26  3:27 ` Xlaits
@ 2022-03-26  3:28 ` Xlaits
  17 siblings, 0 replies; 19+ messages in thread
From: Xlaits @ 2022-03-26  3:28 UTC (permalink / raw)
  To: ml

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

New comment by Xlaits on void-packages repository

https://github.com/void-linux/void-packages/issues/28103#issuecomment-1079042027

Comment:
I am also having this issue with `unbound`, but building for armv5tel and not the musl version. It hangs at libssp and complains about not being able to resolve that dependancy.

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

end of thread, other threads:[~2022-03-26  3:28 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 16:51 [ISSUE] Cannot cross-compile libevent for armv5tel-musl lfdebrux
2021-01-22 17:12 ` pullmoll
2021-01-22 17:20 ` pullmoll
2021-01-22 17:22 ` pullmoll
2021-01-22 17:26 ` pullmoll
2021-01-22 19:49 ` Johnnynator
2021-01-22 20:11 ` pullmoll
2021-01-22 20:13 ` pullmoll
2021-01-22 20:30 ` q66
2021-01-22 20:34 ` q66
2021-01-22 20:48 ` q66
2021-01-22 20:52 ` q66
2021-01-23 20:49 ` lfdebrux
2021-01-23 22:21 ` lfdebrux
2021-01-23 22:21 ` lfdebrux
2021-01-24  1:16 ` [ISSUE] [CLOSED] " q66
2022-02-17  5:11 ` RossComputerGuy
2022-03-26  3:27 ` Xlaits
2022-03-26  3:28 ` Xlaits

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).