Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2021 07:44:52 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Mark Millard <marklmi@yahoo.com>, 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:  <TY2PR02MB40136DFC23E3D04F4A6ECFFFFAB39@TY2PR02MB4013.apcprd02.prod.outlook.com>
In-Reply-To: <E411BDF6-D7D2-4729-A4C7-50E1C7F30379@yahoo.com>
References:  <E411BDF6-D7D2-4729-A4C7-50E1C7F30379.ref@yahoo.com> <E411BDF6-D7D2-4729-A4C7-50E1C7F30379@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

It's the one that happens when environment variable PATH does not contain ${LOCALBASE}/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-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?TY2PR02MB40136DFC23E3D04F4A6ECFFFFAB39>