Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218452 - media-plugins/audacious-plugins-1.*.* doesn't compile with "-midi" in USE emerging alsa-lib
Summary: media-plugins/audacious-plugins-1.*.* doesn't compile with "-midi" in USE eme...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 18:14 UTC by Artjom Simon
Modified: 2008-09-14 16:02 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,60.14 KB, text/plain)
2008-08-15 09:11 UTC, Artjom Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artjom Simon 2008-04-19 18:14:34 UTC
When emerging audacious-plugins-1.5.0 or 1.4.5, i get this messages at the end:

Successfully compiled libffwma/uri.c.
Successfully linked wma.so.
Leaving directory wma.
Entering directory demac.
Successfully generated dependencies.
Successfully compiled plugin.c.
Successfully compiled apev2.c.
Successfully compiled ape.c.
Successfully compiled apedec.c.
Successfully linked demac.so.
Leaving directory demac.
Entering directory amidi-plug.
Entering directory pcfg.
Successfully generated dependencies.
Successfully compiled i_pcfg.c.
Successfully linked libpcfg.a.
Leaving directory pcfg.
Entering directory backend-alsa.
Successfully generated dependencies.
In file included from b-alsa.c:21:
b-alsa.h:33: error: expected specifier-qualifier-list before 'snd_seq_t'
b-alsa.c: In function 'backend_init':
b-alsa.c:57: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:58: error: 'sequencer_client_t' has no member named 'client_port'
b-alsa.c:59: error: 'sequencer_client_t' has no member named 'queue'
b-alsa.c:60: error: 'sequencer_client_t' has no member named 'dest_port'
b-alsa.c:61: error: 'sequencer_client_t' has no member named 'dest_port_num'
b-alsa.c:62: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:63: error: 'sequencer_client_t' has no member named 'is_start'
b-alsa.c: In function 'sequencer_start':
b-alsa.c:85: error: 'sequencer_client_t' has no member named 'is_start'
b-alsa.c: In function 'sequencer_on':
b-alsa.c:103: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:110: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:117: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:121: error: 'sequencer_client_t' has no member named 'is_start'
b-alsa.c:123: error: 'sequencer_client_t' has no member named 'is_start'
b-alsa.c:131: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c: In function 'sequencer_off':
b-alsa.c:143: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:148: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c: In function 'sequencer_queue_tempo':
b-alsa.c:161: warning: implicit declaration of function 'snd_seq_queue_tempo_alloca'
b-alsa.c:161: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:162: warning: implicit declaration of function 'snd_seq_queue_tempo_set_tempo'
b-alsa.c:162: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:163: warning: implicit declaration of function 'snd_seq_queue_tempo_set_ppq'
b-alsa.c:163: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:165: warning: implicit declaration of function 'snd_seq_set_queue_tempo'
b-alsa.c:165: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:165: error: 'sequencer_client_t' has no member named 'queue'
b-alsa.c:165: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:167: warning: implicit declaration of function 'snd_seq_queue_tempo_get_tempo'
b-alsa.c:167: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c:167: warning: implicit declaration of function 'snd_seq_queue_tempo_get_ppq'
b-alsa.c:167: error: 'sequencer_client_t' has no member named 'queue_tempo'
b-alsa.c: In function 'sequencer_queue_start':
b-alsa.c:178: warning: implicit declaration of function 'snd_seq_start_queue'
b-alsa.c:178: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:178: error: 'sequencer_client_t' has no member named 'queue'
b-alsa.c: In function 'sequencer_queue_stop':
b-alsa.c:184: warning: implicit declaration of function 'snd_seq_stop_queue'
b-alsa.c:184: error: 'sequencer_client_t' has no member named 'seq'
b-alsa.c:184: error: 'sequencer_client_t' has no member named 'queue'
b-alsa.c: In function 'sequencer_event_init':
b-alsa.c:191: warning: implicit declaration of function 'snd_seq_ev_clear'
b-alsa.c:191: error: 'sequencer_client_t' has no member named 'ev'
b-alsa.c:192: error: 'sequencer_client_t' has no member named 'ev'
b-alsa.c:192: error: 'sequencer_client_t' has no member named 'queue'
b-alsa.c:193: error: 'sequencer_client_t' has no member named 'ev'
b-alsa.c:194: error: 'sequencer_client_t' has no member named 'ev'
b-alsa.c:194: error: 'SND_SEQ_TIME_STAMP_TICK' undeclared (first use in this function)
b-alsa.c:194: error: (Each undeclared identifier is reported only once
b-alsa.c:194: error: for each function it appears in.)
b-alsa.c: In function 'sequencer_event_noteon':
b-alsa.c:202: warning: implicit declaration of function 'snd_seq_ev_set_fixed'
b-alsa.c:202: error: 'sequencer_client_t' has no member named 'ev'

