Date: Thu, 4 Feb 2021 14:58:51 -0800 From: Mark Millard <marklmi@yahoo.com> To: Tatsuki Makino <tatsuki_makino@hotmail.com> Cc: FreeBSD ports <freebsd-ports@freebsd.org> Subject: 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 Message-ID: <9BE07F62-B2C4-479E-89D6-E46F0C38D1DE@yahoo.com> In-Reply-To: <TY2PR02MB40136DFC23E3D04F4A6ECFFFFAB39@TY2PR02MB4013.apcprd02.prod.outlook.com> References: <E411BDF6-D7D2-4729-A4C7-50E1C7F30379.ref@yahoo.com> <E411BDF6-D7D2-4729-A4C7-50E1C7F30379@yahoo.com> <TY2PR02MB40136DFC23E3D04F4A6ECFFFFAB39@TY2PR02MB4013.apcprd02.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Feb-4, at 14:44, Tatsuki Makino <tatsuki_makino@hotmail.com> = wrote: > Hello. >=20 > 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=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/= bin LOCALBASE=3D/usr/local . . . --CONFIGURE_ENV-- . . . = PATH=3D/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/u= sr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . --MAKE_ENV-- . . . = PATH=3D/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/u= sr/bin:/usr/local/sbin:/usr/local/bin:/root/bin . . . glib-2.66.3,1.log . . . = PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/= bin LOCALBASE=3D/usr/local . . . --MAKE_ENV-- . . . = PATH=3D/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=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/= bin LOCALBASE=3D/usr/local . . . --CONFIGURE_ENV-- . . . = PATH=3D/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/b= in:/usr/local/sbin:/usr/local/bin:/root/bin . . . --MAKE_ENV-- . . . = PATH=3D/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/b= in:/usr/local/sbin:/usr/local/bin:/root/bin . . . > Mark Millard via freebsd-ports wrote on 2021/02/05 07:14: >>=20 >> Looks like print/indexinfo is not being installed before >> installing gettext-tools tries to use indexinfo in various >> contexts. >>=20 >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p= hase: 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<p= hase: 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 >>=20 >>=20 >> and: >>=20 >> =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 >>=20 >>=20 >> and: >>=20 >> =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<p= hase: 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 >>=20 >>=20 >> Looks like devel/gettext-tools/Makefile needs something >> like: >>=20 >> BUILD_DEPENDS+=3D indexinfo:print/indexinfo >>=20 >> Although this might be viewed as a /usr/ports/Mk/bsd.port.mk >> issue that needs such instead. As things are there is: >>=20 >> .if defined(INFO) >> RUN_DEPENDS+=3D indexinfo:print/indexinfo >> . . . >>=20 >> but there is no BUILD_DEPENDS addition there. >>=20 >>=20 >> 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?9BE07F62-B2C4-479E-89D6-E46F0C38D1DE>