Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge alsa-utils fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bascom
n00b
n00b


Joined: 05 Dec 2006
Posts: 19
Location: North Carolina

PostPosted: Sun Aug 24, 2008 6:05 pm    Post subject: emerge alsa-utils fails Reply with quote

I'm adding sound setup to my 12" power book. I have compiled the sound options into my kernel following the guidlines in ppc faq.
My first problem is that emerge alsa-utils fails. Has anyone else had a problem with this ?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Aug 24, 2008 6:49 pm    Post subject: Reply with quote

post the last 25 lines of the output of the failing build and post the output of emerge --info
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
bascom
n00b
n00b


Joined: 05 Dec 2006
Posts: 19
Location: North Carolina

PostPosted: Sun Aug 24, 2008 10:58 pm    Post subject: Output from emerge --info and last lines from emerge Reply with quote

This is the output form emerge --info:

Portage 2.1.4.4 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.24-gentoo-r3 ppc)
=================================================================
System uname: 2.6.24-gentoo-r3 ppc 7447A, altivec supported
Timestamp of tree: Mon, 05 May 2008 01:00:02 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa altivec berkdb cdr cli cracklib crypt cups dri dvd fortran gdbm gnome gpm gtk iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pcre perl ppc pppd python qt3 qt4 readline reflection session spl ssl tcpd unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="chips dummy fbdev glint imstt mach64 mga nv r128 radeon s3 s3virge savage sisusb tdfx trident v4l voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



These are the last lines from emerge alsa-utils:

python.c: In function 'alsa_mixer_simple_finit':
python.c:932: error: 'PyObject' undeclared (first use in this function)
python.c:932: error: 'obj' undeclared (first use in this function)
python.c:932: error: 'obj1' undeclared (first use in this function)
python.c:932: error: 'obj2' undeclared (first use in this function)
python.c:932: error: 'py_mod' undeclared (first use in this function)
python.c:932: error: 'mdict' undeclared (first use in this function)
python.c:952: error: 'pymelem_type' undeclared (first use in this function)
python.c:954: error: 'pymixer_type' undeclared (first use in this function)
python.c:956: error: 'python_methods' undeclared (first use in this function)
python.c:958: error: 'main_interpreter' undeclared (first use in this function)
python.c:958: error: invalid type argument of '->'
python.c:962: error: 'struct python_priv' has no member named 'py_mdict'
python.c:972: error: expected expression before ')' token
python.c:973: error: expected expression before ')' token
python.c:984: error: 'struct python_priv' has no member named 'py_mixer'
python.c:991: error: 'Py_file_input' undeclared (first use in this function)
python.c:995: error: 'struct python_priv' has no member named 'py_event_func'
python.c:996: error: 'struct python_priv' has no member named 'py_event_func'
make[3]: *** [smixer_python_la-python.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
powerpc-unknown-linux-gnu-gcc -shared .libs/sbase.o -Wl,--rpath -Wl,/var/tmp/portage/media-libs/alsa-lib-1.0.16/work/alsa-lib-1.0.16/src/.libs ../../../src/.libs/libasound.so -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -Wl,-soname -Wl,smixer-sbase.so -o .libs/smixer-sbase.so
powerpc-unknown-linux-gnu-ar cru .libs/smixer-sbase.a sbase.o
powerpc-unknown-linux-gnu-ranlib .libs/smixer-sbase.a
creating smixer-sbase.la
(cd .libs && rm -f smixer-sbase.la && ln -s ../smixer-sbase.la smixer-sbase.la)
make[3]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.16/work/alsa-lib-1.0.16/modules/mixer/simple'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.16/work/alsa-lib-1.0.16/modules/mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.16/work/alsa-lib-1.0.16/modules'
make: *** [all-recursive] Error 1
*
* ERROR: media-libs/alsa-lib-1.0.16 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2504: 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-libs/alsa-lib-1.0.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.16/temp/environment'.
*

* Messages for package media-libs/alsa-lib-1.0.16:

*
* ERROR: media-libs/alsa-lib-1.0.16 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2504: 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-libs/alsa-lib-1.0.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.16/temp/environment'.
*
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Sun Aug 24, 2008 11:32 pm    Post subject: Reply with quote

on emerge --info profile still default
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
bascom
n00b
n00b


Joined: 05 Dec 2006
Posts: 19
Location: North Carolina

PostPosted: Mon Aug 25, 2008 12:06 am    Post subject: profle default Reply with quote

I am not sure what that means. Could you explain further please ?
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Mon Aug 25, 2008 12:20 am    Post subject: Reply with quote

Quote:
(default-linux/ppc/ppc32/2007.0/G4

That profile is old, its better be changed if possible...
Code:
eselect profile list

and choose what best suits you, mostly desktop(14)
Code:
eselect profile set 14

P:S{ignore from here if yu already know this..}
-yu might need 'emerge eselect'
-For changes to take effect you will need 'emerge --sync && emerge -avuDN world'

peace
_________________
~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com
Back to top
View user's profile Send private message
bascom
n00b
n00b


Joined: 05 Dec 2006
Posts: 19
Location: North Carolina

PostPosted: Mon Aug 25, 2008 1:18 am    Post subject: profile changed Reply with quote

I changed the profile as suggested. I'm running the emerge command as well.
I'll post the results after I have the changes installed.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum