Commit a022f83
committed
vice: explicitly pin all configure knobs to fix missing library deps
The buildbot reported vice missing dependencies for libbsd.so.0,
libnet.so.9 and libusb-1.0.so.0. All three came from configure
autodetecting libraries that merely happened to be present in
staging_dir:
- The NETPLAY_LIBS probes run AC_CHECK_LIB(bsd/net/..., gethostbyname)
and AC_CHECK_LIB(bsd, gettimeofday). On musl these symbols live in
libc, so every probe spuriously succeeds for any of those libraries
that exists, appending -lbsd and -lnet.
- The USBSID-Pico path adds -lusb-1.0 to LIBS whenever
libusb-1.0/libusb.h is found; it is gated only by the unregistered
$enable_usbsid shell variable.
Force the offending cache variables off and set enable_usbsid=no, and
pin every remaining dependency-affecting knob to an explicit value so
nothing is auto-detected. Also disable --enable-arch, which defaults to
on and injects -march=native, wrong under cross-compilation.
Verified on x86_64: the binaries no longer link libbsd, libnet or
libusb and the package builds cleanly.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>1 parent b59c3b5 commit a022f83
1 file changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| 53 | + | |
| 54 | + | |
44 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
45 | 66 | | |
46 | 67 | | |
47 | 68 | | |
| 69 | + | |
48 | 70 | | |
49 | 71 | | |
50 | 72 | | |
| 73 | + | |
51 | 74 | | |
| 75 | + | |
| 76 | + | |
52 | 77 | | |
53 | | - | |
| 78 | + | |
54 | 79 | | |
55 | 80 | | |
56 | 81 | | |
| |||
0 commit comments