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

2021-02-04 Thread Mark Millard via freebsd-ports



On 2021-Feb-4, at 16:47, Tatsuki Makino  wrote:

> Mark Millard wrote on 2021/02/05 09:39:
>> 
>> 
>> On 2021-Feb-4, at 15:54, Tatsuki Makino  
>> 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:

===
===>  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)

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Tatsuki Makino
Mark Millard wrote on 2021/02/05 09:39:
> 
> 
> On 2021-Feb-4, at 15:54, Tatsuki Makino  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.
/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"},
 ...

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Mark Millard via freebsd-ports



On 2021-Feb-4, at 15:54, Tatsuki Makino  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":"b...@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":"143"},"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$1f5bf6112c6c74e5aa1dfbee2c4d6a15a52a8643a5e2523
 16e4e573768e2d2c5"}}

> Mark Millard wrote on 2021/02/05 08:33:
>> 
>> 
>> On 2021-Feb-4, at 15:11, Tatsuki Makino  
>> 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)

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Tatsuki Makino
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.

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
 ?

Mark Millard wrote on 2021/02/05 08:33:
> 
> 
> On 2021-Feb-4, at 15:11, Tatsuki Makino  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)
> 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Mark Millard via freebsd-ports
On 2021-Feb-4, at 15:33, Mark Millard  wrote:

> On 2021-Feb-4, at 15:11, Tatsuki Makino  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  
>>> 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)

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Mark Millard via freebsd-ports



On 2021-Feb-4, at 15:11, Tatsuki Makino  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 ):

# 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  
>> 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)

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Tatsuki Makino
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

Mark Millard wrote on 2021/02/05 07:58:
> 
> 
> On 2021-Feb-4, at 14:44, Tatsuki Makino  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)
> 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


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

2021-02-04 Thread Mark Millard via freebsd-ports



On 2021-Feb-4, at 14:44, Tatsuki Makino  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:

rhash-1.4.0.log . . .

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
. . .
--CONFIGURE_ENV--
. . . 
PATH=/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
. . .
--MAKE_ENV--
. . . 
PATH=/wrkdirs/usr/ports/security/rhash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
. . .



glib-2.66.3,1.log . . .

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
. . .
--MAKE_ENV--
. . . 
PATH=/wrkdirs/usr/ports/devel/glib20/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
. . .



libXpm-3.5.13.log . . .

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
. . .
--CONFIGURE_ENV--
. . . 
PATH=/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
. . .
--MAKE_ENV--
. . . 
PATH=/wrkdirs/usr/ports/x11/libXpm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/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.
>> 
>> 
>> ===
>> ===>   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
>> ===
>> ===
>> ===>   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
>> . . .
>> ===
>> ===>   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
>> . 

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

2021-02-04 Thread Tatsuki Makino
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.
> 
> 
> ===
> ===>   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
> ===
> ===
> ===>   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
> . . .
> ===
> ===>   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-unsubscr...@freebsd.org"
> 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


"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

2021-02-04 Thread Mark Millard via freebsd-ports


Looks like print/indexinfo is not being installed before
installing gettext-tools tries to use indexinfo in various
contexts.


===
===>   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
===
===
===>   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
. . .
===
===>   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-unsubscr...@freebsd.org"