Skip to content
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

musl #41295

Closed
wants to merge 3 commits into from
Closed

musl #41295

wants to merge 3 commits into from

Conversation

CameronNemo
Copy link
Contributor

  • musl: update to 1.2.3
  • base-chroot: bump musl-devel version
  • base-devel: bump musl-devel version

Testing the changes

  • I tested the changes in this PR: NO

@classabbyamp classabbyamp added the core core package label Dec 26, 2022
@JamiKettunen
Copy link
Contributor

Related: void-linux/xbps#331 (and other things linking to that PR)

@CameronNemo
Copy link
Contributor Author

Build failures on cross musl seem at least tangentially libssp related:

Trying to install dependants of base-chroot:
Trying to install dependants of base-devel:
Trying to install dependants of musl-devel:
ccache-4.6.3_1: broken, unresolvable shlib `libgcc_s.so.1'
nghttp2-1.51.0_1: broken, unresolvable shlib `libgcc_s.so.1'
libxbps-0.59.1_7: broken, unresolvable shlib `libssp.so.0'
xbps-0.59.1_7: broken, unresolvable shlib `libssp.so.0'
ccache-4.6.3_1: broken, unresolvable shlib `libstdc++.so.6'
nghttp2-1.51.0_1: broken, unresolvable shlib `libstdc++.so.6'
Transaction aborted due to unresolved shlibs.
Failed to install 'musl-devel' and 'base-chroot-0.68_1'
Error: Process completed with exit code 1.

Curiously, both of those builds worked locally.

@oreo639
Copy link
Member

oreo639 commented Dec 26, 2022

Build failures on cross musl seem at least tangentially libssp related

Those aren't build failures they are broken packages that depend on musl. (Sometimes false positives can show up though)

@dkwo
Copy link
Contributor

dkwo commented Dec 27, 2022

I've been using musl-1.2.3, with no issues. You may want to rebuild firefox, thunderbird, zathura, maybe others (due to sandbox).

@CameronNemo
Copy link
Contributor Author

@dkwo are you using aarch64? I specifically was going to set up an armv7l-musl chroot on my rock64 or PBP, install (and test running) various packages, and rebuild all of them with musl 1.2.3. Then I was going to try a full system (potentially offline) upgrade of a full armv7l system running on my rock64.

@nekopsykose
Copy link

it's technically abi breaking for 32-bit, so everything has to be rebuilt, not just those. but on 64 you wouldnt notice anything indeed

@paper42
Copy link
Member

paper42 commented Dec 27, 2022

it's technically abi breaking for 32-bit, so everything has to be rebuilt, not just those. but on 64 you wouldnt notice anything indeed

We are aware of that and that's why this PR is marked as a draft and waiting for void-linux/xbps#331 or something similar.

@dkwo
Copy link
Contributor

dkwo commented Dec 27, 2022

@CameronNemo That was on x86_64. I have an aarch64 laptop where I can test this natively, but I'm away from it until mid Jan.

@dkwo
Copy link
Contributor

dkwo commented Jan 27, 2023

@CameronNemo I've built this natively on aarhc64. I'm not going to rebuild the whole world for now, but if there's a few packages that you want to test, let me know.
@nekopsykose Those packages I mentioned need rebuild also on 64 (e.g. O_LARGEFILE, sandbox issues).
@paper42 Instead of waiting forever for abi support, wouldn't it be more practical to rebuild everything for all archs? you may have a week or two of freezing, but at least from my user perspective that's much better than the current situation.

@CameronNemo
Copy link
Contributor Author

@dkwo the hard part is not so much rebuilding, as it is re-installing every package in an atomic way.

@dkwo
Copy link
Contributor

dkwo commented Jan 28, 2023

@CameronNemo Thanks, I wasn't aware of that. Does any other package manager, like Alpine's apk, solve this issue?

@dkwo
Copy link
Contributor

dkwo commented Mar 15, 2023

Maybe you also want to update the _musl_version in the various cross-*-linux-musl packages?

@CameronNemo
Copy link
Contributor Author

This is too much work and I have too much to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants