Package Details: jack2-git 1:1.9.16.r0.g5b78c2ef-1

Git Clone URL: https://aur.archlinux.org/jack2-git.git (read-only, click to copy)
Package Base: jack2-git
Description: C++ version of the JACK low-latency audio server for multi-processor machines
Upstream URL: http://jackaudio.org/
Keywords: audio cv jack midi
Licenses: GPL2, LGPL2.1
Groups: pro-audio
Conflicts: jack, jack2
Provides: jack, jack=1.9.16, jack2, jack2=1.9.16, libjack.so, libjacknet.so, libjackserver.so
Replaces: jack2-dbus-git
Submitter: longname
Maintainer: milk (dvzrv, SpotlightKid)
Last Packager: SpotlightKid
Votes: 8
Popularity: 0.000182
First Submitted: 2012-03-04 20:18
Last Updated: 2020-10-19 15:59

Dependencies (26)

Required by (590)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Brett commented on 2013-01-04 00:21

[ 49/247] cxx: common/JackNetTool.cpp -> build/common/JackNetTool.cpp.1.o
In file included from ../common/JackNetTool.cpp:20:0:
../common/JackNetTool.h:412:30: fatal error: opus/opus_custom.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/tmp/yaourt-tmp-brett/aur-jack2-git/src/jack2-git-build/build'
Build failed
...
--
Compilation throws a different error if I use the opus includes from the opus 1.0.2 source tarball at xiph.org.
Very similar to
--
netsource.c:(.text+0xd3b): undefined reference to `opus_custom_mode_create'
netsource.c:(.text+0xd5c): undefined reference to `opus_custom_encoder_create'
netsource.c:(.text+0xd81): undefined reference to `opus_custom_encoder_ctl'
netsource.c:(.text+0xd95): undefined reference to `opus_custom_encoder_ctl'
netsource.c:(.text+0xda9): undefined reference to `opus_custom_encoder_ctl'
netsource.c:(.text+0xdbd): undefined reference to `opus_custom_encoder_ctl'
netsource.c:(.text+0xdcd): undefined reference to `opus_custom_encoder_init'
netsource.c:(.text+0xe46): undefined reference to `opus_custom_mode_create'
netsource.c:(.text+0xe67): undefined reference to `opus_custom_decoder_create'
netsource.c:(.text+0xe86): undefined reference to `opus_custom_decoder_init'
common/netjack_packet.c.30.o: In function `render_payload_to_jack_ports_opus':
netjack_packet.c:(.text+0x2f38): undefined reference to `opus_custom_decode_float'
common/netjack_packet.c.30.o: In function `render_jack_ports_to_payload_opus':
netjack_packet.c:(.text+0x3122): undefined reference to `opus_custom_encode_float'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/yaourt-tmp-brett/aur-jack2-kxstudio/src/jack-1.9.9.5/build'
Build failed
-> task in 'jack_netsource' failed (exit status 1):
{task 140087905566992: cprogram netsource.c.30.o,netjack_packet.c.30.o -> jack_netsource}
['/usr/bin/gcc', '-Wl,-O1,--sort-common,-z,relro', '-Wl,-O1,--sort-common,-z,relro', 'example-clients/netsource.c.30.o', 'common/netjack_packet.c.30.o', '-o', '/tmp/yaourt-tmp-brett/aur-jack2-kxstudio/src/jack-1.9.9.5/build/example-clients/jack_netsource', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljack', '-lcelt0', '-lsamplerate', '-lopus', '-lm', '-lpthread', '-lrt', '-ldl', '-ldbus-1']
==> ERROR: A failure occurred in build().

longname commented on 2012-09-21 03:06

Done. Thanks!

vinvin commented on 2012-09-21 00:24

-lm needs to be added to LDFLAGS where it's already defined in PKGBUILD.

Anonymous comment on 2012-09-18 22:29

The glibc errors previous commented upon have returned. I think it's because of this commit:

--
commit f28523ff5415c96d681551d2b3a614ef851b9b4a
Author: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Date: Wed Sep 12 14:20:29 2012 +0200

[wscript] Fix FTBFS with -Wl,--as-needed

Patch by Adam Conrad <adconrad@canonical.com>, taken from Ubuntu's
jackd2 package.

Fixes linkage errors as described in

http://permalink.gmane.org/gmane.comp.audio.jackit/25841

example-clients/wscript
linux/wscript
wscript
--

So, even though the PKGBUILD specifically sets --no-as-needed, I think the wscript is now always enforcing --as-needed. I don't know how to go about fixing this.

longname commented on 2012-06-25 20:19

Thanks, benbriedis. It's now in the PKGBUILD.

Anonymous comment on 2012-05-30 13:15

I was getting the same sort of errors described below. They were caused by the --as-needed linker flag, included in /etc/makepkg.conf. Perhaps the --no-as-needed linker flag should be added to PKGBUILD?

longname commented on 2012-05-02 02:10

That's peculiar, I got slightly farther trying to build it but ended with a similar error.

[210/245] cprogram: build/example-clients/monitor_client.c.18.o -> build/example-clients/jack_monitor_client
[211/245] cprogram: build/example-clients/alsa_in.c.30.o build/common/memops.c.30.o -> build/example-clients/alsa_in
[212/245] cxxprogram: build/tests/iodelay.cpp.4.o -> build/tests/jack_iodelay
/usr/bin/ld: example-clients/alsa_in.c.30.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libm.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libm.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/yt/aur/maintained/jack2-git/src/jack2-git-build/build'
Build failed
-> task in 'alsa_in' failed (exit status 1):
{task 25206032: cprogram alsa_in.c.30.o,memops.c.30.o -> alsa_in}
['/usr/bin/gcc', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-lm', '-lstdc++', 'example-clients/alsa_in.c.30.o', 'common/memops.c.30.o', '-o', '/home/yt/aur/maintained/jack2-git/src/jack2-git-build/build/example-clients/alsa_in', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljack', '-lpthread', '-lcelt0', '-lrt', '-ldl', '-lasound', '-lsamplerate']
==> ERROR: A failure occurred in build().
Aborting...

My guess would be... Uhm.

Wait, I don't even understand why build item #210 is not the same on my computer as it is on your computer, given that the total number of items is the same.

svictor commented on 2012-05-01 23:27

Hi,
I'm getting the following error:

[200/245] cxxshlib: build/common/JackResampler.cpp.7.o build/common/JackLibSampleRateResampler.cpp.7.o build/common/JackAudioAdapter.cpp.7.o build/common/JackAudioAdapterInterface.cpp.7.o build/common/JackAudioAdapterFactory.cpp.7.o build/linux/alsa/JackAlsaAdapter.cpp.7.o -> build/common/audioadapter.so
[201/245] cxxshlib: build/common/JackDummyDriver.cpp.2.o -> build/linux/jack_dummy.so
[202/245] cxxshlib: build/common/JackNetDriver.cpp.5.o -> build/linux/jack_net.so
[203/245] cxxshlib: build/common/JackNetOneDriver.cpp.7.o build/common/netjack.c.7.o build/common/netjack_packet.c.7.o -> build/linux/jack_netone.so
[204/245] cprogram: build/example-clients/netslave.c.6.o -> build/example-clients/jack_net_slave
[205/245] cprogram: build/example-clients/netmaster.c.15.o -> build/example-clients/jack_net_master
[206/245] cprogram: build/example-clients/ipunload.c.25.o -> build/example-clients/jack_unload
[207/245] cprogram: build/example-clients/wait.c.27.o -> build/example-clients/jack_wait
[208/245] cprogram: build/example-clients/alias.c.26.o -> build/example-clients/jack_alias
[209/245] cprogram: build/example-clients/netsource.c.29.o build/common/netjack_packet.c.29.o -> build/example-clients/jack_netsource
[210/245] cprogram: build/example-clients/latent_client.c.21.o -> build/example-clients/jack_latent_client
/usr/bin/ld: example-clients/netsource.c.29.o: undefined reference to symbol 'ceilf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'ceilf@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libm.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libm.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/yaourt-tmp-victor/aur-jack2-git/src/jack2-git-build/build'
Build failed
-> task in 'jack_netsource' failed (exit status 1):
{task 38608464: cprogram netsource.c.29.o,netjack_packet.c.29.o -> jack_netsource}
['/usr/bin/gcc', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-lm', '-lstdc++', 'example-clients/netsource.c.29.o', 'common/netjack_packet.c.29.o', '-o', '/tmp/yaourt-tmp-victor/aur-jack2-git/src/jack2-git-build/build/example-clients/jack_netsource', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljack', '-lpthread', '-lcelt0', '-lrt', '-ldl']

Any clues?

Anonymous comment on 2012-04-17 02:59

Why does this happen? It looks like it's already linked against the math library.

Anonymous comment on 2012-04-17 02:58

[177/245] cprogram: build/example-clients/midi_latency_test.c.5.o -> build/example-clients/jack_midi_latency_test
/usr/bin/ld: example-clients/midi_latency_test.c.5.o: undefined reference to symbol 'trunc@@GLIBC_2.1'
/usr/bin/ld: note: 'trunc@@GLIBC_2.1' is defined in DSO /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../libm.so so try adding it to the linker command line
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../libm.so: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/var/tmp/yaourt-tmp-xxx/aur-jack2-git/src/jack2-git-build/build'
Build failed
-> task in 'jack_midi_latency_test' failed (exit status 1):
{task 162515948: cprogram midi_latency_test.c.5.o -> jack_midi_latency_test}
['/usr/bin/gcc', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-lm', '-lstdc++', 'example-clients/midi_latency_test.c.5.o', '-o', '/var/tmp/yaourt-tmp-xxx/aur-jack2-git/src/jack2-git-build/build/example-clients/jack_midi_latency_test', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lcommon', '-ljack', '-lpthread', '-lcelt0', '-lrt', '-ldl']