Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2023 16:23:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270817] www/chromium: needs help to cope with icu-73.1
Message-ID:  <bug-270817-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270817

            Bug ID: 270817
           Summary: www/chromium: needs help to cope with icu-73.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: david@catwhisker.org
          Assignee: chromium@FreeBSD.org
             Flags: maintainer-feedback?(chromium@FreeBSD.org)

Failure first seen under poudriere(-devel); reproduced with portmaster.=20
Machine running poudriere was:

FreeBSD freebeast.catwhisker.org 12.4-STABLE FreeBSD 12.4-STABLE #206
stable/12-n236099-59f3510ea793: Mon Apr 10 10:33:35 UTC 2023
root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC
amd64 1204500 1204500

Machine running portmaster was:
FreeBSD localhost 12.4-STABLE FreeBSD 12.4-STABLE #1380
stable/12-n236099-59f3510ea793: Mon Apr 10 10:33:57 UTC 2023=20=20=20=20
root@g1-97.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY  am=
d64
1204500 1204500

In each case, the ports tree was main-n615777-7e591c4f2380.

In each case, devel/icu had been updated from icu-72.1,1 to icu-73.1,1 (ear=
lier
the same day).

Email thread starts with the message at
https://lists.freebsd.org/archives/freebsd-ports/2023-April/003708.html

As dim@ pointed out, the errors are:
TEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=
=3D1
-DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D_FORTIFY_SOURCE=3D2 -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION=
_2_56
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=3D1
-DGLOG_EXPORT=3D -DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DAT=
A_STATIC
-DU_IMPORT=3DU_EXPORT -I../.. -Igen -I../../third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim
-Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp
-I../../third_party/boringssl/src/include -I../../third_party/protobuf/src
-Igen/protoc_out -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initialize=
rs
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-prote=
ctor
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -fno-omit-frame-pointer -g0
-fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-5615-167999530=
7-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers=
ion
-Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion
-Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare
-Wexit-time-destructors -Wglobal-constructors -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=
=3D1
-I/usr/local/include -I/usr/local/include -std=3Dc++20 -Wno-trigraphs
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include  -c ../../base/time/time_now_posix.cc -o
obj/base/base/time_now_posix.o
[ 25% 13516/53765] c++ -MMD -MF obj/base/base/time_exploded_icu.o.d
-DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE
-DUSE_AURA=3D1 -DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BUILD
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3D2
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION=
_2_56
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=3D1
-DGLOG_EXPORT=3D -DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DAT=
A_STATIC
-DU_IMPORT=3DU_EXPORT -I../.. -Igen -I../../third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim
-Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp
-I../../third_party/boringssl/src/include -I../../third_party/protobuf/src
-Igen/protoc_out -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initialize=
rs
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-prote=
ctor
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -fno-omit-frame-pointer -g0
-fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-5615-167999530=
7-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers=
ion
-Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion
-Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare
-Wexit-time-destructors -Wglobal-constructors -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=
=3D1
-I/usr/local/include -I/usr/local/include -std=3Dc++20 -Wno-trigraphs
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include  -c ../../base/time/time_exploded_icu.cc -o
obj/base/base/time_exploded_icu.o
FAILED: obj/base/base/time_exploded_icu.o
c++ -MMD -MF obj/base/base/time_exploded_icu.o.d -DBASE_IMPLEMENTATION
-DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=3D1
-DUSE_GLIB=3D1 -DUSE_OZONE=3D1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=3D2 -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0
-DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_56
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=3D1
-DGLOG_EXPORT=3D -DUSING_SYSTEM_ICU=3D1 -DICU_UTIL_DATA_IMPL=3DICU_UTIL_DAT=
A_STATIC
-DU_IMPORT=3DU_EXPORT -I../.. -Igen -I../../third_party/perfetto/include
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto
-Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim
-Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp
-I../../third_party/boringssl/src/include -I../../third_party/protobuf/src
-Igen/protoc_out -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initialize=
rs
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-prote=
ctor
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -msse3 -Xclang
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes
-ftrivial-auto-var-init=3Dpattern -fno-omit-frame-pointer -g0
-fprofile-use=3D../../chrome/build/pgo_profiles/chrome-linux-5615-167999530=
7-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=3Dhidden -Wheader-hygiene -Wstring-convers=
ion
-Wtautological-overlap-compare -Wshorten-64-to-32 -Wimplicit-int-conversion
-Wsign-compare -Wsign-conversion -Wtautological-unsigned-zero-compare
-Wexit-time-destructors -Wglobal-constructors -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -DPROTOBUF_ALLOW_DEPRECATED=
=3D1
-I/usr/local/include -I/usr/local/include -std=3Dc++20 -Wno-trigraphs
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-isystem /usr/local/include  -c ../../base/time/time_exploded_icu.cc -o
obj/base/base/time_exploded_icu.o
In file included from ../../base/time/time_exploded_icu.cc:14:
../../third_party/icu/source/common/unicode/locid.h:297:27: error: expected=
 ';'
at end of declaration list
    Locale(Locale&& other) U_NOEXCEPT;
                          ^
                          ;
../../third_party/icu/source/common/unicode/locid.h:323:38: error: expected=
 ';'
at end of declaration list
    Locale& operator=3D(Locale&& other) U_NOEXCEPT;
                                     ^
                                     ;
2 errors generated.


In checking the installed locid.h on the systems in question, I find:
localhost(12.4-S)[4] pkg which /usr/local/include/unicode/locid.h
/usr/local/include/unicode/locid.h was installed by package icu-73.1,1
localhost(12.4-S)[5] grep -n U_NOEXCEPT !$
grep -n U_NOEXCEPT /usr/local/include/unicode/locid.h
localhost(12.4-S)[6] echo $?
1
localhost(12.4-S)[7]

While on a system that is still using icu-72.1:
albert(12.4-S)[2] pkg which /usr/local/include/unicode/locid.h
/usr/local/include/unicode/locid.h was installed by package icu-72.1,1
albert(12.4-S)[3] grep -n U_NOEXCEPT !$
grep -n U_NOEXCEPT /usr/local/include/unicode/locid.h
297:    Locale(Locale&& other) U_NOEXCEPT;
323:    Locale& operator=3D(Locale&& other) U_NOEXCEPT;
albert(12.4-S)[4]

And in checking the ports "work" subdirectory after the portmaster attempt
failed, I find:
localhost(12.4-S)[7] grep -n U_NOEXCEPT `find /usr/ports/www/chromium/work/
-name locid.h`
/usr/ports/www/chromium/work/chromium-112.0.5615.49/third_party/icu/source/=
common/unicode/locid.h:297:
   Locale(Locale&& other) U_NOEXCEPT;
/usr/ports/www/chromium/work/chromium-112.0.5615.49/third_party/icu/source/=
common/unicode/locid.h:323:
   Locale& operator=3D(Locale&& other) U_NOEXCEPT;
localhost(12.4-S)[8]


So it looks to me as if the distfiles used for the FreeBSD www/chromium port
include icu-72.1 versions of at least one file; this would seem to be
problematic for a system that has and uses icu-73.1.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270817-7788>