babelouest / ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
https://babelouest.github.io/ulfius
GNU Lesser General Public License v2.1
1.07k stars 183 forks source link

2.7.9 wants libjansson.so > 2.4 but is not happy with 2.14 #227

Closed dlangille closed 2 years ago

dlangille commented 2 years ago

When attempting to build on FreeBSD 12.3 and FreeBSD 13.0, I see:

-- Found Jansson: /usr/local/lib/libjansson.so (found version "2.14") 
-- Found Jansson: /usr/local/lib/libjansson.so (found suitable version "2.14", minimum required is "2.4") 

Logs here:

It should accept 2.14, see https://github.com/akheron/jansson/tags where it is clear that 2.4 was released on Sep 23, 2012 and 2.1.4 (the latest release) came out on Sep 9, 2021.

This sounds like a math error.

Full details of all versions are in the logs.

babelouest commented 2 years ago

I believe this isn't a jansson issue but a wrong version for orcania:

  Build step for orcania failed: 1
dlangille commented 2 years ago

For those following along at home : we discussed over IRC last night. New versions of several ports were created, including orcania.

The build continues to fail with a duplicate symbol:

https://services.unixathome.org/poudriere/data/13amd64-dvl-testing/2022-05-09_01h42m36s/logs/errors/glewlwyd-2.7.0.log

dlangille commented 2 years ago

This problem has been solved. How, I don't know, but it's building fine now.