Your message dated Mon, 30 Nov 2009 23:44:51 +0800 with message-id <4b13e873.7070...@gmail.com> and subject line onscripter: FTBFS: AVIWrapper.cpp:169: error: no matching function for call to 'avm::IReadStream::ReadFrames(char*&, int&, int&, uint_t&, uint_t&)' has caused the Debian Bug report #556820, regarding onscripter: FTBFS: AVIWrapper.cpp:169: error: no matching function for call to 'avm::IReadStream::ReadFrames(char*&, int&, int&, uint_t&, uint_t&)' 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 556820: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556820 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: onscripter Version: 0.0.20091011-1 Severity: serious User: debian...@lists.debian.org Usertags: qa-ftbfs-20091117 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: > g++ -O3 -Wall -fomit-frame-pointer -pipe -c -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/lua5.1 -I/usr/include/avifile-0.7 > -DLINUX -DUSE_LUA -DUSE_AVIFILE -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR > -DFORCE_1BYTE_CHAR AVIWrapper.cpp > AVIWrapper.cpp: In member function 'void AVIWrapper::audioCallback(void*, > Uint8*, int)': > AVIWrapper.cpp:169: error: no matching function for call to > 'avm::IReadStream::ReadFrames(char*&, int&, int&, uint_t&, uint_t&)' > /usr/include/avifile-0.7/avifile.h:182: note: candidates are: virtual int > avm::IReadStream::ReadFrames(void*, size_t, size_t, size_t&, size_t&) > AVIWrapper.cpp:170: warning: comparison between signed and unsigned integer > expressions > AVIWrapper.cpp:176: warning: comparison between signed and unsigned integer > expressions > /usr/include/avifile-0.7/avm_output.h: At global scope: > /usr/include/avifile-0.7/avm_output.h:60: warning: 'avm::AvmOutput* > avm::AvmOutput()' defined but not used > make[1]: *** [AVIWrapper.o] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2009/11/17/onscripter_0.0.20091011-1_lsid64.buildlog A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |
--- End Message ---
--- Begin Message ---Source: onscripter Source-Version: 0.0.20091115-2 This bug seems to be closed by a patch included in 0.0.20091115-2 I attach the patch here. It should be refined and discuss with the upstream. Regards, Paul -- PaulLiu(劉穎駿) E-mail address: paul...@debian.orgIndex: onscripter-0.0.20091115/AVIWrapper.cpp =================================================================== --- onscripter-0.0.20091115.orig/AVIWrapper.cpp 2009-11-30 18:29:07.833858354 +0800 +++ onscripter-0.0.20091115/AVIWrapper.cpp 2009-11-30 18:33:49.373858890 +0800 @@ -166,7 +166,16 @@ } while ( len > 0 && !a_stream->Eof() ){ - a_stream->ReadFrames( remaining_buffer, len, len, samples, ocnt ); + { + void *tmp_buffer=(void *)(remaining_buffer); + size_t tmp_buffer_size=(size_t)(len); + size_t tmp_samples=(size_t)(len); + size_t tmp_samples_read=(size_t)(samples); + size_t tmp_bytes_read=(size_t)(ocnt); + a_stream->ReadFrames( tmp_buffer, tmp_buffer_size, tmp_samples, tmp_samples_read, tmp_bytes_read ); + samples = (uint_t)(tmp_samples_read); + ocnt = (uint_t)(tmp_bytes_read); + } if ( ocnt <= len ){ memcpy( stream+count, remaining_buffer, ocnt ); len -= ocnt;signature.asc
Description: OpenPGP digital signature
--- End Message ---