Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ardour on ppc
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
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Tue Apr 11, 2006 3:51 pm    Post subject: [solved] ardour on ppc Reply with quote

these are the errors that i get installing ardour, i've re-emerged scons, wxGTK, JACK but ardour does not seem to like me

Code:
libs/ardour/sse_functions.s:295: Error: syntax error; found `e' but expected `,'
libs/ardour/sse_functions.s:295: Error: junk at end of line: `ecx'
libs/ardour/sse_functions.s:296: Error: Unrecognized opcode: `je'
libs/ardour/sse_functions.s:299: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:300: Error: Unrecognized opcode: `shufps'
libs/ardour/sse_functions.s:304: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:305: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:306: Error: Unrecognized opcode: `andl'
libs/ardour/sse_functions.s:307: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:316: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:317: Error: Unrecognized opcode: `mulss'
libs/ardour/sse_functions.s:318: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:321: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:323: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:324: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:326: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:327: Error: bad expression
libs/ardour/sse_functions.s:327: Error: syntax error; found `e' but expected `,'
libs/ardour/sse_functions.s:327: Error: junk at end of line: `edx'
libs/ardour/sse_functions.s:328: Error: Unrecognized opcode: `jne'
libs/ardour/sse_functions.s:335: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:336: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:339: Error: Unrecognized opcode: `pushl'
libs/ardour/sse_functions.s:340: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:341: Error: Unrecognized opcode: `divl'
libs/ardour/sse_functions.s:342: Error: Unrecognized opcode: `popl'
libs/ardour/sse_functions.s:345: Error: bad expression
libs/ardour/sse_functions.s:345: Error: syntax error; found `e' but expected `,'
libs/ardour/sse_functions.s:345: Error: junk at end of line: `eax'
libs/ardour/sse_functions.s:346: Error: Unrecognized opcode: `je'
libs/ardour/sse_functions.s:351: Error: Unrecognized opcode: `movaps'
libs/ardour/sse_functions.s:352: Error: Unrecognized opcode: `mulps'
libs/ardour/sse_functions.s:353: Error: Unrecognized opcode: `movaps'
libs/ardour/sse_functions.s:355: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:358: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:359: Error: Unrecognized opcode: `jnz'
libs/ardour/sse_functions.s:366: Error: Unrecognized opcode: `andl'
libs/ardour/sse_functions.s:367: Error: Unrecognized opcode: `je'
libs/ardour/sse_functions.s:371: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:372: Error: Unrecognized opcode: `mulss'
libs/ardour/sse_functions.s:373: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:376: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:378: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:379: Error: Unrecognized opcode: `jnz'
libs/ardour/sse_functions.s:384: Error: Unrecognized opcode: `popl'
libs/ardour/sse_functions.s:387: Error: Unrecognized opcode: `leave'
libs/ardour/sse_functions.s:388: Error: Unrecognized opcode: `ret'
libs/ardour/sse_functions.s:409: Error: Unrecognized opcode: `pushl'
libs/ardour/sse_functions.s:410: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:413: Error: Unrecognized opcode: `pushl'
libs/ardour/sse_functions.s:418: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:421: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:422: Error: bad expression
libs/ardour/sse_functions.s:422: Error: syntax error; found `e' but expected `,'
libs/ardour/sse_functions.s:422: Error: junk at end of line: `ecx'
libs/ardour/sse_functions.s:423: Error: Unrecognized opcode: `je'
libs/ardour/sse_functions.s:426: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:427: Error: Unrecognized opcode: `shufps'
libs/ardour/sse_functions.s:431: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:432: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:433: Error: Unrecognized opcode: `andl'
libs/ardour/sse_functions.s:434: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:443: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:444: Error: Unrecognized opcode: `andps'
libs/ardour/sse_functions.s:445: Error: Unrecognized opcode: `maxss'
libs/ardour/sse_functions.s:448: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:450: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:451: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:453: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:454: Error: bad expression
libs/ardour/sse_functions.s:454: Error: syntax error; found `e' but expected `,'
libs/ardour/sse_functions.s:454: Error: junk at end of line: `edx'
libs/ardour/sse_functions.s:455: Error: Unrecognized opcode: `jne'
libs/ardour/sse_functions.s:462: Error: Unrecognized opcode: `movl'
libs/ardour/sse_functions.s:464: Error: Unrecognized opcode: `shr'
libs/ardour/sse_functions.s:465: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:470: Error: Unrecognized opcode: `shufps'
libs/ardour/sse_functions.s:476: Error: Unrecognized opcode: `movaps'
libs/ardour/sse_functions.s:477: Error: Unrecognized opcode: `andps'
libs/ardour/sse_functions.s:478: Error: Unrecognized opcode: `maxps'
libs/ardour/sse_functions.s:480: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:482: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:483: Error: Unrecognized opcode: `jnz'
libs/ardour/sse_functions.s:486: Error: Unrecognized opcode: `movaps'
libs/ardour/sse_functions.s:487: Error: Unrecognized opcode: `shufps'
libs/ardour/sse_functions.s:488: Error: Unrecognized opcode: `maxps'
libs/ardour/sse_functions.s:489: Error: Unrecognized opcode: `movaps'
libs/ardour/sse_functions.s:490: Error: Unrecognized opcode: `shufps'
libs/ardour/sse_functions.s:491: Error: Unrecognized opcode: `maxps'
libs/ardour/sse_functions.s:500: Error: Unrecognized opcode: `andl'
libs/ardour/sse_functions.s:501: Error: Unrecognized opcode: `jz'
libs/ardour/sse_functions.s:505: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:506: Error: Unrecognized opcode: `andps'
libs/ardour/sse_functions.s:507: Error: Unrecognized opcode: `maxss'
libs/ardour/sse_functions.s:509: Error: Unrecognized opcode: `addl'
libs/ardour/sse_functions.s:511: Error: Unrecognized opcode: `decl'
libs/ardour/sse_functions.s:512: Error: Unrecognized opcode: `jnz'
libs/ardour/sse_functions.s:517: Error: Unrecognized opcode: `movss'
libs/ardour/sse_functions.s:518: Error: Unrecognized opcode: `flds'
libs/ardour/sse_functions.s:520: Error: Unrecognized opcode: `popl'
libs/ardour/sse_functions.s:523: Error: Unrecognized opcode: `leave'
libs/ardour/sse_functions.s:524: Error: Unrecognized opcode: `ret'
scons: *** [libs/ardour/sse_functions.o] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/ardour-0.99.2 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_install
  ebuild.sh, line 999:   Called src_install
  ardour-0.99.2.ebuild, line 76:   Called die

!!! make install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info

Code:
emerge --info
Portage 2.1_pre7-r4 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r1-corebox ppc)
=================================================================
System uname: 2.6.16-gentoo-r1-corebox ppc 7447A, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -mtune=G4"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -mtune=G4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_GB.UTF-8"
LINGUAS="gb"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib aim alitvec alsa altivec audiofile bash-completition bitmap-fonts bluetooth bzip2 cdb cdinstall cdparanoia cdr clamav cli crypt cscope cups dri dts dv dvb dvd dvdr dvdread eds emboss encode esd ethereal expat fastbuild fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 gtkhtml icq ieee1394 imlib isdnlog jabber jack joystick jpeg jpeg2k ldap libg++ libwww mad memlimit mikmod motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl pmu png posix pppd python qt quicktime readline ruby samba sdl session simplexml smartcard soap sockets spell spl ssl svg tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd videos vorbis wmf wxwindows xine xml xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_gb userland_GNU video_cards_ati video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTDIR_OVERLAY


the only thing that i noticed is that at a certain point the compiling it says:

Code:
config.status: creating gtk--config.h
config.status: executing depfiles commands
QA Notice: USE Flag 'sse' not in IUSE for media-sound/ardour-0.99.2
scons: Reading SConscript files ...
Checking for C header file alsa/asoundlib.h... yes

[b]*******************************
detected DIST_TARGET = i686
*******************************[/b]

Checking for internationalization support ...


is this normal?

Thank you.
_________________
Registered Linux user #379411 Registered Linux machine #278055


Last edited by gonai on Thu Apr 13, 2006 7:12 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Apr 11, 2006 4:07 pm    Post subject: Reply with quote

Those errors are due to x86 assembly being included. I'll test it out here and see if I can reproduce it.

EDIT:

Looks like the build system changed to scons and it wasn't tested on ppc after that. Try this patch:
http://dev.gentoo.org/~josejx/ardour-0.99.2-ppc.patch

Let me know if it works for you. If so, I'll send it upstream.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Wed Apr 12, 2006 7:36 am    Post subject: Reply with quote

tell me if i'm wrong, i did download the patch to /usr/portage/media-sound/ardour and then executed

Code:
 patch -p1 -i ./ardour-0.99.2.ebuild ardour-0.99.2-ppc.patch


what i get is

Code:
patch: **** Only garbage was found in the patch input.


any help?
_________________
Registered Linux user #379411 Registered Linux machine #278055
Back to top
View user's profile Send private message
spool
n00b
n00b


Joined: 02 Feb 2006
Posts: 26
Location: UK

PostPosted: Wed Apr 12, 2006 12:58 pm    Post subject: I'd love it if this could be fixed Reply with quote

This has been bothering me for some time, but I haven't gotten around to asking about it. Thanks gonai.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 1:56 pm    Post subject: Reply with quote

The patch isn't for the ebuild. It's for ardour. Unpack ardour and patch by hand, or add these lines to the ebuild and put the previous patch in the files dir:

Code:

S="${WORKDIR}/${P/_/}"

+ src_unpack() {
+   unpack ${A}
+    cd ${S}
+
+    epatch ${FILESDIR}/${P}-ppc.patch
+}

src_compile() {

_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Wed Apr 12, 2006 2:20 pm    Post subject: Reply with quote

JoseJX wrote:
The patch isn't for the ebuild. It's for ardour. Unpack ardour and patch by hand, or add these lines to the ebuild and put the previous patch in the files dir:

Code:

S="${WORKDIR}/${P/_/}"

+ src_unpack() {
+   unpack ${A}
+    cd ${S}
+
+    epatch ${FILESDIR}/${P}-ppc.patch
+}

src_compile() {


i've added these lines o the ebuild and copied the patch to /usr/portage/media-sound/ardour/files

but the error i get is
Code:
 emerge -av ardour

These are the packages that would be merged, in order:

Calculating dependencies  /usr/portage/media-sound/ardour/ardour-0.99.2.ebuild: line 49: syntax error near unexpected token `('
/usr/portage/media-sound/ardour/ardour-0.99.2.ebuild: line 49: `+ src_unpack() {'

!!! ERROR: media-sound/ardour-0.99.2 failed.
Call stack:
  ebuild.sh, line 1431:   Called die

!!! error sourcing ebuild
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in media-sound/ardour-0.99.2 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
                                                                                                                                                                    ... done!
[ebuild  N    ] media-sound/ardour-0.9_beta30  USE="altivec nls -debug" 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] n

_________________
Registered Linux user #379411 Registered Linux machine #278055
Back to top
View user's profile Send private message
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Wed Apr 12, 2006 2:28 pm    Post subject: Reply with quote

and if i remove the + i get

Code:
emerge -av ardour

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-sound/ardour-0.99.2  USE="altivec nls -debug" 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> Emerging (1 of 1) media-sound/ardour-0.99.2 to /
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/ardour-0.99.2-ppc.patch
corebox ardour #

_________________
Registered Linux user #379411 Registered Linux machine #278055
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Apr 12, 2006 2:35 pm    Post subject: Reply with quote

Sorry that was unclear, the + were to let you know that those were the lines I added. :p

You'll need to re-digest the ebuild after changing it,
Code:
ebuild ardour-0.99.2.ebuild digest

_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Wed Apr 12, 2006 2:39 pm    Post subject: Reply with quote

Alright.. downloaded sources, patched SConstruct and now compiling.. i will make some notifications later on..
_________________
Registered Linux user #379411 Registered Linux machine #278055
Back to top
View user's profile Send private message
gonai
n00b
n00b


Joined: 26 Jan 2005
Posts: 44
Location: Bolzano

PostPosted: Thu Apr 13, 2006 6:52 am    Post subject: Reply with quote

this worked perfectly.. ardour finally emerged !!
_________________
Registered Linux user #379411 Registered Linux machine #278055
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Apr 13, 2006 4:48 pm    Post subject: Reply with quote

Alright. I'll send this upstream and see if we can get it included.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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