Summary: | dev-tcltk/snack-2.2.10-r1 build fails: /usr/include/bits/mathcalls.h:310: error: expected declaration specifiers or '...' before '(' token | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Burak <buraktuysuz> |
Component: | New packages | Assignee: | TCL/TK Project <tcltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, buraktuysuz, heltem+gentoo, nevernow |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 |
Description
Burak
2009-05-22 16:34:31 UTC
emerge --info please. (In reply to comment #1) > emerge --info please. > Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 22 May 2009 16:20:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.6.2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en en_US tr tr_TR" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa amd64 amr avahi berkdb bitmap bitmap-fonts bluetooth bzip2 cdr cjk cli consolekit cracklib crypt cups daap dbus divx divx4linux dri dvd dvdr dvdread encode exif ffmpeg flac fortran gb gdbm gif glitz gmedia gnome gpm gtk hal hddtemp iconv imlib isdnlog ithreads jpeg jpeg2k kpathsea ldap midi mikmod mime mmap mmx mng mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png posix pppd pulseaudio python quickime quicktime readline realmedia reflection samba session smb sockets spl sqlite sse sse2 ssl svg sysfs tagwriting tcl tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vorbis wifi wmf wmp xcb xorg xpm xvid xvmc zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US tr tr_TR" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I guess I am the only one having this error... Any suggestions ??? doesn't happen with glibc-2.8. adding to glibc-2.10 tracker (In reply to comment #3) > I guess I am the only one having this error... Any suggestions ??? > same error with glibc-2.10.1 and snack-2.2.10-r2 (In reply to comment #3) > I guess I am the only one having this error... Any suggestions ??? > same error glibc 2.10.1 and snack 2.2.10-r2 (In reply to comment #6) > (In reply to comment #3) > > I guess I am the only one having this error... Any suggestions ??? > > > same error glibc 2.10.1 and snack 2.2.10-r2 > I think Valium is a good suggestion. And on a more serious note: it seems the problem comes from this line in generic/jkFormatMP3.c: #define roundf(x) (floor((x)+(float )0.5f)) Simply commenting it out seems to work. (I don't see myself as an expert on glibc issues, but I'd say that roundf provided by glibc seems to do (more or less) the same thing.) (In reply to comment #7) > And on a more serious note: it seems the problem comes from > this line in generic/jkFormatMP3.c: > #define roundf(x) (floor((x)+(float )0.5f)) > Simply commenting it out seems to work. yep, makes sense (it is coherent with the roundf(3) manpage) so, can you confirm it is solved with snack-2.2.10-r2.ebuild in CVS? (In reply to comment #8) > (In reply to comment #7) > > And on a more serious note: it seems the problem comes from > > this line in generic/jkFormatMP3.c: > > #define roundf(x) (floor((x)+(float )0.5f)) > > Simply commenting it out seems to work. > > yep, makes sense (it is coherent with the roundf(3) manpage) > > so, can you confirm it is solved with snack-2.2.10-r2.ebuild in CVS? > Confirmed for x86. http://bugs.gentoo.org/show_bug.cgi?id=282987 Dw. |