Re: git: f98beca9766c - main - devel/glib20: add DOCS option
- Reply: Mark Millard : "Re: git: f98beca9766c - main - devel/glib20: add DOCS option"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Apr 2022 17:15:46 UTC
From: Adriaan de Groot <adridg_at_freebsd.org> 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: > > My meson-fu is weak -- and since I need a faster or slower machine to actually > reproduce the problem, I have selected a proxy problem: `ninja -j48 gio-doc`. > That's an actual target defined by meson, and I believe it should "just > build". It didn't, of course: missing dependencies on things-that-are- > generated-during-the-build. > > Telling ninja that gio-doc needs to build the examples first is trivial, so I > patch that in. It's definitely ugly to be doing {REINPLACE_CMD} on the > 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=/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/reference/gio/gdbus-object-manager-example/gdbus-object-manager-example.types', '--modul e=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/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=cortex-a7 -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=cortex-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=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-di rs -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/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=cortex-a7 -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=cortex-a7 -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 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/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.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=cortex-a7 -g -fstack-protector-strong -isystem /usr/local/ include -fno-strict-aliasing -mcpu=cortex-a7 -isystem /usr/local/include -o gdbus-object-manager-example-scan . . . ERROR: ['/usr/local/bin/gtkdoc-scangobj', '--types=/wrkdirs/usr/ports/devel/glib20/work/glib-2.70.4/_build/docs/reference/gobject/gobject.types', '--module=gobject', '--run=', '--cflags=-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/gobject/. -O2 -pipe -mcpu=cortex-a7 -g -fstack-protector-strong -isystem /usr/ local/include -fno-strict-aliasing -mcpu=cortex-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=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declar ation -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/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/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=cortex-a7 -g -fsta ck-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=cortex-a7 -isystem /usr/local/include', '--cc=cc', '--ld=cc', '--output-dir=/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=cortex-a7 -g - fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=cortex-a7 -isystem /usr/local/include -o gobject-scan . . . ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 For reference: =>> 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. === Mark Millard marklmi at yahoo.com