verify shlib errors on partial upgrade bypassed by multilib
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- c
- Bereich
- cli, operating-systems
Rechercherichtung
Reproduce the issue using the linked testpkgs.zip and the xbps-src/xi command sequence in the report. Start by tracing the shlib checks used during xi -u and how installed 32-bit and 64-bit packages are recorded. Done means the reported partial-upgrade scenario warns about the broken 64-bit application instead of allowing the 32-bit package to bypass the check.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
When performing shlib checks before upgrading, libraries provided by 32bit packages are treated the same as libraries provided by 64bit packages. This can result in system breakage on partial upgrades without warning as noticed on the r/voidlinux subreddit: https://www.reddit.com/r/voidlinux/comments/18r0swm/psa_libxcrypt_updates/
I verified this behavior using the following:
- Download testpkgs.zip
- Run
./setup.sh - In the cloned void-packages repo run:
./xbps-src binary-bootstrap
./xbps-src -m masterdir-i686 binary-bootstrap i686
./xbps-src pkg libhelloworld
./xbps-src -m masterdir-i686 pkg libhelloworld
./xbps-src pkg test1
xi test1
- You can run
test1and it will outputhello world 7as expected. - After that, modify the libhelloworld package to not install libhelloworld.so.1 and build it as
version=2(do not build the 32bit package with this change). - When doing
xi -u, you will receive a shlibs error as expected.test1-1_1: broken, unresolvable shlib 'libhelloworld.so.1' - Run
xi libhelloworld-32bit - Now run
xi -uagain, you will not receive any warnings and the upgrade will proceed as normal. - Confirm the breakage of
test1as running it now outputstest1: error while loading shared libraries: libhelloworld.so.1: cannot open shared object file: No such file or directory
Ideally, xbps should be able to detect that the libraries provided by 32bit packages are not applicable to 64bit applications and visa-versa.
- Vorherrschende Sprache
- C
- Sterne
- 1.2k
- Forks
- 155
- Ø Merge
- 1 Std. 39 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus void-linux/xbps
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
void-linux/xbps#475 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
void-linux/xbps#701 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
void-linux/xbps#700 ·
-
xbps-query -RX repository overridesEvtl. vergeben @naevui hat das vor 61 Tagen übernommen. Offenbug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
void-linux/xbps#696 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
void-linux/xbps#695 · 7 Kommentare ·
Alle Issues in void-linux/xbps
Ähnliche Issues
-
area: metrics area: tracing contribfest enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
open-telemetry/opentelemetry-ebpf-instrumentation#4188 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
FujiNetWIFI/fujinet-firmware#2328 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
onehumanbeing/esp32-iphone-agent#118 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:http-gateway decision priority:low status:needs-info type:feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
crazy-goat/php-fpm-ng#1093 ·
Maintainer antworten meist innerhalb von 1 Tag