With a clean build tree, building ffmpeg from scratch will not have any
manpages generated. However if you then force ffmpeg to rebuild, the
resulting packages will have manpages.

This is because the ffmpeg manpage generation uses pod2man, which is
provided by perl-native. This is not a build-dependency on ffmpeg but it
does enter the sysroot in do_package via further dependencies on that
task.

As this is non-deterministic and easy to solve, simply add perl-native
to the DEPENDS.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb
index 5ae985efb5..7d1f32f044 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.1.bb
@@ -38,6 +38,7 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
 # Should be API compatible with libav (which was a fork of ffmpeg)
 PROVIDES = "libav"
 
+DEPENDS = "perl-native"
 DEPENDS:append:x86 = " nasm-native"
 DEPENDS:append:x86-64 = " nasm-native"
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229552): 
https://lists.openembedded.org/g/openembedded-core/message/229552
Mute This Topic: https://lists.openembedded.org/mt/117301587/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to