(next lines skipped)

---

My configuration: alsa-* (everything except alsa-drivers) is 1.0.16
Kernel is 2.6.25-gentoo

emerge info:

Portage 2.1.5_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo i686)
=================================================================
System uname: 2.6.25-gentoo i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Fri, 18 Apr 2008 17:15:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -pipe"
DISTDIR="/tmp/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://ftp.lug.ro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="de_DE.UTF-8"
LDFLAGS=""
LINGUAS="de fr"
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/portage/local/layman/einit"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib accessibility acpi aiglx alsa apache2 autoipd avahi bash-completion berkdb branding browserplugin bzip2 cairo cdparanoia cdr chardet cli cracklib crypt cups custom-cflags dbus dri dts dvd dvdread emboss encode evo exif fam firefox flac gdbm gif glib glitz gtk hal iconv imlib isdnlog ithreads jack java jpeg kde kdeenablefinal kdehiddenvisibility lcms libcaca libsamplerate logitech-mouse lua lzo mad matroska mdnsresponder-compat mikmod mmx mmxext modplug mozilla mp3 mp4 mpeg mudflap musepack musicbrainz mysql ncurses no-old-linux nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf perl png ppds pppd profile python qt3 qt3support qt4 quicktime readline real reflection rtc sdl session sndfile speex spell spl sse sse2 ssl svg symlink theora threads tiff truetype unicode urandom usb userlocales utempter vorbis win32codecs wma x264 x86 xcomposite xml xorg xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" INITNG_PLUGINS="ctrlaltdel daemon_clean dbus_event lockfile netdev also bash_launcher chdir chroot conflict cpout critical cron daemon dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded provide" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Artjom Simon 2008-04-19 19:19:52 UTC
I noticed that it works when reemerging alsa-lib with the "midi" useflag is set.

Should be fixed though somehow.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2008-04-20 15:57:10 UTC
I find it strange that the amidi plugin in Audacious activates if you do not have MIDI capabilities. Can you show me the contents of /proc/asound/card0 please; also I require the full buildlog for the application, not just the end of it.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2008-04-29 13:25:09 UTC
Please reopen the bug once the requested information has been provided.
Comment 4 Artjom Simon 2008-08-15 09:01:29 UTC
Sorry for disappearing that long; the problem still exists; here you go:

cat /proc/asound/card0/codec97#0/ac97#0-0
0-0/0: Realtek ALC202 rev 0

PCI Subsys Vendor: 0x14c0
PCI Subsys Device: 0x0017

Capabilities     : -headphone out-
DAC resolution   : 20-bit
ADC resolution   : 18-bit
3D enhancement   : Realtek 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Double rate slots: 10/11
Extended ID      : codec=0 rev=1 AMAP DSA=0 SPDIF DRA VRA
Extended status  : SPCV SPDIF=10/11 SPDIF VRA
PCM front DAC    : 48000Hz
PCM ADC          : 48000Hz
SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz

cat /proc/asound/card0/codec97#0/ac97#0-0+regs
-> see http://pastebin.com/f5fd3134a

cat /proc/asound/card0/id
I82801DBICH4

cat /proc/asound/card0/intel8x0
Intel8x0

Global control        : 0xc0400002
Global status         : 0x00700300
SDM                   : 0x00000008
AC'97 codecs ready    : primary secondary
AC'97 codecs SDIN     : 0 1 0

Tested today again with media-plugins/audacious-plugins-1.5.1-r1.

Full buildlog attached.
Comment 5 Artjom Simon 2008-08-15 09:11:31 UTC
Created attachment 162946 [details]
Build log
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2008-08-28 09:27:19 UTC
There appears to be faulty decision logic in the autoconf scripts (they were rewritten recently). I have reported this to our autoconf guy as it's out of my area of expertise.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2008-09-01 22:31:47 UTC
Could you try the following patch by our developer ccr:
http://low.fi/~ccr/plugins-amidi-alsa-fix.patch

You'll have to inherit autotools and run eautoreconf at the end of src_compile.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2008-09-14 16:02:32 UTC
Please reopen the bug once you have tested the suggested patch.