tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: icu update to 77.1 - actually 76.1 and xerces-c





On 05/04/2025 02:14, Thomas Klausner wrote:
On Fri, Apr 04, 2025 at 09:03:00AM -0400, Greg Troxel wrote:
So that means

   icu (newly?) requires --std=c++17 (perhaps implicitly) to process
   headers?

icu already required c++17.
qt5-qtwebkit has a workaround in its Makefile:

If I can just sidetrack off onto a problem that I've just started hitting that seems somewhat related.

On my 10.1_STABLE system with icu-76.1 installed trying to build
textproc/xerces-c 3.3.0 I get the following errors:

[ 8%] Building CXX object src/CMakeFiles/xerces-c.dir/xercesc/utilregx/RegxParser.cpp.o In file included from /src/work/pkgsrc/textproc/xerces-c/work.x86_64/.buildlink/include/unicode/uset.h:37, from /src/work/pkgsrc/textproc/xerces-c/work.x86_64/xerces-c-3.3.0/src/xercesc/util/regx/RangeToken.cpp:40: /src/work/pkgsrc/textproc/xerces-c/work.x86_64/.buildlink/include/unicode/char16ptr.h:317:10: error: 'is_convertible_v' is not a member of 'std'
  317 |     std::is_convertible_v<T, std::u16string_view>
      |          ^~~~~~~~~~~~~~~~
/src/work/pkgsrc/textproc/xerces-c/work.x86_64/.buildlink/include/unicode/char16ptr.h:317:28: error: expected primary-expression before ',' token
  317 |     std::is_convertible_v<T, std::u16string_view>
      |                            ^
/src/work/pkgsrc/textproc/xerces-c/work.x86_64/.buildlink/include/unicode/char16ptr.h:331:13: error: 'u16string_view' in namespace 'std' does not name a type 331 | inline std::u16string_view toU16StringView(std::u16string_view sv) { return sv; }
      |             ^~~~~~~~~~~~~~
   [...]

which seems to be same sort of issue you are hitting with 77.1 and qt5-qtwebkit.

Now as far as I can see the bulk builds are quite happily building this so I don't see why its failing for me.

cheers
mark



Home | Main Index | Thread Index | Old Index