Re: git: f98beca9766c - main - devel/glib20: add DOCS option

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 19:03:24 UTC
Moin!

TEST must imply MAKE_JOBS_UNSAFE to correct build with meson/ninja

--
Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team
(fluffy@FreeBSD.org, https://t.me/dima_panov)

> On Wednesday, Apr 13, 2022 at 7:54 PM, Craig Leres <leres@freebsd.org (mailto:leres@freebsd.org)> wrote:
> On 4/13/22 03:34, Adriaan de Groot wrote:
> > The branch main has been updated by adridg:
> >
> > URL:https://cgit.FreeBSD.org/ports/commit/?id=f98beca9766c056a826c5ad0f6b3996e80a4528c
> >
> > commit f98beca9766c056a826c5ad0f6b3996e80a4528c
> > Author: Adriaan de Groot<adridg@FreeBSD.org>
> > AuthorDate: 2022-04-11 23:16:38 +0000
> > Commit: Adriaan de Groot<adridg@FreeBSD.org>
> > CommitDate: 2022-04-13 10:34:08 +0000
> >
> > devel/glib20: add DOCS option
> >
> > 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
> > https://gitlab.gnome.org/GNOME/glib/-/issues/2430
> >
> > Futz a bit with the options and dependencies; TEST only needs
> > dbus for the build, and the docs need the tests.
>
> This version did not build with me until I turned off DOCS and TEST
> (12.3-RELEASE/amd64). Now I only have MANPAGES enabled.
>
> Craig
>
> =>> Building devel/glib20
> build started at Wed Apr 13 09:47:05 PDT 2022
> port directory: /usr/ports/devel/glib20
> package name: glib-2.70.4_4,2
> building for: FreeBSD zinc.ee.lbl.gov 12.3-RELEASE-p5 FreeBSD
> 12.3-RELEASE-p5 amd64
> maintained by: desktop@FreeBSD.org
> Makefile ident:
> Poudriere version: 3.3.7_1
> Host OSVERSION: 1203000
> Jail OSVERSION: 1203000
> Job Id: 01
>
> ---Begin Environment---
> SHELL=/bin/csh
> OSVERSION=1203000
> UNAME_v=FreeBSD 12.3-RELEASE-p5
> UNAME_r=12.3-RELEASE-p5
> BLOCKSIZE=K
> MAIL=/var/mail/root
> STATUS=1
> HOME=/root
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> LOCALBASE=/usr/local
> USER=root
> LIBEXECPREFIX=/usr/local/libexec/poudriere
> POUDRIERE_VERSION=3.3.7_1
> MASTERMNT=/usr/local/poudriere/data/.m/12release-current-patched/ref
> POUDRIERE_BUILD_TYPE=bulk
> PACKAGE_BUILDING=yes
> SAVED_TERM=screen
> PWD=/usr/local/poudriere/data/.m/12release-current-patched/ref/.p/pool
> P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
> MASTERNAME=12release-current-patched
> SCRIPTPREFIX=/usr/local/share/poudriere
> OLDPWD=/usr/local/poudriere/data/.m/12release-current-patched/ref/.p
> SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
> POUDRIEREPATH=/usr/local/bin/poudriere
> ---End Environment---
>
> [...]
>
> Building documentation for gdbus-object-manager-example
> ERROR: Error in gtkdoc helper script:
>
> ERROR: ['/usr/local/bin/gtkdoc-scangobj',
> '--types=/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/reference/gio/gdbus-object-manager-example/gdbus-object-manager-example.types',
> '--module=gdbus-object-manager-example', '--run=',
> '--cflags=-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/glib20/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 -fstack-protector-strong -isystem /usr/local/include
> -fno-strict-aliasing -isystem /usr/local/include -D_GNU_SOURCE
> -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wimplicit-fallthrough
> -Wmisleading-indentation -Wstrict-prototypes -Wunused
> -Wno-unused-parameter -Wno-bad-function-cast -Wno-pedantic
> -Wno-format-zero-length -Werror=declaration-after-statement
> -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self
> -Werror=missing-include-dirs -Werror=missing-prototypes
> -Werror=pointer-arith',
> '--ldflags=-L/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/gio/tests/gdbus-object-manager-example
> -Wl,-rpath,/wrkdirs/usr/ports/devel/glib20/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/glib
> -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/_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/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
> -fstack-protector-strong -isystem /usr/local/include
> -fno-strict-aliasing -isystem /usr/local/include', '--cc=cc', '--ld=cc',
> '--output-dir=/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/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
>
> [...]
>
>