Your message dated Sun, 23 Oct 2005 09:25:07 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#300179: fixed in avifile 1:0.7.44.20051021-1 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 18 Mar 2005 08:54:38 +0000 >From [EMAIL PROTECTED] Fri Mar 18 00:54:38 2005 Return-path: <[EMAIL PROTECTED]> Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DCDFd-0002ha-00; Fri, 18 Mar 2005 00:54:37 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1DCDFc-0003Ua-Bm; Fri, 18 Mar 2005 09:54:36 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: avifile: FTBFS (amd64/gcc-4.0): array type has incomplete element type Message-Id: <[EMAIL PROTECTED]> Date: Fri, 18 Mar 2005 09:54:36 +0100 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.8 required=4.0 tests=BAYES_00,DOMAIN_BODY, HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: avifile Severity: normal Tags: patch When building 'avifile' on amd64 with gcc-4.0, I get the following error: x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DHAVE_AV_CONFIG_H -I./../libavcodec -I./.. -Wall -Wno-unused -I../../include -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c 4xm.c -fPIC -DPIC -o .libs/4xm.o In file included from ./../libavcodec/avcodec.h:14, from avformat.h:16, from 4xm.c:28: ./../libavcodec/common.h:61: error: array type has incomplete element type ./../libavcodec/common.h:63: error: array type has incomplete element type make[3]: *** [4xm.lo] Error 1 make[3]: Leaving directory `/avifile-0.7.43.20050224/ffmpeg/libavformat' With the attached patch 'avifile' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/avcodec.h ./ffmpeg/libavcodec/avcodec.h --- ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/avcodec.h 2005-02-24 12:31:10.000000000 +0100 +++ ./ffmpeg/libavcodec/avcodec.h 2005-03-18 09:29:44.849987503 +0100 @@ -1813,6 +1813,14 @@ #define FF_OPT_MAX_DEPTH 10 } AVOption; +#ifdef HAVE_MMX +extern const struct AVOption avoptions_common[3 + 5]; +#else +extern const struct AVOption avoptions_common[3]; +#endif +extern const struct AVOption avoptions_workaround_bug[11]; + + /** * Parse option(s) and sets fields in passed structure * @param strct structure where the parsed results will be written diff -urN ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/common.h ./ffmpeg/libavcodec/common.h --- ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/common.h 2005-02-15 13:33:33.000000000 +0100 +++ ./ffmpeg/libavcodec/common.h 2005-03-18 09:34:02.595215479 +0100 @@ -53,15 +53,6 @@ { name, help, offsetof(AVCodecContext, field), FF_OPT_TYPE_RCOVERRIDE, .defval = 0, .defstr = NULL } #define AVOPTION_SUB(ptr) { .name = NULL, .help = (const char*)ptr } #define AVOPTION_END() AVOPTION_SUB(NULL) - -struct AVOption; -#ifdef HAVE_MMX -extern const struct AVOption avoptions_common[3 + 5]; -#else -extern const struct AVOption avoptions_common[3]; -#endif -extern const struct AVOption avoptions_workaround_bug[11]; - #endif /* HAVE_AV_CONFIG_H */ /* Suppress restrict if it was not defined in config.h. */ diff -urN ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/dsputil.h ./ffmpeg/libavcodec/dsputil.h --- ../tmp-orig/avifile-0.7.43.20050224/ffmpeg/libavcodec/dsputil.h 2005-02-15 13:33:34.000000000 +0100 +++ ./ffmpeg/libavcodec/dsputil.h 2005-03-18 09:24:45.732740888 +0100 @@ -604,33 +604,6 @@ return score;\ } -#ifndef HAVE_LRINTF -/* XXX: add ISOC specific test to avoid specific BSD testing. */ -/* better than nothing implementation. */ -/* btw, rintf() is existing on fbsd too -- alex */ -static always_inline long int lrintf(float x) -{ -#ifdef CONFIG_WIN32 -# ifdef ARCH_X86 - int32_t i; - asm volatile( - "fistpl %0\n\t" - : "=m" (i) : "t" (x) : "st" - ); - return i; -# else - /* XXX: incorrect, but make it compile */ - return (int)(x + (x < 0 ? -0.5 : 0.5)); -# endif -#else - return (int)(rint(x)); -#endif -} -#else -#ifndef _ISOC9X_SOURCE -#define _ISOC9X_SOURCE -#endif #include <math.h> -#endif #endif diff -urN ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/AudioQueue.h ./lib/aviplay/AudioQueue.h --- ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/AudioQueue.h 2004-08-25 18:29:06.000000000 +0200 +++ ./lib/aviplay/AudioQueue.h 2005-03-18 09:32:07.258488382 +0100 @@ -16,10 +16,11 @@ virtual int Mix(void* data, const void* src, uint_t n) const = 0; }; +#define MAX_BUFFER_TIME 1.0; + class AudioQueue { public: - static const double MAX_BUFFER_TIME = 1.0; AudioQueue(WAVEFORMATEX& Iwf, WAVEFORMATEX& Owf); ~AudioQueue(); diff -urN ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/aviplay_impl.h ./lib/aviplay/aviplay_impl.h --- ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/aviplay_impl.h 2003-12-17 21:37:54.000000000 +0100 +++ ./lib/aviplay/aviplay_impl.h 2005-03-18 09:32:07.260487996 +0100 @@ -136,8 +136,6 @@ void createAudioRenderer(); int restartVideoStreaming(const char* codec = 0); - static const float m_fDropLimit = -0.015; - mutable int AviPlayer::propertyRead[LAST_PROPERTY]; // have we read at least once from Registry:: avm::vector<IVideoRenderer*> m_VideoRenderers; // we could draw image to more places diff -urN ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/aviplayth.cpp ./lib/aviplay/aviplayth.cpp --- ../tmp-orig/avifile-0.7.43.20050224/lib/aviplay/aviplayth.cpp 2004-10-25 12:27:42.000000000 +0200 +++ ./lib/aviplay/aviplayth.cpp 2005-03-18 09:32:07.261487803 +0100 @@ -31,6 +31,7 @@ // preffer video playing thread static const int PRIORITY_ADD_VIDEO = 0; static const int PRIORITY_ADD_AUDIO = 0; +static const float m_fDropLimit = -0.015; float AviPlayer::getVideoAsync() { diff -urN ../tmp-orig/avifile-0.7.43.20050224/lib/aviread/ReadFile.cpp ./lib/aviread/ReadFile.cpp --- ../tmp-orig/avifile-0.7.43.20050224/lib/aviread/ReadFile.cpp 2004-03-10 18:00:09.000000000 +0100 +++ ./lib/aviread/ReadFile.cpp 2005-03-18 09:32:07.273485486 +0100 @@ -125,7 +125,7 @@ }; -avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags) +IReadFile* CreateReadFile(const char* name, unsigned int flags) { ReadFile* r = new ReadFile(name, flags); return r; diff -urN ../tmp-orig/avifile-0.7.43.20050224/samples/qtvidcap/kv4lsetup.cpp ./samples/qtvidcap/kv4lsetup.cpp --- ../tmp-orig/avifile-0.7.43.20050224/samples/qtvidcap/kv4lsetup.cpp 2004-11-04 14:43:49.000000000 +0100 +++ ./samples/qtvidcap/kv4lsetup.cpp 2005-03-18 09:32:07.283483556 +0100 @@ -311,7 +311,7 @@ fbuf.depth = set_bpp; fbuf.bytesperline = set_bpl; if (set_base != NULL) - fbuf.base = (void*)((unsigned int)set_base+(unsigned int)shift); + fbuf.base = (void*)((unsigned long)set_base+(unsigned long)shift); /* XXX bttv confuses color depth and bits/pixel */ #ifndef X_DISPLAY_MISSING diff -urN ../tmp-orig/avifile-0.7.43.20050224/samples/qtvidcap/v4lxif.cpp ./samples/qtvidcap/v4lxif.cpp --- ../tmp-orig/avifile-0.7.43.20050224/samples/qtvidcap/v4lxif.cpp 2004-11-04 14:43:50.000000000 +0100 +++ ./samples/qtvidcap/v4lxif.cpp 2005-03-18 09:32:07.291482011 +0100 @@ -1118,7 +1118,7 @@ XF86DGAGetVideoLL(disp, DefaultScreen(disp), (int *)&base, &width, &bank, &ram ); if (!base) avml(AVML_WARN, - "v4l1: can not allocate frame buffer base: 0x%x\n",(int)base); + "v4l1: can not allocate frame buffer base: 0x%lx\n",(long)base); } } } --------------------------------------- Received: (at 300179-close) by bugs.debian.org; 23 Oct 2005 16:38:45 +0000 >From [EMAIL PROTECTED] Sun Oct 23 09:38:45 2005 Return-path: <[EMAIL PROTECTED]> Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1ETieh-0000Sx-00; Sun, 23 Oct 2005 09:25:07 -0700 From: Zdenek Kabelac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: lisa $Revision: 1.30 $ Subject: Bug#300179: fixed in avifile 1:0.7.44.20051021-1 Message-Id: <[EMAIL PROTECTED]> Sender: Joerg Jaspert <[EMAIL PROTECTED]> Date: Sun, 23 Oct 2005 09:25:07 -0700 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 Source: avifile Source-Version: 1:0.7.44.20051021-1 We believe that the bug you reported is fixed in the latest version of avifile, which is due to be installed in the Debian FTP archive: avifile-divx-plugin_0.7.44.20051021-1_i386.deb to pool/contrib/a/avifile/avifile-divx-plugin_0.7.44.20051021-1_i386.deb avifile-mad-plugin_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/avifile-mad-plugin_0.7.44.20051021-1_i386.deb avifile-mjpeg-plugin_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/avifile-mjpeg-plugin_0.7.44.20051021-1_i386.deb avifile-player_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/avifile-player_0.7.44.20051021-1_i386.deb avifile-utils_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/avifile-utils_0.7.44.20051021-1_i386.deb avifile-vorbis-plugin_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/avifile-vorbis-plugin_0.7.44.20051021-1_i386.deb avifile-win32-plugin_0.7.44.20051021-1_i386.deb to pool/contrib/a/avifile/avifile-win32-plugin_0.7.44.20051021-1_i386.deb avifile-xvid-plugin_0.7.44.20051021-1_i386.deb to pool/contrib/a/avifile/avifile-xvid-plugin_0.7.44.20051021-1_i386.deb avifile_0.7.44.20051021-1.dsc to pool/main/a/avifile/avifile_0.7.44.20051021-1.dsc avifile_0.7.44.20051021-1.tar.gz to pool/main/a/avifile/avifile_0.7.44.20051021-1.tar.gz libavifile-0.7-dev_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/libavifile-0.7-dev_0.7.44.20051021-1_i386.deb libavifile-0.7c2_0.7.44.20051021-1_i386.deb to pool/main/a/avifile/libavifile-0.7c2_0.7.44.20051021-1_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Zdenek Kabelac <[EMAIL PROTECTED]> (supplier of updated avifile package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 21 Oct 2005 10:49:49 +0100 Source: avifile Binary: avifile-divx-plugin avifile-utils avifile-mad-plugin libavifile-0.7-dev avifile-vorbis-plugin libavifile-0.7c2 avifile-win32-plugin avifile-xvid-plugin avifile-mjpeg-plugin avifile-player Architecture: source i386 Version: 1:0.7.44.20051021-1 Distribution: unstable Urgency: medium Maintainer: Zdenek Kabelac <[EMAIL PROTECTED]> Changed-By: Zdenek Kabelac <[EMAIL PROTECTED]> Description: avifile-divx-plugin - Divx4Linux video de/encoding plugin for libavifile avifile-mad-plugin - MAD - MPEG audio plugin for libavifile avifile-mjpeg-plugin - MJPEG video plugin for libavifile avifile-player - video player for AVI/ASF/WMF files avifile-utils - utility programs using the avifile library avifile-vorbis-plugin - Vorbis audio plugin for libavifile avifile-win32-plugin - Win32 audio/video plugin for libavifile avifile-xvid-plugin - XviD video encoding plugin for libavifile libavifile-0.7-dev - development header files for libavifile libavifile-0.7c2 - shared libraries for AVI read/writing Closes: 175039 220056 220056 223101 300179 317889 318233 320883 321550 324848 324970 325435 327932 328558 330012 Changes: avifile (1:0.7.44.20051021-1) unstable; urgency=medium . * thread were already fixed long time ago - just forget to close this bug (Closes: 223101) * some thing applies to this error (Closes: 220056) - no undefined symbols are shown to me... * Rebuilt for Qt/KDE transition (Closes: #321550, #324848, #220056, #318233, #320883, #325435) * C++ ABI transition (Closes: #327932, #330012) * Fix gcc-4.0 compilation (Closes: #300179) * Fix some copyright statements (Closes: #324970) * Add s390 to supported platforms (Closes: #175039) * Already fixed, but not closed (Closes: #317889, #328558) Files: d648702b31649ca87f61cb30a14ee8ed 1115 graphics optional avifile_0.7.44.20051021-1.dsc 3e26ea7075527cb0f4974a50df8a5b79 3923089 graphics optional avifile_0.7.44.20051021-1.tar.gz 6012223c54d049cde3a338c575ef1cbf 1810486 libs optional libavifile-0.7c2_0.7.44.20051021-1_i386.deb 43152eceb2ce0b0eb8e9cffe95c4f6b3 49104 devel optional libavifile-0.7-dev_0.7.44.20051021-1_i386.deb 651b8fc5f864379f8a13098e2f942c9d 66240 libs optional avifile-mad-plugin_0.7.44.20051021-1_i386.deb b08ef3bce8c2fd9cda3f32c4c07d28ed 11324 libs optional avifile-mjpeg-plugin_0.7.44.20051021-1_i386.deb e77f9dfa23f9ce51a9aee7b17ad1afdd 7530 libs optional avifile-vorbis-plugin_0.7.44.20051021-1_i386.deb bb38a9d66506ff3df43529322aa0ed1e 92926 contrib/libs optional avifile-win32-plugin_0.7.44.20051021-1_i386.deb b625194bc094000f83caf90ca26dc275 10968 contrib/libs optional avifile-xvid-plugin_0.7.44.20051021-1_i386.deb e1749c7a8f5ea35d4cf77bb54faaf09b 12822 contrib/libs optional avifile-divx-plugin_0.7.44.20051021-1_i386.deb 39eb07b6dc5c693a9d9a06e376373b3a 109418 graphics extra avifile-player_0.7.44.20051021-1_i386.deb c410bc5ed6ea281566e079b579a05c01 314998 graphics extra avifile-utils_0.7.44.20051021-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQCVAwUBQ1j/AVWWyMLXq+m5AQI0tQP/dZXdBaXFwEYRf1oF/BE2S+dXsfZSV/cg 6v/LSs8QGVobGKs/IHIT+q2yMnqYBEEjIjDSSJ3X/BS/ShKmxUYghqYj+BesKs/I Gj2aXxJbGEtv6G8V0i+irAl0vymLBisB8QXWMmG0KO008wVflXsu+G/nWLteqj02 Qm7196Slk7Q= =lo39 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]