<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">That was me.  I was using sbotools, not knowing that it defaulted to using the repository for current.  If you are also using sbotools, see David O'Shaughnessy’s email on June 24th:<div><br></div><div><a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/2023-June/028337.html">https://lists.slackbuilds.org/pipermail/slackbuilds-users/2023-June/028337.html</a><br><br>David’s solution got me going again. </div><div><br></div><div>If you’re not using sbotools, then ignore this.</div><div><br></div><div>Ed<br><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">-- <br>Ed Fletcher<br><br>"Where it is a duty to worship the sun it is pretty<br>sure to be a crime to examine the laws of heat."<br>- Christopher Morley</span></div><div dir="ltr"><br><blockquote type="cite">On Jul 7, 2023, at 21:57, Matteo Bernardini <matteo.bernardini@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:x-small">someone reported a similar error and it was because he was on Slackware 15.0 but he, for some reason, was using a repository of SlackBuild scripts for Slackware current.</div><div class="gmail_default" style="font-size:x-small">make sure you are using a repository of scripts for your version of Slackware (that includes checking the settings of any third party automated build tool you are using).</div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default" style="font-size:x-small">Matteo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno sab 8 lug 2023 alle ore 04:52 yabobay <<a href="mailto:yabobayyabobay@gmail.com">yabobayyabobay@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On slackware64 15, it fails for me. I don't know if i should include <br>
output, but here it is:<br>
<br>
/tmp/SBo/chromaprint-1.5.1/src/utils/base64.cpp: In function ‘void <br>
chromaprint::Base64Encode(const string&, std::string&)’:<br>
/tmp/SBo/chromaprint-1.5.1/src/utils/base64.cpp:12:20: warning: variable <br>
‘end’ set but not used [-Wunused-but-set-variable]<br>
    12 |         const auto end = Base64Encode(src.cbegin(), src.cend(), <br>
dest.begin());<br>
       |                    ^~~<br>
/tmp/SBo/chromaprint-1.5.1/src/utils/base64.cpp: In function ‘void <br>
chromaprint::Base64Decode(const string&, std::string&)’:<br>
/tmp/SBo/chromaprint-1.5.1/src/utils/base64.cpp:26:20: warning: variable <br>
‘end’ set but not used [-Wunused-but-set-variable]<br>
    26 |         const auto end = Base64Decode(src.cbegin(), src.cend(), <br>
dest.begin());<br>
       |                    ^~~<br>
[ 36%] Building C object <br>
src/CMakeFiles/chromaprint_objs.dir/avresample/resample2.c.o<br>
[ 36%] Built target chromaprint_objs<br>
[ 38%] Building CXX object src/CMakeFiles/chromaprint.dir/chromaprint.cpp.o<br>
[ 40%] Linking CXX shared library libchromaprint.so<br>
[ 40%] Built target chromaprint<br>
[ 42%] Building CXX object src/cmd/CMakeFiles/fpcalc.dir/fpcalc.cpp.o<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h: In <br>
constructor ‘chromaprint::FFmpegAudioReader::FFmpegAudioReader()’:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:102:23: <br>
warning: ‘void av_init_packet(AVPacket*)’ is deprecated <br>
[-Wdeprecated-declarations]<br>
   102 |         av_init_packet(&m_packet);<br>
       |         ~~~~~~~~~~~~~~^~~~~~~~~~~<br>
In file included from /usr/include/libavcodec/bsf.h:30,<br>
                  from /usr/include/libavcodec/avcodec.h:44,<br>
                  from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:18,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavcodec/packet.h:488:6: note: declared here<br>
   488 | void av_init_packet(AVPacket *pkt);<br>
       |      ^~~~~~~~~~~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h: In member <br>
function ‘bool chromaprint::FFmpegAudioReader::Open(const string&)’:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:138:19: <br>
warning: ‘void av_init_packet(AVPacket*)’ is deprecated <br>
[-Wdeprecated-declarations]<br>
   138 |     av_init_packet(&m_packet);<br>
       |     ~~~~~~~~~~~~~~^~~~~~~~~~~<br>
In file included from /usr/include/libavcodec/bsf.h:30,<br>
                  from /usr/include/libavcodec/avcodec.h:44,<br>
                  from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:18,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavcodec/packet.h:488:6: note: declared here<br>
   488 | void av_init_packet(AVPacket *pkt);<br>
       |      ^~~~~~~~~~~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:144:69: <br>
