While emerging amsn dev-tcltk/snack-2.2.10-r1 failed to build. Reproducible: Always Steps to Reproduce: 1. emerge snack 2. 3. Actual Results: >>> Emerging (1 of 2) dev-tcltk/snack-2.2.10-r1 * snack2.2.10.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking snack2.2.10.tar.gz to /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work >>> Source unpacked in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work >>> Compiling source in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work/snack2.2.10/unix ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --includedir=/usr/include --enable-alsa --enable-threads --with-ogg-include=/usr/include --with-ogg-lib=/usr/lib64 checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for Tk configuration... found /usr/lib/tkConfig.sh will use stubs (normal) will use ALSA checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating snackConfig.sh make -j4 x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/sound.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/jkSound.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/jkSoundEngine.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/jkSoundEdit.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/jkSoundFile.c ./../generic/jkSoundFile.c: In function 'PutCslHeader': ./../generic/jkSoundFile.c:2374: warning: format not a string literal and no format arguments x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/g711.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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 ./../unix/jkAudIO_alsa.c x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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' ./../generic/jkFormatMP3.c: In function 'poly': ./../generic/jkFormatMP3.c:1891: warning: cast from pointer to integer of different size x86_64-pc-linux-gnu-gcc -c -O -fPIC -DUSE_TCL_STUBS -DUSE_TK_STUBS -DALSA -I/usr/include -I/usr/lib64/tcl8.5/include/generic -I/usr/lib64/tk8.5/include/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/jkSoundProc.c make: *** [jkFormatMP3.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: dev-tcltk/snack-2.2.10-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2204: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/snack-2.2.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/snack-2.2.10-r1/temp/environment'. * Expected Results: emerge successfully
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.