Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144009 - media-sound/alsa-tools-1.0.12_rc1 fails to compile on strstr_icase_blank.c
Summary: media-sound/alsa-tools-1.0.12_rc1 fails to compile on strstr_icase_blank.c
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 08:39 UTC by Drew Winstel
Modified: 2006-08-16 10:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drew Winstel 2006-08-15 08:39:06 UTC
alsa-tools-1.0.12_rc1 fails to compile with a missing closing parenthesis.  

Relevant compile output: 

if x86_64-pc-linux-gnu-gcc -std=gnu99 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"envy24control\" -DVERSION=\"0.6.0\" -DSTDC_HEADERS=1  -I. -I.    -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/alsa   -O3 -march=athlon64 -pipe -fomit-frame-pointer -MT profiles.o -MD -MP -MF ".deps/profiles.Tpo" -c -o profiles.o profiles.c; \
        then mv -f ".deps/profiles.Tpo" ".deps/profiles.Po"; else rm -f ".deps/profiles.Tpo"; exit 1; fi
In file included from profiles.c:29:
strstr_icase_blank.c: In function 'strstr_icase_blank':
strstr_icase_blank.c:51: error: expected ')' before 'c'
strstr_icase_blank.c:51: error: expected expression before ')' token
make: *** [profiles.o] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.12_rc1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  alsa-tools-1.0.12_rc1.ebuild, line 88:   Called die

----

emerge --info:
# emerge --info
Portage 2.1.1_pre5-r1 (default-linux/amd64/2005.1, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck9 x86_64)
=================================================================
System uname: 2.6.16-ck9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Tue, 15 Aug 2006 13:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks fixpackages metadata-transfer offensive parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi akode alsa ao audiofile avahi avi bash-completion berkdb bitmap-fonts bonjour bzip2 cairo cdda cddb cdparanoia cdr cli clisp cpudetection crypt cups curl dbus directfb divx4linux dlloader dri dts dvd dvdr dvdread eds elf elibc_glibc emacs emboss encode exif expat exscalibar extrafilters f77 fbcon fbdev ffmpeg fftw firefox flac font-server foomaticdb fortran fuse gcj gdbm gif gimpprint glx gnome gnutls gpm gtk gtk2 howl howl-compat i8x0 ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_vmmouse isdnlog java javascript jpeg justify kde kdeenablefinal kernel_linux lcms linguas_en lm_sensors logrotate lzw lzw-tiff mad mmx2 mng mono motif mozcalendar mozilla mozsvg mp3 mpeg mplayer msn multiuser musepack musicbrainz ncurses network new-clx nls nptl nptlonly nsplugin nvidia offensive ogg ooo-kde openal opengl pam pam_console pam_timestamp pcre pda pdf pdflib perl plotutils png ppds pppd python qt qt3 qt4 quicktime rar readline reflection rtc samba sasl screen sdl session skins sndfile snmp speex spell spl sqlite ssl startup-notification subtitles svg tcl tcltk tcpd theora tiff tk truespeech truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga visualization vorbis vorbis-psy vv wifi wmf wxwindows xanim xcomposite xfs xine xinerama xml xml2 xmms xorg xpm xprint xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

For quick reference, here's the relevant code segment of envy24control/strstr_icase_blank.c:
int strstr_icase_blank(const char * const string1, const char * const string2)
{
	int position, i, j;
	char line[MAX_SEARCH_FIELD_LENGTH];
	char cmp_line[MAX_SEARCH_FIELD_LENGTH];
	char search_string[MAX_SEARCH_FIELD_LENGTH];
	char *pstr;
	int pos_first_non_blank;
	int isblank(int c);
... }

The isblank line is the one it barfed on.
Comment 1 Drew Winstel 2006-08-16 10:48:52 UTC
Hmm... I re-synced this morning, and it works just fine.  I'm closing it as WFM.