getsolus / packages

Solus Package Monorepo & Issue Tracker
59 stars 76 forks source link

dbus-glib doesn't build #2567

Closed malfisya closed 2 weeks ago

malfisya commented 3 months ago

Building dbus-glib from the recipe as-is is failing right now

EbonJaeger commented 3 months ago

This is what I get when I try to build it. It happens in the 32-bit build.

/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libzstd.so.1, needed by /usr/lib32/libsystemd.so.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_isError'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getFrameContentSize'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getErrorCode'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_decompressStream'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_DStreamOutSize'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_freeDCtx'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_createDCtx'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_isError'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getFrameContentSize'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_isError'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getErrorCode'
collect2: error: ld returned 1 exit status
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_decompressStream'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getFrameContentSize'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_getErrorCode'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_DStreamOutSize'
/usr/bin/ld: /usr/bin/ld/usr/lib32/libsystemd.so.0: : undefined reference to `/usr/lib32/libsystemd.so.0ZSTD_decompressStream: undefined reference to `'
ZSTD_freeDCtx'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_createDCtx'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_DStreamOutSize'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_freeDCtx'
/usr/bin/ld: /usr/lib32/libsystemd.so.0: undefined reference to `ZSTD_createDCtx'
collect2: error: ld returned 1 exit status
joebonrichie commented 3 months ago

you need zstd-32bit-devel most likely, systemd-32bit-devel should probably rundep on that

EbonJaeger commented 3 months ago

Adding the rundep to systemd does indeed fix the build. I don't think I'll be the one pushing that update, though, since the mok certificate file is removed from the package when I build it xD