"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 23:39:25 UTC 2021


On 2021-Feb-4, at 15:33, Mark Millard <marklmi at yahoo.com> wrote:

> On 2021-Feb-4, at 15:11, Tatsuki Makino <tatsuki_makino at hotmail.com> wrote:
> 
>> In rare cases, a package with missing contents may be created.
>> If there is a problem after checking with
>> 
>> tar -t -f /usr/local/poudriere/data/packages/jail-portstree/All/indexinfo-0.3.1.txz
>> 
>> , etc., you can force it to be rebuilt by doing the following:
>> 
>> poudriere bulk -j jail -p portstree -C print/indexinfo

Better evidence that the content is not missing:

# tar -tf /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/indexinfo-0.3.1.txz | grep indexinfo
/usr/local/bin/indexinfo
/usr/local/share/licenses/indexinfo-0.3.1/catalog.mk
/usr/local/share/licenses/indexinfo-0.3.1/LICENSE
/usr/local/share/licenses/indexinfo-0.3.1/BSD2CLAUSE

> That is not, of itself, going to change anything. This whole
> build (that is still going) was based on -c (and I show
> from print/indexinfo starting through gettext-tools finishing ):
> 
> # poudriere bulk -jFBSDpowerpc64 -c -w -f ~/origins/powerpc64-origins.txt
> . . .
> [00:03:36] (-c) Cleaning all packages... done
> . . .
> [00:15:03] [01] [00:00:00] Building print/indexinfo | indexinfo-0.3.1
> [00:15:03] [02] [00:00:00] Building devel/pkgconf | pkgconf-1.7.3,1
> [00:15:18] [01] [00:00:15] Finished print/indexinfo | indexinfo-0.3.1: Success
> [00:15:19] [01] [00:00:00] Building devel/gettext-runtime | gettext-runtime-0.21
> [00:16:07] [02] [00:01:04] Finished devel/pkgconf | pkgconf-1.7.3,1: Success
> [00:16:10] [02] [00:00:00] Building devel/libtextstyle | libtextstyle-0.21
> [00:20:35] [01] [00:05:16] Finished devel/gettext-runtime | gettext-runtime-0.21: Success
> [00:21:19] [01] [00:00:00] Building devel/libffi | libffi-3.3_1
> [00:23:31] [02] [00:07:21] Finished devel/libtextstyle | libtextstyle-0.21: Success
> [00:23:54] [01] [00:02:35] Finished devel/libffi | libffi-3.3_1: Success
> [00:24:02] [01] [00:00:00] Building devel/readline | readline-8.0.4
> [00:24:17] [02] [00:00:00] Building devel/gettext-tools | gettext-tools-0.21
> [00:25:54] [01] [00:01:52] Finished devel/readline | readline-8.0.4: Success
> [00:25:56] [01] [00:00:00] Building lang/perl5.32 | perl5-5.32.0_1
> [00:55:34] [02] [00:31:17] Finished devel/gettext-tools | gettext-tools-0.21: Success
> . . .
> 
> For reference for the on going build:
> 
> load: 3.67  cmd: paste 72178 [runnable] 0.03r 0.00u 0.00s 0% 196k
> mi_switch+0x144 kern_yield+0x98 maybe_yield+0x4c uiomove_fromphys+0x1c0 vn_io_fault_pgmove+0x64 vn_read_from_obj+0x154 ufs_read_pgcache+0x60 VOP_READ_PGCACHE_APV+0x54 vn_read+0xbc vn_io_fault_doio+0x78 vn_io_fault1+0x1a4 vn_io_fault+0x254 dofileread+0xb0 sys_read+0xf0 trap+0x6fc powerpc_interrupt+0x1b4 
> [FBSDpowerpc64-default] [2021-02-04_02h19m21s] [parallel_build:] Queued: 476 Built: 185 Failed: 3   Skipped: 150 Ignored: 0   Tobuild: 138  Time: 12:46:31
>        [01]: devel/boost-libs          | boost-libs-1.72.0_3       stage           (05:15:27 / 07:05:58)
>        [02]: lang/gcc10                | gcc10-10.2.0              build           (02:04:18 / 02:11:34)
> [12:47:16] Logs: /usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s
> 
> 
> If you look at the devel/gettext-tools/Makefile you will
> find a lack of any specificiation that indexinfo is used
> at build time (BUILD_DEPENDS). The likes of /usr/ports/Mk/bsd.port.mk
> only lists indexinfo in RUN_DEPENDS.
> 
> The dependency is missing as far as I can tell. If so, it
> needs to be added.
> 
>> Mark Millard wrote on 2021/02/05 07:58:
>>> 
>>> 
>>> On 2021-Feb-4, at 14:44, Tatsuki Makino <tatsuki_makino at 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:
> 



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-ports mailing list