=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for zxing-cpp-1.4.0 [ 0%] Building CXX object core/CMakeFiles/ZXing.dir/src/BarcodeFormat.cpp.o In file included from /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.cpp:7:0: /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:47:7: error: expected '}' before '[' token NONE [[deprecated]] = None, ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:47:30: error: expected unqualified-id before '=' token NONE [[deprecated]] = None, ^ In file included from /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:9:0, from /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.cpp:7: /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:113:16: error: 'Flags' does not name a type using FLAGS = Flags; \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:1: note: in expansion of macro 'ZX_DECLARE_FLAGS' ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' does not name a type ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:114:19: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline FLAGS operator|(FLAGS::enum_type e1, FLAGS::enum_type e2) noexcept { return FLAGS(e1) | e2; } \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' does not name a type ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:115:19: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline FLAGS operator|(FLAGS::enum_type e, FLAGS f) noexcept { return f | e; } \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: declaration of 'operator==' as non-function ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:116:35: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS::enum_type e, FLAGS f) noexcept { return FLAGS(e) == f; } \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' has not been declared ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:116:35: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS::enum_type e, FLAGS f) noexcept { return FLAGS(e) == f; } \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' was not declared in this scope ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:116:55: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS::enum_type e, FLAGS f) noexcept { return FLAGS(e) == f; } \ ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: declaration of 'operator==' as non-function ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:117:35: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS f, FLAGS::enum_type e) noexcept { return FLAGS(e) == f; } ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' was not declared in this scope ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:117:35: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS f, FLAGS::enum_type e) noexcept { return FLAGS(e) == f; } ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:69:18: error: 'BarcodeFormats' has not been declared ZX_DECLARE_FLAGS(BarcodeFormats, BarcodeFormat) ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/Flags.h:117:44: note: in definition of macro 'ZX_DECLARE_FLAGS' constexpr inline bool operator==(FLAGS f, FLAGS::enum_type e) noexcept { return FLAGS(e) == f; } ^ In file included from /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.cpp:7:0: /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:71:22: error: 'BarcodeFormat' was not declared in this scope const char* ToString(BarcodeFormat format); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:71:22: note: suggested alternative: /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:18:12: note: 'ZXing::BarcodeFormat' enum class BarcodeFormat ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:72:22: error: conflicting declaration 'std::string ToString' std::string ToString(BarcodeFormats formats); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:71:13: note: previous declaration as 'const char* ToString' const char* ToString(BarcodeFormat format); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:72:22: error: 'BarcodeFormats' was not declared in this scope std::string ToString(BarcodeFormats formats); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:78:1: error: 'BarcodeFormat' does not name a type BarcodeFormat BarcodeFormatFromString(const std::string& str); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:87:1: error: 'BarcodeFormats' does not name a type BarcodeFormats BarcodeFormatsFromString(const std::string& str); ^ /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/core/src/BarcodeFormat.h:89:1: error: expected declaration before '}' token } // ZXing ^ *** [core/CMakeFiles/ZXing.dir/src/BarcodeFormat.cpp.o] Error code 1 make[2]: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build 1 error make[2]: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build *** [core/CMakeFiles/ZXing.dir/all] Error code 2 make[1]: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build 1 error make[1]: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build *** [all] Error code 2 make: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build 1 error make: stopped in /usr/pkgsrc/graphics/zxing-cpp/work/zxing-cpp-1.4.0/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/graphics/zxing-cpp *** Error code 1 Stop. make: stopped in /usr/pkgsrc/graphics/zxing-cpp