NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/52374: <uchar.h> missing
>Number: 52374
>Category: lib
>Synopsis: <uchar.h> missing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 06 21:20:00 +0000 2017
>Originator: Kamil Rytarowski
>Release: NetBSD 8.99.1 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.1 NetBSD 8.99.1 (GENERIC) #5: Sat Jul 1 17:48:34 CEST 2017 root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
C11 header <uchar.h> is missing on NetBSD.
It is also required for <cuchar> in C++.
LLVM libcxx test fail due to missing <uchar.h>:
clang version 5.0.0 (git://github.com/llvm-mirror/clang.git 58123a81df74bcd2051b11f77a6a38277764a0d7) (git://github.com/llvm-mirror/llvm.git d948559e483b8e96fb2d29b8422d8a1e191325a4)
Target: x86_64-unknown-netbsd8.99
Thread model: posix
InstalledDir: /usr/pkg/bin
"/usr/pkg/bin/clang-5.0" -cc1 -triple x86_64-unknown-netbsd8.99 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name uchar_h.pass.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -v -dwarf-column-info -debugger-tuning=gdb -coverage-notes-file /public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/test/std/depr/depr.c.headers/Output/uchar_h.pass.cpp.gcno -nostdinc++ -resource-dir /usr/pkg/lib/clang/5.0.0 -include /public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/test/support/nasty_macros.hpp -D _LIBCPP_DISABLE_AVAILABILITY -I /public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/include -I /public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/include/c++build -I /public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/test/support -D "LIBCXX_FILESYSTEM_STATIC_TEST_ROOT=\"/public/pkgsrc-tmp/wip/ll
vm-all-in-one/work/libcxx/test/std/experimental/filesystem/Inputs/static_test_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT=\"/public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/test/filesystem/Output/dynamic_env\"" -D "LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER=\"/usr/pkg/bin/python2.7 /public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/test/support/filesystem_dynamic_test_helper.py\"" -D _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -I /public/pkgsrc-tmp/wip/llvm-all-in-one/work/.buildlink/include -Werror=thread-safety -Wall -Wextra -Werror -Wuser-defined-warnings -Wshadow -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-c++11-extensions -Wno-user-defined-literals -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-conversion -Wno-unused-local-typedef -Wno-#warnings -std=c++1z -fdeprecated-macro -fdebug-compilation-dir /public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/test/std/depr/depr.c.headers -fer
ror-limit 19 -fmessage-length 0 -fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o /public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/test/std/depr/depr.c.headers/Output/uchar_h.pass.cpp.o -x c++ /public/pkgsrc-tmp/wip/llvm-all-in-one/work/libcxx/test/std/depr/depr.c.headers/uchar_h.pass.cpp
clang -cc1 version 5.0.0 based upon LLVM 5.0.0git-d948559e48 default target x86_64-unknown-netbsd8.99
#include "..." search starts here:
#include <...> search starts here:
/public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/include
/public/pkgsrc-tmp/wip/llvm-all-in-one/work/build/projects/libcxx/include/c++build
/public/pkgsrc-tmp/wip/llvm-all-in-one/work/llvm/projects/libcxx/test/support
/public/pkgsrc-tmp/wip/llvm-all-in-one/work/.buildlink/include
/usr/pkg/lib/clang/5.0.0/include
/usr/include
End of search list.
/public/pkgsrc-tmp/wip/llvm-all-in-one/work/libcxx/test/std/depr/depr.c.headers/uchar_h.pass.cpp:15:10: fatal error: 'uchar.h' file not found
#include <uchar.h>
^~~~~~~~~
1 error generated.
--
Compilation failed unexpectedly!
>How-To-Repeat:
$ cd /usr/pkgsrc/wip/llvm-all-in-one
$ make build
$ make check-libcxx
>Fix:
Import <uchar.h> from other system or write from scratch.
Home |
Main Index |
Thread Index |
Old Index