supertux 0.3.1d-0ubuntu2 FTBFS (missing headers)

Bug #440187 reported by Ilya Barygin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
supertux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: supertux

C++ ./build/i486-pc-linux-gnu/optimize/src/random_generator.o
src/random_generator.cpp: In member function 'int RandomGenerator::srand(int)':
src/random_generator.cpp:63: error: 'printf' was not declared in this scope
src/random_generator.cpp: In member function 'int RandomGenerator::rand()':
src/random_generator.cpp:74: error: 'printf' was not declared in this scope
src/random_generator.cpp: In member function 'double RandomGenerator::randf(double)':
src/random_generator.cpp:101: error: 'printf' was not declared in this scope

C++ ./build/i486-pc-linux-gnu/optimize/src/lisp/lisp.o
src/lisp/lisp.cpp: In member function 'void lisp::Lisp::print(int) const':
src/lisp/lisp.cpp:62: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:65: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:77: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:80: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:83: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:86: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:89: error: 'printf' was not declared in this scope
src/lisp/lisp.cpp:91: error: 'printf' was not declared in this scope

http://launchpadlibrarian.net/32346151/buildlog_ubuntu-karmic-i386.supertux_0.3.1d-0ubuntu2_FAILEDTOBUILD.txt.gz

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 9.04
Package: supertux None [modified: /var/lib/dpkg/info/supertux.list]
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: supertux
Uname: Linux 2.6.28-15-generic i686
UnreportableReason: Это не оригинальный пакет Ubuntu

Related branches

Revision history for this message
Ilya Barygin (randomaction) wrote :
Changed in supertux (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded. Sitting in the queue for now.

Can you please forward the patch to Debian/upstream?

Changed in supertux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package supertux - 0.3.1d-0ubuntu3

---------------
supertux (0.3.1d-0ubuntu3) karmic; urgency=low

  * 02_gcc44.dpatch: new patch, add missing headers for building with
    gcc 4.4 (LP: #440187).

 -- Ilya Barygin <email address hidden> Thu, 01 Oct 2009 23:59:35 +0400

Changed in supertux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ilya Barygin (randomaction) wrote :

I think there's no need, Debian has an older version, and upstream has it fixed (http://supertux.lethargik.org/bugs/view.php?id=467).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.