OSX/CI: analitza fails to build on branch frameworks

Marko Käning mk-lists at email.de
Thu Sep 18 19:29:54 UTC 2014


Hi guys,

recently there was merge 268638c34e0b18db03931452e58b0e09c341fbcc
bringing in code changing cmake/FindReadline.cmake which made me think
now, that it could be causing this build failure on OSX.

I wonder whether readline is now properly found on the OSX/CI system,
as HAVE_FREE_HISTORY_ENTRY is obviously not defined anymore!

The fallback free() can’t be properly found anywhere, at least on OSX
using clang, even if I patch in “#include <stdlib.h>".

But perhaps I am on the wrong track…

Well, kalgebra isn’t functional because of it, at the moment. :-(

Wondering what else I could do to help diagnose this than attaching the
build log now.

Greets,
Marko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: analitza.log.gz
Type: application/x-gzip
Size: 4977 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20140918/46df3edc/attachment.gz>
-------------- next part --------------


On 17 Sep 2014, at 08:17 , Marko Käning <mk-lists at email.de> wrote:

> Building CXX object analitzaplot/CMakeFiles/AnalitzaPlot.dir/private/utils/marchingcubes.cpp.o
> [ 65%] /Users/marko/WC/KDECI-builds/analitza/calgebra/main.cpp:157:3: error: no matching function for call to 'free'
>                free(he->line);
>                ^~~~
> /usr/include/stdlib.h:143:7: note: candidate function not viable: no known conversion from 'const char *' to 'void *' for 1st argument; take the address of the argument with &
> void     free(void *);
>         ^
> Building CXX object analitzaplot/CMakeFiles/AnalitzaPlot.dir/private/abstractplotitem.cpp.o
> 1 error generated.
> make[2]: *** [calgebra/CMakeFiles/calgebra.dir/main.cpp.o] Error 1
> make[1]: *** [calgebra/CMakeFiles/calgebra.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....



More information about the kde-edu mailing list