Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 20:44:01 -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 [837447eabc74 still fails]
Message-ID:  <59B20E8A-BB54-43EA-A4C4-7B4B1DF93F01@yahoo.com>
In-Reply-To: <37831BD3-5300-4490-8BEA-4BC01427470E@yahoo.com>
References:  <09DDC0E4-089E-4ACB-89BE-C35167DB8F56@yahoo.com> <37831BD3-5300-4490-8BEA-4BC01427470E@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[At least this time I tested the right vintage:
git: 837447eabc74 - main - devel/glib20: fix up DOCS generation Adriaan =
de Groot
But it is still broken, but only for one "ld: error:" in my context:
ld: error: unable to find library -lgobject-2.0 .]

On 2022-Apr-17, at 15:57, Mark Millard <marklmi@yahoo.com> wrote:

> [Ignore the report. I'm retrying after my screwup.]
>=20
> On 2022-Apr-17, at 10:15, Mark Millard <marklmi@yahoo.com> wrote:
>=20
>> From: Adriaan de Groot <adridg_at_freebsd.org>=20
>> Date: Sun, 17 Apr 2022 15:15:15 +0200 :
>>=20
>>> 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.
>>=20
>> What I got was (for [ 33% 463/1333]):
>=20
> I never managed to do the merge --ff-only : just the fetch.
> I'm rerunning bulk after actually having merged the update.
> It will be a while if it works as all 3 jails on that machine
> are to be updated in sequence and the armv7 one is the last
> of the 3.
>=20
>> ERROR:=20
>> . . .

I had tested building the wrong version.

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

It still fails to build in my context. But this time
there is only one "ld: error:". This was for:

=3D>> Building devel/glib20
build started at Sun Apr 17 18:47:00 PDT 2022
port directory: /usr/ports/devel/glib20
package name: glib-2.70.4_5,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  4558 Apr 17 22:45 =
/usr/ports/devel/glib20/Makefile
Ports top last git commit: 837447eabc74
Ports top unclean checkout: yes
Port dir last git commit: 837447eabc74
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20211130
Host OSVERSION: 1400053
Jail OSVERSION: 1400053
. . .

The error part of the log looks like:

. . .
[ 36% 508/1333] . . .
. . .
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-18 01:48:17,541: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,/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/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

. . . (lots of activity, then finally) . . .

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


=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?59B20E8A-BB54-43EA-A4C4-7B4B1DF93F01>