On 2021-Feb-4, at 14:44, Tatsuki Makino <tatsuki_mak...@hotmail.com> wrote: > Hello. > > It's the one that happens when environment variable PATH does not contain > ${LOCALBASE}/bin. Unforutunately, it is not that simple. The log files show that /usr/local/bin is listed in each PATH for each failing context: rhash-1.4.0.log . . . PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local . . . --CONFIGURE_ENV-- . . . PATH=/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . --MAKE_ENV-- . . . PATH=/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . glib-2.66.3,1.log . . . PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local . . . --MAKE_ENV-- . . . PATH=/wrkdirs/usr/ports/devel/glib20/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . libXpm-3.5.13.log . . . PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local . . . --CONFIGURE_ENV-- . . . PATH=/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . --MAKE_ENV-- . . . PATH=/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . > Mark Millard via freebsd-ports wrote on 2021/02/05 07:14: >> >> 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) _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: "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 via freebsd-ports Thu, 04 Feb 2021 14:59:26 -0800
- "pkg-static: POST-INSTALL script faile... Mark Millard via freebsd-ports
- Re: "pkg-static: POST-INSTALL scr... Tatsuki Makino
- Re: "pkg-static: POST-INSTALL... Mark Millard via freebsd-ports
- Re: "pkg-static: POST-INS... Tatsuki Makino
- Re: "pkg-static: POST... Mark Millard via freebsd-ports
- Re: "pkg-static:... Mark Millard via freebsd-ports
- Re: "pkg-static:... Tatsuki Makino
- Re: "pkg-sta... Mark Millard via freebsd-ports
- Re: "pkg... Tatsuki Makino
- Re: "pkg... Mark Millard via freebsd-ports