-
Notifications
You must be signed in to change notification settings - Fork 129
Description
In FreeBSD 15.0, stepcode 0.8.2 fails to build with the following error:
FAILED: src/cllazyfile/CMakeFiles/steplazyfile.dir/lazyDataSectionReader.cc.o /usr/bin/c++ -Dsteplazyfile_EXPORTS -I/wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include -I/wrkdirs/usr/ports/cad/stepcode/work/.build/include -I/wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/src/cllazyfile -I/wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include/stepcode -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++11 -fPIC -pedantic -W -Wall -Wundef -Wfloat-equal -Wshadow -Winline -Wno-long-long -MD -MT src/cllazyfile/CMakeFiles/steplazyfile.dir/lazyDataSectionReader.cc.o -MF src/cllazyfile/CMakeFiles/steplazyfile.dir/lazyDataSectionReader.cc.o.d -o src/cllazyfile/CMakeFiles/steplazyfile.dir/lazyDataSectionReader.cc.o -c /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/src/cllazyfile/lazyDataSectionReader.cc In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/src/cllazyfile/lazyDataSectionReader.cc:1: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include/cllazyfile/lazyDataSectionReader.h:6: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include/cllazyfile/sectionReader.h:6: In file included from /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include/cllazyfile/lazyTypes.h:20: /wrkdirs/usr/ports/cad/stepcode/work/stepcode-0.8.2/include/cllazyfile/judySArray.h:42:13: error: no matching function for call to 'strncpy' 42 | strncpy( _buff, other._buff, _maxKeyLen );
judySArray and judyS2Array use unsigned char* as the type for _buff but then try to call strncpy which uses char *.
The full build log can be found here: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-November/672666.html