Libelektra: Priority of FreeBSD

Created on 14 Oct 2019  路  7Comments  路  Source: ElektraInitiative/libelektra

How much of a priority is FreeBSD for us at the moment?

I just installed Elektra for the first time on FreeBSD 11.3. Compiling went relatively straightforward but the memory tests take forever at Start 18: testlib_pluginprocess. Should we put time into getting this to work or (especially if there is an easy solution that I currently don't see) documenting this?

question

Most helpful comment

Does FindLibGit2.cmake not detect the library?

I have quite a chaos at the moment, but at some point I got the log message that libgit2 was found on FreeBSD :)

All 7 comments

How much of a priority is FreeBSD for us at the moment?

I do not think adding FreeBSD support for Jenkins has a high priority, as we already build Elektra on FreeBSD 11 and FreeBSD 12:

https://github.com/ElektraInitiative/libelektra/blob/62897f3708d886396c262e2965b611ba1f3fe3b3/.cirrus.yml#L4-L10

.

I didn't think of Jenkins actually but rather something like extending the getting started with compiling with more hints for BSD.

Because this

memory tests take forever at

was really meant as forever. It didn't fail or succeed after quite some time. Or which steps have to be taken to install LibGit2. I just installed the package on BSD but couldn't use it yet with Elektra.

It didn't fail or succeed after quite some time.

This is also the case on macOS. I can remember that executing all tests with Valgrind took over 10 hours on my computer. I would recommend you use AddressSanitizer (ENABLE_ASAN=ON), if you want to debug memory related problems.

I just installed the package on BSD but couldn't use it yet with Elektra.

Does FindLibGit2.cmake not detect the library? Maybe you need to regenerate the build system with cmake again?

This is also the case on macOS. I can remember that executing all tests with Valgrind took over 10 hours on my computer

Ok, I didn't expect it to take that long. In this case I'll leave it running while sleeping.

Does FindLibGit2.cmake not detect the library? Maybe you need to regenerate the build system with cmake again?

I'll try to find this out.

Being portable is important for Elektra, so FreeBSD is important, too. Furthermore @llukask uses FreeBSD.

But to have tests running fast is not important. It is also very limited what we can do about it. (E.g. valgrind is only optimized on Linux.)

I didn't think of Jenkins actually but rather something like extending the getting started with compiling with more hints for BSD.

This is definitely a good idea! Maybe you can also coordinate (or even meet) with @d3nwp who is currently working on getting started (#3002)

Does FindLibGit2.cmake not detect the library?

I have quite a chaos at the moment, but at some point I got the log message that libgit2 was found on FreeBSD :)

I think question is answered. If there are any concrete troubles with FreeBSD, please reopen new issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sanssecours picture sanssecours  路  4Comments

mpranj picture mpranj  路  3Comments

mpranj picture mpranj  路  3Comments

markus2330 picture markus2330  路  3Comments

markus2330 picture markus2330  路  3Comments