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

⬆️ Update ubuntu_22_04/tzdata to v2023d-0ubuntu0.22.04 #150

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
ubuntu_22_04/tzdata patch 2023c-0ubuntu0.22.04.2 -> 2023d-0ubuntu0.22.04

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. labels Jan 17, 2024
@cfergeau
Copy link

CI fails because of

#8 69.17 Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
#8 69.38 Segmentation fault (core dumped)
#8 69.52 Segmentation fault (core dumped)
#8 69.52 dpkg: error processing package libc-bin (--configure):
#8 69.52  installed libc-bin package post-installation script subprocess returned error exit status 139
#8 85.86 Errors were encountered while processing:
#8 85.86  libc-bin
#8 85.94 E: Sub-process /usr/bin/dpkg returned an error code (1)

I've been seeing the same issue on aarch64 with the 9.0.2 image by running ldconfig. The same Dockerfile builds fine on my aarch64 m1 setup, so hard to investigate further.

@cfergeau
Copy link

I've been seeing the same issue on aarch64 with the 9.0.2 image by running ldconfig. The same Dockerfile builds fine on my aarch64 m1 setup, so hard to investigate further.

This is an issue with the qemu-aarch64 binary from Frenck/binfmt:master
On my x86_64 linux box, I extracted qemu-aarch64 from Frenck/binfmt:master and ldconfig.real from ghcr.io/hassio-addons/ubuntu-base:9.0.2, and I get the segfault:

$ ./qemu-aarch64 ./ldconfig.real 
Segmentation fault (core dumped)

Using the qemu-user-static binary from my distro (fedora 38):

$ qemu-aarch64-static ./ldconfig.real 
./ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied

I can't file issues against https://github.com/frenck/binfmt so I'm putting the information here.

@cfergeau
Copy link

cfergeau commented Jan 22, 2024

This is an issue with the qemu-aarch64 binary from Frenck/binfmt:master

The qemu-aarch64 binary from the latest tonistiigi/binfmt image works, no segfault.

@cfergeau
Copy link

Came across https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053101 https://gitlab.com/qemu-project/qemu/-/issues/1953
I suspect the issue comes from the use of --disable-pie in Frenck/binfmt

diff --git a/scripts/configure_qemu.sh b/scripts/configure_qemu.sh
index 3e542ff..a483a7b 100755
--- a/scripts/configure_qemu.sh
+++ b/scripts/configure_qemu.sh
@@ -41,6 +41,7 @@ set -x
   --prefix=/usr \
   --with-pkgversion=$QEMU_VERSION \
   --enable-linux-user \
+  --enable-pie \
   --disable-system \
   --static \
   --disable-brlapi \
@@ -59,7 +60,6 @@ set -x
   --disable-mpath \
   --disable-nettle \
   --disable-opengl \
-  --disable-pie \
   --disable-sdl \
   --disable-spice \
   --disable-tools \

cfergeau added a commit to cfergeau/binfmt that referenced this pull request Jan 30, 2024
It's likely to be the cause for crashes during aarch64 builds such as in
hassio-addons/addon-ubuntu-base#150
```
69.17 Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
69.38 Segmentation fault (core dumped)
69.52 Segmentation fault (core dumped)
69.52 dpkg: error processing package libc-bin (--configure):
69.52  installed libc-bin package post-installation script subprocess returned error exit status 139
85.86 Errors were encountered while processing:
85.86  libc-bin
85.94 E: Sub-process /usr/bin/dpkg returned an error code (1)
```

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053101 and
https://gitlab.com/qemu-project/qemu/-/issues/1953 have more details

Signed-off-by: Christophe Fergeau <[email protected]>
@renovate renovate bot force-pushed the renovate/ubuntu_22_04-tzdata-2023.x branch from 0b61029 to 249b301 Compare February 2, 2024 11:20
@frenck frenck merged commit efb1ca0 into main Feb 2, 2024
21 checks passed
@frenck frenck deleted the renovate/ubuntu_22_04-tzdata-2023.x branch February 2, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants