Package Details: mingw-w64-gsm 1.0.22-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-gsm.git (read-only, click to copy)
Package Base: mingw-w64-gsm
Description: Shared libraries for GSM 06.10 lossy speech compression (mingw-w64)
Upstream URL: https://www.quut.com/gsm/
Licenses: custom
Submitter: kfg
Maintainer: kfg
Last Packager: kfg
Votes: 5
Popularity: 0.000000
First Submitted: 2013-06-15 12:20 (UTC)
Last Updated: 2022-08-09 17:21 (UTC)

Latest Comments

Martchus commented on 2022-08-10 20:38 (UTC)

Now I've just wanted to reproduce the problem again but couldn't. The package built just fine. The only difference to my previous attempt is that I was now using my much more powerful desktop instead of my server to speed things up. (In both cases I built the package in a clean chroot and Arch Linux did not update any relevant packages in the meantime.) So it is either a sporadic issue or maybe depends on the build host (e.g. number of cores). For now I'd leave it at that. Let's see whether the problem will occur again on further upgrades.

Martchus commented on 2022-08-10 10:22 (UTC)

It indeed fails on the strip invocation:

==> Starting package()...
if [ x"/build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32" != x ]; then        \
                make -f Makefile.mingw64 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/toast.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/tcat.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/untoast.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man1/toast.1;     \
        fi
if [ x"/build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32" != x ] ; then       \
                make -f Makefile.mingw64 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/lib/libgsm.a /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/lib/libgsm.dll.a /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/libgsm.dll /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/include/gsm/gsm.h /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man3/gsm.3 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man3/gsm_explode.3 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man3/gsm_option.3 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man3/gsm_print.3 ;      \
        fi
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/mingw-w64-gsm/src/build-i686-w64-mingw32'
rm -f ./lib/libgsm.a
make[1]: Entering directory '/build/mingw-w64-gsm/src/build-i686-w64-mingw32'
rm -f ./lib/libgsm.a
i686-w64-mingw32-ar cr ./lib/libgsm.a ./src/add.o ./src/code.o ./src/debug.o ./src/decode.o ./src/long_term.o ./src/lpc.o ./src/preprocess.o ./src/rpe.o ./src/gsm_destroy.o ./src/gsm_decode.o ./src/gsm_encode.o ./src/gsm_explode.o ./src/gsm_implode.o ./src/gsm_create.o ./src/gsm_print.o ./src/gsm_option.o ./src/short_term.o ./src/table.o
i686-w64-mingw32-ar cr ./lib/libgsm.a ./src/add.o ./src/code.o ./src/debug.o ./src/decode.o ./src/long_term.o ./src/lpc.o ./src/preprocess.o ./src/rpe.o ./src/gsm_destroy.o ./src/gsm_decode.o ./src/gsm_encode.o ./src/gsm_explode.o ./src/gsm_implode.o ./src/gsm_create.o ./src/gsm_print.o ./src/gsm_option.o ./src/short_term.o ./src/table.o
i686-w64-mingw32-ranlib ./lib/libgsm.a
i686-w64-mingw32-ranlib ./lib/libgsm.a
i686-w64-mingw32-ranlib: ./lib/libgsm.a: error reading gsm_decode.o: file truncated
make[1]: *** [Makefile.mingw64:310: lib/libgsm.a] Error 1
make[1]: Leaving directory '/build/mingw-w64-gsm/src/build-i686-w64-mingw32'
i686-w64-mingw32-gcc   -o ./bin/toast.exe ./src/toast.o ./src/toast_lin.o ./src/toast_ulaw.o ./src/toast_alaw.o ./src/toast_audio.o ./lib/libgsm.a 
make: [Makefile.mingw64:344: gsminstall] Error 2 (ignored)
rm -f /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/toast.exe
cp ./bin/toast.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/toast.exe
chmod 755 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/toast.exe
rm -f /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/tcat.exe
ln ./bin/toast.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/tcat.exe
rm -f /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/untoast.exe
ln ./bin/toast.exe /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/untoast.exe
rm -f /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man1/toast.1
cp man/toast.1 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man1/toast.1
chmod 444 /build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/share/man/man1/toast.1
make[1]: Leaving directory '/build/mingw-w64-gsm/src/build-i686-w64-mingw32'
install: Done.
i686-w64-mingw32-strip: '/build/mingw-w64-gsm/pkg/mingw-w64-gsm/usr/i686-w64-mingw32/bin/*.dll': No such file
==> ERROR: A failure occurred in package().

grandchild commented on 2022-03-15 09:22 (UTC)

If this fails without error message in package(), comment out the strip .../*.dll line towards the end of package() in the PKGBUILD.

hipersayan_x commented on 2016-02-17 17:12 (UTC)

Hi again, you must move the version before the dll suffix in this package too.

Martchus commented on 2015-12-25 22:53 (UTC)

I wasn't able to build this package, so I tried the current version and it worked. When the regular gsm package is updated (currently gsm 1.0.14 is in testing), you might want to use it: https://github.com/Martchus/PKGBUILDs/blob/devel/gsm/mingw-w64/PKGBUILD