snack 2.2.10-dfsg1-8 FTBFS

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

Bug Description

gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DOSS -I/usr/include/tcl8.4 -I/usr/include/tcl8.4/tcl-private/generic -I/usr/include/tcl8.4/tk-private/generic -DTCL_81_API -I./../generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 ./../generic/jkFormatMP3.c
In file included from /usr/include/math.h:94,
                 from ./../generic/jkFormatMP3.c:1312:
/usr/include/bits/mathcalls.h:310: error: expected declaration specifiers or '...' before '(' token
/usr/include/bits/mathcalls.h:310: error: conflicting types for 'floor'

http://launchpadlibrarian.net/32334815/buildlog_ubuntu-karmic-i386.snack_2.2.10-dfsg1-8_FAILEDTOBUILD.txt.gz

ProblemType: Bug
Architecture: i386
Dependencies:

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

Related branches

Revision history for this message
Ilya Barygin (randomaction) wrote :

Gentoo users also had this problem and solved it differently, by removing redefinition of roundf (http://bugs.gentoo.org/show_bug.cgi?id=270839). However I think that it's better to leave the definition what authors want it to be.

Changed in snack (Ubuntu):
status: New → Confirmed
Revision history for this message
StefanPotyra (sistpoty) wrote :

Excellent, thanks! Uploaded.

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

This bug was fixed in the package snack - 2.2.10-dfsg1-8ubuntu1

---------------
snack (2.2.10-dfsg1-8ubuntu1) karmic; urgency=low

  * jkFormatMP3.c: #include <math.h> before definition of roundf() to
    fix FTBFS (LP: #437336).

 -- Ilya Barygin <email address hidden> Sat, 26 Sep 2009 23:31:39 +0400

Changed in snack (Ubuntu):
status: Fix Committed → Fix Released
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.