Package Details: synfig 1.2.2-1

Git Clone URL: https://aur.archlinux.org/synfig.git (read-only)
Package Base: synfig
Description: Professional vector animation program (CLI renderer only)
Upstream URL: https://synfig.org
Keywords: animation cli graphics
Licenses: GPL2
Submitter: Barthalion
Maintainer: matteodelabre
Last Packager: matteodelabre
Votes: 6
Popularity: 0.467749
First Submitted: 2018-01-07 17:38
Last Updated: 2018-09-16 11:35

Pinned Comments

matteodelabre commented on 2018-07-26 20:35

Synfig currently uses a non-standard versioning scheme: stable releases are tagged 1.2.* and development releases are tagged 1.3.*. Therefore, this package is not out-of-date, as it provides the latest stable release.
Please see the synfig-git package for the latest development release.

Latest Comments

keepitsimpleengr commented on 2018-07-27 20:12

Confirmed, fixed, good job matteodelabre... .. !

matteodelabre commented on 2018-07-27 16:02

Hello, thanks for reporting!

This looks like a bug in Synfig’s ETL: the faulty method returns a non-const reference to a member of the class while declaring itself as a const method. As far as I know, this is not valid C++ and GCC correctly catches that; however, this seems to compile without errors using Clang (which is my default compiler, and the reason why I didn’t get this error before).

As a temporary workaround, you can try building the package using Clang (run sudo pacman -S clang; export CXX=/usr/bin/clang++ before compilation). I am reporting the problem to Synfig upstream. It also looks like a Clang bug that needs to be further investigated and reported.

Please let me know if you encounter any further problem.

Update 1: IMHO this is not a Clang bug, the error does not appear because the faulty method is inside a template that is never actually instantiated, and I guess Clang is not forced to check those.

Update 2: looks like the error was fixed by an upstream commit in May 2018 which is included in the development releases starting from 1.3.9.

Update 3: fixed by the latest package version (1.2.1-5). In the new version, ETL is manually patched with the upstream fix and used locally for Synfig’s build. As a result, we no longer depend on community’s etl package.

keepitsimpleengr commented on 2018-07-27 14:43

Error in build. https://pastebin.com/NFmuHjX4

matteodelabre commented on 2018-07-26 20:35

Synfig currently uses a non-standard versioning scheme: stable releases are tagged 1.2.* and development releases are tagged 1.3.*. Therefore, this package is not out-of-date, as it provides the latest stable release.
Please see the synfig-git package for the latest development release.

SanskritFritz commented on 2018-07-10 07:56

Sorry I was unable to build a new package for this, so I'm orphaning the package.

dfjigdfijgojio commented on 2018-05-31 11:27

Error in Build.

.........
.........
trgt_av.cpp: In function ‘int encode_frame(AVCodecContext*, AVFrame*)’:
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::pts’ [-Wmissing-field-initializers]
     AVPacket pkt = { 0 };
                        ^
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::dts’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::data’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::size’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::stream_index’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::flags’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::side_data’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::side_data_elems’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::duration’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::pos’ [-Wmissing-field-initializers]
trgt_av.cpp:78:24: warning: missing initializer for member ‘AVPacket::convergence_duration’ [-Wmissing-field-initializers]
trgt_av.cpp:83:60: warning: ‘int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations]
     ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
                                                            ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5386:5: note: declared here
 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
     ^~~~~~~~~~~~~~~~~~~~~
trgt_av.cpp:83:60: warning: ‘int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations]
     ret = avcodec_encode_video2(c, &pkt, frame, &got_output);
                                                            ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5386:5: note: declared here
 int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
     ^~~~~~~~~~~~~~~~~~~~~
trgt_av.cpp:88:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
     av_free_packet(&pkt);
                        ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:4400:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
trgt_av.cpp:88:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
     av_free_packet(&pkt);
                        ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:4400:6: note: declared here
 void av_free_packet(AVPacket *pkt);
      ^~~~~~~~~~~~~~
trgt_av.cpp: In function ‘AVFrame* alloc_picture(int, int, int)’:
trgt_av.cpp:140:68: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
     size = avpicture_get_size((AVPixelFormat)pix_fmt, width, height);
                                                                    ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5434:5: note: declared here
 int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
     ^~~~~~~~~~~~~~~~~~
