"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
Fri Feb 5 00:40:04 UTC 2021



On 2021-Feb-4, at 15:54, Tatsuki Makino <tatsuki_makino at hotmail.com> wrote:

> make -C /usr/ports/devel/gettext-tools -V _STAGE_SEQ
> 
> is usually
> 
> ... 150:run-depends ... 750:post-install-script ...
> 
> So, RUN_DEPENDS is sufficient for that.

Okay. Good to know, thanks.

> I suspect that RUN_DEPENDS is not recorded in gettext-tools-0.21.txz either.
> There might be something somewhere that erases the definition of INFO.
> 
> Is there indexinfo in deps in +MANIFEST extracted from your /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/indexinfo-0.3.1.txz ?

# tar -xpf /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/indexinfo-0.3.1.txz
tar: Removing leading '/' from member names
# cat +MANIFEST 
{"name":"indexinfo","origin":"print/indexinfo","version":"0.3.1","comment":"Utility to regenerate the GNU info page index","maintainer":"bapt at FreeBSD.org","www":"https://github.com/bapt/indexinfo","abi":"FreeBSD:14:powerpc64","arch":"freebsd:14:powerpc:64:eb","prefix":"/usr/local","flatsize":37247,"licenselogic":"single","licenses":["BSD2CLAUSE"],"desc":"Small utility designed to regenerate the GNU info page indexes\n\nWWW: https://github.com/bapt/indexinfo","categories":["ports-mgmt","print"],"annotations":{"FreeBSD_version":"1400003"},"files":{"/usr/local/bin/indexinfo":"1$0231cd46617eb332e640aec15dee7f273a675e8f9669154d821613232de51c20","/usr/local/share/licenses/indexinfo-0.3.1/catalog.mk":"1$2db081dfa45ee21ff5fcdab1dd9611a513adbce0ed2e5de9916af182388dbb21","/usr/local/share/licenses/indexinfo-0.3.1/LICENSE":"1$5a0d3730c307e5043500dfa15cbf67dbd44c48215a7cacc445347d55b8c6bf77","/usr/local/share/licenses/indexinfo-0.3.1/BSD2CLAUSE":"1$1f5bf6112c6c74e5aa1dfbee2c4d6a15a52a8643a5e252316e4e573768e2d2c5"}}

> Mark Millard wrote on 2021/02/05 08:33:
>> 
>> 
>> 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
>> 
>> 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 ):
> 
> 

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



More information about the freebsd-ports mailing list