Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2022 10:12:38 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        leres@freebsd.org
Cc:        dev-commits-ports-main@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: git: f98beca9766c - main - devel/glib20: add DOCS option
Message-ID:  <CB956955-3DDB-4CDB-9DA5-3C5BB9090EFD@yahoo.com>
In-Reply-To: <90063CEF-5650-4727-BAF5-9C2516C9B011@yahoo.com>
References:  <F1FB0AED-AA79-4B12-AB6C-0FF26E8BE3F3@yahoo.com> <90063CEF-5650-4727-BAF5-9C2516C9B011@yahoo.com>

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

On 2022-Apr-14, at 00:44, Mark Millard <marklmi@yahoo.com> wrote:

> On 2022-Apr-13, at 19:14, Mark Millard <marklmi@yahoo.com> wrote:
>=20
>> From: Craig Leres <leres_at_freebsd.org> wrote on
>> Date: Wed, 13 Apr 2022 09:54:23 -0700 :
>>=20
>> On 4/13/22 03:34, Adriaan de Groot wrote:
>>>> The branch main has been updated by adridg:
>>>>=20
>>>> URL:
>>> =
https://cgit.FreeBSD.org/ports/commit/?id=3Df98beca9766c056a826c5ad0f6b399=
6e80a4528c
>>>=20
>>>>=20
>>>> commit f98beca9766c056a826c5ad0f6b3996e80a4528c
>>>> Author:     Adriaan de Groot<adridg_at_FreeBSD.org>
>>>> AuthorDate: 2022-04-11 23:16:38 +0000
>>>> Commit:     Adriaan de Groot<adridg_at_FreeBSD.org>
>>>> CommitDate: 2022-04-13 10:34:08 +0000
>>>>=20
>>>>    devel/glib20: add DOCS option
>>>>=20
>>>>    There is documentation possible with glib, using gtk-doc.
>>>>    Add a knob and the plist bits. The documentation depends
>>>>    on the tests, though: see glib issue
>>>>=20
>>> https://gitlab.gnome.org/GNOME/glib/-/issues/2430
>>>=20
>>>>=20
>>>>    Futz a bit with the options and dependencies; TEST only needs
>>>>    dbus for the build, and the docs need the tests.
>>>=20
>>> This version did not build with me until I turned off DOCS and TEST=20=

>>> (12.3-RELEASE/amd64). Now I only have MANPAGES enabled.
>>=20
>> FYI: I did not have such problems for . . .
>>=20
>> ---Begin OPTIONS List---
>> =3D=3D=3D> The following configuration options are available for =
glib-2.70.4_4,2:
>>    DEBUG=3Doff: Build with debugging support
>>    DOCS=3Don: Build and/or install documentation
>>    FAM_ALTBACKEND=3Doff: Alternate file monitor backend
>>    MANPAGES=3Don: Build and/or install manual pages
>>    NLS=3Don: Native Language Support
>>    TEST=3Don: Build and/or run tests
>> =3D=3D=3D> Use 'make config' to modify these settings
>> ---End OPTIONS List---
>>=20
>> For either:
>>=20
>> Poudriere version: poudriere-git-3.3.99.20211130
>> Host OSVERSION: 1400053
>> Jail OSVERSION: 1300139
>>=20
>> or:
>>=20
>> Poudriere version: poudriere-git-3.3.99.20211130
>> Host OSVERSION: 1400053
>> Jail OSVERSION: 1400053
>>=20
>> on amd64 or on aarch64.
>=20
> I just looked at the on-going 123amd64-default bulk -a for 12.3 at:
>=20
> =
http://beefy6.nyi.freebsd.org/build.html?mastername=3D123amd64-default&bui=
ld=3D152bbb33232b
>=20
> and it shows devel/glib20 as having built just fine, with log file:=20
>=20
> =
http://beefy6.nyi.freebsd.org/data/123amd64-default/152bbb33232b/logs/glib=
-2.70.4_4,2.log
>=20
> That log file shows, in part:
>=20
> =3D>> Building devel/glib20
> build started at Thu Apr 14 01:27:22 UTC 2022
> port directory: /usr/ports/devel/glib20
> package name: glib-2.70.4_4,2
> building for: FreeBSD 123amd64-default-job-04 12.3-RELEASE-p5 FreeBSD =
12.3-RELEASE-p5 amd64
> maintained by: desktop@FreeBSD.org
> Makefile ident:=20
> Poudriere version: 3.2.8-21-g883afb07
> Host OSVERSION: 1400050
> Jail OSVERSION: 1203000
>=20
> . . .
>=20
> ---Begin OPTIONS List---
> =3D=3D=3D> The following configuration options are available for =
glib-2.70.4_4,2:
>     DEBUG=3Doff: Build with debugging support
>     DOCS=3Don: Build and/or install documentation
>     FAM_ALTBACKEND=3Doff: Alternate file monitor backend
>     MANPAGES=3Don: Build and/or install manual pages
>     NLS=3Don: Native Language Support
>     TEST=3Don: Build and/or run tests
> =3D=3D=3D> Use 'make config' to modify these settings
> ---End OPTIONS List---
>=20
> . . .
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<ph=
ase: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>  Building package for glib-2.70.4_4,2
> install -l rs /.npkg/All/glib-2.70.4_4,2.pkg =
/.npkg/All/glib-2.70.4_4,2.txz
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

