Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] `./xbps-src bootstrap' fails
@ 2020-10-14 18:27 ev-ermakov
  2020-10-15  0:14 ` ahesford
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: ev-ermakov @ 2020-10-14 18:27 UTC (permalink / raw)
  To: ml

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

New issue by ev-ermakov on void-packages repository

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

Description:
### System

* xuname:
  ``Void 5.8.14_1 x86_64-musl GenuineIntel uptodate rrFFFFFFF``
* package:  
  ``base-chroot-0.66`` (?)

### Expected behavior
``./xbps-src zap && ./xbps-src bootstrap`` succeeds.

### Actual behavior
```
...
[*] Collecting package files
kernel-libc-headers-4.19.0_2: collecting files...
musl-1.1.24_3: collecting files...
musl-devel-1.1.24_3: collecting files...
xbps-triggers-0.117_1: collecting files...
base-files-0.141_4: collecting files...
zlib-1.2.11_3: collecting files...
libgcc-9.3.0_6: collecting files...
libstdc++-9.3.0_6: collecting files...
binutils-2.34_1: collecting files...
libgcc-devel-9.3.0_6: collecting files...
libstdc++-devel-9.3.0_6: collecting files...
libssp-9.3.0_6: collecting files...
libssp-devel-9.3.0_6: collecting files...
gcc-9.3.0_6: collecting files...
libada-9.3.0_6: collecting files...
libada-devel-9.3.0_6: collecting files...
ERROR: libada-devel-9.3.0_6: file `/usr/lib/gcc/x86_64-linux-musl/9.3/plugin/include/ada/gcc-interface/ada-tree.def' already installed by package gcc-9.3.0_6.
Transaction failed! see above for errors.
=> ERROR: xbps-src: failed to install base-chroot!
```

### Context
``etc/conf`` contains the following line:
```
XBPS_PKG_OPTIONS_gcc=~ada
```


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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
@ 2020-10-15  0:14 ` ahesford
  2020-10-15  0:25 ` sgn
                   ` (26 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ahesford @ 2020-10-15  0:14 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-708739595

Comment:
Two things:
1. Unless you really understand the consequences, you don't want `bootstrap`. Use `binary-bootstrap` instead. (When bootstrapping from source, it takes a few iterations to remove host artifacts from the masterdir.)

2. If you *do* use `bootstrap`, try `XBPS_PKG_OPTIONS="~ada"` instead of the gcc-specific variant. I remember some reports about the per-package option variables not working as expected.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
  2020-10-15  0:14 ` ahesford
@ 2020-10-15  0:25 ` sgn
  2020-10-15  0:26 ` sgn
                   ` (25 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-10-15  0:25 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-708753795

Comment:
>     2. If you _do_ use `bootstrap`, try `XBPS_PKG_OPTIONS="~ada"` instead of the gcc-specific variant. I remember some reports about the per-package option variables not working as expected.

`~ada` still puts some ada related files into gcc installation, which normally split into `gcc-ada`.
I think we would need to either:
- still split `gcc-ada` on `~ada`; or
- remove `gcc-ada` from `base-chroot`



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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
  2020-10-15  0:14 ` ahesford
  2020-10-15  0:25 ` sgn
@ 2020-10-15  0:26 ` sgn
  2020-10-15  1:50 ` ev-ermakov
                   ` (24 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-10-15  0:26 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-708753795

Comment:
>     2. If you _do_ use `bootstrap`, try `XBPS_PKG_OPTIONS="~ada"` instead of the gcc-specific variant. I remember some reports about the per-package option variables not working as expected.

`~ada` still puts some ada related files into gcc installation, which normally split into `gcc-ada`.
I think we would need to either:
- still split `gcc-ada` on `~ada`; or
- remove `gcc-ada` from `base-chroot` on `~ada`, (and don't use `XBPS_PKG_OPTIONS_gcc=...`



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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (2 preceding siblings ...)
  2020-10-15  0:26 ` sgn
@ 2020-10-15  1:50 ` ev-ermakov
  2020-10-15 14:06 ` sgn
                   ` (23 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ev-ermakov @ 2020-10-15  1:50 UTC (permalink / raw)
  To: ml

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

New comment by ev-ermakov on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-708843521

Comment:
@ahesford 
> try XBPS_PKG_OPTIONS="~ada"

Thanks. I didn't test yet, I'll try a little later.

> it takes a few iterations to remove host artifacts

https://github.com/void-linux/void-packages/blob/458f2a29520e38a1b26c247ad90e7523e9b6ed41/README.md#L160-L164
Wonder if this is still relevant in light of your comment.

https://github.com/void-linux/void-packages/blob/458f2a29520e38a1b26c247ad90e7523e9b6ed41/README.md#L164-L168
 I also don't understand what "container" means here. Could you please provide a sequence of commands to achieve this?

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (3 preceding siblings ...)
  2020-10-15  1:50 ` ev-ermakov
@ 2020-10-15 14:06 ` sgn
  2020-10-15 23:00 ` travankor
                   ` (22 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-10-15 14:06 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-709349377

Comment:
> Wonder if this is still relevant in light of your comment.

ahesford said:

> When bootstrapping from source, it takes a few iterations to remove host artifacts from the masterdir.

Yes, it's still relevant, a few iterations includes *stage0*, *stage1*, *stage2*, and final masterdir

> Could you please provide a sequence of commands to achieve this?

```sh
$ # make sure we start from nothing
$ rm -rf /path/to/hostdir /path/to/masterdir
$ # build stage0
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir bootstrap
$ # L165: use the resulting stage 0 container to rebuild all  `bootstrap` packages again
$ rm -rf /path/to/hostdir/binpkgs
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir pkg base-chroot
$ # L166 then use `binary-bootstrap` (stage 1) and rebuild the `bootstrap` packages once more
$ rm -rf /path/to/masterdir
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir binary-bootstrap
$ rm -rf /path/to/hostdir/binpkgs
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir pkg base-chroot
$ # L167: then use `binary-bootstrap` again
$ rm -rf /path/to/masterdir
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir binary-bootstrap
```

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (4 preceding siblings ...)
  2020-10-15 14:06 ` sgn
@ 2020-10-15 23:00 ` travankor
  2020-10-16  0:20 ` sgn
                   ` (21 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: travankor @ 2020-10-15 23:00 UTC (permalink / raw)
  To: ml

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

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-709633642

Comment:
@ev-ermakov 

It's not really a bug like they stated, but maybe some [documentation](https://github.com/void-linux/void-docs/issues/262) on bootstrapping could be made clearer in the future.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (5 preceding siblings ...)
  2020-10-15 23:00 ` travankor
@ 2020-10-16  0:20 ` sgn
  2020-10-16 13:26 ` ev-ermakov
                   ` (20 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-10-16  0:20 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-709349377

Comment:
> Wonder if this is still relevant in light of your comment.

ahesford said:

> When bootstrapping from source, it takes a few iterations to remove host artifacts from the masterdir.

Yes, it's still relevant, a few iterations includes *stage0*, *stage1*, *stage2*, and final masterdir

> Could you please provide a sequence of commands to achieve this?

```sh
$ # make sure we start from nothing
$ rm -rf /path/to/hostdir /path/to/masterdir
$ # build stage0
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir bootstrap
$ # L165: use the resulting stage 0 container to rebuild all  `bootstrap` packages again
$ rm -rf /path/to/hostdir/binpkgs
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir pkg base-chroot
$ # L166: then use `binary-bootstrap` (stage 1)
$ rm -rf /path/to/masterdir
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir binary-bootstrap
$ # L166: and rebuild the `bootstrap` packages once more
$ rm -rf /path/to/hostdir/binpkgs
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir pkg base-chroot
$ # L167: then use `binary-bootstrap` again
$ rm -rf /path/to/masterdir
$ ./xbps-src -N -H /path/to/hostdir -m /path/to/masterdir binary-bootstrap
```

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (6 preceding siblings ...)
  2020-10-16  0:20 ` sgn
@ 2020-10-16 13:26 ` ev-ermakov
  2020-10-16 13:44 ` ev-ermakov
                   ` (19 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ev-ermakov @ 2020-10-16 13:26 UTC (permalink / raw)
  To: ml

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

New comment by ev-ermakov on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-710045879

Comment:
@sgn 
Thanks, now I get it.

I also found that `m4` will not compile if `texinfo` is not in the `hostmakedepends` list (stage0 -> stage1).

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (7 preceding siblings ...)
  2020-10-16 13:26 ` ev-ermakov
@ 2020-10-16 13:44 ` ev-ermakov
  2020-11-01 11:09 ` sgn
                   ` (18 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: ev-ermakov @ 2020-10-16 13:44 UTC (permalink / raw)
  To: ml

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

New comment by ev-ermakov on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-710045879

Comment:
@sgn 
Thanks, now I get it.

I've also found that `m4` will not compile if `texinfo` is not in the `hostmakedepends` list (stage0 -> stage1).

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (8 preceding siblings ...)
  2020-10-16 13:44 ` ev-ermakov
@ 2020-11-01 11:09 ` sgn
  2020-12-11  1:17 ` [ISSUE] [CLOSED] " sgn
                   ` (17 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-11-01 11:09 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-720071135

Comment:
Anything else to fix? https://github.com/void-linux/void-packages/commit/66bf185310ef656f05f8b9c24fb58470e8f27a8f

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

* Re: [ISSUE] [CLOSED] `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (9 preceding siblings ...)
  2020-11-01 11:09 ` sgn
@ 2020-12-11  1:17 ` sgn
  2021-02-12 16:32 ` RossComputerGuy
                   ` (16 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: sgn @ 2020-12-11  1:17 UTC (permalink / raw)
  To: ml

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

Closed issue by ev-ermakov on void-packages repository

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

Description:
### System

* xuname:
  ``Void 5.8.14_1 x86_64-musl GenuineIntel uptodate rrFFFFFFF``
* package:  
  ``base-chroot-0.66`` (?)

### Expected behavior
``./xbps-src zap && ./xbps-src bootstrap`` succeeds.

### Actual behavior
```
...
[*] Collecting package files
kernel-libc-headers-4.19.0_2: collecting files...
musl-1.1.24_3: collecting files...
musl-devel-1.1.24_3: collecting files...
xbps-triggers-0.117_1: collecting files...
base-files-0.141_4: collecting files...
zlib-1.2.11_3: collecting files...
libgcc-9.3.0_6: collecting files...
libstdc++-9.3.0_6: collecting files...
binutils-2.34_1: collecting files...
libgcc-devel-9.3.0_6: collecting files...
libstdc++-devel-9.3.0_6: collecting files...
libssp-9.3.0_6: collecting files...
libssp-devel-9.3.0_6: collecting files...
gcc-9.3.0_6: collecting files...
libada-9.3.0_6: collecting files...
libada-devel-9.3.0_6: collecting files...
ERROR: libada-devel-9.3.0_6: file `/usr/lib/gcc/x86_64-linux-musl/9.3/plugin/include/ada/gcc-interface/ada-tree.def' already installed by package gcc-9.3.0_6.
Transaction failed! see above for errors.
=> ERROR: xbps-src: failed to install base-chroot!
```

### Context
``etc/conf`` contains the following line:
```
XBPS_PKG_OPTIONS_gcc=~ada
```


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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (10 preceding siblings ...)
  2020-12-11  1:17 ` [ISSUE] [CLOSED] " sgn
@ 2021-02-12 16:32 ` RossComputerGuy
  2021-02-12 16:40 ` RossComputerGuy
                   ` (15 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 16:32 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778299654

Comment:
Is bootstrapping for a different architecture just all of those commands with `-a` set? Or do I have to bootstrap for the host system's architecture and then run pkg with `-a` set?

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (11 preceding siblings ...)
  2021-02-12 16:32 ` RossComputerGuy
@ 2021-02-12 16:40 ` RossComputerGuy
  2021-02-12 17:21 ` Duncaen
                   ` (14 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 16:40 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778299654

Comment:
Is bootstrapping for a different architecture just all of those commands with `-a` set? Or do I have to bootstrap for the host system's architecture and then run pkg with `-a` set? If I do have to bootstrap with `-a`, then that will explain why I'm getting libssp missing errors on aarch64 and not x86-64.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (12 preceding siblings ...)
  2021-02-12 16:40 ` RossComputerGuy
@ 2021-02-12 17:21 ` Duncaen
  2021-02-12 17:24 ` RossComputerGuy
                   ` (13 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 17:21 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778327962

Comment:
Yes `-a` instructs xbps to do cross compilation, without it its quite surprising that this does not fail earlier, but that is the issue.

Using `./xbps-src bootstrap cross-arch` is like creating a masterdir with `./xbps-src binary-bootstrap cross-arch` which is useless,
you want  a build chroot that works on your host architecture and then cross compile from there with a cross toolchain.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (13 preceding siblings ...)
  2021-02-12 17:21 ` Duncaen
@ 2021-02-12 17:24 ` RossComputerGuy
  2021-02-12 17:45 ` Duncaen
                   ` (12 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 17:24 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778329691

Comment:
So `binary-bootstrap` then `-a aarch64 pkg base-system`? But then I get the error saying libssp>=4.4.0_1 is missing when it's trying to build `libressl-devel`, never had this error when building for x86-64.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (14 preceding siblings ...)
  2021-02-12 17:24 ` RossComputerGuy
@ 2021-02-12 17:45 ` Duncaen
  2021-02-12 17:47 ` RossComputerGuy
                   ` (11 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 17:45 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778341875

Comment:
> So `binary-bootstrap` then `-a aarch64 pkg base-system`?

Yes, works fine here, might be either your masterdir being broken or you local repo containing some outdated packages.

```
xbps-checkvers -i -R hostdir/binpkgs/ -D ~/void-packages/
XBPS_ARCH=aarch64 xbps-checkvers -i -R hostdir/binpkgs/ -D ~/void-packages/
```

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (15 preceding siblings ...)
  2021-02-12 17:45 ` Duncaen
@ 2021-02-12 17:47 ` RossComputerGuy
  2021-02-12 17:57 ` RossComputerGuy
                   ` (10 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 17:47 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778343376

Comment:
`xbps-checkvers -i -R hostdir/binpkgs/ -D ~/void-packages/` does not show anything.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (16 preceding siblings ...)
  2021-02-12 17:47 ` RossComputerGuy
@ 2021-02-12 17:57 ` RossComputerGuy
  2021-02-12 17:57 ` RossComputerGuy
                   ` (9 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 17:57 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778347944

Comment:
```
=> libressl-3.1.5_2: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libtls.so.20 <-> libtls20-3.1.5_2
   SONAME: libcrypto.so.46 <-> libcrypto46-3.1.5_2
   SONAME: libpthread.so.0 <-> glibc>=2.32_1
   SONAME: libssp.so.0 <-> libssp>=4.4.0_1
   SONAME: libc.so.6 <-> glibc>=2.32_1
   SONAME: libssl.so.48 <-> libssl48-3.1.5_2
=> libressl-3.1.5_2: running pre-pkg hook: 05-prepare-32bit ...
```
...
```
=> libevent-2.1.12_1: building [gnu-configure] (dependency of nghttp2) for aarch64...
   [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...
```
My fork is only 7 commits behind and according to Git, the files for libssp/gcc are in sync. https://github.com/ExpidusOS/packages/

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (17 preceding siblings ...)
  2021-02-12 17:57 ` RossComputerGuy
@ 2021-02-12 17:57 ` RossComputerGuy
  2021-02-12 18:03 ` Duncaen
                   ` (8 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 17:57 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778347944

Comment:
```
=> libressl-3.1.5_2: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libtls.so.20 <-> libtls20-3.1.5_2
   SONAME: libcrypto.so.46 <-> libcrypto46-3.1.5_2
   SONAME: libpthread.so.0 <-> glibc>=2.32_1
   SONAME: libssp.so.0 <-> libssp>=4.4.0_1
   SONAME: libc.so.6 <-> glibc>=2.32_1
   SONAME: libssl.so.48 <-> libssl48-3.1.5_2
=> libressl-3.1.5_2: running pre-pkg hook: 05-prepare-32bit ...
```
...
```
=> libevent-2.1.12_1: building [gnu-configure] (dependency of nghttp2) for aarch64...
   [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...
```
My fork is only 7 commits behind and according to Git, the files for libssp/gcc are in sync. https://github.com/ExpidusOS/packages/. Just about 10 hours ago, x86_64 finished compiling so it should be very much up to date.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (18 preceding siblings ...)
  2021-02-12 17:57 ` RossComputerGuy
@ 2021-02-12 18:03 ` Duncaen
  2021-02-12 18:05 ` RossComputerGuy
                   ` (7 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 18:03 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778351498

Comment:
Something wrong with your local repo. libssp exists since 2009 and the shared library version has not changed since 2012, maybe even longer.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (19 preceding siblings ...)
  2021-02-12 18:03 ` Duncaen
@ 2021-02-12 18:05 ` RossComputerGuy
  2021-02-12 20:37 ` RossComputerGuy
                   ` (6 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 18:05 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778352603

Comment:
I uploaded the packages to my server, idk what went wrong. I haven't gotten any other errors.

Sent from ProtonMail mobile

-------- Original Message --------
On Feb 12, 2021, 10:04 AM, Duncan Overbruck wrote:

> Something wrong with your local repo. libssp exists since 2009 and the shared library version has not changed since 2012, maybe even longer.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, [view it on GitHub](https://github.com/void-linux/void-packages/issues/25604#issuecomment-778351498), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AEWJM6A3TUFCCNQFA3KJUETS6VUR3ANCNFSM4SQ62AEA).

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (20 preceding siblings ...)
  2021-02-12 18:05 ` RossComputerGuy
@ 2021-02-12 20:37 ` RossComputerGuy
  2021-02-12 21:10 ` RossComputerGuy
                   ` (5 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 20:37 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778441375

Comment:
```
python3-setuptools 52.0.0_1 53.0.0_1 python3-setuptools /home/ross/ExpidusOS/packages/hostdir/binpkgs
base-chroot 0.1.0_3 0.66_3 base-chroot /home/ross/ExpidusOS/packages/hostdir/binpkgs
base-system 0.1.0_1 0.114_1 base-system /home/ross/ExpidusOS/packages/hostdir/binpkgs
libcap 2.46_1 2.48_1 libcap /home/ross/ExpidusOS/packages/hostdir/binpkgs
base-files 0.1.0_7 0.141_7 base-files /home/ross/ExpidusOS/packages/hostdir/binpkgs
util-linux-libs 2.36_1 2.36.1_2 util-linux-libs /home/ross/ExpidusOS/packages/hostdir/binpkgs
util-linux 2.36_1 2.36.1_2 util-linux /home/ross/ExpidusOS/packages/hostdir/binpkgs
base-devel 0.1.0_2 20181003_2 base-devel /home/ross/ExpidusOS/packages/hostdir/binpkgs
gd 2.3.0_2 2.3.1_1 gd /home/ross/ExpidusOS/packages/hostdir/binpkgs
postgresql13 13.1_1 13.2_1 postgresql13 /home/ross/ExpidusOS/packages/hostdir/binpkgs
```
I got the checkvers to show output. The base packages follow a different versioning because my OS is a non-rolling distro.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (21 preceding siblings ...)
  2021-02-12 20:37 ` RossComputerGuy
@ 2021-02-12 21:10 ` RossComputerGuy
  2021-02-12 21:25 ` Duncaen
                   ` (4 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 21:10 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778456737

Comment:
`xbps-dgraph -f libressl-devel | dot -Tpng | feh -` shows that libssp is not needed so why does it say that libssp is needed?

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (22 preceding siblings ...)
  2021-02-12 21:10 ` RossComputerGuy
@ 2021-02-12 21:25 ` Duncaen
  2021-02-12 21:28 ` RossComputerGuy
                   ` (3 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 21:25 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778463652

Comment:
No idea why your package builds with libssp.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (23 preceding siblings ...)
  2021-02-12 21:25 ` Duncaen
@ 2021-02-12 21:28 ` RossComputerGuy
  2021-02-12 21:29 ` Duncaen
                   ` (2 subsequent siblings)
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 21:28 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778464803

Comment:
I noticed that the dummy vpkg only provides libssp for musl targets but the vpkg for aarch64 glibc has libssp, I'm testing if making it so libssp is provided for both in the dummy vpkg will fix the issue.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (24 preceding siblings ...)
  2021-02-12 21:28 ` RossComputerGuy
@ 2021-02-12 21:29 ` Duncaen
  2021-02-12 21:58 ` RossComputerGuy
  2021-02-12 22:01 ` Duncaen
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 21:29 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778465384

Comment:
It shouldn't link libssp, but its pretty hard to follow your fork because you don't use git features and void-packages commit style.
If you touch just single templates in commits and use normal merges, diffing this with github would be easier.

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (25 preceding siblings ...)
  2021-02-12 21:29 ` Duncaen
@ 2021-02-12 21:58 ` RossComputerGuy
  2021-02-12 22:01 ` Duncaen
  27 siblings, 0 replies; 29+ messages in thread
From: RossComputerGuy @ 2021-02-12 21:58 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778477623

Comment:
My solution fixed it. And I think one of these files has to do with ssp being enabled, I only messed with the repo keys and shlibs so this problem may occur outside of ExpidusOS (my fork).
```
common/shlibs:libssp.so.0 libssp-4.4.0_1
common/build-style/void-cross.sh:		--disable-libssp \
common/build-style/void-cross.sh:		--enable-default-ssp \
common/build-style/void-cross.sh:		--enable-libssp \
common/travis/license.lst:Classpath-exception-2.0
common/travis/license.lst:deprecated_GPL-2.0-with-classpath-exception
common/environment/configure/hardening.sh:	# Our compilers use --enable-default-pie and --enable-default-ssp,
```

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

* Re: `./xbps-src bootstrap' fails
  2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
                   ` (26 preceding siblings ...)
  2021-02-12 21:58 ` RossComputerGuy
@ 2021-02-12 22:01 ` Duncaen
  27 siblings, 0 replies; 29+ messages in thread
From: Duncaen @ 2021-02-12 22:01 UTC (permalink / raw)
  To: ml

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

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/25604#issuecomment-778478983

Comment:
Yea doesn't sound like a solution tbh, this will make problems in the future.
`common/build-style/void-cross.sh` is the build style for cross compilers.
Something is wrong with your repo or void-packages fork, my or voids cross aarch64 builds do not link libssp.

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

end of thread, other threads:[~2021-02-12 22:01 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 18:27 [ISSUE] `./xbps-src bootstrap' fails ev-ermakov
2020-10-15  0:14 ` ahesford
2020-10-15  0:25 ` sgn
2020-10-15  0:26 ` sgn
2020-10-15  1:50 ` ev-ermakov
2020-10-15 14:06 ` sgn
2020-10-15 23:00 ` travankor
2020-10-16  0:20 ` sgn
2020-10-16 13:26 ` ev-ermakov
2020-10-16 13:44 ` ev-ermakov
2020-11-01 11:09 ` sgn
2020-12-11  1:17 ` [ISSUE] [CLOSED] " sgn
2021-02-12 16:32 ` RossComputerGuy
2021-02-12 16:40 ` RossComputerGuy
2021-02-12 17:21 ` Duncaen
2021-02-12 17:24 ` RossComputerGuy
2021-02-12 17:45 ` Duncaen
2021-02-12 17:47 ` RossComputerGuy
2021-02-12 17:57 ` RossComputerGuy
2021-02-12 17:57 ` RossComputerGuy
2021-02-12 18:03 ` Duncaen
2021-02-12 18:05 ` RossComputerGuy
2021-02-12 20:37 ` RossComputerGuy
2021-02-12 21:10 ` RossComputerGuy
2021-02-12 21:25 ` Duncaen
2021-02-12 21:28 ` RossComputerGuy
2021-02-12 21:29 ` Duncaen
2021-02-12 21:58 ` RossComputerGuy
2021-02-12 22:01 ` Duncaen

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).