Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246458 - media-sound/alsa-utils-1.0.18 - configure: WARNING: unrecognized options: --disable-sequencer
Summary: media-sound/alsa-utils-1.0.18 - configure: WARNING: unrecognized options: --d...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
: 265182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-12 06:18 UTC by Alexey
Modified: 2009-08-04 14:52 UTC (History)
2 users (show)

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


Attachments
alsa-utils-1.0.18-seq.patch (alsa-utils-1.0.18-seq.patch,1.44 KB, patch)
2008-11-17 15:54 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
updated patch for 1.0.19 (alsa-utils-1.0.19-seq.patch,1.55 KB, patch)
2009-07-09 12:09 UTC, Maik Nijhuis
Details | Diff
ebuild that uses alsa-utils-1.0.19-seq.patch (alsa-utils-1.0.19-r3.ebuild,3.03 KB, text/plain)
2009-07-09 12:12 UTC, Maik Nijhuis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2008-11-12 06:18:38 UTC
>>> Emerging (4 of 8) media-sound/alsa-utils-1.0.18
 * alsa-utils-1.0.18.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking alsa-utils-1.0.18.tar.bz2 to /var/tmp/portage/media-sound/alsa-utils-1.0.18/work
 * Applying alsa-utils-1.0.11_rc2-nls.patch ...                                                                                                                                                               [ ok ]
 * Applying alsa-utils-1.0.11_rc5-alsaconf-redirect.patch ...                                                                                                                                                 [ ok ]
 * Applying alsa-utils-1.0.14-alsaconf-modules-update.patch ...                                                                                                                                               [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-sound/alsa-utils-1.0.18/work/alsa-utils-1.0.18' ...
 * Running aclocal -I m4 -I m4 ...                                                                                                                                                                            [ ok ]
 * Running autoconf ...                                                                                                                                                                                       [ ok ]
 * Running autoheader ...                                                                                                                                                                                     [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                                                                                                        [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-sound/alsa-utils-1.0.18/work/alsa-utils-1.0.18 ...
 * econf: updating alsa-utils-1.0.18/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating alsa-utils-1.0.18/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --disable-sequencer --build=i686-pc-linux-gnu
configure: WARNING: unrecognized options: --disable-sequencer
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
......


and now mistake

make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.18/work/alsa-utils-1.0.18/alsamixer'
Making all in amidi
make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.18/work/alsa-utils-1.0.18/amidi'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include    -march=core2 -O2 -pipe -fomit-frame-pointer -MT amidi.o -MD -MP -MF .deps/amidi.Tpo -c -o amidi.o amidi.c
amidi.c:51: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
amidi.c:52: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
amidi.c: В функции ‘is_input’:
amidi.c:100: ошибка: ‘snd_rawmidi_info_t’ не описан (первое использование в этой функции)
amidi.c:100: ошибка: (Сообщение о неописанном идентификаторе выдается один раз
amidi.c:100: ошибка: для каждой функции, в которой он используется.)
amidi.c:100: ошибка: ‘info’ не описан (первое использование в этой функции)
amidi.c:106: ошибка: ‘SND_RAWMIDI_STREAM_INPUT’ не описан (первое использование в этой функции)
amidi.c: В функции ‘is_output’:
amidi.c:118: ошибка: ‘snd_rawmidi_info_t’ не описан (первое использование в этой функции)
amidi.c:118: ошибка: ‘info’ не описан (первое использование в этой функции)
amidi.c:124: ошибка: ‘SND_RAWMIDI_STREAM_OUTPUT’ не описан (первое использование в этой функции)
amidi.c: В функции ‘list_device’:
amidi.c:136: ошибка: ‘snd_rawmidi_info_t’ не описан (первое использование в этой функции)
amidi.c:136: ошибка: ‘info’ не описан (первое использование в этой функции)
amidi.c:146: ошибка: ‘SND_RAWMIDI_STREAM_INPUT’ не описан (первое использование в этой функции)
amidi.c:149: ошибка: ‘SND_RAWMIDI_STREAM_OUTPUT’ не описан (первое использование в этой функции)
amidi.c:175: предупреждение: в присваивании целое преобразуется в указатель без приведения типа
amidi.c:176: предупреждение: в присваивании целое преобразуется в указатель без приведения типа
amidi.c:213: предупреждение: в присваивании целое преобразуется в указатель без приведения типа
amidi.c: В функции ‘main’:
amidi.c:579: ошибка: ‘inputp’ не описан (первое использование в этой функции)
amidi.c:579: ошибка: ‘input’ не описан (первое использование в этой функции)
amidi.c:583: ошибка: ‘outputp’ не описан (первое использование в этой функции)
amidi.c:583: ошибка: ‘output’ не описан (первое использование в этой функции)
amidi.c:587: ошибка: ‘SND_RAWMIDI_NONBLOCK’ не описан (первое использование в этой функции)
make[1]: *** [amidi.o] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.18/work/alsa-utils-1.0.18/amidi'
make: *** [all-recursive] Ошибка 1


media-sound/alsa-utils-1.0.18 [1.0.17] USE="nls -midi* -minimal"

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-12 07:32:16 UTC

*** This bug has been marked as a duplicate of bug 234184 ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-12 07:33:17 UTC
Oh wait. It may be slightly different.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-17 15:54:40 UTC
Created attachment 172093 [details, diff]
alsa-utils-1.0.18-seq.patch

This is the alsa-utils-1.0.17-seq.patch slightly reworked to apply against alsa-utils-1.0.18
Comment 4 qxtr01 2009-01-26 17:20:52 UTC
i have the very same problem with media-sound/alsa-utils-1.0.19:

make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.19/work/alsa-utils-1.0.19/amidi'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -O2 -march=athlon-xp -pipe -MT amidi.o -MD -MP -MF ".deps/amidi.Tpo" -c -o amidi.o amidi.c; \
	then mv -f ".deps/amidi.Tpo" ".deps/amidi.Po"; else rm -f ".deps/amidi.Tpo"; exit 1; fi
amidi.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
amidi.c:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
amidi.c: In function 'is_input':
amidi.c:100: error: 'snd_rawmidi_info_t' undeclared (first use in this function)
amidi.c:100: error: (Each undeclared identifier is reported only once
amidi.c:100: error: for each function it appears in.)
amidi.c:100: error: 'info' undeclared (first use in this function)
amidi.c:106: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function)
amidi.c: In function 'is_output':
amidi.c:118: error: 'snd_rawmidi_info_t' undeclared (first use in this function)
amidi.c:118: error: 'info' undeclared (first use in this function)
amidi.c:124: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function)
amidi.c: In function 'list_device':
amidi.c:136: error: 'snd_rawmidi_info_t' undeclared (first use in this function)
amidi.c:136: error: 'info' undeclared (first use in this function)
amidi.c:146: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function)
amidi.c:149: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function)
amidi.c:175: warning: assignment makes pointer from integer without a cast
amidi.c:176: warning: assignment makes pointer from integer without a cast
amidi.c:213: warning: assignment makes pointer from integer without a cast
amidi.c: In function 'main':
amidi.c:579: error: 'inputp' undeclared (first use in this function)
amidi.c:579: error: 'input' undeclared (first use in this function)
amidi.c:583: error: 'outputp' undeclared (first use in this function)
amidi.c:583: error: 'output' undeclared (first use in this function)
amidi.c:587: error: 'SND_RAWMIDI_NONBLOCK' undeclared (first use in this function)
make[1]: *** [amidi.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.19/work/alsa-utils-1.0.19/amidi'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-sound/alsa-utils-1.0.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2080:  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/media-sound/alsa-utils-1.0.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.19/temp/environment'.
 * 

>>> Failed to emerge media-sound/alsa-utils-1.0.19, Log file:

>>>  '/var/tmp/portage/media-sound/alsa-utils-1.0.19/temp/build.log'

 * GNU info directory index is up-to-date.

# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-AMD_Sempron-tm-_2600+-with-glibc2.0
Timestamp of tree: Mon, 26 Jan 2009 09:45:02 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext minimal mmx mmxext sse x86" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

the workaround is to compile both alsa-lib and alsa-utils with the midi use flag.
Comment 5 qxtr01 2009-02-23 11:36:58 UTC
same problem with media-sound/alsa-utils-1.0.19-r1
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-07 13:45:32 UTC
*** Bug 265182 has been marked as a duplicate of this bug. ***
Comment 7 Maik Nijhuis 2009-07-09 12:09:24 UTC
Created attachment 197330 [details, diff]
updated patch for 1.0.19

This patch is an updated version of alsa-utils-1.0.17-seq.patch Besides the 'seq' directory, it also omits the 'amidi' directory when midi is disabled.
Comment 8 Maik Nijhuis 2009-07-09 12:12:23 UTC
Created attachment 197331 [details]
ebuild that uses alsa-utils-1.0.19-seq.patch

This is an ebuild which is based on alsa-utils-1.0.19-r2.ebuild. For applying alsa-utils-1.0.19-seq.patch, I used the src_unpack function from alsa-utils-1.0.17.ebuild
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2009-08-04 14:52:53 UTC
USE midi was removed. Doesn't look like a valid bug anymore.