Re: editors/abiword build fails in poudriere (amd64, stable/14; main)

From: Moin Rahman <bofh_at_freebsd.org>
Date: Sat, 17 Feb 2024 18:14:11 UTC

> On Feb 17, 2024, at 4:53 PM, David Wolfskill <david@catwhisker.org> wrote:
> 
> My build machine was running:
> 
> freebeast(14.0-S)[4] uname -aUK
> FreeBSD freebeast.catwhisker.org 14.0-STABLE FreeBSD 14.0-STABLE #59 stable/14-n266695-52d7bd8c4268: Fri Feb 16 11:34:23 UTC 2024     root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1400507 1400507
> 
> with a ports tree at main-n650382-f38cf0533073.
> 
> The (nominally) weekly poudriere build (which normally "just works")
> built everything else OK (including www/chromium), but editors/abiword
> failed the build for abiword-3.0.5_8; an attempted retry failed similarly.
> 
> I have placed copies of the poudriere build logs in
> https://www.catwhisker.org/~david/FreeBSD/ports/abiword/:
> 
> [PARENTDIR] Parent Directory                             -
> [TXT] abiword-3.0.5_8-0.log   2024-02-17 12:48  3.2M
> [   ] abiword-3.0.5_8-0.lo..> 2024-02-17 12:48  121K
> [TXT] abiword-3.0.5_8-1.log   2024-02-17 15:22  3.2M
> [   ] abiword-3.0.5_8-1.lo..> 2024-02-17 15:22  120K
> 
> or:
> 
> albert(14.0-S)[11] ls -lTh
> total 1129
> -rw-r--r--  1 david staff  3.2M Feb 17 04:48:52 2024 abiword-3.0.5_8-0.log
> -rw-r--r--  1 david staff  121K Feb 17 04:48:52 2024 abiword-3.0.5_8-0.log.gz
> -rw-r--r--  1 david staff  3.2M Feb 17 07:22:38 2024 abiword-3.0.5_8-1.log
> -rw-r--r--  1 david staff  120K Feb 17 07:22:38 2024 abiword-3.0.5_8-1.log.gz
> 
> 
> (The "-0" files are from the first attempt; the "-1" files are from
> the second.)
> 
> The earliest log entry that I identify as an "error" is:
> 
> ...
> RealmConnection.cpp5 warnings generated.
> :329:41: error: implicit instantiation of undefined template 'boost::array<asio::mutable_buffer, 3>'
>  329 |                 boost::array<asio::mutable_buffer, 3> buf = {{
>      |                                                       ^
> /usr/local/include/asio/detail/array_fwd.hpp:23:7: note: template is declared here
>   23 | class array;
>      |       ^
> mv -f .deps/RealmProtocol.Tpo .deps/RealmProtocol.Plo
> ....
> 
> Mind, I'm not at all familiar with the code, and I have never (to
> my knowledge) had occasion to look at an abiword build log, so I
> could well be quite wrong about much of this.
> 
> I note, as well, that the one machine I have that uses the abiword-*
> packages the build machine creates already has abiword-3.0.5_8
> installed, so it is not at all clear to me that the package would
> have been used even if the build were to have succeeded.
> 
> Peace,
> david
> --
> David H. Wolfskill                              david@catwhisker.org
> Alexey Navalny was a courageous man; Putin has made him a martyr.
> 
> See https://www.catwhisker.org/~david/publickey.gpg for my public key.


From what it looks like is this is some inconsistency with asio and boost.

Can you try building without the OPTION COLSERVICE and COLTCP? This will
not install net/asio and should build it with the asio from internal boost.

Kind regards,
Moin