Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99995 - media-libs/alsa-lib-1.0.9: make check compilation fails durning test phase
Summary: media-libs/alsa-lib-1.0.9: make check compilation fails durning test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-23 02:33 UTC by nixnut (RETIRED)
Modified: 2005-11-19 11:04 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,44.40 KB, text/plain)
2005-07-25 06:24 UTC, nixnut (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nixnut (RETIRED) gentoo-dev 2005-07-23 02:33:03 UTC
code.c:15:1: warning: "likely" redefined
In file included from code.c:9:
/usr/include/linux/compiler.h:57:1: warning: this is the location of the
previous definition
code.c:16:1: warning: "unlikely" redefined
/usr/include/linux/compiler.h:58:1: warning: this is the location of the
previous definition
code.c: In function `mix_areas_srv':
code.c:99: warning: use of cast expressions as lvalues is deprecated
code.c:100: warning: use of cast expressions as lvalues is deprecated
code.c: In function `saturate':
code.c:116: warning: use of cast expressions as lvalues is deprecated
code.c:117: warning: use of cast expressions as lvalues is deprecated
code.c: In function `mix_areas0':
code.c:136: warning: use of cast expressions as lvalues is deprecated
code.c:137: warning: use of cast expressions as lvalues is deprecated
code.c:138: warning: use of cast expressions as lvalues is deprecated
code.c: In function `mix_areas2':
code.c:170: warning: use of cast expressions as lvalues is deprecated
code.c:171: warning: use of cast expressions as lvalues is deprecated
code.c:40: error: impossible constraint in `asm'
code.c:46: error: impossible constraint in `asm'
code.c:52: error: impossible constraint in `asm'
code.c:37: warning: 'prev' might be used uninitialized in this function
code.c: At top level:
../src/pcm/pcm_dmix_i386.h:250: warning: 'MIX_AREAS2' defined but not used
{standard input}: Assembler messages:
{standard input}:71: Error: Unrecognized opcode: `addl'
{standard input}:340: Error: Unrecognized opcode: `addl'
make[2]: *** [code-code.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/alsa-lib-1.0.9/work/alsa-lib-1.0.9/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/var/tmp/portage/alsa-lib-1.0.9/work/alsa-lib-1.0.9/test'
make: *** [check-recursive] Error 1

!!! ERROR: media-libs/alsa-lib-1.0.9 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge media-libs/alsa-lib-1.0.9
2. emerge fails
3.

Actual Results:  
emerge fails

Expected Results:  
emerge succeeds

!!! SELinux not loaded: SELinux is not enabled.
Portage 2.0.51.22-r2 (selinux/2005.1/ppc, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.11-h15 ppc)
=================================================================
System uname: 2.6.11-h15 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/var/tmp/portage/distfiles"
FEATURES="autoconfig distlocks sandbox selinux sfperms strict test userpriv
usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_GB.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec berkdb cdr crypt cups directfb dlloader dvd dvdread esd flac
gd gdbm gif gpm gtk hardened imagemagick imlib jack java jpeg ldap mad motif
mpeg ncurses network nls ogg opengl pam perl png ppc python readline real
selinux slang ssl tcpd theora tiff truetype unicode vorbis xml2 xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2005-07-24 19:12:23 UTC
I can't reproduce this, but it looks like it's building x86 assembly?  nixnut,
can you provide your configure.log?  Perhaps we can figure out why it's building
the i386 assembly mixer from that.
Comment 2 nixnut (RETIRED) gentoo-dev 2005-07-25 06:24:20 UTC
Created attachment 64260 [details]
config.log

config.log attached
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2005-07-25 11:48:13 UTC
I can reproduce this now, it only happens when FEATURES="test" is enabled.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2005-08-03 22:09:38 UTC
Removing the code target from the test/Makefile fixes the problem on PPC, but
there is probably a cleaner way to do this.  This probably affects all arches as
code.c contains x86 assembly. 
Comment 5 Joe Jezak (RETIRED) gentoo-dev 2005-09-28 21:39:25 UTC
Sound team, any progress with this bug?  Should I attach a patch to remove the
test (It's very simple.)
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2005-10-11 12:03:20 UTC
The tests are broken in .10 as well.  Probably should just force off testing for
this package.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-19 10:22:46 UTC
Taking care of this (now that i have a ppc box is simpler :P). 
Have a patch and going to try it. 
 
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-19 11:04:09 UTC
Fixed