Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JACK Audio Connection Kit suppport #313

Open
Sadoharu opened this issue Nov 1, 2023 · 8 comments
Open

JACK Audio Connection Kit suppport #313

Sadoharu opened this issue Nov 1, 2023 · 8 comments

Comments

@Sadoharu
Copy link

Sadoharu commented Nov 1, 2023

can you add JACK Audio Connection Kit support
When compile I install the libraries sudo apt install libjack-jackd2-dev
and add this flags
--enable-indev=jack --enable-outdev=jack --enable-libjack

https://jackaudio.org/

@BtbN
Copy link
Owner

BtbN commented Nov 1, 2023

Last time I checked (a while ago), libjack cannot be statically linked.
So adding it would force every user to install jack, which is annoying on either supported OS.

@Sadoharu
Copy link
Author

Sadoharu commented Nov 1, 2023

ok, I tried several times to make changes to the docker file to compile with jack, but it didn't work. Tried to add command to Docker file "RUN apt-get install -y libjack-jackd2-dev". But when compiling, ffmpeg does not find libraries. How to correctly compile together with jack?

@BtbN
Copy link
Owner

BtbN commented Nov 1, 2023

You would have to write a build script for it, and make sure the version you are building matches the environment you then intend to run the binary in perfectly.
The distro packages in the docker container are entirely irrelevant, specially for Windows.

@Sadoharu
Copy link
Author

Sadoharu commented Nov 1, 2023

Well thank you. I will try to do it

@Sadoharu
Copy link
Author

Sadoharu commented Nov 1, 2023

if I just add the script to the folder "scripts.d" . Will it use it to install? is it necessary to additionally indicate that such a script exists?

@BtbN
Copy link
Owner

BtbN commented Nov 1, 2023 via email

@Sadoharu
Copy link
Author

Sadoharu commented Nov 1, 2023

sudo ./makeimage.sh linux64 nonfree 6.0
I tried to create scripts for JACK and ALSA.

45-alsa.sh


SCRIPT_REPO="https://github.com/alsa-project/alsa-lib.git"

ffbuild_enabled() {
    return 0
}

ffbuild_dockerbuild() {
    cd "$FFBUILD_DLDIR/$SELF"

    autoreconf -i

    local myconf=(
        --prefix="$FFBUILD_PREFIX"
        --disable-shared
        --enable-static
    )

    if [[ $TARGET == win* || $TARGET == linux* ]]; then
        myconf+=(
            --host="$FFBUILD_TOOLCHAIN"
        )
    else
        echo "Unknown target"
        return -1
    fi

    ./configure "${myconf[@]}"
    make -j$(nproc)
    make install
}

ffbuild_configure() {
    echo --enable-alsa
}

ffbuild_unconfigure() {
    echo --disable-alsa
}

50-jack.sh


SCRIPT_REPO="https://github.com/jackaudio/jack2.git"

ffbuild_enabled() {
    return 0
}

ffbuild_dockerbuild() {
    cd "$FFBUILD_DLDIR/$SELF"

    ./waf configure

    local myconf=(
        --prefix="$FFBUILD_PREFIX"
    )

    if [[ $TARGET == win* || $TARGET == linux* ]]; then
        myconf+=(
            --platform="$FFBUILD_TOOLCHAIN"
        )
    else
        echo "Unknown target"
        return -1
    fi

    ./waf "${myconf[@]}"
    ./waf install
}

ffbuild_configure() {
    echo --enable-libjack
}

ffbuild_unconfigure() {
    echo --disable-libjack
}

alsa compiled but I got an error when compiling jack

 => CANCELED [layer-50-vaapi 3/4] RUN --mount=src=scripts.d/50-vaapi/50-libva.sh,dst=/stage.sh --mount=src=/,dst=/op  4.7s
 => [layer-50-lilv 3/6] RUN --mount=src=scripts.d/50-lilv/96-zix.sh,dst=/stage.sh --mount=src=/,dst=/opt/ffdl,from=1  3.8s
------
 > [layer-50-jack 1/1] RUN --mount=src=scripts.d/50-jack.sh,dst=/stage.sh --mount=src=/,dst=/opt/ffdl,from=127.0.0.1:64647/local/dl_cache:dlcache_e22660b951173f253bc44896e6191ef9b2c850fa75dd63930e585623eb8f259e,rw run_stage /stage.sh:
