Source: libextractor
Version: 1:1.11-5
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

libextractor FTBFS with ffmpeg 5.0 (available in experimental)
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -pthread 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
-I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c thumbnailgtk_extractor.c  -fPIC -DPIC -o 
.libs/libextractor_thumbnailgtk_la-thumbnailgtk_extractor.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c gif_extractor.c -o gif_extractor.o >/dev/null 2>&1
| thumbnailffmpeg_extractor.c: In function ‘create_thumbnail’:
| thumbnailffmpeg_extractor.c:193:3: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
|   193 |   av_init_packet (&pkt);
|       |   ^~~~~~~~~~~~~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:316,
|                  from thumbnailffmpeg_extractor.c:43:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| thumbnailffmpeg_extractor.c:198:30: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   198 |   if (NULL == (encoder_codec = avcodec_find_encoder 
(AV_CODEC_ID_MJPEG)))
|       |                              ^
| thumbnailffmpeg_extractor.c:335:9: warning: implicit declaration of function 
‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? 
[-Wimplicit-function-declaration]
|   335 |   err = avcodec_encode_video2 (encoder_codec_ctx,
|       |         ^~~~~~~~~~~~~~~~~~~~~
|       |         avcodec_encode_subtitle
| thumbnailffmpeg_extractor.c: In function ‘extract_image’:
| thumbnailffmpeg_extractor.c:432:22: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   432 |   if (NULL == (codec = avcodec_find_decoder (image_codec_id)))
|       |                      ^
| thumbnailffmpeg_extractor.c:480:5: warning: ‘av_init_packet’ is deprecated 
[-Wdeprecated-declarations]
|   480 |     av_init_packet (&avpkt);
|       |     ^~~~~~~~~~~~~~
| In file included from 
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:316,
|                  from thumbnailffmpeg_extractor.c:43:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| thumbnailffmpeg_extractor.c:483:5: warning: implicit declaration of function 
‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? 
[-Wimplicit-function-declaration]
|   483 |     avcodec_decode_video2 (codec_ctx, frame, &frame_finished, &avpkt);
|       |     ^~~~~~~~~~~~~~~~~~~~~
|       |     avcodec_decode_subtitle2
| thumbnailffmpeg_extractor.c: In function ‘extract_video’:
| thumbnailffmpeg_extractor.c:610:39: error: ‘AVStream’ has no member named 
‘codec’
|   610 |     codec_ctx = format_ctx->streams[i]->codec;
|       |                                       ^~
| thumbnailffmpeg_extractor.c:613:24: warning: assignment discards ‘const’ 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   613 |     if (NULL == (codec = avcodec_find_decoder (codecpar->codec_id)))
|       |                        ^
| make[5]: *** [Makefile:2273: thumbnailffmpeg_extractor.lo] Error 1
| make[5]: *** Waiting for unfinished jobs....
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c flac_extractor.c -o flac_extractor.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -pthread 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
-I/usr/include/x86_64-linux-gnu -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c thumbnailgtk_extractor.c -o 
libextractor_thumbnailgtk_la-thumbnailgtk_extractor.o >/dev/null 2>&1
| ole2_extractor.c: In function ‘le_input_class_init’:
| ole2_extractor.c:856:3: warning: ‘g_type_class_add_private’ is deprecated 
[-Wdeprecated-declarations]
|   856 |   g_type_class_add_private (class, sizeof (LeInputPrivate));
|       |   ^~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
|                  from /usr/include/glib-2.0/gobject/gbinding.h:29,
|                  from /usr/include/glib-2.0/glib-object.h:22,
|                  from ole2_extractor.c:34:
| /usr/include/glib-2.0/gobject/gtype.h:1346:10: note: declared here
|  1346 | void     g_type_class_add_private       (gpointer                    
g_class,
|       |          ^~~~~~~~~~~~~~~~~~~~~~~~
| ole2_extractor.c: In function ‘le_input_init’:
| ole2_extractor.c:872:13: warning: Deprecated pre-processor symbol: replace 
with "G_ADD_PRIVATE"
|   872 |                                  LeInputPrivate);
|       |             ^                    ~~~~~~~~~~~~~~~~                     
       
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgsf-1 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/libxml2 -DHAVE_GSF -I../../src/include -I../../src/common 
-Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -DHAVE_GSF 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c ole2_extractor.c -o 
libextractor_ole2_la-ole2_extractor.o >/dev/null 2>&1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 
-I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/x86_64-linux-gnu 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c gstreamer_extractor.c -o 
libextractor_gstreamer_la-gstreamer_extractor.o >/dev/null 2>&1
| exiv2_extractor.cc: In function ‘void 
EXTRACTOR_exiv2_extract_method(EXTRACTOR_ExtractContext*)’:
| exiv2_extractor.cc:740:10: warning: ‘template<class> class std::auto_ptr’ is 
deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
|   740 |     std::auto_ptr<Exiv2::BasicIo> eio (new ExtractorIO (ec));
|       |          ^~~~~~~~
| In file included from /usr/include/c++/11/bits/locale_conv.h:41,
|                  from /usr/include/c++/11/locale:43,
|                  from /usr/include/c++/11/iomanip:43,
|                  from exiv2_extractor.cc:26:
| /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
|    57 |   template<typename> class auto_ptr;
|       |                            ^~~~~~~~
| libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include 
-I../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c exiv2_extractor.cc -o exiv2_extractor.o >/dev/null 
2>&1
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/plugins'

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to