trgt_av.cpp:140:68: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
     size = avpicture_get_size((AVPixelFormat)pix_fmt, width, height);
                                                                    ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5434:5: note: declared here
 int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
     ^~~~~~~~~~~~~~~~~~
trgt_av.cpp:147:57: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
                    (AVPixelFormat)pix_fmt, width, height);
                                                         ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5419:5: note: declared here
 int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
     ^~~~~~~~~~~~~~
trgt_av.cpp:147:57: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
                    (AVPixelFormat)pix_fmt, width, height);
                                                         ^
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:5419:5: note: declared here
 int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
     ^~~~~~~~~~~~~~
trgt_av.cpp: In member function ‘bool VideoEncoder::open(AVFormatContext*, AVStream*)’:
trgt_av.cpp:354:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:354:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:354:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:372:34: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
   if(!(formatc->oformat->flags & AVFMT_RAWPICTURE))
                                  ^~~~~~~~~~~~~~~~
trgt_av.cpp:372:34: note: suggested alternative: ‘AVFMT_NOFILE’
   if(!(formatc->oformat->flags & AVFMT_RAWPICTURE))
                                  ^~~~~~~~~~~~~~~~
                                  AVFMT_NOFILE
trgt_av.cpp: In member function ‘bool VideoEncoder::write_frame(AVFormatContext*, AVStream*, AVFrame*)’:
trgt_av.cpp:421:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   AVCodecContext  *context = stream->codec;
                                      ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:421:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   AVCodecContext  *context = stream->codec;
                                      ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:421:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   AVCodecContext  *context = stream->codec;
                                      ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:462:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame )
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:462:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame )
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:462:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame )
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:463:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
    pkt.pts = context->coded_frame->pts;
                       ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:463:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
    pkt.pts = context->coded_frame->pts;
                       ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:463:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
    pkt.pts = context->coded_frame->pts;
                       ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:16: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:40: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                                        ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:40: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                                        ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:464:40: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
   if( context->coded_frame && context->coded_frame->key_frame)
                                        ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:468:33: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope
   if (formatc->oformat->flags & AVFMT_RAWPICTURE)
                                 ^~~~~~~~~~~~~~~~
trgt_av.cpp:468:33: note: suggested alternative: ‘AVFMT_NOFILE’
   if (formatc->oformat->flags & AVFMT_RAWPICTURE)
                                 ^~~~~~~~~~~~~~~~
                                 AVFMT_NOFILE
trgt_av.cpp:484:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame )
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:484:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame )
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:484:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame )
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:485:25: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
      pkt.pts = context->coded_frame->pts;
                         ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:485:25: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
      pkt.pts = context->coded_frame->pts;
                         ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:485:25: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
      pkt.pts = context->coded_frame->pts;
                         ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:18: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                  ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:42: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                                          ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:42: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                                          ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp:486:42: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if( context->coded_frame && context->coded_frame->key_frame)
                                          ^~~~~~~~~~~
In file included from /usr/include/libavformat/avformat.h:319,
                 from trgt_av.cpp:43:
/usr/include/libavcodec/avcodec.h:2760:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^~~~~~~~~~~
trgt_av.cpp: In member function ‘void VideoEncoder::close(AVFormatContext*, AVStream*)’:
trgt_av.cpp:518:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
    avcodec_close(stream->codec);
                          ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:518:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
    avcodec_close(stream->codec);
                          ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:518:26: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
    avcodec_close(stream->codec);
                          ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp: In member function ‘bool Target_LibAVCodec::LibAVEncoder::Initialize(const char*, const char*)’:
trgt_av.cpp:621:21: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                     ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:621:21: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                     ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:621:21: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                     ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:621:47: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                                               ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:621:47: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                                               ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:621:47: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations]
   snprintf(formatc->filename, sizeof(formatc->filename), "%s", filename);
                                               ^~~~~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:1408:23: note: declared here
     char filename[1024];
                       ^
