ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Dubrovskiy Viacheslav <slava@tangramltd.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [I] new libav in town
Date: Tue, 16 Aug 2011 08:22:21 -0400
Message-ID: <4E4A60FD.5000500@tangramltd.com> (raw)
In-Reply-To: <m3y5zcp4wa.fsf@hammer.lioka.obninsk.ru>

[-- Attachment #1: Type: text/plain, Size: 10140 bytes --]

02.08.2011 04:57, Sergey Bolshakov пишет:
> Привет.
> Сегодня в сизиф, тихо и незаметно, попал libav, наследник ffmpeg.
> Поскольку API у libav несколько отличается, прогнозируется
> некоторый слом со сборкой зависимых пакетов, прошу обращаться
> за содействием в починке, если таковое понадобится.
Что-то не могу побороть dvdstyler.

g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\"
-DPACKAGE_VERSION=\"1.8.4.2\" -DPACKAGE_STRING=\"DVDStyler\ 1.8.4.2\"
-DPACKAGE_BUGREPORT=\"www.dvdstyler.org\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"dvdstyler\" -DVERSION=\"1.8.4.2\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.  
-I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ 
-D__STDC_CONSTANT_MACROS  -fno-strict-aliasing 
-I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread  -DGNOME2
-I/usr/include/ffmpeg     -DHAVE_LIBUDEV
-DDATADIR=\"/usr/share/dvdstyler\" -I.. -D__STDC_CONSTANT_MACROS 
-fno-strict-aliasing  -I/usr/lib/wx/include/gtk2-unicode-2.9
-I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
-pthread  -DGNOME2 -I/usr/include/ffmpeg     -DHAVE_LIBUDEV
-DDATADIR=\"/usr/share/dvdstyler\" -c -o mediatrc_ffmpeg.o
mediatrc_ffmpeg.cpp
In file included from mediatrc_ffmpeg.cpp:11:0:
mediatrc_ffmpeg.h:18:0: warning: "INT64_C" redefined
/usr/include/stdint.h:296:0: note: this is the location of the previous
definition
mediatrc_ffmpeg.h:19:0: warning: "UINT64_C" redefined
/usr/include/stdint.h:306:0: note: this is the location of the previous
definition
mediatrc_ffmpeg.h:21:0: warning: "__STDC_CONSTANT_MACROS" redefined
<command-line>:0:0: note: this is the location of the previous definition
In file included from mediatrc_ffmpeg.cpp:11:0:
mediatrc_ffmpeg.h:177:17: warning: 'AVMetadata' is deprecated (declared
at /usr/include/libavformat/avformat.h:134)
mediatrc_ffmpeg.cpp: In member function 'virtual bool
wxFfmpegMediaTranscoder::AddInputFile(const wxString&, bool, bool, bool)':
mediatrc_ffmpeg.cpp:549:8: warning: 'int
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int,
AVFormatParameters*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1053)
mediatrc_ffmpeg.cpp:549:78: warning: 'int
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int,
AVFormatParameters*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1053)
mediatrc_ffmpeg.cpp: In member function 'virtual bool
wxFfmpegMediaTranscoder::SetOutputFile(const wxString&, VideoFormat,
wxArrayInt, wxArrayInt, int, bool, int)':
mediatrc_ffmpeg.cpp:745:2: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:745:45: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:746:2: warning: 'void
av_metadata_free(AVDictionary**)' is deprecated (declared at
/usr/include/libavformat/avformat.h:181)
mediatrc_ffmpeg.cpp:746:28: warning: 'void
av_metadata_free(AVDictionary**)' is deprecated (declared at
/usr/include/libavformat/avformat.h:181)
mediatrc_ffmpeg.cpp:753:25: error: 'AVERROR_NUMEXPECTED' was not
declared in this scope
mediatrc_ffmpeg.cpp:759:6: warning: 'int url_exist(const char*)' is
deprecated (declared at /usr/include/libavformat/avio.h:346)
mediatrc_ffmpeg.cpp:759:47: warning: 'int url_exist(const char*)' is
deprecated (declared at /usr/include/libavformat/avio.h:346)
mediatrc_ffmpeg.cpp:772:6: warning: 'int
av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated
(declared at /usr/include/libavformat/avformat.h:1339)
mediatrc_ffmpeg.cpp:772:30: warning: 'int
av_set_parameters(AVFormatContext*, AVFormatParameters*)' is deprecated
(declared at /usr/include/libavformat/avformat.h:1339)
mediatrc_ffmpeg.cpp: In member function 'void
wxFfmpegMediaTranscoder::PrintError(const wxString&, int)':
mediatrc_ffmpeg.cpp:787:7: error: 'AVERROR_NUMEXPECTED' was not declared
in this scope
mediatrc_ffmpeg.cpp:796:7: error: 'AVERROR_NOFMT' was not declared in
this scope
mediatrc_ffmpeg.cpp: In function 'void choose_pixel_fmt(AVStream*,
AVCodec*)':
mediatrc_ffmpeg.cpp:824:44: error: 'FF_COMPLIANCE_INOFFICIAL' was not
declared in this scope
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::AddVideoStream(AVFormatContext*, int,
VideoFormat, int, bool)':
mediatrc_ffmpeg.cpp:1062:3: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp:1062:64: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::AddAudioStream(AVFormatContext*, int,
AudioFormat, int)':
mediatrc_ffmpeg.cpp:1137:3: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp:1137:64: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::AddSubtitleStream(AVFormatContext*, int,
SubtitleFormat)':
mediatrc_ffmpeg.cpp:1184:3: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp:1184:67: warning: 'int
av_metadata_set2(AVDictionary**, const char*, const char*, int)' is
deprecated (declared at /usr/include/libavformat/avformat.h:160)
mediatrc_ffmpeg.cpp: In member function 'int
wxFfmpegMediaTranscoder::CopyChapters(int, int)':
mediatrc_ffmpeg.cpp:1262:13: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:1262:67: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp: In member function 'virtual bool
wxFfmpegMediaTranscoder::Run(bool&)':
mediatrc_ffmpeg.cpp:1492:4: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:1492:86: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:1719:4: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:1719:101: warning: 'void
av_metadata_copy(AVDictionary**, AVDictionary*, int)' is deprecated
(declared at /usr/include/libavformat/avformat.h:176)
mediatrc_ffmpeg.cpp:1757:7: warning: 'int
av_write_header(AVFormatContext*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1397)
mediatrc_ffmpeg.cpp:1757:25: warning: 'int
av_write_header(AVFormatContext*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1397)
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::OutputPacket(AVInputStream*, int,
AVOutputStream**, int, const AVPacket*, int, uint8_t*)':
mediatrc_ffmpeg.cpp:2040:12: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2040:65: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2351:21: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2351:63: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::DoAudioOut(AVFormatContext*, AVOutputStream*,
AVInputStream*, unsigned char*, int)':
mediatrc_ffmpeg.cpp:2453:13: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2453:55: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2454:13: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp:2454:55: warning: 'int
av_get_bits_per_sample_fmt(AVSampleFormat)' is deprecated (declared at
/usr/include/libavutil/samplefmt.h:68)
mediatrc_ffmpeg.cpp: In member function 'bool
wxFfmpegMediaTranscoder::DoVideoOut(AVFormatContext*, AVOutputStream*,
AVInputStream*, AVFrame*, int*, int, uint8_t*)':
mediatrc_ffmpeg.cpp:2790:29: error: invalid conversion from 'int' to
'AVPictureType'
make[2]: *** [mediatrc_ffmpeg.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/DVDStyler-1.8.4.2'
error: Bad exit status from /usr/src/tmp/rpm-tmp.30439 (%build)

Помогите плиз.
Собираю из ssh://git.alt/people/dubrsl/packages/dvdstyler.git

-- 
WBR,
Dubrovskiy Viacheslav



[-- Attachment #2: Криптографическая подпись S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4903 bytes --]

  parent reply	other threads:[~2011-08-16 12:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  8:57 Sergey Bolshakov
2011-08-03  8:19 ` Slava Semushin
2011-08-03  8:22   ` REAL
2011-08-03  9:26     ` Sergey Bolshakov
2011-08-03  9:35       ` Slava Semushin
2011-08-03 12:50         ` Konstantin Pavlov
2011-08-03  9:34     ` Sergey Kurakin
2011-08-04 11:09       ` Sergey Kurakin
2011-08-09  2:16 ` Dubrovskiy Viacheslav
2011-08-09  6:37   ` Sergey Bolshakov
2011-08-16 12:22 ` Dubrovskiy Viacheslav [this message]
2011-08-16 13:10   ` Sergey Bolshakov
2011-08-16 13:15     ` Dubrovskiy Viacheslav
2011-08-16 13:50       ` Sergey Bolshakov
2011-08-16 14:31         ` Dubrovskiy Viacheslav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4A60FD.5000500@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git