<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">I am trying to build the Debian 8 packages for a 32bit platform using Stanislav's script.
Unfortunately, I experience memory issues when building the sound packages at the point <code class="bash plain">the .</code><code class="bash plain">/debian/rules</code> <code class="bash plain">get-orig-</code><code class="bash functions">source script is running.
After the xs compress tool starts claiming all physical memory, memory swap is increased rapidly to a point that downloading the tar file gets to a hold.
</code><code class="bash functions"><code class="bash functions">See below.
</code>I am running the script on a 32bit machine with 512MiB RAM, so resources are relatively low.
I am not a shell script whiz, so maybe someone is willing to help with altering the script to work with lower resources, if this seems to be the cause.</code>
Thanks Stanislav Sinyagin for creating and referring me to the script and Michael Jerris for additional comments.
1174 root 20 0 693176 447352 304 D 2.0 87.0 2:56.01 xz
root@sip:/usr/src/freeswitch-sounds/music-default# ./debian/rules get-orig-source
wget -O ./tmp.cs0qwdwEJ2/upstream.tgz <a class="moz-txt-link-rfc2396E" href="http://files.freeswitch.org/freeswitch-sounds-music-48000-1.0.51.tar.gz">"http://files.freeswitch.org/freeswitch-sounds-music-48000-1.0.51.tar.gz"</a>
--2016-07-17 08:04:37-- <a class="moz-txt-link-freetext" href="http://files.freeswitch.org/freeswitch-sounds-music-48000-1.0.51.tar.gz">http://files.freeswitch.org/freeswitch-sounds-music-48000-1.0.51.tar.gz</a>
Resolving files.freeswitch.org (files.freeswitch.org)... 209.105.235.7, 2607:f348:1021::7
Connecting to files.freeswitch.org (files.freeswitch.org)|209.105.235.7|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: <a class="moz-txt-link-freetext" href="http://files.freeswitch.org/releases/sounds/freeswitch-sounds-music-48000-1.0.51.tar.gz">http://files.freeswitch.org/releases/sounds/freeswitch-sounds-music-48000-1.0.51.tar.gz</a> [following]
--2016-07-17 08:04:38-- <a class="moz-txt-link-freetext" href="http://files.freeswitch.org/releases/sounds/freeswitch-sounds-music-48000-1.0.51.tar.gz">http://files.freeswitch.org/releases/sounds/freeswitch-sounds-music-48000-1.0.51.tar.gz</a>
Reusing existing connection to files.freeswitch.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 75546338 (72M) [application/x-gzip]
Saving to: ‘./tmp.cs0qwdwEJ2/upstream.tgz’
./tmp.cs0qwdwEJ2/upstream.tgz 100%[=======================================================================================================>] 72.05M 43.4KB/s in 18m 59ss
2016-07-17 08:23:37 (64.8 KB/s) - ‘./tmp.cs0qwdwEJ2/upstream.tgz’ saved [75546338/75546338]
mkdir -p ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51
tar -x -C ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51 -f ./tmp.cs0qwdwEJ2/upstream.tgz
if [ -d ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51/music ]; then \
mv ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51/music/48000 ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51/music/default; \
else \
for x in ./tmp.cs0qwdwEJ2/freeswitch-music-default-1.0.51/*/*/*/*; do \
for y in $x/*; do mv $y/* $x; rmdir $y; done; \
done; \
fi
tar -c -C ./tmp.cs0qwdwEJ2 -f freeswitch-music-default_1.0.51.orig.tar freeswitch-music-default-1.0.51
xz -9ev freeswitch-music-default_1.0.51.orig.tar
freeswitch-music-default_1.0.51.orig.tar (1/1)
45.6 % 21.9 MiB / 48.2 MiB = 0.455 192 KiB/s 4:17 5 min 10 s
47.9 % 22.7 MiB / 50.7 MiB = 0.449 79 KiB/s 10:58 12 min
script stuck indefinitely at this point ....
</pre>
</body>
</html>