Closed achilleas-k closed 4 years ago
[ 1%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/FeatureHDF5.cpp.o [ 2%] Building CXX object CMakeFiles/nixio.dir/src/File.cpp.o [ 3%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/DataFrameHDF5.cpp.o [ 4%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/DimensionHDF5.cpp.o [ 5%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/EntityHDF5.cpp.o [ 6%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/EntityWithMetadataHDF5.cpp.o [ 7%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/EntityWithSourcesHDF5.cpp.o [ 8%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/FileHDF5.cpp.o /home/achilleas/code/nix/src/File.cpp: In static member function 'static nix::File nix::File::open(const string&, nix::FileMode, const string&, nix::Compression, nix::OpenFlags)': /home/achilleas/code/nix/src/File.cpp:29:63: error: call of overloaded 'exists(<brace-enclosed initializer list>)' is ambiguous 29 | if (mode == nix::FileMode::ReadOnly && !bfs::exists({name})) { | ^ In file included from /usr/include/boost/filesystem.hpp:17, from /home/achilleas/code/nix/src/File.cpp:18: /usr/include/boost/filesystem/operations.hpp:463:8: note: candidate: 'bool boost::filesystem::exists(const boost::filesystem::path&)' 463 | bool exists(const path& p) {return exists(detail::status(p));} | ^~~~~~ In file included from /usr/include/boost/filesystem.hpp:17, from /home/achilleas/code/nix/src/File.cpp:18: /usr/include/boost/filesystem/operations.hpp:874:20: note: candidate: 'bool boost::filesystem::exists(const boost::filesystem::directory_entry&)' 874 | inline bool exists (const directory_entry& e) BOOST_NOEXCEPT { return filesystem::exists(e.status()); } | ^~~~~~ [ 9%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/GroupHDF5.cpp.o [ 10%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/MultiTagHDF5.cpp.o [ 12%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/NamedEntityHDF5.cpp.o [ 13%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/PropertyHDF5.cpp.o [ 14%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/SectionHDF5.cpp.o At global scope: cc1plus: warning: unrecognized command line option '-Wno-unused-local-typedef' [ 15%] Building CXX object CMakeFiles/nixio.dir/backend/hdf5/SourceHDF5.cpp.o make[2]: *** [CMakeFiles/nixio.dir/build.make:154: CMakeFiles/nixio.dir/src/File.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:380: CMakeFiles/nixio.dir/all] Error 2 make: *** [Makefile:163: all] Error 2
We should really have an Arch CI. Break early, break fast.
I'll add a travis docker build