> =3D>> Cleaning up wrkdir
> =3D=3D=3D>  Cleaning for glib-2.70.4_4,2
> build of devel/glib20 | glib-2.70.4_4,2 ended at Thu Apr 14 01:49:24 =
UTC 2022
> build time: 00:22:02
>=20
> So it is not just me or specific to my releng/13.0 or main
> [so: 14] type of context that is building successfully as-is:
> The official build servers are building
>=20
>=20
> NOTES:
>=20
> My poudriere builds use ALLOW_PARALLEL_JOBS=3D and also one
> builder per hardware thread. So it could reach the hardware
> threaad count squared or so for the load average. The FreeBSD
> build servers constrain the parallelism greatly but still
> allow some internal to a builder, 2 hardware threads as I
> remember, and something like one builder for each pair of
> hardware threads.
>=20
> For my contexts:
> amd64:   32 hardware threads
> aarch64: 16 hardware threads
>=20
> While I've got things set up for main [so: 14], stable/13 ,
> releng/13.0 , and have done some releng/13.1 preparation,
> relative to booting and operating, I've no context for 12.x
> at all --and have not since around when CURRENT became 14.
>=20
> So it is unlikely that I'll be doing my own experiments
> booted into 12.3. If I did anything it would more likely
> be a 12.3 jail used while booted into something I have set
> up as a boot context already, much like the FreeBSD build
> servers do.

I finally got the problem via the poudriere jail:

# poudriere jail -jmain-CA7 -i
Jail name:         main-CA7
Jail version:      14.0-CURRENT
Jail arch:         arm.armv7
Jail method:       null
Jail mount:        /usr/obj/DESTDIRs/main-CA7-poud
. . .

where:

=3D>> Building devel/glib20
build started at Thu Apr 14 07:32:40 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: 032c4d2c7fe9
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
. . .
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)
. . .


This was on the same aarch64 system as the builds that
worked (but were targeting aarch64, not armv7). Same
use of ALLOW_PARALLEL_JOBS=3D and allowing all 16 hardware
threads to have a builder as well.

Side note:

docs/reference/gio/meson.build:227: WARNING: Project targeting '>=3D =
0.49.2' but tried to use feature introduced in '0.52.0': check arg in =
gnome.gtkdoc.
docs/reference/glib/meson.build:91: WARNING: Project targeting '>=3D =
0.49.2' but tried to use feature introduced in '0.52.0': check arg in =
gnome.gtkdoc.
docs/reference/gobject/meson.build:54: WARNING: Project targeting '>=3D =
0.49.2' but tried to use feature introduced in '0.52.0': check arg in =
gnome.gtkdoc.


=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?CB956955-3DDB-4CDB-9DA5-3C5BB9090EFD>