https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253604
--- Comment #4 from Stefan Krah <sk...@bytereef.org> --- (In reply to Steve Wills from comment #3) Yes, interesting indeed. I'm on FreeBSD-12.2 (amd64), fully updated. Circumventing the ports machinery: tar xvf Python-3.9.1.tar.xz cd Python-3.9.1 ./configure CC=clang --with-system-libmpdec [...] clang -pthread -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DCONFIG_64=1 -DASM=1 -I./Include -I. -I/usr/local/include -I/usr/home/stefan/Python-3.9.1/Include -I/usr/home/stefan/Python-3.9.1 -c /usr/home/stefan/Python-3.9.1/Modules/_decimal/_decimal.c -o build/temp.freebsd-12.2-RELEASE-p3-amd64-3.9/usr/home/stefan/Python-3.9.1/Modules/_decimal/_decimal.o /usr/home/stefan/Python-3.9.1/Modules/_decimal/_decimal.c:3283:43: error: use of undeclared identifier 'uchar' if (n > 1 || (n == 1 && !isascii((uchar)spec.dot[0]))) { ^ /usr/home/stefan/Python-3.9.1/Modules/_decimal/_decimal.c:3292:43: error: use of undeclared identifier 'uchar' if (n > 1 || (n == 1 && !isascii((uchar)spec.sep[0]))) { ^ 2 errors generated. And I can't find any system header that typedefs uchar: [stefan@freebsd-amd64 ~]$ find /usr/include -type f | xargs grep -n "typedef.*uchar" /usr/include/c++/v1/atomic:493:typedef atomic<unsigned char> atomic_uchar; /usr/include/c++/v1/atomic:2390:typedef atomic<unsigned char> atomic_uchar; /usr/include/sys/stdatomic.h:189:typedef _Atomic(unsigned char) atomic_uchar; [stefan@freebsd-amd64 ~]$ find /usr/local/include -type f | xargs grep -n "typedef.*uchar" /usr/local/include/boost/atomic/detail/atomic_template.hpp:1178:typedef atomic< unsigned char > atomic_uchar; /usr/local/include/boost/compute/algorithm/detail/radix_sort.hpp:57: typedef uchar_ type; /usr/local/include/boost/compute/types/fundamental.hpp:29:typedef cl_uchar uchar_; /usr/local/include/boost/locale/generic_codecvt.hpp:155: typedef CharType uchar; /usr/local/include/boost/locale/generic_codecvt.hpp:457: typedef CharType uchar; /usr/local/include/boost/locale/generic_codecvt.hpp:659: typedef CharType uchar; /usr/local/include/boost/numeric/ublas/detail/returntype_deduction.hpp:33: typedef char(&uchar_value_type)[7]; /usr/local/include/boost/regex/v4/char_regex_traits.hpp:48: typedef unsigned char uchar_type; /usr/local/include/boost/regex/v4/char_regex_traits.hpp:60: typedef unsigned short uchar_type; /usr/local/include/boost/regex/v4/cpp_regex_traits.hpp:636: typedef typename make_unsigned<charT>::type uchar_type; /usr/local/include/boost/wave/cpplexer/re2clex/scanner.hpp:31:typedef unsigned char uchar; /usr/local/include/boost/xpressive/match_results.hpp:1178: typedef typename boost::uint_t<CHAR_BIT * sizeof(char_type)>::least uchar_t; /usr/local/include/boost/xpressive/match_results.hpp:1180: typedef numeric::conversion_traits<uchar_t, int> converstion_traits; /usr/local/include/boost/xpressive/detail/dynamic/parse_charset.hpp:81: typedef typename boost::uint_t<CHAR_BIT * sizeof(char_type)>::least uchar_t; /usr/local/include/boost/xpressive/detail/dynamic/parse_charset.hpp:83: typedef numeric::conversion_traits<uchar_t, int> converstion_traits; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"