>>> ladspa: Building community/ladspa 1.15-r1 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 16:23:14 +0000
>>> ladspa: Checking sanity of /home/buildozer/aports/community/ladspa/APKBUILD...
>>> ladspa: Analyzing dependencies...
>>> ladspa: Installing for build: build-base
(1/1) Installing .makedepends-ladspa (20211021.162315)
OK: 344 MiB in 96 packages
>>> ladspa: Cleaning up srcdir
>>> ladspa: Cleaning up pkgdir
>>> ladspa: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ladspa-sdk_1.15.orig.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
>>> ladspa: Fetching https://deb.debian.org/debian/pool/main/l/ladspa-sdk/ladspa-sdk_1.15.orig.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 71179  100 71179    0     0   844k      0 --:--:-- --:--:-- --:--:--  847k
>>> ladspa: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ladspa-sdk_1.15.orig.tar.gz
>>> ladspa: Checking sha512sums...
ladspa-sdk_1.15.orig.tar.gz: OK
fix-memleak-in-plugin-scanning.patch: OK
>>> ladspa: Unpacking /var/cache/distfiles/v3.15/ladspa-sdk_1.15.orig.tar.gz...
>>> ladspa: fix-memleak-in-plugin-scanning.patch
patching file search.c
Hunk #1 succeeded at 83 with fuzz 1.
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -o plugins/amp.o -c plugins/amp.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -o plugins/delay.o -c plugins/delay.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -o plugins/filter.o -c plugins/filter.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -o plugins/noise.o -c plugins/noise.c
c++ -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -o plugins/sine.o -c plugins/sine.cpp
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o analyseplugin.o analyseplugin.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o load.o load.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o default.o default.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o applyplugin.o applyplugin.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o listplugins.o listplugins.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -Os -fomit-frame-pointer  -c -o search.o search.c
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -fPIE -pie					\
	-o ../bin/listplugins	 				\
	listplugins.o search.o					\
	-ldl -lm
cc	-o ../plugins/noise.so					\
	plugins/noise.o						\
	-shared							\
	-I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/						\
	-fvisibility=hidden					\
	-fvisibility-inlines-hidden				\
	-s							\
	-Wl,--version-script=gcc_exports.map			
cc	-o ../plugins/amp.so					\
	plugins/amp.o						\
	-shared							\
	-I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/						\
	-fvisibility=hidden					\
	-fvisibility-inlines-hidden				\
	-s							\
	-Wl,--version-script=gcc_exports.map			
cc	-o ../plugins/delay.so					\
	plugins/delay.o						\
	-shared							\
	-I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/						\
	-fvisibility=hidden					\
	-fvisibility-inlines-hidden				\
	-s							\
	-Wl,--version-script=gcc_exports.map			
cc	-o ../plugins/filter.so					\
	plugins/filter.o						\
	-shared							\
	-I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/						\
	-fvisibility=hidden					\
	-fvisibility-inlines-hidden				\
	-s							\
	-Wl,--version-script=gcc_exports.map			
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -fPIE -pie					\
	-o ../bin/analyseplugin 				\
	analyseplugin.o load.o default.o			\
	-ldl -lm
c++	-o ../plugins/sine.so					\
	plugins/sine.o						\
	-shared							\
	-I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/						\
	-fvisibility=hidden					\
	-fvisibility-inlines-hidden				\
	-s							\
	-Wl,--version-script=gcc_exports.map			
cc -I. -Wall -Werror -O2 -fPIC -DDEFAULT_LADSPA_PATH=/usr/lib/ladspa/ -fPIE -pie					\
	-o ../bin/applyplugin					\
	applyplugin.o load.o default.o				\
	-ldl -lm
../bin/listplugins
Warning: You do not have a LADSPA_PATH environment variable set. Defaulting to /usr/lib/ladspa/.
../bin/analyseplugin ../plugins/filter.so

Plugin Name: "Simple Low Pass Filter"
Plugin Label: "lpf"
Plugin Unique ID: 1041
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Cutoff Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Input" input, audio
	"Output" output, audio

Plugin Name: "Simple High Pass Filter"
Plugin Label: "hpf"
Plugin Unique ID: 1042
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Cutoff Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Input" input, audio
	"Output" output, audio

../bin/analyseplugin ../plugins/delay.so

Plugin Name: "Simple Delay Line"
Plugin Label: "delay_5s"
Plugin Unique ID: 1043
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Delay (Seconds)" input, control, 0 to 5, default 1
	"Dry/Wet Balance" input, control, 0 to 1, default 0.5
	"Input" input, audio
	"Output" output, audio

../bin/analyseplugin ../plugins/sine.so