error: invalid conversion from ‘const AVInputFormat*’ to <br>
‘AVInputFormat*’ [-fpermissive]<br>
   144 |         ret = avformat_open_input(&m_format_ctx, <br>
file_name.c_str(), m_input_fmt, &m_input_opts);<br>
| ^~~~~~~~~~~<br>
| |<br>
| const AVInputFormat*<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:19,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavformat/avformat.h:2226:90: note:   initializing <br>
argument 3 of ‘int avformat_open_input(AVFormatContext**, const char*, <br>
AVInputFormat*, AVDictionary**)’<br>
  2226 | int avformat_open_input(AVFormatContext **ps, const char *url, <br>
ff_const59 AVInputFormat *fmt, AVDictionary **options);<br>
| ~~~~~~~~~~~~~~~^~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:157:77: <br>
error: invalid conversion from ‘const AVCodec**’ to ‘AVCodec**’ <br>
[-fpermissive]<br>
   157 |         ret = av_find_best_stream(m_format_ctx, <br>
AVMEDIA_TYPE_AUDIO, -1, -1, &codec, 0);<br>
| ^~~~~~<br>
| |<br>
| const AVCodec**<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:19,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavformat/avformat.h:2301:35: note:   initializing <br>
argument 5 of ‘int av_find_best_stream(AVFormatContext*, AVMediaType, <br>
int, int, AVCodec**, int)’<br>
  2301 |                         AVCodec **decoder_ret,<br>
       |                         ~~~~~~~~~~^~~~~~~~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:169:62: <br>
warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]<br>
   169 |         m_codec_ctx = m_format_ctx->streams[m_stream_index]->codec;<br>
| ^~~~~<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:19,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavformat/avformat.h:888:21: note: declared here<br>
   888 |     AVCodecContext *codec;<br>
       |                     ^~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:169:62: <br>
warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]<br>
   169 |         m_codec_ctx = m_format_ctx->streams[m_stream_index]->codec;<br>
| ^~~~~<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:19,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavformat/avformat.h:888:21: note: declared here<br>
   888 |     AVCodecContext *codec;<br>
       |                     ^~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:169:62: <br>
warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]<br>
   169 |         m_codec_ctx = m_format_ctx->streams[m_stream_index]->codec;<br>
| ^~~~~<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:19,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavformat/avformat.h:888:21: note: declared here<br>
   888 |     AVCodecContext *codec;<br>
       |                     ^~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h: In member <br>
function ‘bool chromaprint::FFmpegAudioReader::Read(const int16_t**, <br>
size_t*)’:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:265:39: <br>
warning: ‘void av_init_packet(AVPacket*)’ is deprecated <br>
[-Wdeprecated-declarations]<br>
   265 |                         av_init_packet(&m_packet);<br>
       |                         ~~~~~~~~~~~~~~^~~~~~~~~~~<br>
In file included from /usr/include/libavcodec/bsf.h:30,<br>
                  from /usr/include/libavcodec/avcodec.h:44,<br>
                  from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:18,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavcodec/packet.h:488:6: note: declared here<br>
   488 | void av_init_packet(AVPacket *pkt);<br>
       |      ^~~~~~~~~~~~~~<br>
In file included from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:288:44: <br>
warning: ‘int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, <br>
const AVPacket*)’ is deprecated [-Wdeprecated-declarations]<br>
   288 |                 ret = avcodec_decode_audio4(m_codec_ctx, <br>
m_frame, &m_got_frame, &m_packet);<br>
       | <br>
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
In file included from <br>
/tmp/SBo/chromaprint-1.5.1/src/audio/ffmpeg_audio_reader.h:18,<br>
                  from /tmp/SBo/chromaprint-1.5.1/src/cmd/fpcalc.cpp:7:<br>
/usr/include/libavcodec/avcodec.h:3047:5: note: declared here<br>
  3047 | int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,<br>
       |     ^~~~~~~~~~~~~~~~~~~~~<br>
make[2]: *** [src/cmd/CMakeFiles/fpcalc.dir/build.make:76: <br>
src/cmd/CMakeFiles/fpcalc.dir/fpcalc.cpp.o] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:244: <br>
src/cmd/CMakeFiles/fpcalc.dir/all] Error 2<br>
make: *** [Makefile:136: all] Error 2<br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>
<span>_______________________________________________</span><br><span>SlackBuilds-users mailing list</span><br><span>SlackBuilds-users@slackbuilds.org</span><br><span>https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</span><br><span>Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/</span><br><span>FAQ - https://slackbuilds.org/faq/</span><br><span></span><br></div></blockquote></div></body></html>