"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
Mark Millard
marklmi at yahoo.com
Thu Feb 4 22:14:24 UTC 2021
Looks like print/indexinfo is not being installed before
installing gettext-tools tries to use indexinfo in various
contexts.
=======================<phase: build-depends >============================
===> rhash-1.4.0 depends on executable: msgfmt - not found
===> 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
===> rhash-1.4.0 depends on executable: msgfmt - found
===> Returning to build of rhash-1.4.0
===========================================================================
=======================<phase: lib-depends >============================
===> rhash-1.4.0 depends on shared library: libintl.so - not found
===> 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
===> rhash-1.4.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Returning to build of rhash-1.4.0
and:
===> glib-2.66.3,1 depends on executable: msgfmt - not found
===> 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
===> glib-2.66.3,1 depends on executable: msgfmt - found
===> Returning to build of glib-2.66.3,1
===> glib-2.66.3,1 depends on executable: xsltproc - not found
===> 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
. . .
===> glib-2.66.3,1 depends on executable: xsltproc - found
===> Returning to build of glib-2.66.3,1
and:
===> libXpm-3.5.13 depends on executable: msgfmt - not found
===> 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
===> libXpm-3.5.13 depends on executable: msgfmt - found
===> Returning to build of libXpm-3.5.13
. . .
=======================<phase: lib-depends >============================
===> libXpm-3.5.13 depends on shared library: libintl.so - not found
===> 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
===> libXpm-3.5.13 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===> Returning to build of libXpm-3.5.13
Looks like devel/gettext-tools/Makefile needs something
like:
BUILD_DEPENDS+= 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+= 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.)
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ports
mailing list