pkgsrc-Users archive

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

fonts/harfbuzz build failure, cc1plus: some warnings being treated as errors



Hi,

pkgsrc branch = current

# uname -a
Linux e130 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 GNU/Linux

[It looks this happens on Centos 7, too:
https://us-east.manta.joyent.com/pkgsrc/public/reports/Linux/el7/trunk/x86_64/20200810.2242/meta/report.html]

Building inside a clean chroot:

[chroot]root@e130:~/cvs/pkgsrc/current/pkgsrc/fonts/harfbuzz# bmake

===> Building for harfbuzz-2.7.0
cd /root/pkgsrc/work/fonts/harfbuzz/work/harfbuzz-2.7.0 && cd . &&
/usr/bin/env USETOOLS=no CMAKE=false PTHREAD_CFLAGS=\ -pthread\
PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt
PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.7 CC=cc CFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\
-I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\
-I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2
CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\
-I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\
-I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2 CXX=c++
CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\
-I/usr/pkg/include/glib-2.0\ -I/usr/pkg/include/gio-unix-2.0\
-I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/freetype2
COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C
LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C
LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib
LINKER_RPATH_FLAG=-R
PATH=/root/pkgsrc/work/fonts/harfbuzz/work/.cwrapper/bin:/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/bin:/root/pkgsrc/work/fonts/harfbuzz/work/.gcc/bin:/root/pkgsrc/work/fonts/harfbuzz/work/.tools/bin:/usr/pkg/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/pkg/bin:/usr/pkg/bin
PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc
HOME=/root/pkgsrc/work/fonts/harfbuzz/work/.home
CWRAPPERS_CONFIG_DIR=/root/pkgsrc/work/fonts/harfbuzz/work/.cwrapper/config
CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man
PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF
USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\
-g\ root\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\
-g\ root\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\
root\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\
root\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\
root\ -m\ 644 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ root\ -m\
755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ root\
-m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ root\
-m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ root\
-m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ root\
-m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ root\
-m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\
root\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\
root\ -m\ 775 INSTALL_INFO=
MAKEINFO=/root/pkgsrc/work/fonts/harfbuzz/work/.tools/bin/makeinfo
FLEX= BISON= PKG_CONFIG=/root/pkgsrc/work/fonts/harfbuzz/work/.tools/bin/pkg-config
PKG_CONFIG_LIBDIR=/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/lib64/pkgconfig:/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/lib/pkgconfig:/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/root/pkgsrc/work/fonts/harfbuzz/work/.pkg-config.log
PKG_CONFIG_PATH=
CWRAPPERS_CONFIG_DIR=/root/pkgsrc/work/fonts/harfbuzz/work/.cwrapper/config
ninja -j 1 -C output
ninja: Entering directory `output'
[1/252] Generating harfbuzz.def with a custom command
[2/252] Generating hb-version.h with a custom command
[3/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-blob.cc.o
[4/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-buffer-serialize.cc.o
[5/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-buffer.cc.o
[6/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-draw.cc.o
[7/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-common.cc.o
[8/252] Compiling C++ object util/hb-subset.p/options.cc.o
[9/252] Compiling C++ object util/hb-subset.p/hb-subset.cc.o
[10/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-shape.cc.o
[11/252] Generating harfbuzz.cc with a custom command
[12/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-aat-layout.cc.o
[13/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-aat-map.cc.o
[14/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-fallback-shape.cc.o
[15/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-face.cc.o
[16/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-font.cc.o
[17/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-map.cc.o
[18/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-number.cc.o
[19/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-cff1-table.cc.o
[20/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-cff2-table.cc.o
[21/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-color.cc.o
[22/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-face.cc.o
[23/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-font.cc.o
[24/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-layout.cc.o
[25/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-map.cc.o
[26/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-math.cc.o
[27/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-meta.cc.o
[28/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-metrics.cc.o
[29/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-name.cc.o
[30/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-arabic.cc.o
[31/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-default.cc.o
[32/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-hangul.cc.o
[33/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-hebrew.cc.o
[34/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-indic-table.cc.o
[35/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-indic.cc.o
[36/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset-input.cc.o
[37/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-khmer.cc.o
[38/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-myanmar.cc.o
[39/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-thai.cc.o
[40/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-use-table.cc.o
[41/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-use.cc.o
[42/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-complex-vowel-constraints.cc.o
[43/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-normalize.cc.o
[44/252] Compiling C++ object
src/libharfbuzz.so.0.20700.0.p/hb-ot-shape-fallback.cc.o
[45/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-tag.cc.o
[46/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ot-var.cc.o
[47/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-set.cc.o
[48/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-shape-plan.cc.o
[49/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-shape.cc.o
[50/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-shaper.cc.o
[51/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-static.cc.o
[52/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-style.cc.o
[53/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ucd.cc.o
[54/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-unicode.cc.o
[55/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-ft.cc.o
[56/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-graphite2.cc.o
../src/hb-graphite2.cc: In function 'hb_graphite2_face_data_t*
_hb_graphite2_shaper_face_data_create(hb_face_t*)':
../src/hb-graphite2.cc:131:18: warning: 'gr_face* gr_make_face(const
void*, gr_get_table_fn, unsigned int)' is deprecated
[-Wdeprecated-declarations]
   data->grface = gr_make_face (data, &hb_graphite2_get_table,
gr_face_preloadAll);
                  ^~~~~~~~~~~~
In file included from ../src/hb-graphite2.h:31:0,
                 from ../src/hb-graphite2.cc:35:
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/graphite2/Font.h:143:29:
note: declared here
 GR2_DEPRECATED_API gr_face* gr_make_face(const void*
appFaceHandle/*non-NULL*/, gr_get_table_fn getTable, unsigned int
faceOptions);
                             ^~~~~~~~~~~~
../src/hb-graphite2.cc:131:81: warning: 'gr_face* gr_make_face(const
void*, gr_get_table_fn, unsigned int)' is deprecated
[-Wdeprecated-declarations]
   data->grface = gr_make_face (data, &hb_graphite2_get_table,
gr_face_preloadAll);

          ^
In file included from ../src/hb-graphite2.h:31:0,
                 from ../src/hb-graphite2.cc:35:
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/graphite2/Font.h:143:29:
note: declared here
 GR2_DEPRECATED_API gr_face* gr_make_face(const void*
appFaceHandle/*non-NULL*/, gr_get_table_fn getTable, unsigned int
faceOptions);
                             ^~~~~~~~~~~~
[57/252] Compiling C++ object src/libharfbuzz.so.0.20700.0.p/hb-glib.cc.o
[58/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset-plan.cc.o
[59/252] Generating harfbuzz-subset.def with a custom command
[60/252] Linking target src/libharfbuzz.so.0.20700.0
[61/252] Generating symbol file
src/libharfbuzz.so.0.20700.0.p/libharfbuzz.so.0.20700.0.symbols
[62/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-number.cc.o
[63/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-ot-cff1-table.cc.o
[64/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-static.cc.o
[65/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-ot-cff2-table.cc.o
[66/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset-cff1.cc.o
[67/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset-cff-common.cc.o
[68/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset-cff2.cc.o
[69/252] Compiling C++ object
src/libharfbuzz-subset.so.0.20700.0.p/hb-subset.cc.o
In file included from ../src/hb-subset.cc:41:0:
../src/hb-ot-color-colr-table.hh: In member function
'hb_iter_t<iter_t, Item>::item_t hb_iter_t<iter_t, Item>::operator*()
const [with iter_t = hb_map_iter_t<hb_range_iter_t<unsigned int,
unsigned int>, OT::COLR::subset(hb_subset_context_t*)
const::<lambda(hb_codepoint_t)>, (hb_function_sortedness_t)1, 0u>;
Item = hb_pair_t<bool, OT::BaseGlyphRecord>]':
../src/hb-ot-color-colr-table.hh:220:62: warning:
'new_record.OT::BaseGlyphRecord::firstLayerIdx.OT::IntType<short
unsigned int, 2u>::v.BEInt<short unsigned int, 2>::v[1]' may be used
uninitialized in this function [-Wmaybe-uninitialized]
     return hb_pair_t<bool, BaseGlyphRecord> (true, new_record);
                                                              ^
../src/hb-ot-color-colr-table.hh:217:21: note:
'new_record.OT::BaseGlyphRecord::firstLayerIdx.OT::IntType<short
unsigned int, 2u>::v.BEInt<short unsigned int, 2>::v[1]' was declared
here
     BaseGlyphRecord new_record;
                     ^~~~~~~~~~
../src/hb-ot-color-colr-table.hh:220:62: warning:
'new_record.OT::BaseGlyphRecord::firstLayerIdx.OT::IntType<short
unsigned int, 2u>::v.BEInt<short unsigned int, 2>::v[0]' may be used
uninitialized in this function [-Wmaybe-uninitialized]
     return hb_pair_t<bool, BaseGlyphRecord> (true, new_record);
                                                              ^
../src/hb-ot-color-colr-table.hh:217:21: note:
'new_record.OT::BaseGlyphRecord::firstLayerIdx.OT::IntType<short
unsigned int, 2u>::v.BEInt<short unsigned int, 2>::v[0]' was declared
here
     BaseGlyphRecord new_record;
                     ^~~~~~~~~~
[70/252] Linking target src/libharfbuzz-subset.so.0.20700.0
[71/252] Generating symbol file
src/libharfbuzz-subset.so.0.20700.0.p/libharfbuzz-subset.so.0.20700.0.symbols
[72/252] Compiling C++ object src/main.p/main.cc.o
[73/252] Linking target src/main
[74/252] Compiling C++ object src/test-basics.p/test.cc.o
[75/252] Linking target src/test-basics
[76/252] Compiling C++ object
src/test-buffer-serialize.p/test-buffer-serialize.cc.o
[77/252] Linking target src/test-buffer-serialize
[78/252] Compiling C++ object src/test-ot-meta.p/test-ot-meta.cc.o
[79/252] Linking target src/test-ot-meta
[80/252] Compiling C++ object src/test-ot-name.p/test-ot-name.cc.o
[81/252] Linking target src/test-ot-name
[82/252] Compiling C++ object src/test-ot-glyphname.p/test-ot-glyphname.cc.o
[83/252] Linking target src/test-ot-glyphname
[84/252] Compiling C++ object
src/test-ot-gpos-size-params.p/test-gpos-size-params.cc.o
[85/252] Linking target src/test-ot-gpos-size-params
[86/252] Compiling C++ object
src/test-ot-gsub-would-substitute.p/test-gsub-would-substitute.cc.o
[87/252] Linking target src/test-ot-gsub-would-substitute
[88/252] Compiling C++ object src/test-algs.p/test-algs.cc.o
[89/252] Compiling C++ object src/dump-indic-data.p/dump-indic-data.cc.o
[90/252] Compiling C++ object
src/dump-indic-data.p/hb-ot-shape-complex-indic-table.cc.o
[91/252] Linking target src/dump-indic-data
[92/252] Compiling C++ object src/dump-khmer-data.p/dump-khmer-data.cc.o
[93/252] Compiling C++ object
src/dump-khmer-data.p/hb-ot-shape-complex-indic-table.cc.o
[94/252] Linking target src/dump-khmer-data
[95/252] Compiling C++ object src/dump-myanmar-data.p/dump-myanmar-data.cc.o
[96/252] Compiling C++ object
src/dump-myanmar-data.p/hb-ot-shape-complex-indic-table.cc.o
[97/252] Linking target src/dump-myanmar-data
[98/252] Compiling C++ object src/dump-use-data.p/dump-use-data.cc.o
[99/252] Compiling C++ object
src/dump-use-data.p/hb-ot-shape-complex-use-table.cc.o
[100/252] Linking target src/dump-use-data
[101/252] Compiling C++ object src/test-number.p/test-number.cc.o
[102/252] Compiling C++ object src/test-array.p/test-array.cc.o
[103/252] Linking target src/test-array
[104/252] Compiling C++ object src/test-number.p/hb-number.cc.o
[105/252] Linking target src/test-number
[106/252] Compiling C++ object src/test-ot-tag.p/hb-ot-tag.cc.o
[107/252] Linking target src/test-ot-tag
[108/252] Compiling C object test/api/test-object.p/test-object.c.o
[109/252] Compiling C++ object
src/test-unicode-ranges.p/test-unicode-ranges.cc.o
[110/252] Linking target src/test-unicode-ranges
[111/252] Compiling C++ object src/test-algs.p/hb-static.cc.o
[112/252] Linking target src/test-algs
[113/252] Compiling C++ object src/test-bimap.p/test-bimap.cc.o
[114/252] Compiling C++ object src/test-bimap.p/hb-static.cc.o
[115/252] Compiling C++ object src/test-iter.p/test-iter.cc.o
[116/252] Linking target src/test-bimap
[117/252] Compiling C++ object src/test-iter.p/hb-static.cc.o
[118/252] Linking target src/test-iter
[119/252] Compiling C++ object src/test-meta.p/hb-static.cc.o
[120/252] Compiling C++ object src/test-meta.p/test-meta.cc.o
[121/252] Linking target src/test-meta
[122/252] Generating harfbuzz-icu.def with a custom command
[123/252] Compiling C++ object src/libharfbuzz-icu.so.0.20700.0.p/hb-icu.cc.o
In file included from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/unicode/utf.h:218:0,
                 from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/unicode/utypes.h:44,
                 from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/unicode/uscript.h:20,
                 from ../src/hb-icu.h:34,
                 from ../src/hb-icu.cc:34:
../src/hb-icu.cc: In function 'hb_bool_t
hb_icu_unicode_decompose(hb_unicode_funcs_t*, hb_codepoint_t,
hb_codepoint_t*, hb_codepoint_t*, void*)':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/unicode/utf16.h:172:48:
warning: array subscript is below array bounds [-Warray-bounds]
             (c)=U16_GET_SUPPLEMENTARY((s)[(i)-1], (c)); \
                                                ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/unicode/utf16.h:112:17:
note: in definition of macro 'U16_GET_SUPPLEMENTARY'
     (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
                 ^~~~
../src/hb-icu.cc:255:7: note: in expansion of macro 'U16_GET_UNSAFE'
       U16_GET_UNSAFE (decomposed, 0, *a);
       ^~~~~~~~~~~~~~
[124/252] Linking target src/libharfbuzz-icu.so.0.20700.0
[125/252] Generating symbol file
src/libharfbuzz-icu.so.0.20700.0.p/libharfbuzz-icu.so.0.20700.0.symbols
[126/252] Compiling C++ object util/hb-shape.p/hb-shape.cc.o
[127/252] Generating hb-gobject-enums-tmp.h with a meson_exe.py custom command
[128/252] Generating hb-gobject-enums-tmp.cc with a meson_exe.py custom command
[129/252] Generating hb-gobject-enums.cc with a custom command
[130/252] Generating hb-gobject-enums.h with a custom command
[131/252] Compiling C++ object
src/libharfbuzz-gobject.so.0.20700.0.p/hb-gobject-structs.cc.o
FAILED: src/libharfbuzz-gobject.so.0.20700.0.p/hb-gobject-structs.cc.o
c++ -Isrc/libharfbuzz-gobject.so.0.20700.0.p -Isrc -I../src -I. -I..
-I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gio-unix-2.0
-I/usr/pkg/include/freetype2 -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -std=c++11 -fno-rtti -fno-exceptions
-fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H
-O2 -D_FORTIFY_SOURCE=2 -fPIC -Wno-non-virtual-dtor -MD -MQ
src/libharfbuzz-gobject.so.0.20700.0.p/hb-gobject-structs.cc.o -MF
src/libharfbuzz-gobject.so.0.20700.0.p/hb-gobject-structs.cc.o.d -o
src/libharfbuzz-gobject.so.0.20700.0.p/hb-gobject-structs.cc.o -c
../src/hb-gobject-structs.cc
In file included from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:32:0,
                 from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:32,
                 from
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib.h:32,
                 from ../src/hb-gobject-structs.cc:53:
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_buffer_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:91:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (buffer)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_blob_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:92:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (blob)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_face_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:93:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (face)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_font_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:94:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (font)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_font_funcs_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:95:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (font_funcs)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_set_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:96:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (set)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_map_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:97:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (map)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_shape_plan_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:98:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (shape_plan)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_unicode_funcs_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:78:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:99:1: note: in expansion of macro
'HB_DEFINE_OBJECT_TYPE'
 HB_DEFINE_OBJECT_TYPE (unicode_funcs)
 ^~~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType hb_gobject_feature_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:100:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (feature)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_glyph_info_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:101:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (glyph_info)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_glyph_position_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:102:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (glyph_position)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_segment_properties_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:103:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (segment_properties)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_user_data_key_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:104:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (user_data_key)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_ot_math_glyph_variant_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:106:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (ot_math_glyph_variant)
 ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc: In function 'GType
hb_gobject_ot_math_glyph_part_get_type()':
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gatomic.h:128:15:
error: variable 'gapg_temp_atomic' set but not used
[-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^
/root/pkgsrc/work/fonts/harfbuzz/work/.buildlink/include/glib-2.0/glib/gthread.h:251:7:
note: in expansion of macro 'g_atomic_pointer_get'
     (!g_atomic_pointer_get (location) &&                             \
       ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:68:8: note: in expansion of macro
'g_once_init_enter'
    if (g_once_init_enter (&type_id)) { \
        ^~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:89:2: note: in expansion of macro
'HB_DEFINE_BOXED_TYPE'
  HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
  ^~~~~~~~~~~~~~~~~~~~
../src/hb-gobject-structs.cc:107:1: note: in expansion of macro
'HB_DEFINE_VALUE_TYPE'
 HB_DEFINE_VALUE_TYPE (ot_math_glyph_part)
 ^~~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped in /root/cvs/pkgsrc/current/pkgsrc/fonts/harfbuzz
*** Error code 1

Stop.
bmake: stopped in /root/cvs/pkgsrc/current/pkgsrc/fonts/harfbuzz

-- 
Ottavio Caruso



Home | Main Index | Thread Index | Old Index