Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 10:15:46 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Adriaan de Groot <adridg@freebsd.org>, dev-commits-ports-main@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: git: f98beca9766c - main - devel/glib20: add DOCS option
Message-ID:  <09DDC0E4-089E-4ACB-89BE-C35167DB8F56@yahoo.com>
References:  <09DDC0E4-089E-4ACB-89BE-C35167DB8F56.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Adriaan de Groot <adridg_at_freebsd.org>=20
Date: Sun, 17 Apr 2022 15:15:15 +0200 :

> On Sunday, 17 April 2022 11:12:11 CEST Jochen Neumeister wrote:
> > I have it currently also at 13.0 i386:
>=20
> My meson-fu is weak -- and since I need a faster or slower machine to =
actually=20
> reproduce the problem, I have selected a proxy problem: `ninja -j48 =
gio-doc`.=20
> That's an actual target defined by meson, and I believe it should =
"just=20
> build". It didn't, of course: missing dependencies on things-that-are-
> generated-during-the-build.
>=20
> Telling ninja that gio-doc needs to build the examples first is =
trivial, so I=20
> patch that in. It's definitely ugly to be doing {REINPLACE_CMD} on the=20=

> generated build-system, but it's the best I could come up with.

What I got was (for [ 33% 463/1333]):

ERROR: ['/usr/local/bin/gtkdoc-scangobj', =
'--types=3D/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/re=
ference/gio/gdbus-object-manager-example/gdbus-object-manager-example.type=
s', '--modul
e=3Dgdbus-object-manager-example', '--run=3D', =
'--cflags=3D-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/gio =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio =
-I/wrkdirs/usr/ports/devel/gli
b20/work/glib-2.70.4/gmodule =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gmodule =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/. =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_
build/. -I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/glib =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-I/usr/local/include -pthread =
-I/wrkdirs/usr/ports/devel/glib20/work/glib
-2.70.4/gobject =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject -O2 =
-pipe -mcpu=3Dcortex-a7 -g -fstack-protector-strong -isystem =
/usr/local/include -fno-strict-aliasing -mcpu=3Dcortex-a7
 -isystem /usr/local/include -D_GNU_SOURCE -fno-strict-aliasing =
-DG_ENABLE_DEBUG -Wimplicit-fallthrough -Wmisleading-indentation =
-Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-ca
st -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length =
-Werror=3Ddeclaration-after-statement -Werror=3Dformat=3D2 =
-Werror=3Dimplicit-function-declaration -Werror=3Dinit-self =
-Werror=3Dmissing-include-di
rs -Werror=3Dmissing-prototypes -Werror=3Dpointer-arith', =
'--ldflags=3D-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio=
/tests/gdbus-object-manager-example =
-Wl,-rpath,/wrkdirs/usr/ports/devel/gl
ib20/work/glib-2.70.4/_build/gio/tests/gdbus-object-manager-example =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gl
ib -L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gmodule =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gmodule=
 -L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_buil
d/gobject =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject=
 -L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-
2.70.4/_build/gio -L/usr/local/lib -Wl,-rpath,/usr/local/lib =
-lgdbus-example-objectmanager -lgio-2.0 -lgmodule-2.0 -lglib-2.0 =
-lgobject-2.0 -lintl -lz -L/usr/local/lib -lpcre -pthread -liconv -lm =
-lut
il -lffi -fstack-protector-strong -L/usr/local/lib -O2 -pipe =
-mcpu=3Dcortex-a7 -g -fstack-protector-strong -isystem =
/usr/local/include -fno-strict-aliasing -mcpu=3Dcortex-a7 -isystem =
/usr/local/include',=20
'--cc=3Dcc', '--ld=3Dcc', =
'--output-dir=3D/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/do=
cs/reference/gio/gdbus-object-manager-example'] failed with status 1
ld: error: unable to find library -lgdbus-example-objectmanager
ld: error: unable to find library -lgio-2.0
ld: error: unable to find library -lgobject-2.0
cc: error: linker command failed with exit code 1 (use -v to see =
invocation)
2022-04-17 15:20:13,800:scangobj.py:execute_command:1289:WARNING:Linking =
scanner failed: 1, command: cc gdbus-object-manager-example-scan.o =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gi
o/tests/gdbus-object-manager-example =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio/tes=
ts/gdbus-object-manager-example =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build
/glib =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gmodule =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.7
0.4/_build/gmodule =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject=
 -L/wrkdirs/usr/ports/devel/glib20/work/g
lib-2.70.4/_build/gio =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio =
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lgdbus-example-objectmanager =
-lgio-2.0 -lgmodule-2.0 -lglib-2.0
 -lgobject-2.0 -lintl -lz -L/usr/local/lib -lpcre -pthread -liconv -lm =
-lutil -lffi -fstack-protector-strong -L/usr/local/lib -O2 -pipe =
-mcpu=3Dcortex-a7 -g -fstack-protector-strong -isystem /usr/local/
include -fno-strict-aliasing -mcpu=3Dcortex-a7 -isystem =
/usr/local/include -o gdbus-object-manager-example-scan

. . .
ERROR: ['/usr/local/bin/gtkdoc-scangobj', =
'--types=3D/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/re=
ference/gobject/gobject.types', '--module=3Dgobject', '--run=3D', =
'--cflags=3D-I/wrkdirs/usr
/ports/devel/glib20/work/glib-2.70.4/gobject =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject =
-I/usr/local/include =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/. -I/wrkdirs/usr/
ports/devel/glib20/work/glib-2.70.4/_build/. =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/glib =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib -pthread =
-I/wrkdirs/usr/ports/devel/
glib20/work/glib-2.70.4/docs/reference/gobject/. =
-I/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/reference/g=
object/. -O2 -pipe -mcpu=3Dcortex-a7 -g -fstack-protector-strong =
-isystem /usr/
local/include -fno-strict-aliasing -mcpu=3Dcortex-a7 -isystem =
/usr/local/include -D_GNU_SOURCE -fno-strict-aliasing -DG_ENABLE_DEBUG =
-Wimplicit-fallthrough -Wmisleading-indentation -Wstrict-prototypes -
Wunused -Wno-unused-parameter -Wno-bad-function-cast =
-Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length =
-Werror=3Ddeclaration-after-statement -Werror=3Dformat=3D2 =
-Werror=3Dimplicit-function-declar
ation -Werror=3Dinit-self -Werror=3Dmissing-include-dirs =
-Werror=3Dmissing-prototypes -Werror=3Dpointer-arith', =
'--ldflags=3D-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gob=
ject -Wl,-rpath,/wrkdirs
/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-L/usr/lo
cal/lib -Wl,-rpath,/usr/local/lib -lgobject-2.0 -lglib-2.0 =
-L/usr/local/lib -lffi -lintl -lpcre -pthread -liconv -lm -lutil =
-fstack-protector-strong -L/usr/local/lib -O2 -pipe -mcpu=3Dcortex-a7 -g =
-fsta
ck-protector-strong -isystem /usr/local/include -fno-strict-aliasing =
-mcpu=3Dcortex-a7 -isystem /usr/local/include', '--cc=3Dcc', '--ld=3Dcc', =
'--output-dir=3D/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/
_build/docs/reference/gobject'] failed with status 1
ld: error: unable to find library -lgobject-2.0
cc: error: linker command failed with exit code 1 (use -v to see =
invocation)
2022-04-17 15:20:15,956:scangobj.py:execute_command:1289:WARNING:Linking =
scanner failed: 1, command: cc gobject-scan.o =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject =
-Wl,-rpath,/wrk
dirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gobject =
-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/glib =
-L/us
r/local/lib -Wl,-rpath,/usr/local/lib -lgobject-2.0 -lglib-2.0 =
-L/usr/local/lib -lffi -lintl -lpcre -pthread -liconv -lm -lutil =
-fstack-protector-strong -L/usr/local/lib -O2 -pipe -mcpu=3Dcortex-a7 -g =
-
fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing =
-mcpu=3Dcortex-a7 -isystem /usr/local/include -o gobject-scan

. . .
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the =
failure to
the maintainer.
*** Error code 1

For reference:

=3D>> Building devel/glib20
build started at Sun Apr 17 08:18:58 PDT 2022
port directory: /usr/ports/devel/glib20
package name: glib-2.70.4_4,2
building for: FreeBSD CA72_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT arm
maintained by: desktop@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  3737 Apr 13 22:06 =
/usr/ports/devel/glib20/Makefile
Ports top last git commit: 55b3e98b1cc8
Ports top unclean checkout: yes
Port dir last git commit: f98beca9766c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20211130
Host OSVERSION: 1400053
Jail OSVERSION: 1400053
. . .

Again a 16 core Cortext-A72 system (HoneyComb) using an armv7
poudriere-devel jail.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09DDC0E4-089E-4ACB-89BE-C35167DB8F56>