Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2021 15:39:16 -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:  <CE45486D-767D-4B39-8DF2-5CC4B6FB48E2@yahoo.com>
In-Reply-To: <2B9A307B-1910-4C73-86AB-CA84F1E34518@yahoo.com>
References:  <E411BDF6-D7D2-4729-A4C7-50E1C7F30379.ref@yahoo.com> <E411BDF6-D7D2-4729-A4C7-50E1C7F30379@yahoo.com> <TY2PR02MB40136DFC23E3D04F4A6ECFFFFAB39@TY2PR02MB4013.apcprd02.prod.outlook.com> <9BE07F62-B2C4-479E-89D6-E46F0C38D1DE@yahoo.com> <TY2PR02MB4013EE9FA4A05EE49C8E2FDBFAB39@TY2PR02MB4013.apcprd02.prod.outlook.com> <2B9A307B-1910-4C73-86AB-CA84F1E34518@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>=20
>> In rare cases, a package with missing contents may be created.
>> If there is a problem after checking with
>>=20
>> tar -t -f =
/usr/local/poudriere/data/packages/jail-portstree/All/indexinfo-0.3.1.txz
>>=20
>> , etc., you can force it to be rebuilt by doing the following:
>>=20
>> 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/ind=
exinfo-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 ):
>=20
> # 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
> . . .
>=20
> For reference for the on going build:
>=20
> 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=20
> [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_02h19=
m21s
>=20
>=20
> 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.
>=20
> The dependency is missing as far as I can tell. If so, it
> needs to be added.
>=20
>> Mark Millard wrote on 2021/02/05 07:58:
>>>=20
>>>=20
>>> On 2021-Feb-4, at 14:44, Tatsuki Makino <tatsuki_makino at =
hotmail.com> wrote:
>>>=20
>>>> Hello.
>>>>=20
>>>> It's the one that happens when environment variable PATH does not =
contain ${LOCALBASE}/bin.
>>>=20
>>> Unforutunately, it is not that simple. The log files show that
>>> /usr/local/bin is listed in each PATH for each failing context:
>=20



=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?CE45486D-767D-4B39-8DF2-5CC4B6FB48E2>