pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio/csound6 and devel/sdl12-compat failing on Darwin (macOS 14.0)



On 10/21/23 19:55, Manuel Kuklinski wrote:
Am Samstag 21 Oktober 2023 um 17:55:34 +0200, schrieb Manuel Kuklinski 1,7K:
Am Samstag 21 Oktober 2023 um 16:13:25 +0200, schrieb Adam 0,7K:
I tested this months ago and could produce a working version of din with
sdl12-compat, after mailing back and forth with Santosh) and
audio/csound6, which ist currently at version 6.15.0 and I have the
strong believe that a bump to version 6.18.1 could solve the build
problems at Darwin on a M1.

Hi Manuel,

Do you have access to pkgsrc-wip?  Testing a 6.18.1 package there would
help move things forward.

Cheers,

	J

Hi!

Updated and commited to wip/csound6181; but I get the following error on
bmake install:

I've fixed the build and patches (which were not registered in distinfo and contained illegal characters).

Kind regards,
Adam

Hi!

Thank you for cleaning up; I totally forgot to run pkglint :-( The build
succeeded, but I ran into the next problems: even if I disable jack and
enable portaudio as the supported audio driver:

bmake PKG_OPTIONS="portaudio" clean update install

csound can't output sound; I don't know how to proceed - my searches
yielded this result:

https://github.com/csound/csound/issues/1147

But even after experimenting with

CMAKE_ARGS+=        -DJACK_HEADER=${BUILDLINK_PREFIX.jack}/include/jack
#CMAKE_ARGS+=       -DJACK_LIBRARY=${BUILDLINK_PREFIX.jack}/lib/jack/

in options.mk, I'm prompted with the following errors (jack and
portaudio):

- - - - - - - - - - %< - - - - - - - - - -

  unknown rtaudio module: 'jack', using dummy modulertaudio: dummy module enabled

  unknown rtaudio module: 'PortAudio', using dummy modulertaudio: dummy module enabled

- - - - - - - - - - %< - - - - - - - - - -

Again: happy about helping hands :-/

Kind regards.

Good morning list.

Just a quick heads up: as it seems, librtjack.dylib is missing; at the
same time macOS can't find CsoundLib64.framework, which normally should
include the dylib. I tried setting
CMAKE_ARGS+=····-DBUILD_SHARED_LIBS=ON, but no luck.

But if I'm not totally wrong, normally csound should automatically
generate the dylibs.

find ~/pkgsrc/wip/csound6181/work/csound-6.18.1/cmake-pkgsrc-build
*dylib* yields no results :-(

Kind regards.

Did you build with the "jack" option enabled?

https://wiki.netbsd.org/pkgsrc/how_to_use_pkg_options_with_pkgsrc/

When I do that, I see

Darwin tarpon.local bacon ~/Pkgsrc/pkgsrc/wip/csound6181 1026: (pkgsrc): find work/.destdir/ -name '*jack*'
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/librtjack.so

I'm not sure why it's producing a .so rather than a .dylib here, but all of the plugins are .so:

Darwin tarpon.local bacon ~/Pkgsrc/pkgsrc/wip/csound6181 1028: (pkgsrc): find work/.destdir/ -name '*.so*'
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libdoppler.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libdeprecated.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libmixer.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libpvsops.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libbformdec2.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libcmidi.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libsignalflowgraph.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libcontrol.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libscansyn.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libstdutil.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libipmidi.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libtrigenvsegs.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libampmidid.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/librtjack.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libpadsynth.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libarrayops.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/liblfsr.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libftsamplebank.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libfractalnoise.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/librtauhal.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/liburandom.so
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/csound/plugins64-6.0/libosc.so

Darwin tarpon.local bacon ~/Pkgsrc/pkgsrc/wip/csound6181 1029: (pkgsrc): find work/.destdir/ -name '*.dylib*'
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/libcsnd6.6.0.dylib
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/libcsnd6.dylib
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/libcsound64.6.0.dylib
work/.destdir//Users/bacon/Pkgsrc/pkg/lib/libcsound64.dylib



Home | Main Index | Thread Index | Old Index