Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2021 15:40:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258576] www/chromium: build fails with harfbuzz 3.0.0
Message-ID:  <bug-258576-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 258576
           Summary: www/chromium: build fails with harfbuzz 3.0.0
           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: shoesoft@gmx.net
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

Today, I got this error when starting chromium:

$ chrome
ld-elf.so.1: /usr/local/share/chromium/chrome: Undefined symbol
"hb_subset_input_set_retain_gids"

Haven't tried downgrading yet, but very likely related to the update of
print/harfbuzz from 2.9.1 to 3.0.0.

Rebuilding chromium fails with this error:

FAILED: obj/skia/skia/SkPDFSubsetFont.o=20
c++ -MMD -MF obj/skia/skia/SkPDFSubsetFont.o.d -DUSE_AURA=3D1 -DUSE_GLIB=3D1
-DUSE_NSS_CERTS=3D1 -DUSE_OZONE=3D1 -DUSE_X11=3D1 -DOFFICIAL_BUILD
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TABLES -D_GNU_SOURCE
-DCR_CLANG_REVISION=3D\"llvmorg-13-init-10392-gd3676d4b-2\" -DNDEBUG -DNVAL=
GRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -DSK_UNTIL_CRBUG_1187654_IS_FIXED
-DSK_CODEC_DECODES_PNG -DSK_CODEC_DE
CODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP
-DSK_USER_CONFIG_HEADER=3D\"../../skia/config/SkUserConfig.h\" -DSK_GL
-DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY
-DSK_VULKAN_HEADER=3D\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=3D1
-DSK_SUPPORT_GPU=3D1
-DSK_GPU_WORKAROUNDS_HEADER=3D\"gpu/config/gpu_driver_bug_workaround_autoge=
n.h\"
-DVK_USE_PLATFORM_XCB_KHR -DSKIA_IMPLEMENTATION=3D1 -DSK_GAMMA_EXPON
ENT=3D1.2 -DSK_GAMMA_CONTRAST=3D0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=3D20971520
-DGLIB_VERSION_MAX_ALLOWED=3DGLIB_VERSION_2_40
-DGLIB_VERSION_MIN_REQUIRED=3DGLIB_VERSION_2_40 -DUSE_SYSTEM_LIBJPEG
-DU_USING_ICU_NAMESPACE=3D0 -DU_ENABLE_DYLOAD=3D0 -DUSE_CHROMIUM_ICU=3D1
-DU_ENABLE_TRACING=3D1 -DU_ENABLE_RESOURCE_TRACING=3D0 -DU_STATIC_IMPLEMENT=
ATION
-DICU_UTIL_DATA_IMPL=3DICU_UTIL_DATA_FILE -I../.. -Igen -I../../third_party=
/skia
-I../..
/third_party/wuffs/src/release/c -I../../third_party/vulkan/include
-I../../third_party/vulkan-deps/vulkan-headers/src/include
-I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config
-Igen/third_party/perfetto -Igen/shim_headers/libpng_shim
-Igen/shim_headers/libwebp_shim -I../../third_party/abseil-cpp
-I../../third_party/boringssl/src/include -I../../third_party/protobuf/src
-Igen/protoc_
out -I../../third_party/icu/source/common -I../../third_party/icu/source/i1=
8n
-I../../third_party/zlib -fno-delete-null-pointer-checks -fno-ident
-fno-strict-aliasing --param=3Dssp-buffer-size=3D4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants -m64 -march=3Dx86-64 -msse3 -Xcla=
ng
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -fn
o-omit-frame-pointer -g0 -fvisibility=3Dhidden -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion
-Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment
-Wno-deprecated-copy -Wno-thread-safety-analysis -Wno-thread-safety-a
ttributes -O2 -fdata-sections -ffunction-sections -I/usr/local/include/glib=
-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include
-DPROTOBUF_ALLOW_DEPRECATED=3D1 -I/usr/local/include/libpng16
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/harfbuzz -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -std=3Dc++14 -fno-trig
raphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden
-std=3Dc++17 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp -o
obj/skia/skia/SkPDFSubsetFont.o
../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:74:5: error: use of
undeclared identifier 'hb_subset_input_set_retain_gids'; did you mean
'hb_subset_input_set_flags'?
    hb_subset_input_set_retain_gids(input.get(), true);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    hb_subset_input_set_flags
/usr/local/include/harfbuzz/hb-subset.h:142:1: note:
'hb_subset_input_set_flags' declared here
hb_subset_input_set_flags (hb_subset_input_t *input,
^
../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:77:5: error: use of
undeclared identifier 'hb_subset_input_set_drop_hints'
    hb_subset_input_set_drop_hints(input.get(), false);
    ^
../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:78:19: error: use of
undeclared identifier 'hb_subset'; did you mean 'hb_set_set'?
    HBFace subset(hb_subset(face.get(), input.get()));
                  ^~~~~~~~~
                  hb_set_set
/usr/local/include/harfbuzz/hb-set.h:131:1: note: 'hb_set_set' declared here
hb_set_set (hb_set_t       *set,
^
../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:78:29: error: cannot
initialize a parameter of type 'hb_set_t *' with an rvalue of type
'std::__1::unique_ptr<hb_face_t, SkFunctionWrapper<void (hb_face_t *),
&hb_face_destroy>>::pointer' (aka 'hb_face_t *')
    HBFace subset(hb_subset(face.get(), input.get()));
                            ^~~~~~~~~~
/usr/local/include/harfbuzz/hb-set.h:131:29: note: passing argument to
parameter 'set' here
hb_set_set (hb_set_t       *set,
                            ^
4 errors generated.

--=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-258576-7788>