trgt_av.cpp:645:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->time_base= (AVRational){1,vInfo.fps};
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:645:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->time_base= (AVRational){1,vInfo.fps};
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:645:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->time_base= (AVRational){1,vInfo.fps};
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:646:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->width = vInfo.w;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:646:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->width = vInfo.w;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:646:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->width = vInfo.w;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:647:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->height = vInfo.h;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:647:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->height = vInfo.h;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:647:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->height = vInfo.h;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:648:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->pix_fmt = AV_PIX_FMT_YUV420P;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:648:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->pix_fmt = AV_PIX_FMT_YUV420P;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:648:13: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   video_st->codec->pix_fmt = AV_PIX_FMT_YUV420P;
             ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp: In member function ‘AVStream* Target_LibAVCodec::LibAVEncoder::add_video_stream(int, const VideoInfo&)’:
trgt_av.cpp:776:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = st->codec;
                 ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:776:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = st->codec;
                 ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:776:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = st->codec;
                 ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp: In member function ‘AVStream* Target_LibAVCodec::LibAVEncoder::add_audio_stream(int, const AudioInfo&)’:
trgt_av.cpp:824:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:824:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp:824:21: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
   context = stream->codec;
                     ^~~~~
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:877:21: note: declared here
     AVCodecContext *codec;
                     ^~~~~
trgt_av.cpp: In constructor ‘Target_LibAVCodec::Target_LibAVCodec(const char*, const synfig::TargetParam&)’:
trgt_av.cpp:846:19: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]
   av_register_all();
                   ^
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:2025:6: note: declared here
 void av_register_all(void);
      ^~~~~~~~~~~~~~~
trgt_av.cpp:846:19: warning: ‘void av_register_all()’ is deprecated [-Wdeprecated-declarations]
   av_register_all();
                   ^
In file included from trgt_av.cpp:43:
/usr/include/libavformat/avformat.h:2025:6: note: declared here
 void av_register_all(void);
      ^~~~~~~~~~~~~~~
trgt_av.cpp: In member function ‘virtual bool Target_LibAVCodec::init(synfig::ProgressCallback*)’:
trgt_av.cpp:995:56: warning: unused parameter ‘cb’ [-Wunused-parameter]
 bool Target_LibAVCodec::init(synfig::ProgressCallback *cb)
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
trgt_av.cpp: In member function ‘bool Target_LibAVCodec::LibAVEncoder::Initialize(const char*, const char*)’:
trgt_av.cpp:696:24: warning: ignoring return value of ‘int avformat_write_header(AVFormatContext*, AVDictionary**)’, declared with attribute warn_unused_result [-Wunused-result]
   avformat_write_header(formatc, NULL);
   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
make[4]: *** [Makefile:621: libmod_libavcodec_la-trgt_av.lo] Error 1
make[4]: Leaving directory '/tmp/yaourt-tmp-max/aur-synfig-git/src/synfig/synfig-core/src/modules/mod_libavcodec'
make[3]: *** [Makefile:582: all-recursive] Error 1
make[3]: Leaving directory '/tmp/yaourt-tmp-max/aur-synfig-git/src/synfig/synfig-core/src/modules'
make[2]: *** [Makefile:483: all-recursive] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-max/aur-synfig-git/src/synfig/synfig-core/src'
make[1]: *** [Makefile:708: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-max/aur-synfig-git/src/synfig/synfig-core'
make: *** [Makefile:576: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build .
==> Restart building synfig-git ? [y/N]
==> -----------------------------------

kikislater commented on 2018-03-09 12:09

mv -f color/.deps/libsynfig_la-cairocolor.Tpo color/.deps/libsynfig_la-cairocolor.Plo mv -f debug/.deps/libsynfig_la-debugsurface.Tpo debug/.deps/libsynfig_la-debugsurface.Plo mv -f color/.deps/libsynfig_la-color.Tpo color/.deps/libsynfig_la-color.Plo mv -f .deps/libsynfig_la-cairolistimporter.Tpo .deps/libsynfig_la-cairolistimporter.Plo mv -f .deps/libsynfig_la-listimporter.Tpo .deps/libsynfig_la-listimporter.Plo mv -f color/.deps/libsynfig_la-colormatrix.Tpo color/.deps/libsynfig_la-colormatrix.Plo make[3]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-synfig/src/synfig-1.2.1/src/synfig' make[2]: [Makefile:484: all-recursive] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-synfig/src/synfig-1.2.1/src' make[1]: [Makefile:709: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-kiki/aur-synfig/src/synfig-1.2.1' make: *** [Makefile:577: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...