Re: [LAU] 64-bit csound?

From: Mark Knecht <markknecht@email-addr-hidden>
Date: Fri Jan 07 2011 - 23:02:26 EET

On Fri, Jan 7, 2011 at 12:35 PM, Jouni Rinne <l33tmmx@email-addr-hidden> wrote:
> 07.01.2011 19:27, Mark Knecht kirjoitti:
>> Are people using csound on 64-bit platforms? I tried building a couple
>> of versions in the Gentoo pro-audio overlay but they all failed to
>> build. It may just be that updates are needed to the ebuilds, which I
>> can explore, but first I thought it good to find out if it's known to
>> work at all.
>>
>> Thanks,
>> Mark
>> _______________________________________________
>> Linux-audio-user mailing list
>> Linux-audio-user@email-addr-hidden
>> http://lists.linuxaudio.org/listinfo/linux-audio-user
>
> Yes, I am using, on Gentoo :) (although I'm still at the stage of
> 'should-learn-to-use-csound-properly')
>
> The csound ebuild in pro-audio overlay is more or less broken (at least it used
> to be), you could try my csound overlay at http://diesel.punk.dy.fi/viewgit/,
> installation instructions via layman in
> http://diesel.punk.dy.fi/viewgit/?a=viewblob&p=Csound-Wii&h=5df91e31a931b0bd03ff056a769354b1f6f0a61b&hb=083c4b97e020faafef74c8b61245245568f9d14c&f=README.layman
>
> Jouni Rinne

Hi Jouni,
   That would be a great solution in the short term. I tried
csound-5.12.1-r6 from your overlay and unfortunately got the same sort
of failure. Possibly it's a use flag issue?

c2stable ~ # eix csound
<SNIP>

* media-sound/csound
     Available versions: (~)5.01!m[1] (~)5.02!m[1] (~)5.02.1!m[1]
(~)5.07.0!m[1] (~)5.08.0!m[1] (~)5.09.0-r1!m[1] (~)5.12.1!m[1]
(~)5.12.1-r1!m[1] (~)5.12.1-r1!m[2] (~)5.12.1-r2!m[2]
(~)5.12.1-r3!m[2] [M](~)5.12.1-r4!m[2] (~)5.12.1-r5!m[2]
(~)5.12.1-r6!m[2] (~)9999!m[2] {+alsa altivec amd64 beats csoundac
debug (-)doc +double-precision dssi editor examples expensive_math
fluidsynth gui jack java loris lua mp3 musicxml newparser +nodebug osc
osc_opcodes p5glove pd (-)portaudio ppc64 (+)python (+)static stk
stk_opcodes tcl tcltk vst vst-host wiimote}
     Homepage: http://csound.sourceforge.net/
     Description: Csound is a sound design, music synthesis
and signal processing system.

<SNIP>

[1] "proaudio" /var/lib/layman/pro-audio
[2] "csound-wii" /var/lib/layman/csound-wii

Found 3 matches.
c2stable ~ #

c2stable ~ # emerge -pvDuN =media-sound/csound-5.12.1-r6

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

Calculating dependencies... done!
[ebuild N ] media-sound/csound-5.12.1-r6 USE="alsa
double-precision python -csoundac -doc -dssi -editor -examples
-fluidsynth -gui -jack -java -lua -mp3 -musicxml -newparser -osc
-p5glove -pd -stk -tcl -wiimote" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/csound-wii
c2stable ~ #

c2stable ~ # emerge -pv =media-sound/csound-5.12.1-r6

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

Calculating dependencies... done!
[ebuild N ] media-sound/csound-5.12.1-r6 USE="alsa
double-precision python -csoundac -doc -dssi -editor -examples
-fluidsynth -gui -jack -java -lua -mp3 -musicxml -newparser -osc
-p5glove -pd -stk -tcl -wiimote" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/csound-wii
c2stable ~ #

So it is coming from your overlay, but it fails:

x86_64-pc-linux-gnu-gcc -o OOps/remote.os -c -Wno-format -DGNU_GETTEXT
-O2 -march=native -pipe -fno-strict-aliasing -g -fomit-frame-pointer
-freorder-blocks -fPIC -DLINUX -DPIPES -fvisibility=hidden -fPIC
-DHAVE_LIBSNDFILE=1016 -DUSE_DOUBLE -DHAVE_SOCKETS
-DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET
-DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS
-DHAVE_DIRENT_H -D__BUILDING_LIBCSOUND -D_CSOUND_RELEASE_
-DCS_DEFAULT_PLUGINDIR=\"/usr/lib64/csound/plugins64\" -I. -IH
-I/usr/include/libmusicxml -I/usr/include/fltk-1.1
-I/usr/local/include -I/usr/include -I/usr/include
-I/usr/X11R6/include OOps/remote.c
In file included from OOps/remote.c:31:
/usr/include/linux/if.h:180: error: field 'ifru_map' has incomplete type
OOps/remote.c: In function 'getIpAddress':
OOps/remote.c:70: error: storage size of 'ifr' isn't known
scons: *** [OOps/remote.os] Error 1
scons: building terminated because of errors.
 * ERROR: media-sound/csound-5.12.1-r6 failed:
 * Scons failed!
 *
 * Call stack:
 * ebuild.sh, line 56: Called src_compile
 * environment, line 4756: Called die
 * The specific snippet of code:
 * scons CC="$(tc-getCC)" CXX="$(tc-getCXX)"
customCCFLAGS="$CFLAGS -fno-strict-aliasing" customCXXFLAGS="$CXXFLAGS
-fno-strict-aliasing" ${sconsconf} || die "Scons failed!"
 *
 * If you need support, post the output of 'emerge --info
=media-sound/csound-5.12.1-r6',
 * the complete build log and the output of 'emerge -pqv
=media-sound/csound-5.12.1-r6'.
 * This ebuild is from an overlay named 'csound-wii':
'/var/lib/layman/csound-wii/'
 * The complete build log is located at
'/var/tmp/portage/media-sound/csound-5.12.1-r6/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-sound/csound-5.12.1-r6/temp/environment'.
 * S: '/var/tmp/portage/media-sound/csound-5.12.1-r6/work/Csound5.12.1'

>>> Failed to emerge media-sound/csound-5.12.1-r6, Log file:

>>> '/var/tmp/portage/media-sound/csound-5.12.1-r6/temp/build.log'

I think I saw this same failure from the pro-audio overlay. I'm
suspicious there is a dependency that's not in the ebuild.

What is this?

In file included from OOps/remote.c:31:
/usr/include/linux/if.h:180: error: field 'ifru_map' has incomplete type
OOps/remote.c: In function 'getIpAddress':
OOps/remote.c:70: error: storage size of 'ifr' isn't known

Cheers,
Mark
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Jan 8 00:15:07 2011

This archive was generated by hypermail 2.1.8 : Sat Jan 08 2011 - 00:15:08 EET