Download raw body.
textproc/rapidjson and ccache
On 2025/08/05 16:49, Laurence Tratt wrote: > While updating audacity, textproc/rapidjson was built but failed with: > > ``` > ===> Building for rapidjson-1.1.0.20230928p1 > Change Dir: '/usr/ports/pobj/rapidjson-1.1.0.20230928/build-amd64' > > Run Build Command(s): /usr/local/bin/ninja -v -j 1 > [1/39] ccache /usr/ports/pobj/rapidjson-1.1.0.20230928/bin/c++ -D__STDC_FORMAT_MACROS -I/usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/include -I/usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/example/../include -O2 -pipe -Qunused-arguments -fcolor-diagnostics -Wall -Wextra -Werror -Wno-missing-field-initializers -DNDEBUG -std=gnu++11 -Weffc++ -Wswitch-default -Wfloat-equal -Wconversion -Wimplicit-fallthrough -MD -MT example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o -MF example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o.d -o example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o -c /usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/example/archiver/archiver.cpp > FAILED: example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o > ccache /usr/ports/pobj/rapidjson-1.1.0.20230928/bin/c++ -D__STDC_FORMAT_MACROS -I/usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/include -I/usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/example/../include -O2 -pipe -Qunused-arguments -fcolor-diagnostics -Wall -Wextra -Werror -Wno-missing-field-initializers -DNDEBUG -std=gnu++11 -Weffc++ -Wswitch-default -Wfloat-equal -Wconversion -Wimplicit-fallthrough -MD -MT example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o -MF example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o.d -o example/CMakeFiles/archivertest.dir/archiver/archiver.cpp.o -c /usr/ports/pobj/rapidjson-1.1.0.20230928/rapidjson-f9d53419e912910fd8fa57d5705fa41425428c35/example/archiver/archiver.cpp > ccache: error: Permission denied > ninja: build stopped: subcommand failed. > ``` > > Recognising that error from the past, running `pkg_delete ccache` fixed > the problem. > > Perhaps this means that rapidjson needs: > > ``` > MAKE_ENV = CCACHE_DISABLE=true > ``` > > ? Looks like it needs the cmakefile chunk removing. It also picks up doxygen if present during build. Thanks - fixed.
textproc/rapidjson and ccache