Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Version 2.0

>>>>> "Roger" == Roger Light <roger@xxxxxxxxxx> writes:

 > Hi Peter,
 > Thanks for your comments.

 >> Maybe also mention that the license has been changed from EPL v1.0 to
 >> v2.0?

 > Yes, that's a very good point.

 >> On a related note, where can I fetch your updated gpg key?

 > I updated it a long while back and am pretty certain it's on a key
 > server - the docker builds would fail if the signature wasn't valid.
 > I've sent it again, to hkp://pgp.surfnet.nl , so please refresh.

Thanks, that works:

gpg: key 779B22DFB3E717B7: "Roger A. Light <roger@xxxxxxxxxx>" 3 new signatures

 >> Trying it out in Buildroot, I see that the cJSON logic hard codes
 >> include and linker paths, which naturally doesn't work for cross
 >> compilation. Any specific reason to not use pkg-config? cJSON provides a
 >> .pc file:

 > This has been pointed out elsewhere, and all I can say is that it was
 > an oversight brought over from a different project where I was using
 > cJSON but compiled as part of the exe, so with the "wrong" header
 > path. I've already removed the hard coded paths and fixed the includes
 > in the `fixes` branch.

Thanks. I see that you didn't drop /usr/local/lib from the library path,
can you do that as well? In Buildroot we have logic to catch packages
passing host directories to -I / -L, as that is normally an error when
cross compiling.


 >> Compilation without openssl (WITH_TLS=no) is also broken because
 >> password_mosq.c unconditionally includes a bunch of openssl
 >> headers. I guess that should be inside an #ifdef WITH_TLS?

 > Yes that's correct. I've tested the different build options many
 > times, but in all of my tests the openssl headers have been available,
 > even if not really used, which is why it didn't fail for me.

Ok, thanks for fixing it. I'll pickup the patches from the fixes branch.

-- 
Bye, Peter Korsgaard


Back to the top