Bug 16279 - AB-INT: groff error: couldn't exec preconv: No such file or directory
Summary: AB-INT: groff error: couldn't exec preconv: No such file or directory
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.0.9
Assignee: Jaipaul Cheernam
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-05-11 08:41 UTC by Mathieu Dubois-Briand
Modified: 2026-11-13 16:07 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2026-05-11 08:41:06 UTC
Yet another groff build error:

ERROR: groff-native-1.24.1-r0 do_compile: oe_runmake failed
...
| /srv/pokybuild/yocto-worker/qemuriscv64-tc/build/build-st-846305/tmp/work/x86_64-linux/groff-native/1.24.1/sources/groff-1.24.1/groff: error: couldn't exec preconv: No such file or directory
| pdfmom: fatal error: /srv/pokybuild/yocto-worker/qemuriscv64-tc/build/build-st-846305/tmp/work/x86_64-linux/groff-native/1.24.1/sources/groff-1.24.1/test-groff exited with status 16

Previously, we had:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=16249
https://bugzilla.yoctoproject.org/show_bug.cgi?id=16249
Comment 1 Mathieu Dubois-Briand 2026-05-11 08:54:18 UTC
qemuriscv64-tc opensuse160-vk-2 mathieu/master-next completed at 2026-05-08 09:21:49+00:00
https://valkyrie.yocto.io/pub/non-release/20260508-51/testresults/qemuriscv64-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/58/builds/1526/steps/13/logs/stdio
Comment 2 Richard Purdie 2026-05-14 14:27:21 UTC
I think preconv is used wherever something is built using -K to groff, so we need to go through doc/doc.am and add preconv as a dependency where there are commands using -K
Comment 3 Ross Burton 2026-05-15 12:26:24 UTC
When groff-native was building automake.pdf:
| /work/ross/build/tmp/work/aarch64-linux/groff-native/1.24.1/sources/groff-1.24.1/groff: error: couldn't exec pic: No such file or directory


I'm thinking we just nuke the doc build from groff-native at least.
Comment 4 Yoann Congal 2026-05-19 21:52:45 UTC
qemux86-64-ptest debian12-vk-4 wrynose completed at 2026-05-19 16:39:31+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3688
Comment 5 Richard Purdie 2026-07-28 11:30:48 UTC
I suspect https://git.openembedded.org/openembedded-core/commit/?id=9deeb7474b2586eb031e4f00a644aed9ccf8cb19 made this "go away" by building the docs less...
Comment 6 Richard Purdie 2026-07-28 13:33:09 UTC
Reported several of the issues upstream: https://lists.gnu.org/archive/html/groff/2026-07/msg00076.html
Comment 8 Randy MacLeod 2026-07-30 15:05:41 UTC
We are going to wait for the upstream to release a new version.
Yoann will backport the commit it comment 5.
Comment 9 Ross Burton 2026-10-21 15:25:54 UTC
Still waiting a groff 1.25.0 release, -rc3 was made last week so hopefully soon.
Comment 10 Yoann Congal 2026-11-06 20:57:09 UTC
meta-arm rocky9-vk-2 wrynose completed at 2026-11-06 07:08:39+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/75/builds/4811

(In reply to Randy MacLeod from comment #8)
> We are going to wait for the upstream to release a new version.
> Yoann will backport the commit it comment 5.

Doing that now.
Comment 11 Randy MacLeod 2026-11-12 16:02:46 UTC
An upgrade should fix this according to RP.
Randy or someone to upgrade on master.
Comment 12 Randy MacLeod 2026-11-12 17:48:53 UTC
Jaipaul has sent an upgrade:
 https://lists.openembedded.org/g/openembedded-core/message/249821

IIRC, people say that once merged, it will resolve this bug.
It's not clear to me if that upgrade is suitable for 6.0.x.
Comment 13 Jaipaul Cheernam 2026-11-12 18:07:42 UTC
Here is latest patch for groff upgrade
https://lists.openembedded.org/g/openembedded-core/message/250083
Comment 14 Yoann Congal 2026-11-13 16:07:45 UTC
(In reply to Randy MacLeod from comment #12)
> Jaipaul has sent an upgrade:
>  https://lists.openembedded.org/g/openembedded-core/message/249821
> 
> IIRC, people say that once merged, it will resolve this bug.
> It's not clear to me if that upgrade is suitable for 6.0.x.

The upgrade is not suitable for stables.

For wrynose, the workaround will have to do:
groff: build less in groff-native - openembedded-core - OpenEmbedded Core layer
https://git.openembedded.org/openembedded-core/commit/?h=wrynose&id=aae9fb271ef20e24b21c9651906c078fb25d1cf4

I think this bug can be considered fixed for stables.
What is left is Jaipaul's upgrade on master to close this bug.