"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 01:30:31 UTC 2021



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

> Mark Millard wrote on 2021/02/05 09:39:
>> 
>> 
>> On 2021-Feb-4, at 15:54, Tatsuki Makino <tatsuki_makino at hotmail.com> wrote:
>> 
>>> Is there indexinfo in deps in +MANIFEST extracted from your /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/indexinfo-0.3.1.txz ?
>> 
> 
> Sorry. I'm so sorry. This is my copy and paste mistake.

No problem.

> /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/"gettext-tools-0.21.txz" instead of indexinfo-0.3.1.txz
> If it is normal, there will be indexinfo after deps. Like below.
> 
> ... "deps":{"gettext-runtime":{"origin":"devel/gettext-runtime","version":"0.21"},"indexinfo":{"origin":"print/indexinfo","version":"0.3.1"}, ...

# tar -xpf /usr/local/poudriere/data/packages/FBSDpowerpc64-default/.building/All/gettext-tools-0.21.txz
# grep deps +MANIFEST
#

So no "deps" at all. That indicates that I've been looking in
the wrong place.

Looking in: gettext-tools-0.21.log I find:

=======================<phase: package        >============================
===>  Building package for gettext-tools-0.21
Child process pid=44950 terminated abnormally: Segmentation fault
Child process pid=44956 terminated abnormally: Segmentation fault
actual-package-depends: dependency on /usr/local/lib/libtextstyle.so not registered (normal if it belongs to base)
Child process pid=44958 terminated abnormally: Segmentation fault
Child process pid=44962 terminated abnormally: Segmentation fault
Child process pid=44971 terminated abnormally: Segmentation fault
actual-package-depends: dependency on /usr/local/lib/libintl.so not registered (normal if it belongs to base)
Child process pid=44973 terminated abnormally: Segmentation fault
Child process pid=44977 terminated abnormally: Segmentation fault
Child process pid=44980 terminated abnormally: Segmentation fault
actual-package-depends: dependency on /usr/local/bin/indexinfo not registered (normal if it belongs to base)
Child process pid=44982 terminated abnormally: Segmentation fault

(Prior to that looks normal so far.)

Interestingly those are the only "Segmentation fault" notices
so far in the logs for the (currently 201+) builds:

# grep Segmentation /usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/*.log | more
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44950 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44956 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44958 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44962 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44971 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44973 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44977 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44980 terminated abnormally: Segmentation fault
/usr/local/poudriere/data/logs/bulk/FBSDpowerpc64-default/2021-02-04_02h19m21s/logs/gettext-tools-0.21.log:Child process pid=44982 terminated abnormally: Segmentation fault

So only gettext-tools seems to have had the problem.

It is too bad that the port build process does not handle
such as an error and record the .txz of the build attempt's
status. I would have had something to look at then.

Thanks much for getting me pointed in the right direction.
Now I'll need to figure out how to investigate the package
phase of building gettext-tools (at last once the overall
build completes).

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



More information about the freebsd-ports mailing list