verify shlib errors on partial upgrade bypassed by multilib
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- cli, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 1.2k
- Fork
- 152
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của void-linux/xbps
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
void-linux/xbps#475 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
void-linux/xbps#701 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
void-linux/xbps#700 ·
-
xbps-query -RX repository overridesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
void-linux/xbps#696 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
void-linux/xbps#695 · 7 bình luận ·
Tất cả issue của void-linux/xbps
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
libsdl-org/SDL#16444 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Component component: net
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
RT-Thread/rt-thread#11852 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MiSTer-devel/ao486_MiSTer#243 ·
-
Dropped last row with parallel scan of attached SQLite tables if the rowid range is a multiple of 122,880Có thể đã có người làm @staticlibs đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
duckdb/duckdb-sqlite#240 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
siderolabs/pkgs#1710 ·
Maintainer thường phản hồi trong vòng 1 ngày