From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] domoticz: do not use static version of openssl
Date: Wed, 29 Aug 2018 21:39:41 +0200 [thread overview]
Message-ID: <20180829213941.2953f99a@windsurf> (raw)
In-Reply-To: <20180829165312.22948-1-fontaine.fabrice@gmail.com>
Hello,
On Wed, 29 Aug 2018 18:53:12 +0200, Fabrice Fontaine wrote:
> Due to the dependency on mosquitto, domoticz depends on !BR2_STATIC_LIBS
> so set USE_OPENSSL_STATIC to OFF (default value is ON)
>
> This could fix this non reproducible failure:
> - http://autobuild.buildroot.net/results/b1b84b8c12d31b9242b5732fcdd1eb76b1217366
>
> Indeed, domoticz finds the static version of openssl:
>
> -- Found OpenSSL:
> /home/test/autobuild/run/instance-0/output/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a (found version "1.0.2p")
> -- OPENSSL_LIBRARIES:
> /home/test/autobuild/run/instance-0/output/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libssl.a;/home/test/autobuild/run/instance-0/output/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a
>
> But fails to link with the shared version:
>
> /home/test/autobuild/run/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/6.4.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld:
> CMakeFiles/domoticz.dir/hardware/plugins/PluginTransports.cpp.o: undefined reference to symbol 'SSL_get_error'
> /home/test/autobuild/run/instance-0/output/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libssl.so.1.0.0: error adding symbols: DSO missing from command line
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Hum. So I guess reading the wording of your commit message that you
didn't manage to reproduce the problem, nor verify that the patch was
fixing it ?
Looking at http://autobuild.buildroot.net/?reason=domoticz%, the
problem clearly started suddenly appearing on July 4th.
The previous failure of domoticz was on March 1st, then no failures for
several months, and then suddenly on July 4th, we start to see this
failure, which was not seen before it seems.
The "bump to version 4.9700" was committed on June 27. Is it possible
that it is the reason for the new build failure ? So it means this case
would not have been tested between June 27 and July 4 ? Possible.
I'm running right now a build of one specific build failure to see if I
can reproduce and get more details about what's going.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-08-29 19:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 16:53 [Buildroot] [PATCH 1/1] domoticz: do not use static version of openssl Fabrice Fontaine
2018-08-29 19:39 ` Thomas Petazzoni [this message]
2018-08-29 21:26 ` Fabrice Fontaine
2018-08-30 7:20 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180829213941.2953f99a@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox