Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2022 07:58:05 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   2 port build failures using poudriere (each involves glib)
Message-ID:  <Y4I3jZbhUSTrNt6u@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--Me7GNJz0R6MkguBa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I note that the devel/glib20 port was just updated from 2.74.1 to
2.74.2 recently.

Ports that failed to build were graphics/gegl and net/wireshark.

Copies of logs are in
https://www.catwhisker.org/~david/FreeBSD/ports/2022-11-26/

Those for stable/12 are in the "12" subdirectory; similarly for "13."

Ports tree is at main-n601354-c492d0dd0415.  For stable/12,
stable/12-n235873-d95de59e943; for stable/13,
stable/13-n253148-124c19b0d879

graphics/gegl:  Things seem generally OK, up to:
FAILED: operations/common-cxx/gegl-common-cxx.so.p/denoise-dct.cc.o
c++ -Ioperations/common-cxx/gegl-common-cxx.so.p -Ioperations/common-cxx -I=
=2E./operations/common-cxx -I. -I.. -Igegl -I../gegl -Igegl/buffer -I../geg=
l/buffer -Igegl/graph -I../gegl/graph -Igegl/module -I../gegl/module -Igegl=
/opencl -I../gegl/opencl -Igegl/operation -I../gegl/operation -Igegl/proces=
s -I../gegl/process -Igegl/property-types -I../gegl/property-types -Iopencl=
 -I/usr/local/include/babl-0.1 -I/usr/local/include -I/usr/local/include/gl=
ib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/json-glib-1.0=
 -fno-color-diagnostics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wnon-=
virtual-dtor -std=3Dgnu++14 -O3 -DHAVE_CONFIG_H -Ofast -Winit-self -Wmissin=
g-declarations -Wpointer-arith -Wno-deprecated-declarations -ftree-vectoriz=
e -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-stric=
t-aliasing -isystem /usr/local/include -isystem /usr/local/include -fPIC -p=
thread -DGEGL_OP_BUNDLE -MD -MQ operations/common-cxx/gegl-common-cxx.so.p/=
denoise-dct.cc.o -MF operations/common-cxx/gegl-common-cxx.so.p/denoise-dct=
=2Ecc.o.d -o operations/common-cxx/gegl-common-cxx.so.p/denoise-dct.cc.o -c=
 ../operations/common-cxx/denoise-dct.cc
In file included from ../operations/common-cxx/denoise-dct.cc:47:
=2E./gegl/gegl-op.h:719:20: error: no matching function for call to 'strcmp'
  if (set_value && g_str_equal (value, set_value))
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro =
'g_str_equal'
#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) =
(v2)) =3D=3D 0)
                             ^~~~~~
/usr/include/string.h:86:6: note: candidate function not viable: cannot con=
vert argument of incomplete type 'gconstpointer' (aka 'const void *') to 'c=
onst char *' for 1st argument
int      strcmp(const char *, const char *) __pure;
         ^
1 error generated.
[ 30% 413/1264]=20


net/wireshark:  Things seem generally OK, up to:
FAILED: ui/qt/CMakeFiles/qtui.dir/io_graph_dialog.cpp.o
/usr/bin/c++ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DQT_CONCUR=
RENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -D=
QT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DWS_DISABLE_ASSERT -DWS_DISABLE_DEBUG=
 -I/wrkdirs/usr/ports/net/wireshark/work/.build/ui/qt/qtui_autogen/include =
-I/wrkdirs/usr/ports/net/wireshark/work/.build -I/wrkdirs/usr/ports/net/wir=
eshark/work/wireshark-4.0.1 -I/wrkdirs/usr/ports/net/wireshark/work/wiresha=
rk-4.0.1/include -isystem /usr/local/include/glib-2.0 -isystem /usr/local/l=
ib/glib-2.0/include -isystem /usr/local/include/qt5 -isystem /usr/local/inc=
lude/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem =
/usr/local/include/qt5/QtGui -isystem /usr/local/include/qt5/QtPrintSupport=
 -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/=
QtConcurrent -isystem /usr/local/include/qt5/QtMultimedia -isystem /usr/loc=
al/include/qt5/QtNetwork -isystem /wrkdirs/usr/ports/net/wireshark/work/.bu=
ild/ui/qt -isystem /wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/ui=
/qt -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wforma=
t-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-=
by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-lo=
ng -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wredundant-decls -Wframe-larg=
er-than=3D32768 -fcolor-diagnostics -Wextra-semi -O2 -pipe -fstack-protecto=
r-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/lo=
cal/include -fmacro-prefix-map=3D/wrkdirs/usr/ports/net/wireshark/work/wire=
shark-4.0.1/=3D -fmacro-prefix-map=3D/wrkdirs/usr/ports/net/wireshark/work/=
=2Ebuild/=3D -O2 -pipe -fstack-protector-strong -isystem /usr/local/include=
 -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fPIC -std=3Dc=
++11 -MD -MT ui/qt/CMakeFiles/qtui.dir/io_graph_dialog.cpp.o -MF ui/qt/CMak=
eFiles/qtui.dir/io_graph_dialog.cpp.o.d -o ui/qt/CMakeFiles/qtui.dir/io_gra=
ph_dialog.cpp.o -c /wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/ui=
/qt/io_graph_dialog.cpp
/wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/ui/qt/io_graph_dialog=
=2Ecpp:199:13: error: no matching function for call to 'strcmp'
        if (g_str_equal(cstr,str)) {
            ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro =
'g_str_equal'
#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) =
(v2)) =3D=3D 0)
                             ^~~~~~
/usr/include/string.h:82:6: note: candidate function not viable: cannot con=
vert argument of incomplete type 'gconstpointer' (aka 'const void *') to 'c=
onst char *' for 1st argument
int      strcmp(const char *, const char *) __pure;
         ^
/wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/ui/qt/io_graph_dialog=
=2Ecpp:261:1: error: no matching function for call to 'strcmp'
UAT_VS_DEF(io_graph, style, io_graph_settings_t, guint32, 0, "Line")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/epan/uat.h:663:7: not=
e: expanded from macro 'UAT_VS_DEF'
                if (g_str_equal(cstr,str)) { \
                    ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro =
'g_str_equal'
#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) =
(v2)) =3D=3D 0)
                             ^~~~~~
/usr/include/string.h:82:6: note: candidate function not viable: cannot con=
vert argument of incomplete type 'gconstpointer' (aka 'const void *') to 'c=
onst char *' for 1st argument
int      strcmp(const char *, const char *) __pure;
         ^
/wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/ui/qt/io_graph_dialog=
=2Ecpp:262:1: error: no matching function for call to 'strcmp'
UAT_VS_DEF(io_graph, yaxis, io_graph_settings_t, guint32, 0, "Packets")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/net/wireshark/work/wireshark-4.0.1/epan/uat.h:663:7: not=
e: expanded from macro 'UAT_VS_DEF'
                if (g_str_equal(cstr,str)) { \
                    ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:165:30: note: expanded from macro =
'g_str_equal'
#define g_str_equal(v1, v2) (strcmp ((gconstpointer) (v1), (gconstpointer) =
(v2)) =3D=3D 0)
                             ^~~~~~
/usr/include/string.h:82:6: note: candidate function not viable: cannot con=
vert argument of incomplete type 'gconstpointer' (aka 'const void *') to 'c=
onst char *' for 1st argument
int      strcmp(const char *, const char *) __pure;
         ^
3 errors generated.
[ 91% 2284/2466]


Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
"attempts made by certain countries to rewrite and reshape world history
are becoming increasingly aggressive, ultimately and obviously seeking
to divide our society, take away our guiding lines and eventually weaken
Russia."  -- V. Putin, obviously referring to his own efforts

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--Me7GNJz0R6MkguBa
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCY4I3jV8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE
MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix
1Lq6AQCjqpJD2CN4guSpmLOgj+Rqx+0uE4JzJTdhNch5cbuY7QD/a41EdaoeAyKu
m0d3BM460bXCnvc8i3wSsmAWZtvcQgw=
=CoJX
-----END PGP SIGNATURE-----

--Me7GNJz0R6MkguBa--



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