Date: Thu, 4 Feb 2021 14:14:17 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD ports <freebsd-ports@freebsd.org> Subject: "pkg-static: POST-INSTALL script failed" during poudriere based builds: gettext-tools install can attempt use of indexinfo before print/indexinfo is installed for the build Message-ID: <E411BDF6-D7D2-4729-A4C7-50E1C7F30379@yahoo.com> References: <E411BDF6-D7D2-4729-A4C7-50E1C7F30379.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Looks like print/indexinfo is not being installed before installing gettext-tools tries to use indexinfo in various contexts. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas= e: build-depends >=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> rhash-1.4.0 depends on executable: msgfmt - not found =3D=3D=3D> Installing existing package = /packages/All/gettext-tools-0.21.txz [FBSDG5L] Installing gettext-tools-0.21... [FBSDG5L] Extracting gettext-tools-0.21: .......... done /bin/sh: indexinfo: not found pkg-static: POST-INSTALL script failed =3D=3D=3D> rhash-1.4.0 depends on executable: msgfmt - found =3D=3D=3D> Returning to build of rhash-1.4.0 = =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas= e: lib-depends >=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> rhash-1.4.0 depends on shared library: libintl.so - not = found =3D=3D=3D> Installing existing package = /packages/All/gettext-runtime-0.21.txz [FBSDG5L] Installing gettext-runtime-0.21... [FBSDG5L] `-- Installing indexinfo-0.3.1... [FBSDG5L] `-- Extracting indexinfo-0.3.1: .... done [FBSDG5L] Extracting gettext-runtime-0.21: .......... done =3D=3D=3D> rhash-1.4.0 depends on shared library: libintl.so - found = (/usr/local/lib/libintl.so) =3D=3D=3D> Returning to build of rhash-1.4.0 and: =3D=3D=3D> glib-2.66.3,1 depends on executable: msgfmt - not found =3D=3D=3D> Installing existing package = /packages/All/gettext-tools-0.21.txz [FBSDG5L] Installing gettext-tools-0.21... [FBSDG5L] Extracting gettext-tools-0.21: .......... done /bin/sh: indexinfo: not found pkg-static: POST-INSTALL script failed =3D=3D=3D> glib-2.66.3,1 depends on executable: msgfmt - found =3D=3D=3D> Returning to build of glib-2.66.3,1 =3D=3D=3D> glib-2.66.3,1 depends on executable: xsltproc - not found =3D=3D=3D> Installing existing package = /packages/All/libxslt-1.1.34_1.txz [FBSDG5L] Installing libxslt-1.1.34_1... [FBSDG5L] `-- Installing libgcrypt-1.8.7... [FBSDG5L] | `-- Installing indexinfo-0.3.1... [FBSDG5L] | `-- Extracting indexinfo-0.3.1: .... done . . . =3D=3D=3D> glib-2.66.3,1 depends on executable: xsltproc - found =3D=3D=3D> Returning to build of glib-2.66.3,1 and: =3D=3D=3D> libXpm-3.5.13 depends on executable: msgfmt - not found =3D=3D=3D> Installing existing package = /packages/All/gettext-tools-0.21.txz [FBSDG5L] Installing gettext-tools-0.21... [FBSDG5L] Extracting gettext-tools-0.21: .......... done /bin/sh: indexinfo: not found pkg-static: POST-INSTALL script failed =3D=3D=3D> libXpm-3.5.13 depends on executable: msgfmt - found =3D=3D=3D> Returning to build of libXpm-3.5.13 . . . =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phas= e: lib-depends >=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> libXpm-3.5.13 depends on shared library: libintl.so - not = found =3D=3D=3D> Installing existing package = /packages/All/gettext-runtime-0.21.txz [FBSDG5L] Installing gettext-runtime-0.21... [FBSDG5L] `-- Installing indexinfo-0.3.1... [FBSDG5L] `-- Extracting indexinfo-0.3.1: .... done [FBSDG5L] Extracting gettext-runtime-0.21: .......... done =3D=3D=3D> libXpm-3.5.13 depends on shared library: libintl.so - found = (/usr/local/lib/libintl.so) =3D=3D=3D> Returning to build of libXpm-3.5.13 Looks like devel/gettext-tools/Makefile needs something like: BUILD_DEPENDS+=3D indexinfo:print/indexinfo Although this might be viewed as a /usr/ports/Mk/bsd.port.mk issue that needs such instead. As things are there is: .if defined(INFO) RUN_DEPENDS+=3D indexinfo:print/indexinfo . . . but there is no BUILD_DEPENDS addition there. The poudriere run will likely be going for a couple of days. There could be more examples in the 476 ports it is trying to build, possibly things other than involving gettext-tools. (I'm trying to update an old PowerMac powerpc64 context to FreeBSD:14 based ABI builds for ports.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E411BDF6-D7D2-4729-A4C7-50E1C7F30379>