[Debian-med-packaging] Bug#486959: proda: FTBFS: AlignedFragment.h:21: error: 'FILE' has not been declared

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Jun 19 08:01:06 UTC 2008


Package: proda
Version: 1.0-5
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080619 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on
i386.

Relevant part:
> g++ -Wall -g -O2   -c -o Main.o Main.cc
> In file included from AlignedFragment.cc:5:
> AlignedFragment.h:21: error: 'FILE' has not been declared
> AlignedFragment.cc: In constructor 'AlignedFragment::AlignedFragment(int, int, int, int, int, int, int*, int*)':
> AlignedFragment.cc:40: warning: deprecated conversion from string constant to 'char*'
> AlignedFragment.cc: In copy constructor 'AlignedFragment::AlignedFragment(const AlignedFragment&)':
> AlignedFragment.cc:57: warning: deprecated conversion from string constant to 'char*'
> AlignedFragment.cc: In member function 'AlignedFragment& AlignedFragment::operator=(AlignedFragment)':
> AlignedFragment.cc:74: warning: deprecated conversion from string constant to 'char*'
> AlignedFragment.cc: In member function 'void AlignedFragment::Adjust(Fragment&, Fragment&, AlignedFragment&, AlignedFragment&)':
> AlignedFragment.cc:127: warning: deprecated conversion from string constant to 'char*'
> AlignedFragment.cc:128: warning: deprecated conversion from string constant to 'char*'
> AlignedFragment.cc: In member function 'void AlignedFragment::Prune()':
> AlignedFragment.cc:190: error: 'memcpy' was not declared in this scope
> AlignedFragment.cc: In member function 'int AlignedFragment::ProcessRepeat(AVECT&, int)':
> AlignedFragment.cc:242: error: no matching function for call to 'AlignedFragment::Print(_IO_FILE*&)'
> AlignedFragment.h:21: note: candidates are: void AlignedFragment::Print(int*)
> AlignedFragment.cc:249: error: no matching function for call to 'AlignedFragment::Print(_IO_FILE*&)'
> AlignedFragment.h:21: note: candidates are: void AlignedFragment::Print(int*)
> AlignedFragment.cc: At global scope:
> AlignedFragment.cc:271: error: prototype for 'void AlignedFragment::Print(FILE*)' does not match any in class 'AlignedFragment'
> AlignedFragment.h:21: error: candidate is: void AlignedFragment::Print(int*)
> make[1]: *** [AlignedFragment.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/06/19

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

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 containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Debian-med-packaging mailing list