Plugin Name: "Sine Oscillator (Freq:audio, Amp:audio)"
Plugin Label: "sine_faaa"
Plugin Unique ID: 1044
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, audio, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, audio, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:audio, Amp:control)"
Plugin Label: "sine_faac"
Plugin Unique ID: 1045
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, audio, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:control, Amp:audio)"
Plugin Label: "sine_fcaa"
Plugin Unique ID: 1046
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, audio, 0 to ..., default 1, logarithmic
	"Output" output, audio

Plugin Name: "Sine Oscillator (Freq:control, Amp:control)"
Plugin Label: "sine_fcac"
Plugin Unique ID: 1047
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Frequency (Hz)" input, control, 0 to 0.5*srate, default 440, logarithmic
	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

echo ; ../bin/analyseplugin -l ../plugins/sine.so ; echo

sine_faaa  1044  Sine Oscillator (Freq:audio, Amp:audio)
sine_faac  1045  Sine Oscillator (Freq:audio, Amp:control)
sine_fcaa  1046  Sine Oscillator (Freq:control, Amp:audio)
sine_fcac  1047  Sine Oscillator (Freq:control, Amp:control)

../bin/analyseplugin ../plugins/amp.so

Plugin Name: "Mono Amplifier"
Plugin Label: "amp_mono"
Plugin Unique ID: 1048
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Gain" input, control, 0 to ..., default 1, logarithmic
	"Input" input, audio
	"Output" output, audio

Plugin Name: "Stereo Amplifier"
Plugin Label: "amp_stereo"
Plugin Unique ID: 1049
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports:	"Gain" input, control, 0 to ..., default 1, logarithmic
	"Input (Left)" input, audio
	"Output (Left)" output, audio
	"Input (Right)" input, audio
	"Output (Right)" output, audio

../bin/analyseplugin ../plugins/noise.so

Plugin Name: "White Noise Source"
Plugin Label: "noise_white"
Plugin Unique ID: 1050
Maker: "Richard Furse (LADSPA example plugins)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: No
Has deactivate() Function: No
Has run_adding() Function: Yes
Environment: Normal or Hard Real-Time
Ports:	"Amplitude" input, control, 0 to ..., default 1, logarithmic
	"Output" output, audio

../bin/applyplugin	-s 1					\
			../snd/noise.wav /tmp/test.wav		\
			../plugins/filter.so lpf 500		\
			../plugins/filter.so lpf 500		\
			../plugins/sine.so sine_fcaa 6000	\
			../plugins/delay.so delay_5s 1 0.1	\
			../plugins/amp.so amp_mono 4		\

Peak output: 27349.5
---------------------------------------------
First listen to the white noise input signal:
---------------------------------------------
sndfile-play ../snd/noise.wav
make: sndfile-play: No such file or directory
make: [Makefile:69: test] Error 127 (ignored)
-------------------------
Compare to plugin output.
-------------------------
Should be a noise band around 6000Hz, repeated quietly after 1s.
sndfile-play /tmp/test.wav
make: sndfile-play: No such file or directory
make: [Makefile:74: test] Error 127 (ignored)
Test complete.
>>> ladspa: Entering fakeroot...
mkdir -p /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/lib/ladspa/
mkdir -p /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/include/
mkdir -p /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/bin/
cp ../plugins/* /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/lib/ladspa/
cp ladspa.h /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/include/
cp ../bin/* /home/buildozer/aports/community/ladspa/pkg/ladspa/usr/bin/
>>> ladspa-dev*: Running split function dev...
>>> ladspa-dev*: Preparing subpackage ladspa-dev...
>>> ladspa-dev*: Stripping binaries
>>> ladspa-dev*: Running postcheck for ladspa-dev
>>> ladspa*: Running postcheck for ladspa
>>> ladspa*: Preparing package ladspa...
>>> ladspa*: Stripping binaries
>>> ladspa-dev*: Scanning shared objects
>>> ladspa*: Scanning shared objects
>>> ladspa-dev*: Tracing dependencies...
>>> ladspa-dev*: Package size: 40.0 KB
>>> ladspa-dev*: Compressing data...
>>> ladspa-dev*: Create checksum...
>>> ladspa-dev*: Create ladspa-dev-1.15-r1.apk
>>> ladspa*: Tracing dependencies...
	so:libc.musl-x86_64.so.1
	so:libstdc++.so.6
>>> ladspa*: Package size: 156.0 KB
>>> ladspa*: Compressing data...
>>> ladspa*: Create checksum...
>>> ladspa*: Create ladspa-1.15-r1.apk
>>> ladspa: Build complete at Thu, 21 Oct 2021 16:23:17 +0000 elapsed time 0h 0m 3s
>>> ladspa: Cleaning up srcdir
>>> ladspa: Cleaning up pkgdir
>>> ladspa: Uninstalling dependencies...
(1/1) Purging .makedepends-ladspa (20211021.162315)
OK: 344 MiB in 95 packages
>>> ladspa: Updating the community/x86_64 repository index...
>>> ladspa: Signing the index...