[Buildroot] [PATCH] package/sentry-cli: new package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Sep 19 20:50:09 UTC 2020
Hello,
On Tue, 15 Sep 2020 13:57:38 -0700
Joseph Kogut <joseph.kogut at gmail.com> wrote:
> Signed-off-by: Joseph Kogut <joseph.kogut at gmail.com>
I did some more testing, and after building zlib for the host, the
build fails with:
*** ERROR: package host-libzlib installs executables without proper RPATH:
*** /home/thomas/projets/buildroot/output/host/bin/sentry-cli
Indeed, sentry-cli is linked with libz.so.1:
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
I've seen that sentry-cli bundles OpenSSL (it seems), which is perhaps
why it links against libz.so.1.
However, this means that sentry-cli should depend on host-zlib and
should have a RPATH to $(HOST_DIR)/lib.
Could you have a look into this ? I've added in Cc some folks working
on Cargo integration in Buildroot, to see if they can help.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list