pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56502: ffmpegthumbnailer fails to build due to missing glib symbols

>Number:         56502
>Category:       pkg
>Synopsis:       ffmpegthumbnailer fails to build due to missing glib symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 16 07:20:00 +0000 2021
>Originator:     Claes Nästén
>Release:        trunk 2021-11-02
SunOS 5.10 i86pc i386 i86pc

ffmpegthumbnailer fails to build on Solaris 10 due to missing symbols referenced by harfbuzz:

[ 77%] Linking C executable ffmpegthumbnailerctest
Undefined                       first referenced
 symbol                             in file
g_unicode_script_to_iso15924        /usr/pkg/lib/
g_bytes_unref                       /usr/pkg/lib/
g_unichar_compose                   /usr/pkg/lib/
g_unichar_get_script                /usr/pkg/lib/
g_bytes_ref                         /usr/pkg/lib/
g_unichar_decompose                 /usr/pkg/lib/
g_bytes_get_data                    /usr/pkg/lib/
g_unichar_combining_class           /usr/pkg/lib/
g_unicode_script_from_iso15924      /usr/pkg/lib/
ld: fatal: symbol referencing errors. No output written to ffmpegthumbnailerctest
collect2: error: ld returned 1 exit status
--- test/ffmpegthumbnailerctest ---
*** [test/ffmpegthumbnailerctest] Error code 1

From my investigations it is caused by ffmpeg4 not including libass if the option is enabled.
Build ffmpegthumbnailer on Solaris 10 with ffmpeg4 options:

ass av1 fontconfig freetype gnutls lame libvpx
libwebp opus speex theora vorbis x11 x264

--- multimedia/ffmpeg4/       Mon Nov 15 14:24:04 2021
+++ multimedia/ffmpeg4/    Mon Nov 15 14:23:39 2021
@@ -14,6 +14,10 @@
 .include "../../mk/"
+.if ${PKG_BUILD_OPTIONS.ffmpeg4:Mass}
+.  include "../../multimedia/libass/"
 .if ${PKG_BUILD_OPTIONS.ffmpeg4:Mav1}
 .  include "../../multimedia/libaom/"

Home | Main Index | Thread Index | Old Index