0.292 + export 'RAW_CFLAGS=-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread'
0.292 + RAW_CFLAGS='-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread'
0.292 + export 'RAW_CXXFLAGS=-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread'
0.292 + RAW_CXXFLAGS='-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread'
0.292 + export 'RAW_LDFLAGS=-static-libgcc -static-libstdc++ -L/opt/ffbuild/lib -O2 -pipe -fstack-protector-strong -fstack-clash-protection -Wl,-z,relro,-z,now -pthread -lm'
0.292 + RAW_LDFLAGS='-static-libgcc -static-libstdc++ -L/opt/ffbuild/lib -O2 -pipe -fstack-protector-strong -fstack-clash-protection -Wl,-z,relro,-z,now -pthread -lm'
0.292 + [[ -n -fvisibility=hidden -fno-semantic-interposition ]]
0.292 + export 'CFLAGS=-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread -fvisibility=hidden -fno-semantic-interposition'
0.292 + CFLAGS='-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread -fvisibility=hidden -fno-semantic-interposition'
0.292 + [[ -n -fvisibility=hidden -fno-semantic-interposition ]]
0.292 + export 'CXXFLAGS=-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread -fvisibility=hidden -fno-semantic-interposition'
0.292 + CXXFLAGS='-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread -fvisibility=hidden -fno-semantic-interposition'
0.292 + [[ -n '' ]]
0.292 + mkdir -p /stage
0.294 + source /stage.sh
0.294 ++ SCRIPT_REPO=https://github.com/jackaudio/jack2.git
0.295 + cd /stage
0.295 + [[ -n '' ]]
0.295 + [[ -z '' ]]
0.295 + ffbuild_dockerbuild
0.295 + cd /opt/ffdl/scripts.d/50-jack.sh
0.297 + ./waf configure
1.560 Setting top to                           : /opt/ffdl/scripts.d/50-jack.sh 
1.561 Setting out to                           : /opt/ffdl/scripts.d/50-jack.sh/build 
1.562 Checking for 'g++' (C++ compiler)        : x86_64-ffbuild-linux-gnu-g++ 
1.739 Checking for 'gcc' (C compiler)          : x86_64-ffbuild-linux-gnu-gcc 
1.783 Checking platform                        : Linux 
1.785 Checking for program 'pkg-config'        : /usr/bin/pkg-config 
1.786 Checking for 'alsa >= 1.0.18'            : yes 
1.793 Checking for 'libffado >= 1.999.17'      : not found 
1.822 Checking for 'gtkIOStream >= 1.4.0'      : not found 
1.851 Checking for 'eigen3 >= 3.1.2'           : not found 
1.872 Checking for header windows.h            : not found 
1.917 Checking for 'portaudio-2.0 >= 19'       : not found 
1.944 Checking for header mmsystem.h           : not found 
1.991 Checking for 'celt >= 0.11.0'            : not found 
2.014 Checking for 'celt >= 0.8.0'             : not found 
2.025 Checking for 'celt >= 0.7.0'             : not found 
2.046 Checking for 'celt >= 0.5.0'             : not found 
2.066 Checking for header opus/opus_custom.h   : not found 
2.132 Checking for 'opus >= 0.9.0'             : not found 
2.144 Checking for 'samplerate'                : yes 
2.152 Checking for header systemd/sd-daemon.h  : not found 
2.237 Checking for library systemd             : not found 
2.338 Checking for header db.h                 : not found 
2.388 Checking for library db                  : not found 
2.483 Checking for header alloca.h             : yes 
2.681 Checking for ppoll                       : yes 
2.921 Checking for header execinfo.h           : yes 
3.052 Checking for ucontext->uc_mcontext.gp_regs : no 
3.156 Checking for ucontext->uc_mcontext.uc_regs : no 
3.263 Checking for ucontext->uc_mcontext.mc_gregs : no 
3.323 Checking for ucontext->uc_mcontext.gregs    : yes 
3.508 Checking for NGREG                          : yes 
3.600 
3.600 JACK 1.9.22
3.600 Maximum JACK clients                        : 256 
3.600 Maximum ports per application               : 2048 
3.600 Install prefix                              : /usr/local 
3.600 Library directory                           : /usr/local/lib 
3.600 Drivers directory                           : /usr/local/lib/jack 
3.601 Build debuggable binaries                   : no 
3.601 C compiler flags                            : ['-static-libgcc', '-static-libstdc++', '-I/opt/ffbuild/include', '-O2', '-pipe', '-fPIC', '-DPIC', '-D_FORTIFY_SOURCE=2', '-fstack-protector-strong', '-fstack-clash-protection', '-pthread', '-fvisibility=hidden', '-fno-semantic-interposition', '-Wall'] 
3.601 C++ compiler flags                          : ['-static-libgcc', '-static-libstdc++', '-I/opt/ffbuild/include', '-O2', '-pipe', '-fPIC', '-DPIC', '-D_FORTIFY_SOURCE=2', '-fstack-protector-strong', '-fstack-clash-protection', '-pthread', '-fvisibility=hidden', '-fno-semantic-interposition', '-Wall', '-Wno-invalid-offsetof', '-std=gnu++11'] 
3.601 Linker flags                                : ['-static-libgcc', '-static-libstdc++', '-L/opt/ffbuild/lib', '-O2', '-pipe', '-fstack-protector-strong', '-fstack-clash-protection', '-Wl,-z,relro,-z,now', '-pthread', '-lm', '-Wl,--no-undefined'] 
3.601 Build with engine profiling                 : no 
3.602 Build with 32/64 bits mixed mode            : no 
3.602 Build standard JACK (jackd)                 : yes 
3.602 Build D-Bus JACK (jackdbus)                 : no 
3.602 Autostart method                            : classic 
3.603 Build doxygen documentation                 : no 
3.603 Enable ALSA driver                          : yes 
3.603 Enable FireWire driver (FFADO)              : no 
3.603 Enable IIO driver                           : no 
3.603 Enable Portaudio driver                     : no 
3.604 Enable WinMME driver                        : no 
3.605 Build with CELT                             : no 
3.605 Build tests                                 : no 
3.605 Build Opus netjack2                         : no 
3.605 Build with libsamplerate                    : yes 
3.605 Use systemd notify                          : no 
3.605 Use Berkeley DB (metadata)                  : no 
3.609 
3.609 'configure' finished successfully (2.051s)
3.733 + myconf=('--prefix=/opt/ffbuild')
3.733 + local myconf
3.733 + [[ linux64 == win* ]]
3.733 + [[ linux64 == linux* ]]
3.733 + myconf+=(--platform="$FFBUILD_TOOLCHAIN")
3.733 + ./waf --prefix=/opt/ffbuild --platform=x86_64-ffbuild-linux-gnu
4.171 Waf: Entering directory `/opt/ffdl/scripts.d/50-jack.sh/build'
4.422 [  1/177] Compiling common/promiscuous.c
4.424 [  2/177] Compiling common/timestamps.c
4.639 [  3/177] Compiling common/JackDebugClient.cpp
4.686 [  4/177] Compiling common/JackEngineProfiling.cpp
4.690 [  5/177] Compiling common/JackMessageBuffer.cpp
4.733 [  6/177] Compiling common/JackTools.cpp
4.750 [  7/177] Compiling common/JackTransportEngine.cpp
4.769 [  8/177] Compiling common/shm.c
4.828 [  9/177] Compiling common/JackGlobals.cpp
4.845 [ 10/177] Compiling posix/JackNetUnixSocket.cpp
4.872 [ 11/177] Compiling posix/JackSocketNotifyChannel.cpp
4.874 [ 12/177] Compiling common/JackEngineControl.cpp
4.900 [ 13/177] Compiling posix/JackSocketServerNotifyChannel.cpp
5.009 [ 14/177] Compiling common/JackGenericClientChannel.cpp
5.013 [ 15/177] Compiling posix/JackSocketServerChannel.cpp
5.029 [ 16/177] Compiling common/JackMidiWriteQueue.cpp
5.034 [ 17/177] Compiling common/JackMidiUtil.cpp
5.067 [ 18/177] Compiling common/JackMidiAPI.cpp
6.841 ../common/shm.c: In function 'jack_shmalloc':
6.841 ../common/shm.c:892:9: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
6.841   892 |         strncpy (registry->id, name, sizeof (registry->id));
6.841       |         ^
6.841 
6.841 [ 19/177] Compiling common/JackMetadata.cpp
7.769 [ 20/177] Compiling common/JackMidiSendQueue.cpp
7.992 [ 21/177] Compiling common/JackAudioPort.cpp
8.407 ../common/JackEngineProfiling.cpp: In constructor 'Jack::JackEngineProfiling::JackEngineProfiling()':
8.407 ../common/JackEngineProfiling.cpp:39:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jack::JackTimingMeasure'; use assignment or value-initialization instead [-Wclass-memaccess]
8.407    39 |     memset(fProfileTable, 0, sizeof(fProfileTable));
8.407       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8.407 In file included from ../common/JackEngineProfiling.cpp:20:
8.407 ../common/JackEngineProfiling.h:84:8: note: 'struct Jack::JackTimingMeasure' declared here
8.407    84 | struct JackTimingMeasure
8.407       |        ^~~~~~~~~~~~~~~~~
8.407 
8.408 [ 22/177] Compiling common/JackMidiRawOutputWriteQueue.cpp
8.824 [ 23/177] Compiling common/JackMidiAsyncQueue.cpp
8.834 [ 24/177] Compiling common/JackRestartThreadedDriver.cpp
9.138 [ 25/177] Compiling common/JackWaitThreadedDriver.cpp
9.365 [ 26/177] Compiling common/JackGraphManager.cpp
9.813 [ 27/177] Compiling common/JackConnectionManager.cpp
9.928 [ 28/177] Compiling common/JackWaitCallbackDriver.cpp
10.07 [ 29/177] Compiling common/JackMidiReadQueue.cpp
10.40 [ 30/177] Compiling common/JackMidiAsyncWaitQueue.cpp
10.47 [ 31/177] Compiling common/JackServerAPI.cpp
10.74 [ 32/177] Compiling common/ringbuffer.c
10.74 ../common/JackDebugClient.cpp: In member function 'virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)':
10.74 ../common/JackDebugClient.cpp:94:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=]
10.74    94 |     snprintf(provstr, sizeof(provstr), "JackClientDebug-%s-%s.log", name, buffer);
10.74       |                                                            ^~             ~~~~~~
10.74 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
10.74                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
10.74                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
10.74                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
10.74                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
10.74                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/stdexcept:39,
10.74                  from ../common/JackException.h:25,
10.74                  from ../posix/JackPosixMutex.h:25,
10.74                  from ../linux/JackPlatformPlug_os.h:44,
10.74                  from ../common/JackPlatformPlug.h:23,
10.74                  from ../common/JackClient.h:28,
10.74                  from ../common/JackDebugClient.h:25,
10.74                  from ../common/JackDebugClient.cpp:20:
10.74 In function 'int snprintf(char*, size_t, const char*, ...)',
10.74     inlined from 'virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)' at ../common/JackDebugClient.cpp:94:13:
10.74 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 277) into a destination of size 256
10.74    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
10.74       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.74    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
10.74       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.74 
11.02 [ 33/177] Compiling common/JackMidiBufferReadQueue.cpp
11.24 [ 34/177] Compiling common/JackDriverLoader.cpp
12.01 [ 35/177] Compiling posix/JackPosixThread.cpp
12.03 [ 36/177] Compiling posix/JackPosixProcessSync.cpp
12.05 [ 37/177] Compiling common/JackServerGlobals.cpp
12.28 [ 38/177] Compiling posix/JackPosixMutex.cpp
12.81 [ 39/177] Compiling posix/JackSocket.cpp
12.95 [ 40/177] Compiling common/JackShmMem.cpp
12.96 [ 41/177] Compiling common/JackMidiReceiveQueue.cpp
14.13 [ 42/177] Compiling common/JackPort.cpp
14.24 [ 43/177] Compiling common/JackError.cpp
14.49 [ 44/177] Compiling linux/JackLinuxFutex.cpp
14.82 [ 45/177] Compiling linux/JackLinuxTime.c
15.28 ../common/JackGraphManager.cpp: In member function 'void Jack::JackGraphManager::Save(Jack::JackConnectionManager*)':
15.28 ../common/JackGraphManager.cpp:904:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
15.28   904 |     memcpy(dst, manager, sizeof(JackConnectionManager));
15.28       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.28 In file included from ../common/JackGraphManager.h:27,
15.28                  from ../common/JackGraphManager.cpp:21:
15.28 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
15.28   411 | class SERVER_EXPORT JackConnectionManager
15.28       |                     ^~~~~~~~~~~~~~~~~~~~~
15.28 ../common/JackGraphManager.cpp: In member function 'void Jack::JackGraphManager::Restore(Jack::JackConnectionManager*)':
15.28 ../common/JackGraphManager.cpp:912:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
15.28   912 |     memcpy(manager, src, sizeof(JackConnectionManager));
15.28       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.28 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
15.28   411 | class SERVER_EXPORT JackConnectionManager
15.28       |                     ^~~~~~~~~~~~~~~~~~~~~
15.28 In file included from ../common/JackGraphManager.h:28:
15.28 ../common/JackAtomicState.h: In instantiation of 'UInt32 Jack::JackAtomicState<T>::WriteNextStateStartAux() [with T = Jack::JackConnectionManager; UInt32 = unsigned int]':
15.28 ../common/JackAtomicState.h:197:35:   required from 'T* Jack::JackAtomicState<T>::WriteNextStateStart() [with T = Jack::JackConnectionManager]'
15.28 ../common/JackGraphManager.cpp:91:57:   required from here
15.28 ../common/JackAtomicState.h:116:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
15.28   116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
15.28       |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.28 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
15.28   411 | class SERVER_EXPORT JackConnectionManager
15.28       |                     ^~~~~~~~~~~~~~~~~~~~~
15.28 
15.28 [ 46/177] Compiling common/JackControlAPI.cpp
15.31 [ 47/177] Compiling common/JackAudioDriver.cpp
15.50 ../common/JackPort.cpp: In member function 'int Jack::JackPort::GetAliases(char* const*)':
15.50 ../common/JackPort.cpp:257:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
15.50   257 |         strncpy(aliases[0], fAlias1, REAL_JACK_PORT_NAME_SIZE);
15.50       |                ^
15.50 ../common/JackPort.cpp:262:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
15.50   262 |         strncpy(aliases[1], fAlias2, REAL_JACK_PORT_NAME_SIZE);
15.50       |                ^
15.50 ../common/JackPort.cpp: In member function 'int Jack::JackPort::SetAlias(const char*)':
15.50 ../common/JackPort.cpp:274:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 321 equals destination size [-Wstringop-truncation]
15.50   274 |         strncpy(fAlias2, alias, sizeof(fAlias2));
15.50       |                ^
15.50 ../common/JackPort.cpp:272:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 321 equals destination size [-Wstringop-truncation]
15.50   272 |         strncpy(fAlias1, alias, sizeof(fAlias1));
15.50       |                ^
15.50 
15.50 [ 48/177] Compiling common/JackTimedDriver.cpp
15.69 [ 49/177] Compiling common/JackMidiBufferWriteQueue.cpp
15.74 [ 50/177] Compiling common/JackNetTool.cpp
15.74 In file included from ../common/JackInternalClient.h:24,
15.74                  from ../common/JackServerAPI.cpp:23:
15.74 ../common/JackClient.h:219:14: warning: 'virtual bool Jack::JackClient::Init()' was hidden [-Woverloaded-virtual=]
15.74   219 |         bool Init();
15.74       |              ^~~~
15.74 ../common/JackInternalClient.h:84:21: note:   by 'virtual int Jack::JackLoadableInternalClient::Init(const char*)'
15.74    84 |         virtual int Init(const char* so_name);
15.74       |                     ^~~~
15.74 
15.90 In file included from ../common/JackConnectionManager.cpp:20:
15.90 ../common/JackConnectionManager.h: In instantiation of 'const jack_int_t* Jack::JackFixedArray<SIZE>::GetItems() const [with int SIZE = 2048; jack_int_t = short unsigned int]':
15.90 ../common/JackConnectionManager.cpp:131:44:   required from here
15.90 ../common/JackConnectionManager.h:103:20: warning: taking address of packed member of 'Jack::JackFixedArray<2048>' may result in an unaligned pointer value [-Waddress-of-packed-member]
15.90   103 |             return fTable;
15.90       |                    ^~~~~~
15.90 ../common/JackConnectionManager.h: In instantiation of 'const jack_int_t* Jack::JackFixedMatrix<SIZE>::GetItems(jack_int_t) const [with int SIZE = 256; jack_int_t = short unsigned int]':
15.90 ../common/JackConnectionManager.cpp:254:59:   required from here
15.90 ../common/JackConnectionManager.h:186:26: warning: taking address of packed member of 'Jack::JackFixedMatrix<256>' may result in an unaligned pointer value [-Waddress-of-packed-member]
15.90   186 |             return fTable[index];
15.90       |                    ~~~~~~^
15.90 
15.90 [ 51/177] Compiling common/JackMidiDriver.cpp
16.10 ../common/JackDriverLoader.cpp: In function 'void jack_print_driver_options(jack_driver_desc_t*, FILE*)':
16.10 ../common/JackDriverLoader.cpp:104:43: warning: the address of 'jack_driver_param_value_t::str' will never be NULL [-Waddress]
16.10   104 |                 if (desc->params[i].value.str && strcmp (desc->params[i].value.str, "") != 0) {
16.10       |                     ~~~~~~~~~~~~~~~~~~~~~~^~~
16.10 In file included from ../common/JackDriverLoader.h:24,
16.10                  from ../common/JackDriverLoader.cpp:22:
16.10 ../common/driver_interface.h:69:10: note: 'jack_driver_param_value_t::str' declared here
16.10    69 |     char str[JACK_DRIVER_PARAM_STRING_MAX + 1];
16.10       |          ^~~
16.10 ../common/JackDriverLoader.cpp: In function 'jack_driver_desc_t* jack_get_descriptor(JSList*, const file_char_t*, const char*, const file_char_t*)':
16.10 ../common/JackDriverLoader.cpp:491:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation]
16.10   491 |     strncpy(descriptor->file, filename, JACK_PATH_MAX);
16.10       |            ^
16.10 
16.11 [ 52/177] Compiling common/JackDriver.cpp
16.28 [ 53/177] Compiling common/JackException.cpp
16.37 ../common/JackGenericClientChannel.cpp: In member function 'virtual void Jack::JackGenericClientChannel::GetUUIDForClientName(int, const char*, char*, int*)':
16.37 ../common/JackGenericClientChannel.cpp:232:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
16.37   232 |     strncpy(uuid_res, res.fUUID, JACK_UUID_SIZE);
16.37       |            ^
16.37 ../common/JackGenericClientChannel.cpp: In member function 'virtual void Jack::JackGenericClientChannel::GetClientNameForUUID(int, const char*, char*, int*)':
16.37 ../common/JackGenericClientChannel.cpp:240:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
16.37   240 |     strncpy(name_res, res.fName, JACK_CLIENT_NAME_SIZE);
16.37       |            ^
16.37 
16.37 [ 54/177] Compiling common/JackEngine.cpp
16.38 [ 55/177] Compiling common/JackExternalClient.cpp
16.43 [ 56/177] Compiling common/JackMidiPort.cpp
16.53 [ 57/177] Compiling common/JackMidiRawInputWriteQueue.cpp
17.07 [ 58/177] Compiling common/JackNetInterface.cpp
17.12 [ 59/177] Compiling common/JackFreewheelDriver.cpp
17.42 [ 60/177] Compiling common/JackActivationCount.cpp
17.61 [ 61/177] Compiling common/JackArgParser.cpp
17.72 [ 62/177] Compiling common/JackInternalClient.cpp
18.15 [ 63/177] Compiling common/JackInternalSessionLoader.cpp
18.21 [ 64/177] Compiling common/JackPortType.cpp
18.28 [ 65/177] Compiling common/JackFrameTimer.cpp
19.06 [ 66/177] Compiling common/JackAPI.cpp
19.14 [ 67/177] Compiling common/JackServer.cpp
19.58 [ 68/177] Compiling common/JackRequestDecoder.cpp
19.90 [ 69/177] Compiling common/JackThreadedDriver.cpp
20.07 ../common/JackFrameTimer.cpp: In member function 'void Jack::JackFrameTimer::ReadFrameTime(Jack::JackTimer*)':
20.07 ../common/JackFrameTimer.cpp:147:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackTimer'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
20.07   147 |         memcpy(timer, ReadCurrentState(), sizeof(JackTimer));
20.07       |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.07 In file included from ../common/JackFrameTimer.cpp:21:
20.07 ../common/JackFrameTimer.h:36:21: note: 'class Jack::JackTimer' declared here
20.07    36 | class SERVER_EXPORT JackTimer
20.07       |                     ^~~~~~~~~
20.07 In file included from ../common/JackFrameTimer.h:24:
20.07 ../common/JackAtomicState.h: In instantiation of 'UInt32 Jack::JackAtomicState<T>::WriteNextStateStartAux() [with T = Jack::JackTimer; UInt32 = unsigned int]':
20.07 ../common/JackAtomicState.h:197:35:   required from 'T* Jack::JackAtomicState<T>::WriteNextStateStart() [with T = Jack::JackTimer]'
20.07 ../common/JackFrameTimer.cpp:128:47:   required from here
20.07 ../common/JackAtomicState.h:116:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackTimer'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
20.07   116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
20.07       |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.07 ../common/JackFrameTimer.h:36:21: note: 'class Jack::JackTimer' declared here
20.07    36 | class SERVER_EXPORT JackTimer
20.07       |                     ^~~~~~~~~
20.07 
20.07 [ 70/177] Compiling common/JackClient.cpp
20.18 [ 71/177] Compiling common/Jackdmp.cpp
20.47 [ 72/177] Compiling posix/JackPosixThread.cpp
20.69 ../posix/JackSocket.cpp: In function 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)':
20.69 ../posix/JackSocket.cpp:40:42: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
20.69    40 |             snprintf(res, size, "%s/jack_%s_%d_%d", dir, ext_client_name, JackTools::GetUID(), which);
20.69       |                                          ^~              ~~~~~~~~~~~~~~~
20.69 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
20.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
20.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
20.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
20.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
20.69                  from ../common/JackTools.h:42,
20.69                  from ../posix/JackSocket.cpp:22:
20.69 In function 'int snprintf(char*, size_t, const char*, ...)',
20.69     inlined from 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)' at ../posix/JackSocket.cpp:40:14:
20.69 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 108
20.69    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
20.69       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.69    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
20.69       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.69 ../posix/JackSocket.cpp: In function 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)':
20.69 ../posix/JackSocket.cpp:38:42: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
20.69    38 |             snprintf(res, size, "%s/jack_%s_%d", dir, ext_client_name, which);
20.69       |                                          ^~           ~~~~~~~~~~~~~~~
20.69 In function 'int snprintf(char*, size_t, const char*, ...)',
20.69     inlined from 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)' at ../posix/JackSocket.cpp:38:14:
20.69 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 265) into a destination of size 108
20.69    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
20.69       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.69    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
20.69       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20.69 ../posix/JackSocket.cpp: In member function 'int Jack::JackServerSocket::Bind(const char*, const char*, int)':
20.69 ../posix/JackSocket.cpp:278:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 107 bytes from a string of length 255 [-Wstringop-truncation]
20.69   278 |     strncpy(addr.sun_path, fName, sizeof(addr.sun_path) - 1);
20.69       |            ^
20.69 
20.69 [ 73/177] Compiling common/JackMidiPort.cpp
21.11 [ 74/177] Compiling common/JackAudioPort.cpp
21.50 [ 75/177] Compiling common/JackError.cpp
21.51 [ 76/177] Compiling posix/JackPosixProcessSync.cpp
22.07 In file included from ../common/JackInternalClient.h:24,
22.07                  from ../common/JackInternalClient.cpp:25:
22.07 ../common/JackClient.h:219:14: warning: 'virtual bool Jack::JackClient::Init()' was hidden [-Woverloaded-virtual=]
22.07   219 |         bool Init();
22.07       |              ^~~~
22.07 ../common/JackInternalClient.h:84:21: note:   by 'virtual int Jack::JackLoadableInternalClient::Init(const char*)'
22.07    84 |         virtual int Init(const char* so_name);
22.07       |                     ^~~~
22.07 ../common/JackInternalClient.cpp: In member function 'virtual int Jack::JackInternalClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)':
22.07 ../common/JackInternalClient.cpp:103:36: warning: taking address of packed member of 'Jack::JackClientControl' may result in an unaligned pointer value [-Waddress-of-packed-member]
22.07   103 |     fChannel->ClientOpen(name_res, &fClientControl.fRefNum, &fEngineControl, &fGraphManager, this, &result);
22.07       |                                    ^~~~~~~~~~~~~~~~~~~~~~~
22.07 ../common/JackInternalClient.cpp: In constructor 'Jack::JackLoadableInternalClient1::JackLoadableInternalClient1(Jack::JackServer*, Jack::JackSynchro*, const char*)':
22.07 ../common/JackInternalClient.cpp:206:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation]
22.07   206 |         strncpy(fObjectData, object_data, JACK_LOAD_INIT_LIMIT);
22.07       |                ^
22.07 
22.07 [ 77/177] Compiling common/timestamps.c
22.63 [ 78/177] Compiling common/JackMidiAPI.cpp
22.76 [ 79/177] Compiling posix/JackPosixMutex.cpp
23.68 [ 80/177] Compiling common/JackLibClient.cpp
24.65 [ 81/177] Compiling common/JackEngineProfiling.cpp
24.67 [ 82/177] Compiling common/JackClient.cpp
24.89 [ 83/177] Compiling common/JackActivationCount.cpp
24.92 [ 84/177] Compiling common/JackDebugClient.cpp
24.96 [ 85/177] Compiling posix/JackSocket.cpp
24.96 [ 86/177] Compiling common/JackEngineControl.cpp
25.22 [ 87/177] Compiling common/JackPortType.cpp
25.58 [ 88/177] Compiling common/shm.c
25.60 [ 89/177] Compiling posix/JackSocketClientChannel.cpp
25.98 [ 90/177] Compiling common/JackException.cpp
26.24 ../common/JackClient.cpp: In member function 'virtual int Jack::JackClient::SessionReply(jack_session_event_t*)':
26.24 ../common/JackClient.cpp:1294:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation]
26.24  1294 |         strncpy(GetClientControl()->fSessionCommand, ev->command_line, sizeof(GetClientControl()->fSessionCommand));
26.24       |                ^
26.24 
26.25 [ 91/177] Compiling linux/JackLinuxFutex.cpp
26.31 [ 92/177] Compiling common/JackMessageBuffer.cpp
26.45 [ 93/177] Compiling common/JackAPI.cpp
26.86 [ 94/177] Compiling common/JackTools.cpp
26.86 In file included from ../common/JackInternalClient.h:24,
26.86                  from ../common/JackServer.cpp:33:
26.86 ../common/JackClient.h:219:14: warning: 'virtual bool Jack::JackClient::Init()' was hidden [-Woverloaded-virtual=]
26.86   219 |         bool Init();
26.86       |              ^~~~
26.86 ../common/JackInternalClient.h:84:21: note:   by 'virtual int Jack::JackLoadableInternalClient::Init(const char*)'
26.86    84 |         virtual int Init(const char* so_name);
26.86       |                     ^~~~
26.86 In file included from ../common/JackServer.cpp:31:
26.86 ../common/JackEngineControl.h: In constructor 'Jack::JackServer::JackServer(bool, bool, int, bool, int, int, bool, jack_timer_type_t, char, const char*)':
26.86 ../common/JackEngineControl.h:124:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 257 equals destination size [-Wstringop-truncation]
26.86   124 |         strncpy(fServerName, server_name, sizeof(fServerName));
26.86       |                ^
26.86 
27.06 [ 95/177] Compiling common/JackPort.cpp
27.95 ../common/JackPort.cpp: In member function 'int Jack::JackPort::GetAliases(char* const*)':
27.95 ../common/JackPort.cpp:257:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
27.95   257 |         strncpy(aliases[0], fAlias1, REAL_JACK_PORT_NAME_SIZE);
27.95       |                ^
27.95 ../common/JackPort.cpp:262:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 320 bytes from a string of length 320 [-Wstringop-truncation]
27.95   262 |         strncpy(aliases[1], fAlias2, REAL_JACK_PORT_NAME_SIZE);
27.95       |                ^
27.95 ../common/JackPort.cpp: In member function 'int Jack::JackPort::SetAlias(const char*)':
27.95 ../common/JackPort.cpp:274:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 321 equals destination size [-Wstringop-truncation]
27.95   274 |         strncpy(fAlias2, alias, sizeof(fAlias2));
27.95       |                ^
27.95 ../common/JackPort.cpp:272:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 321 equals destination size [-Wstringop-truncation]
27.95   272 |         strncpy(fAlias1, alias, sizeof(fAlias1));
27.95       |                ^
27.95 
27.95 [ 96/177] Compiling posix/JackPosixServerLaunch.cpp
28.09 [ 97/177] Compiling common/JackTransportEngine.cpp
28.09 ../common/shm.c: In function 'jack_shmalloc':
28.09 ../common/shm.c:892:9: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
28.09   892 |         strncpy (registry->id, name, sizeof (registry->id));
28.09       |         ^
28.09 
28.10 [ 98/177] Compiling common/JackGlobals.cpp
28.31 [ 99/177] Compiling common/JackGraphManager.cpp
28.38 [100/177] Compiling common/JackConnectionManager.cpp
28.59 In file included from ../common/JackInternalClient.h:24,
28.59                  from ../common/JackEngine.cpp:29:
28.59 ../common/JackClient.h:219:14: warning: 'virtual bool Jack::JackClient::Init()' was hidden [-Woverloaded-virtual=]
28.59   219 |         bool Init();
28.59       |              ^~~~
28.59 ../common/JackInternalClient.h:84:21: note:   by 'virtual int Jack::JackLoadableInternalClient::Init(const char*)'
28.59    84 |         virtual int Init(const char* so_name);
28.59       |                     ^~~~
28.59 ../common/JackEngine.cpp: In member function 'int Jack::JackEngine::GetInternalClientName(int, char*)':
28.59 ../common/JackEngine.cpp:442:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
28.59   442 |     strncpy(name_res, client->GetClientControl()->fName, JACK_CLIENT_NAME_SIZE);
28.59       |            ^
28.59 In file included from ../common/JackEngine.h:29,
28.59                  from ../common/JackLockedEngine.h:23,
28.59                  from ../common/JackEngine.cpp:27:
28.59 ../common/JackRequest.h: In member function 'void Jack::JackEngine::SessionNotify(int, const char*, jack_session_event_type_t, const char*, Jack::detail::JackChannelTransactionInterface*, Jack::JackSessionNotifyResult**)':
28.59 ../common/JackRequest.h:1256:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
28.59  1256 |         strncpy(fUUID, uuid, sizeof(fUUID)-1);
28.59       |                ^
28.59 ../common/JackRequest.h:1257:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
28.59  1257 |         strncpy(fClientName, clientname, sizeof(fClientName)-1);
28.59       |                ^
28.59 ../common/JackRequest.h: In member function 'int Jack::JackEngine::SessionReply(int)':
28.59 ../common/JackRequest.h:1256:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
28.59  1256 |         strncpy(fUUID, uuid, sizeof(fUUID)-1);
28.59       |                ^
28.59 ../common/JackRequest.h:1257:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
28.59  1257 |         strncpy(fClientName, clientname, sizeof(fClientName)-1);
28.59       |                ^
28.59 ../common/JackEngine.cpp: In member function 'int Jack::JackEngine::GetClientNameForUUID(const char*, char*)':
28.59 ../common/JackEngine.cpp:1228:20: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
28.59  1228 |             strncpy(name_res, client->GetClientControl()->fName, JACK_CLIENT_NAME_SIZE);
28.59       |                    ^
28.59 
28.60 [101/177] Compiling common/JackMetadata.cpp
28.61 [102/177] Compiling common/JackGenericClientChannel.cpp
28.74 ../common/JackClient.cpp: In member function 'virtual int Jack::JackClient::SessionReply(jack_session_event_t*)':
28.74 ../common/JackClient.cpp:1294:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation]
28.74  1294 |         strncpy(GetClientControl()->fSessionCommand, ev->command_line, sizeof(GetClientControl()->fSessionCommand));
28.74       |                ^
28.74 
28.74 [103/177] Compiling common/JackFrameTimer.cpp
29.05 [104/177] Compiling common/JackLibAPI.cpp
30.07 ../common/JackFrameTimer.cpp: In member function 'void Jack::JackFrameTimer::ReadFrameTime(Jack::JackTimer*)':
30.07 ../common/JackFrameTimer.cpp:147:15: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackTimer'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
30.07   147 |         memcpy(timer, ReadCurrentState(), sizeof(JackTimer));
30.07       |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.07 In file included from ../common/JackFrameTimer.cpp:21:
30.07 ../common/JackFrameTimer.h:36:21: note: 'class Jack::JackTimer' declared here
30.07    36 | class SERVER_EXPORT JackTimer
30.07       |                     ^~~~~~~~~
30.07 In file included from ../common/JackFrameTimer.h:24:
30.07 ../common/JackAtomicState.h: In instantiation of 'UInt32 Jack::JackAtomicState<T>::WriteNextStateStartAux() [with T = Jack::JackTimer; UInt32 = unsigned int]':
30.07 ../common/JackAtomicState.h:197:35:   required from 'T* Jack::JackAtomicState<T>::WriteNextStateStart() [with T = Jack::JackTimer]'
30.07 ../common/JackFrameTimer.cpp:128:47:   required from here
30.07 ../common/JackAtomicState.h:116:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackTimer'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
30.07   116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
30.07       |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.07 ../common/JackFrameTimer.h:36:21: note: 'class Jack::JackTimer' declared here
30.07    36 | class SERVER_EXPORT JackTimer
30.07       |                     ^~~~~~~~~
30.07 
30.08 [105/177] Compiling linux/JackLinuxTime.c
30.10 [106/177] Compiling common/JackShmMem.cpp
30.29 [107/177] Compiling common/promiscuous.c
30.37 ../posix/JackSocket.cpp: In function 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)':
30.37 ../posix/JackSocket.cpp:40:42: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
30.37    40 |             snprintf(res, size, "%s/jack_%s_%d_%d", dir, ext_client_name, JackTools::GetUID(), which);
30.37       |                                          ^~              ~~~~~~~~~~~~~~~
30.37 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
30.37                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
30.37                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
30.37                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
30.37                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
30.37                  from ../common/JackTools.h:42,
30.37                  from ../posix/JackSocket.cpp:22:
30.37 In function 'int snprintf(char*, size_t, const char*, ...)',
30.37     inlined from 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)' at ../posix/JackSocket.cpp:40:14:
30.37 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 108
30.37    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
30.37       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.37    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
30.37       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.37 ../posix/JackSocket.cpp: In function 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)':
30.37 ../posix/JackSocket.cpp:38:42: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 102 [-Wformat-truncation=]
30.37    38 |             snprintf(res, size, "%s/jack_%s_%d", dir, ext_client_name, which);
30.37       |                                          ^~           ~~~~~~~~~~~~~~~
30.37 In function 'int snprintf(char*, size_t, const char*, ...)',
30.37     inlined from 'void Jack::BuildName(const char*, char*, const char*, int, int, bool)' at ../posix/JackSocket.cpp:38:14:
30.37 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 265) into a destination of size 108
30.37    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
30.37       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.37    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
30.37       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30.37 ../posix/JackSocket.cpp: In member function 'int Jack::JackServerSocket::Bind(const char*, const char*, int)':
30.37 ../posix/JackSocket.cpp:278:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 107 bytes from a string of length 255 [-Wstringop-truncation]
30.37   278 |     strncpy(addr.sun_path, fName, sizeof(addr.sun_path) - 1);
30.37       |            ^
30.37 
30.37 [108/177] Compiling common/ringbuffer.c
30.55 [109/177] Compiling common/JackAudioAdapterInterface.cpp
30.55 [110/177] Compiling posix/JackPosixMutex.cpp
30.58 [111/177] Compiling linux/JackLinuxTime.c
30.80 [112/177] Compiling posix/JackNetUnixSocket.cpp
30.84 [113/177] Compiling posix/JackPosixThread.cpp
31.05 [114/177] Compiling common/JackException.cpp
31.07 [115/177] Compiling common/JackNetTool.cpp
31.19 [116/177] Compiling common/JackNetInterface.cpp
31.26 [117/177] Compiling common/ringbuffer.c
31.99 [118/177] Compiling common/JackNetAPI.cpp
32.11 [119/177] Compiling common/JackGlobals.cpp
32.19 ../common/JackEngineProfiling.cpp: In constructor 'Jack::JackEngineProfiling::JackEngineProfiling()':
32.19 ../common/JackEngineProfiling.cpp:39:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct Jack::JackTimingMeasure'; use assignment or value-initialization instead [-Wclass-memaccess]
32.19    39 |     memset(fProfileTable, 0, sizeof(fProfileTable));
32.19       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32.19 In file included from ../common/JackEngineProfiling.cpp:20:
32.19 ../common/JackEngineProfiling.h:84:8: note: 'struct Jack::JackTimingMeasure' declared here
32.19    84 | struct JackTimingMeasure
32.19       |        ^~~~~~~~~~~~~~~~~
32.19 
32.19 [120/177] Compiling common/JackResampler.cpp
32.69 ../common/JackDebugClient.cpp: In member function 'virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)':
32.69 ../common/JackDebugClient.cpp:94:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=]
32.69    94 |     snprintf(provstr, sizeof(provstr), "JackClientDebug-%s-%s.log", name, buffer);
32.69       |                                                            ^~             ~~~~~~
32.69 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
32.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
32.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
32.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
32.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
32.69                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/stdexcept:39,
32.69                  from ../common/JackException.h:25,
32.69                  from ../posix/JackPosixMutex.h:25,
32.69                  from ../linux/JackPlatformPlug_os.h:44,
32.69                  from ../common/JackPlatformPlug.h:23,
32.69                  from ../common/JackClient.h:28,
32.69                  from ../common/JackDebugClient.h:25,
32.69                  from ../common/JackDebugClient.cpp:20:
32.69 In function 'int snprintf(char*, size_t, const char*, ...)',
32.69     inlined from 'virtual int Jack::JackDebugClient::Open(const char*, const char*, jack_uuid_t, jack_options_t, jack_status_t*)' at ../common/JackDebugClient.cpp:94:13:
32.69 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 277) into a destination of size 256
32.69    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
32.69       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32.69    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
32.69       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32.69 
32.69 [121/177] Compiling common/JackLibSampleRateResampler.cpp
32.76 ../common/JackGenericClientChannel.cpp: In member function 'virtual void Jack::JackGenericClientChannel::GetUUIDForClientName(int, const char*, char*, int*)':
32.76 ../common/JackGenericClientChannel.cpp:232:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 36 bytes from a string of length 36 [-Wstringop-truncation]
32.76   232 |     strncpy(uuid_res, res.fUUID, JACK_UUID_SIZE);
32.76       |            ^
32.76 ../common/JackGenericClientChannel.cpp: In member function 'virtual void Jack::JackGenericClientChannel::GetClientNameForUUID(int, const char*, char*, int*)':
32.76 ../common/JackGenericClientChannel.cpp:240:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation]
32.76   240 |     strncpy(name_res, res.fName, JACK_CLIENT_NAME_SIZE);
32.76       |            ^
32.76 
32.76 [122/177] Compiling common/JackNetManager.cpp
32.79 [123/177] Compiling common/JackProfiler.cpp
32.79 [124/177] Compiling common/JackLibSampleRateResampler.cpp
32.94 [125/177] Compiling common/JackAudioAdapter.cpp
32.99 [126/177] Compiling common/JackAudioAdapterInterface.cpp
33.18 [127/177] Compiling common/JackResampler.cpp
33.34 [128/177] Compiling common/JackNetAdapter.cpp
33.45 [129/177] Compiling common/JackAudioAdapter.cpp
33.61 [130/177] Compiling common/JackResampler.cpp
33.61 ../common/JackGraphManager.cpp: In member function 'void Jack::JackGraphManager::Save(Jack::JackConnectionManager*)':
33.61 ../common/JackGraphManager.cpp:904:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
33.61   904 |     memcpy(dst, manager, sizeof(JackConnectionManager));
33.61       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33.61 In file included from ../common/JackGraphManager.h:27,
33.61                  from ../common/JackGraphManager.cpp:21:
33.61 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
33.61   411 | class SERVER_EXPORT JackConnectionManager
33.61       |                     ^~~~~~~~~~~~~~~~~~~~~
33.61 ../common/JackGraphManager.cpp: In member function 'void Jack::JackGraphManager::Restore(Jack::JackConnectionManager*)':
33.61 ../common/JackGraphManager.cpp:912:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
33.61   912 |     memcpy(manager, src, sizeof(JackConnectionManager));
33.61       |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33.61 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
33.61   411 | class SERVER_EXPORT JackConnectionManager
33.61       |                     ^~~~~~~~~~~~~~~~~~~~~
33.61 In file included from ../common/JackGraphManager.h:28:
33.61 ../common/JackAtomicState.h: In instantiation of 'UInt32 Jack::JackAtomicState<T>::WriteNextStateStartAux() [with T = Jack::JackConnectionManager; UInt32 = unsigned int]':
33.61 ../common/JackAtomicState.h:197:35:   required from 'T* Jack::JackAtomicState<T>::WriteNextStateStart() [with T = Jack::JackConnectionManager]'
33.61 ../common/JackGraphManager.cpp:91:57:   required from here
33.61 ../common/JackAtomicState.h:116:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class Jack::JackConnectionManager'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
33.61   116 |                 memcpy(&fState[next_index], &fState[cur_index], sizeof(T));
33.61       |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33.61 ../common/JackConnectionManager.h:411:21: note: 'class Jack::JackConnectionManager' declared here
33.61   411 | class SERVER_EXPORT JackConnectionManager
33.61       |                     ^~~~~~~~~~~~~~~~~~~~~
33.61 
33.63 [131/177] Compiling common/JackAudioAdapterInterface.cpp
33.78 In file included from ../common/JackConnectionManager.cpp:20:
33.78 ../common/JackConnectionManager.h: In instantiation of 'const jack_int_t* Jack::JackFixedArray<SIZE>::GetItems() const [with int SIZE = 2048; jack_int_t = short unsigned int]':
33.78 ../common/JackConnectionManager.cpp:131:44:   required from here
33.78 ../common/JackConnectionManager.h:103:20: warning: taking address of packed member of 'Jack::JackFixedArray<2048>' may result in an unaligned pointer value [-Waddress-of-packed-member]
33.78   103 |             return fTable;
33.78       |                    ^~~~~~
33.78 ../common/JackConnectionManager.h: In instantiation of 'const jack_int_t* Jack::JackFixedMatrix<SIZE>::GetItems(jack_int_t) const [with int SIZE = 256; jack_int_t = short unsigned int]':
33.78 ../common/JackConnectionManager.cpp:254:59:   required from here
33.78 ../common/JackConnectionManager.h:186:26: warning: taking address of packed member of 'Jack::JackFixedMatrix<256>' may result in an unaligned pointer value [-Waddress-of-packed-member]
33.78   186 |             return fTable[index];
33.78       |                    ~~~~~~^
33.78 
33.79 [132/177] Compiling linux/alsa/JackAlsaAdapter.cpp
33.97 [133/177] Compiling common/JackAudioAdapterFactory.cpp
34.07 [134/177] Linking build/common/libjack.so
34.09 [135/177] Compiling common/JackLibSampleRateResampler.cpp
34.16 [136/177] Compiling common/JackDummyDriver.cpp
34.51 [137/177] Compiling common/JackLoopbackDriver.cpp
34.53 [138/177] Compiling common/JackNetDriver.cpp
34.94 [139/177] Compiling common/netjack_packet.c
35.04 [140/177] Compiling common/JackNetOneDriver.cpp
35.17 ../common/JackNetAPI.cpp: In function 'jack_net_slave_t* jack_net_slave_open(const char*, int, const char*, jack_slave_t*, jack_master_t*)':
35.17 ../common/JackNetAPI.cpp:541:59: warning: '_' directive output may be truncated writing 1 byte into a region of size between 0 and 64 [-Wformat-truncation=]
35.17   541 |         snprintf(fParams.fName, JACK_CLIENT_NAME_SIZE, "%s_%s", host_name, name);
35.17       |                                                           ^
35.17 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
35.17                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
35.17                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
35.17                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
35.17                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
35.17                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/stdexcept:39,
35.17                  from ../common/JackException.h:25,
35.17                  from ../posix/JackPosixMutex.h:25,
35.17                  from ../linux/JackPlatformPlug_os.h:44,
35.17                  from ../common/JackPlatformPlug.h:23,
35.17                  from ../common/JackMidiPort.h:26,
35.17                  from ../common/JackNetTool.h:20,
35.17                  from ../common/JackNetInterface.h:23,
35.17                  from ../common/JackNetAPI.cpp:23:
35.17 In function 'int snprintf(char*, size_t, const char*, ...)',
35.17     inlined from 'Jack::JackNetExtSlave::JackNetExtSlave(const char*, int, const char*, jack_slave_t*)' at ../common/JackNetAPI.cpp:541:17,
35.17     inlined from 'jack_net_slave_t* jack_net_slave_open(const char*, int, const char*, jack_slave_t*, jack_master_t*)' at ../common/JackNetAPI.cpp:1054:73:
35.17 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 66) into a destination of size 64
35.17    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
35.17       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35.17    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
35.17       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35.17 
35.17 [141/177] Compiling common/netjack.c
35.45 [142/177] Compiling common/JackProxyDriver.cpp
35.48 [143/177] Compiling linux/alsa/hdsp.c
35.65 [144/177] Compiling linux/alsa/JackAlsaDriver.cpp
35.92 [145/177] Compiling linux/alsa/alsa_seqmidi.c
36.35 [146/177] Compiling linux/alsa/alsa_rawmidi.c
36.51 [147/177] Compiling linux/alsa/alsa_midi_jackmp.cpp
37.71 [148/177] Compiling linux/alsa/generic_hw.c
38.16 [149/177] Compiling common/memops.c
39.26 [150/177] Linking build/common/libjackserver.so
41.05 [151/177] Compiling linux/alsa/hammerfall.c
41.19 [152/177] Compiling linux/alsa/alsa_driver.c
41.26 [153/177] Compiling linux/alsa/ice1712.c
41.41 [154/177] Compiling linux/alsarawmidi/JackALSARawMidiOutputPort.cpp
41.43 [155/177] Compiling linux/alsarawmidi/JackALSARawMidiUtil.cpp
41.43 ../linux/alsa/JackAlsaDriver.cpp: In function 'jack_driver_param_constraint_desc_t* enum_alsa_devices()':
41.43 ../linux/alsa/JackAlsaDriver.cpp:625:68: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 127 [-Wformat-truncation=]
41.43   625 |                 snprintf(device_id.str, sizeof(device_id.str), "%s,%d", card_id.str, device_no);
41.43       |                                                                    ^~
41.43 ../linux/alsa/JackAlsaDriver.cpp:625:64: note: using the range [-2147483648, 2147483647] for directive argument
41.43   625 |                 snprintf(device_id.str, sizeof(device_id.str), "%s,%d", card_id.str, device_no);
41.43       |                                                                ^~~~~~~
41.43 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/cstdio:42,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ext/string_conversions.h:45,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/basic_string.h:4097,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/string:54,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/locale_classes.h:40,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/bits/ios_base.h:41,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ios:44,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/ostream:40,
41.43                  from /opt/ct-ng/x86_64-ffbuild-linux-gnu/include/c++/13.2.0/iostream:41,
41.43                  from ../linux/alsa/JackAlsaDriver.cpp:23:
41.43 In function 'int snprintf(char*, size_t, const char*, ...)',
41.43     inlined from 'jack_driver_param_constraint_desc_t* enum_alsa_devices()' at ../linux/alsa/JackAlsaDriver.cpp:625:25:
41.43 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 3 and 140 bytes into a destination of size 128
41.43    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
41.43       |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41.43    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
41.43       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41.43 
41.43 [156/177] Compiling linux/alsarawmidi/JackALSARawMidiDriver.cpp
42.31 [157/177] Compiling linux/alsarawmidi/JackALSARawMidiSendQueue.cpp
42.36 [158/177] Compiling linux/alsarawmidi/JackALSARawMidiReceiveQueue.cpp
42.38 [159/177] Compiling linux/alsarawmidi/JackALSARawMidiPort.cpp
42.46 [160/177] Compiling linux/alsarawmidi/JackALSARawMidiInputPort.cpp
42.58 [161/177] Compiling jack.pc.in
42.97 ../linux/alsarawmidi/JackALSARawMidiPort.cpp: In member function 'bool Jack::JackALSARawMidiPort::TriggerQueueEvent()':
42.97 ../linux/alsarawmidi/JackALSARawMidiPort.cpp:250:27: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
42.97   250 |     ssize_t result = write(fds[1], &c, 1);
42.97       |                      ~~~~~^~~~~~~~~~~~~~~
42.97 In file included from /opt/ffbuild/include/alsa/asoundlib.h:31,
42.97                  from ../linux/alsarawmidi/JackALSARawMidiPort.h:23,
42.97                  from ../linux/alsarawmidi/JackALSARawMidiPort.cpp:24:
42.97 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/unistd.h:369:16: note: by argument 2 of type 'const void*' to 'ssize_t write(int, const void*, size_t)' declared here
42.97   369 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;
42.97       |                ^~~~~
42.97 ../linux/alsarawmidi/JackALSARawMidiPort.cpp:249:10: note: 'c' declared here
42.97   249 |     char c;
42.97       |          ^
42.97 
43.70 ../common/JackNetAdapter.cpp: In constructor 'Jack::JackNetAdapter::JackNetAdapter(jack_client_t*, jack_nframes_t, jack_nframes_t, const JSList*)':
43.70 ../common/JackNetAdapter.cpp:92:28: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation]
43.70    92 |                     strncpy(fParams.fName, param->value.str, JACK_CLIENT_NAME_SIZE);
43.70       |                            ^
43.70 
43.72 [162/177] Linking build/jackd
43.74 [163/177] Linking build/common/netmanager.so
43.74 [164/177] Linking build/common/profiler.so
43.75 [165/177] Linking build/common/libjacknet.so
43.76 [166/177] Linking build/common/netadapter.so
43.78 [167/177] Linking build/jack_loopback.so
43.80 [168/177] Linking build/jack_netone.so
43.96 [169/177] Linking build/jack_proxy.so
44.38 [170/177] Linking build/jack_dummy.so
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'jack_process':
44.50 ../linux/alsa/alsa_rawmidi.c:862:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   862 |         write(str->wake_pipe[1], &r, 1);
44.50       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'alsa_rawmidi_stop':
44.50 ../linux/alsa/alsa_rawmidi.c:372:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   372 |         write(midi->in.wake_pipe[1], &c, 1);
44.50       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c:373:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   373 |         write(midi->out.wake_pipe[1], &c, 1);
44.50       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c:374:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   374 |         write(midi->scan.wake_pipe[1], &c, 1);
44.50       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'alsa_rawmidi_start':
44.50 ../linux/alsa/alsa_rawmidi.c:349:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   349 |                 write(midi->in.wake_pipe[1], &c, 1);
44.50       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c:355:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   355 |                 write(midi->in.wake_pipe[1], &c, 1);
44.50       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c:356:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   356 |                 write(midi->out.wake_pipe[1], &c, 1);
44.50       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'scan_thread':
44.50 ../linux/alsa/alsa_rawmidi.c:788:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   788 |                         read(wakeup.fd, &c, 1);
44.50       |                         ^~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'midi_thread':
44.50 ../linux/alsa/alsa_rawmidi.c:926:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
44.50   926 |                         read(pfds[0].fd, &c, 1);
44.50       |                         ^~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'midi_port_open_jack.isra':
44.50 ../linux/alsa/alsa_rawmidi.c:459:27: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 54 and 117 [-Wformat-truncation=]
44.50   459 |                     "%s%s %s (%s)",
44.50       |                           ^~
44.50 In file included from /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/stdio.h:936,
44.50                  from /opt/ffbuild/include/alsa/asoundlib.h:32,
44.50                  from ../linux/alsa/alsa_rawmidi.c:31:
44.50 In function 'snprintf',
44.50     inlined from 'midi_port_open_jack.isra' at ../linux/alsa/alsa_rawmidi.c:457:4:
44.50 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 17 and 144 bytes into a destination of size 128
44.50    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
44.50       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
44.50       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'scan_device':
44.50 ../linux/alsa/alsa_rawmidi.c:415:9: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
44.50   415 |         strncpy(port->device_name, snd_rawmidi_info_get_name(info), sizeof(port->device_name));
44.50       |         ^
44.50 ../linux/alsa/alsa_rawmidi.c:420:57: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 44 and 60 [-Wformat-truncation=]
44.50   420 |         snprintf(port->name, sizeof(port->name), "%s %s %s", port->id.id[2] ? "out":"in", port->dev, name);
44.50       |                                                         ^~
44.50 In function 'snprintf',
44.50     inlined from 'midi_port_init' at ../linux/alsa/alsa_rawmidi.c:420:2,
44.50     inlined from 'scan_port_add' at ../linux/alsa/alsa_rawmidi.c:709:2,
44.50     inlined from 'scan_port_update' at ../linux/alsa/alsa_rawmidi.c:693:10,
44.50     inlined from 'scan_device' at ../linux/alsa/alsa_rawmidi.c:676:3:
44.50 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 84 bytes into a destination of size 64
44.50    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
44.50       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
44.50       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 ../linux/alsa/alsa_rawmidi.c: In function 'scan_cycle':
44.50 ../linux/alsa/alsa_rawmidi.c:511:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 63 [-Wformat-truncation=]
44.50   511 |                 snprintf(name, sizeof(name), "%s %d", port->name, num);
44.50       |                                                  ^~
44.50 In function 'snprintf',
44.50     inlined from 'midi_port_open' at ../linux/alsa/alsa_rawmidi.c:511:3,
44.50     inlined from 'scan_port_open' at ../linux/alsa/alsa_rawmidi.c:730:8,
44.50     inlined from 'scan_cycle' at ../linux/alsa/alsa_rawmidi.c:627:12:
44.50 /opt/ct-ng/x86_64-ffbuild-linux-gnu/sysroot/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 76 bytes into a destination of size 64
44.50    64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
44.50       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50    65 |                                    __bos (__s), __fmt, __va_arg_pack ());
44.50       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44.50 
44.51 [171/177] Linking build/jack_alsa.so
44.70 /opt/ct-ng/lib/gcc/x86_64-ffbuild-linux-gnu/13.2.0/../../../../x86_64-ffbuild-linux-gnu/bin/ld: /opt/ffdl/scripts.d/50-jack.sh/build/jack_alsa.so: version node not found for symbol snd_pcm_sw_params_get_start_threshold@ALSA_0.9
44.70 /opt/ct-ng/lib/gcc/x86_64-ffbuild-linux-gnu/13.2.0/../../../../x86_64-ffbuild-linux-gnu/bin/ld: failed to set dynamic section sizes: bad value
44.70 collect2: error: ld returned 1 exit status
44.70 
44.78 ../common/JackNetDriver.cpp: In function 'Jack::JackDriverClientInterface* Jack::driver_initialize(JackLockedEngine*, JackSynchro*, const JSList*)':
44.78 ../common/JackNetDriver.cpp:787:32: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation]
44.78   787 |                         strncpy(net_name, param->value.str, JACK_CLIENT_NAME_SIZE);
44.78       |                                ^
44.78 
45.78 Waf: Leaving directory `/opt/ffdl/scripts.d/50-jack.sh/build'
45.79 Build failed
45.79  -> task in 'alsa' failed with exit status 1 (run with -v to display more information)
------
Dockerfile:167
--------------------
 165 |     FROM layer-45 AS layer-50-jack
 166 |     ENV SELF="scripts.d/50-jack.sh"
 167 | >>> RUN --mount=src=scripts.d/50-jack.sh,dst=/stage.sh --mount=src=/,dst=$FFBUILD_DLDIR,from=127.0.0.1:64647/local/dl_cache:dlcache_e22660b951173f253bc44896e6191ef9b2c850fa75dd63930e585623eb8f259e,rw run_stage /stage.sh
 168 |     FROM layer-45 AS layer-50-kvazaar
 169 |     ENV SELF="scripts.d/50-kvazaar.sh"
--------------------
ERROR: failed to solve: process "/bin/sh -c run_stage /stage.sh" did not complete successfully: exit code: 1
+ rm -f /tmp/tmp.PzgZRybPBU.toml

maybe I made a mistake somewhere?

@BtbN
Copy link
Owner

BtbN commented Nov 1, 2023

You cannot statically link alsalib either, so I guess that's what's broken there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants