[Bug 294263] devel/tinycbor: Unit tests fails to build if QT6 installed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Apr 2026 18:50:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294263
Bug ID: 294263
Summary: devel/tinycbor: Unit tests fails to build if QT6
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet@FreeBSD.org
Reporter: diizzy@FreeBSD.org
Assignee: sunpoet@FreeBSD.org
Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
See https://github.com/intel/tinycbor/blob/v7.0/tests/CMakeLists.txt#L10
/usr/bin/c++ -DQT_CORE_LIB -DQT_NO_DEBUG
-DQT_TESTCASE_BUILDDIR=\"/usr/ports/devel/tinycbor/work/.build/tests/parser\"
-DQT_TESTCASE_SOURCEDIR=\"/usr/ports/devel/tinycbor/work/tinycbor-7.0/tests/parser\"
-DQT_TESTLIB_LIB
-I/usr/ports/devel/tinycbor/work/.build/tests/parser/tst_parser_autogen/include
-I/usr/ports/devel/tinycbor/work/tinycbor-7.0/src
-I/usr/ports/devel/tinycbor/work/.build -isystem /usr/local/include/qt6/QtCore
-isystem /usr/local/include/qt6 -isystem
/usr/local/lib/qt6/mkspecs/freebsd-clang -isystem /usr/local/include/qt6/QtTest
-O2 -pipe -march=znver4 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -march=znver4 -isystem /usr/local/include -O2 -pipe
-march=znver4 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -march=znver4 -isystem /usr/local/include -DNDEBUG
-std=gnu++20 -Wall -Wextra -pthread -MD -MT
tests/parser/CMakeFiles/tst_parser.dir/tst_parser.cpp.o -MF
tests/parser/CMakeFiles/tst_parser.dir/tst_parser.cpp.o.d -o
tests/parser/CMakeFiles/tst_parser.dir/tst_parser.cpp.o -c
/usr/ports/devel/tinycbor/work/tinycbor-7.0/tests/parser/tst_parser.cpp
/usr/ports/devel/tinycbor/work/tinycbor-7.0/tests/parser/tst_parser.cpp:181:79:
error: use of undeclared identifier 'MAP_ANON'
181 | realdata = mmap(nullptr, alloc, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANON, -1, 0);
FreeBSD 15-STABLE
qt6-base-6.10.2_1
Version 7.0 of cbor
--
You are receiving this mail because:
You are the assignee for the bug.