Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa-libs fail/python error(solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Sat Apr 17, 2010 1:18 am    Post subject: alsa-libs fail/python error(solved) Reply with quote

error:

Code:
ipe -D_GNU_SOURCE -c python.c  -fPIC -DPIC -o .libs/smixer_python_la-python.o   
python.c: In function ‘get_C_ptr’:                                             
python.c:63: warning: passing argument 2 of ‘PyObject_GetAttr’ makes pointer from integer without a cast                                                       
python.c:72: warning: cast to pointer from integer of different size           
python.c: In function ‘pcall’:                                                 
python.c:87: warning: passing argument 2 of ‘PyObject_GetAttr’ makes pointer from integer without a cast                                                       
python.c: In function ‘is_ops’:                                                 
python.c:147: warning: assignment makes pointer from integer without a cast     
python.c:149: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘get_x_range_ops’:                                       
python.c:163: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘set_range_ops’:                                         
python.c:200: warning: assignment makes pointer from integer without a cast     
python.c:201: warning: assignment makes pointer from integer without a cast     
python.c:202: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘get_x_ops’:                                             
python.c:215: warning: assignment makes pointer from integer without a cast     
python.c:216: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘ask_dB_vol_ops’:                                         
python.c:273: warning: assignment makes pointer from integer without a cast     
python.c:274: warning: assignment makes pointer from integer without a cast     
python.c:275: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘set_volume_ops’:                                         
python.c:318: warning: assignment makes pointer from integer without a cast     
python.c:319: warning: assignment makes pointer from integer without a cast     
python.c:320: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘set_switch_ops’:                                         
python.c:331: warning: assignment makes pointer from integer without a cast     
python.c:332: warning: assignment makes pointer from integer without a cast     
python.c:333: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘set_dB_ops’:                                             
python.c:345: warning: assignment makes pointer from integer without a cast     
python.c:346: warning: assignment makes pointer from integer without a cast     
python.c:347: warning: assignment makes pointer from integer without a cast     
python.c:348: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘enum_item_name_ops’:                                     
python.c:363: warning: assignment makes pointer from integer without a cast     
python.c:373: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘get_enum_item_ops’:                                     
python.c:394: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘set_enum_item_ops’:                                     
python.c:419: warning: assignment makes pointer from integer without a cast     
python.c:420: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘pymelem_cap’:                                           
python.c:455: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_get_caps’:                                       
python.c:461: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_get_name’:                                       
python.c:467: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_get_index’:                                     
python.c:473: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_error’:                                         
python.c:502: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_event_info’:                                     
python.c:550: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_event_value’:                                   
python.c:558: warning: return makes pointer from integer without a cast         
python.c: In function ‘pymelem_dealloc’:                                       
python.c:591: error: ‘struct pymelem’ has no member named ‘ob_type’             
python.c: In function ‘pymixer_melement_new’:                                   
python.c:711: warning: assignment makes pointer from integer without a cast     
python.c:712: warning: assignment makes pointer from integer without a cast     
python.c:713: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘pymixer_dealloc’:                                       
python.c:803: error: ‘struct pymixer’ has no member named ‘ob_type’             
python.c: In function ‘new_helem’:                                             
python.c:858: warning: assignment makes pointer from integer without a cast     
python.c: In function ‘alsa_mixer_simple_event’:                               
python.c:922: warning: cast to pointer from integer of different size           
python.c: In function ‘alsa_mixer_simple_finit’:                               
python.c:1007: warning: assignment makes pointer from integer without a cast   
python.c:1011: warning: assignment makes pointer from integer without a cast   
python.c:1021: warning: assignment makes pointer from integer without a cast   
python.c:1022: warning: assignment makes pointer from integer without a cast   
make[3]: *** [smixer_python_la-python.lo] Error 1                               
make[3]: *** Waiting for unfinished jobs....                                   
x86_64-pc-linux-gnu-gcc -shared  .libs/sbase.o  -Wl,--rpath -Wl,/var/tmp/portage/media-libs/alsa-lib-1.0.23/work/alsa-lib-1.0.23/src/.libs ../../../src/.libs/libasound.so  -msse3 -march=k8 -Wl,-O1 -Wl,-soname -Wl,smixer-sbase.so -o .libs/smixer-sbase.so                                                                   
x86_64-pc-linux-gnu-ar cru .libs/smixer-sbase.a  sbase.o                       
x86_64-pc-linux-gnu-ranlib .libs/smixer-sbase.a                                 
creating smixer-sbase.la                                                       
x86_64-pc-linux-gnu-gcc -shared  .libs/ac97.o .libs/sbasedl.o  -Wl,--rpath -Wl,/var/tmp/portage/media-libs/alsa-lib-1.0.23/work/alsa-lib-1.0.23/src/.libs ../../../src/.libs/libasound.so -ldl  -msse3 -march=k8 -Wl,-O1 -Wl,-soname -Wl,smixer-ac97.so -o .libs/smixer-ac97.so                                                 
x86_64-pc-linux-gnu-ar cru .libs/smixer-ac97.a  ac97.o sbasedl.o               
x86_64-pc-linux-gnu-ranlib .libs/smixer-ac97.a                                 
creating smixer-ac97.la                                                         
(cd .libs && rm -f smixer-ac97.la && ln -s ../smixer-ac97.la smixer-ac97.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.23/work/alsa-lib-1.0.23/modules/mixer/simple'                                             
make[2]: *** [all-recursive] Error 1                                           
make[2]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.23/work/alsa-lib-1.0.23/modules/mixer'                                                     
make[1]: *** [all-recursive] Error 1                                           
make[1]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.23/work/alsa-lib-1.0.23/modules'                                                           
make: *** [all-recursive] Error 1                                               
 * ERROR: media-libs/alsa-lib-1.0.23 failed:                                   
 *   make failed                                                               
 *                                                                             
 * Call stack:                                                                 
 *     ebuild.sh, line  54:  Called src_compile                                 
 *   environment, line 2779:  Called die                                       
 * The specific snippet of code:                                               
 *       emake || die "make failed";                                           
 *
 * If you need support, post the output of 'emerge --info =media-libs/alsa-lib-1.0.23',
 * the complete build log and the output of 'emerge -pqv =media-libs/alsa-lib-1.0.23'.
 * The complete build log is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.23/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.23/temp/environment'.
 * S: '/var/tmp/portage/media-libs/alsa-lib-1.0.23/work/alsa-lib-1.0.23'

>>> Failed to emerge media-libs/alsa-lib-1.0.23, Log file:

>>>  '/var/tmp/portage/media-libs/alsa-lib-1.0.23/temp/build.log'

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

 * ERROR: media-libs/alsa-lib-1.0.23 failed:
 *   make failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2779:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 *


emerge --info:
Code:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.3, glibc-2.11-r1, 2.6.31.12-0.2-desktop x86_64)                                                 
=================================================================               
System uname: Linux-2.6.31.12-0.2-desktop-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1                                               
Timestamp of tree: Sat, 17 Apr 2010 00:00:01 +0000                             
app-shells/bash:     4.1_p5                                                     
dev-java/java-config: 1.3.7-r1, 2.1.10                                         
dev-lang/python:     2.6.2-r1, 3.1.2-r2                                         
dev-util/cmake:      2.6.4-r2                                                   
sys-apps/baselayout: 2.0.1                                                     
sys-apps/openrc:     0.4.3-r3                                                   
sys-apps/sandbox:    2.2                                                       
sys-devel/autoconf:  2.13, 2.65                                                 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1               
sys-devel/binutils:  2.20.1                                                     
sys-devel/gcc:       4.3.3-r2, 4.4.3                                           
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.33                                                     
ACCEPT_KEYWORDS="amd64 ~amd64"                                                 
ACCEPT_LICENSE="* -@EULA"                                                       
CBUILD="x86_64-pc-linux-gnu"                                                   
CFLAGS="-msse3 -march=k8 -O2 -pipe"                                             
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/config /var/lib/hsqldb"                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"                                                   
CXXFLAGS="-msse3 -march=k8 -O2 -pipe"                                           
DISTDIR="/usr/portage/distfiles"                                               
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                 
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/desktop-effects /usr/local/portage/layman/kde-testing /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread embedded emboss encode exif extras fam fbcondecor firefox flac fortran gcc gdbm gif glib glitz gpm gtk hal iconv ipv6 java java6 jpeg kde kde4 lcms ldap libnotify mad midi mikmod mmx mng modules mozilla mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 readline reflection sasl sdl semantic-desktop session spell spl sql sse sse2 ssl startup-notification suid svg symlink sysfs tcpd tiff truetype unicode usb utempter vfat vorbis webkit wmv x264 xcb xcomposite xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="*" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I tried but couldn't figure it out, 4/2 ;P, any help would be appriaciated! :)
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>


Last edited by Gankfest on Sat Apr 17, 2010 1:26 am; edited 1 time in total
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Sat Apr 17, 2010 1:25 am    Post subject: Reply with quote

/sigh

Fixed it with changing:

Code:
 eselect python set python 2.6
instead of 3.1

My bad, 5/1! ;P
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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