pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/hdf5-c++ and ninja



Following earlier advice, I have set

  CMAKE_GENERATOR?=		ninja

in mk.conf, and until today, that's been fine.

Building devel/hdf5-c++, it fails to find build.ninja, and it looks like
confusion about

  BUILD_DIRS+=    c++

which is honored in part but apparently cmake/ninja doesn't know about
that.

I don't have any evidence this is a new problem; I think it's just the
first time I am building it since starting to use ninja.

I'm working around it via just using make, but I wonder if others are
seeing similar issues with ninja and BUILD_DIRS -using packages.



-- Configuring done (13.2s)
-- Generating done (0.5s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /tmp/work/devel/hdf5-c++/work/hdf5-hdf5_1.14.6/cmake-pkgsrc-build
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
===> Building for hdf5-c++-1.14.6
ninja: error: loading 'build.ninja': No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /n0/gdt/pkgsrc-current/pkgsrc/devel/hdf5-c++
*** Error code 1


Home | Main Index | Thread Index | Old Index