andrewchambers / hpkgs

A package repository for hermes
45 stars 3 forks source link

ld-musl-x86_64.so.1 pointing to wrong libc.so for some gcc packages? #116

Open sogaiu opened 4 years ago

sogaiu commented 4 years ago

ld-musl-x86_64.so.1 points to /lib/libc.so on a couple of my installations in some gcc-ish packages.

On an Arch Linux derivative machine:

$ ls -ald /hpkg/*gcc/x8*/lib/ld*1
lrwxrwxrwx 1 root root 12 Jun  4 04:26 /hpkg/a92080ae5a0a940e953c306a0191e9e7f1fcdf4c-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so
lrwxrwxrwx 1 root root 12 Jun  4 04:26 /hpkg/d42984cf66ef2e88a75d5f49a583f79d06d71fb5-mcm-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so

On an Ubuntu machine:

$ ls -ald /hpkg/*gcc/x8*/lib/ld*1
lrwxrwxrwx 1 root root 12 May 22 00:45 /hpkg/603fe01eb29a68b71414964ea4369c9c7832c03c-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so
lrwxrwxrwx 1 root root 12 Jun  3 12:17 /hpkg/a5f896e97d483bb2364ac0b70a3f8ef9e4f48409-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so
lrwxrwxrwx 1 root root 12 May 30 10:40 /hpkg/e773481101778f56c6b958708e14967680efbe99-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so
lrwxrwxrwx 1 root root 12 May 28 03:13 /hpkg/e81eb6be19054d22b46ff705aa1d99e786ec9cf5-gcc/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> /lib/libc.so

In contrast, for the rt package I get:

$ ls -ald /hpkg/*rt/x8*/lib/ld*1
lrwxrwxrwx 1 root root 7 May 27 01:02 /hpkg/20582ea7fcb8031682b616343a78ac080c40cdea-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
lrwxrwxrwx 1 root root 7 May 17 01:27 /hpkg/25780a56f9e51309e2d38972e75c2886001fc536-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
lrwxrwxrwx 1 root root 7 May 23 03:09 /hpkg/32697f0b3107c852df1a564d716b4dbdfb5754ec-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
lrwxrwxrwx 1 root root 7 May 22 00:45 /hpkg/33584926e4f8fd137393e355d2d323c529752b3c-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
lrwxrwxrwx 1 root root 7 May 30 10:40 /hpkg/85b96bb2575a282b3e8fc22571f953ec3e9eaa77-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
lrwxrwxrwx 1 root root 7 Jun  3 12:17 /hpkg/f2687b4e6e790f3926400bd12935bb343fa0f5d5-rt/x86_64-linux-musl/lib/ld-musl-x86_64.so.1 -> libc.so
sogaiu commented 4 years ago

May be the rt one is ok because of: https://github.com/andrewchambers/hpkgs/blob/master/core.hpkg#L325_L328