Package Details: mingw-w64-portaudio 1:19.7.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-portaudio.git (read-only, click to copy)
Package Base: mingw-w64-portaudio
Description: A free, cross-platform, open source, audio I/O library. (mingw-w64)
Upstream URL: https://github.com/portaudio/portaudio
Licenses: custom
Submitter: Schala
Maintainer: kfg
Last Packager: kfg
Votes: 5
Popularity: 0.000000
First Submitted: 2013-03-29 01:16 (UTC)
Last Updated: 2023-06-02 17:10 (UTC)

Latest Comments

1 2 Next › Last »

Martchus commented on 2024-07-30 22:59 (UTC)

Adding -j1 to the make invocation helps, see https://github.com/PortAudio/portaudio/issues/540. This is also done by the official package: https://gitlab.archlinux.org/archlinux/packaging/packages/portaudio/-/blob/main/PKGBUILD

Martchus commented on 2024-07-30 22:55 (UTC)

The build fails with:

make[2]: *** No rule to make target '../../../lib/libportaudio.la', needed by 'libportaudiocpp.la'.  Stop.
make[2]: *** Waiting for unfinished jobs....

Maybe it makes sense to use CMake like MSYS2 does: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-portaudio

LittleHuba commented on 2021-10-15 15:12 (UTC)

No, I just saw right after adopting that this package is also outdated and the version jump is not trivial. I currently do not have the time to also take care of both steps. Hence I disowned it for now and will return to it once I have that time.

Martchus commented on 2021-10-15 15:09 (UTC)

I see you adopted and disowned the package but didn't push any changes. I'm just wondering whether you might have forgotten to invoke git push.

Martchus commented on 2021-10-14 22:27 (UTC)

@LittleHuba There's currently no maintainer so you can just take maintainership and do the change yourself. (And technically you could just orphan the package afterwards but it would be nice if you could continue maintaining it.)

LittleHuba commented on 2021-10-14 21:17 (UTC) (edited on 2021-10-14 21:43 (UTC) by LittleHuba)

Would you please consider adding the C++ interface of PortAudio to this package? I'm one of the main developers of Xournal++ and the missing C++ interface forces us to build this package manually on each pipeline run (~4 minutes per run). It would only require the additional flag "--enable-cxx" and has no negative influence on the C interface.

Martchus commented on 2020-03-08 11:10 (UTC)

Thanks for fixing, it builds now.

Martchus commented on 2020-03-06 13:49 (UTC) (edited on 2020-03-06 13:49 (UTC) by Martchus)

This package fails to build with the latest mingw-w64-configure/environment.

/bin/sh ./libtool --mode=link i686-w64-mingw32-gcc -Wl,-O1,--sort-common,--as-needed -fstack-protector   -rpath /usr/i686-w64-mingw32/lib -no-undefined -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" -version-info 2:0:0 -o lib/libportaudio.la src/common/pa_allocation.lo src/common/pa_converters.lo src/common/pa_cpuload.lo src/common/pa_dither.lo src/common/pa_debugprint.lo src/common/pa_front.lo src/common/pa_process.lo src/common/pa_stream.lo src/common/pa_trace.lo src/hostapi/dsound/pa_win_ds.lo src/hostapi/dsound/pa_win_ds_dynlink.lo src/os/win/pa_win_hostapis.lo src/os/win/pa_win_util.lo src/os/win/pa_win_coinitialize.lo src/os/win/pa_win_waveformat.lo src/hostapi/wdmks/pa_win_wdmks.lo src/common/pa_ringbuffer.lo src/os/win/pa_win_wdmks_utils.lo src/hostapi/wmme/pa_win_wmme.lo src/hostapi/wasapi/pa_win_wasapi.lo -lwinmm -lm -L/usr/i686-w64-mingw32/lib -ldsound -lole32 -lwinmm -lm -L/usr/i686-w64-mingw32/lib -luuid -lsetupapi -lole32 -lwinmm -lwinmm -lole32
libtool: link: /usr/bin/ar cru lib/.libs/libportaudio.a  src/common/pa_allocation.o src/common/pa_converters.o src/common/pa_cpuload.o src/common/pa_dither.o src/common/pa_debugprint.o src/common/pa_front.o src/common/pa_process.o src/common/pa_stream.o src/common/pa_trace.o src/hostapi/dsound/pa_win_ds.o src/hostapi/dsound/pa_win_ds_dynlink.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o src/hostapi/wdmks/pa_win_wdmks.o src/common/pa_ringbuffer.o src/os/win/pa_win_wdmks_utils.o src/hostapi/wmme/pa_win_wmme.o src/hostapi/wasapi/pa_win_wasapi.o
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: i686-w64-mingw32-ranlib lib/.libs/libportaudio.a
libtool: link: ( cd "lib/.libs" && rm -f "libportaudio.la" && ln -s "../libportaudio.la" "libportaudio.la" )
if test -n "" ; then for dir in ""; do make -C $dir all; done ; fi
mkdir bin
touch bin-stamp
/bin/sh ./libtool --mode=link i686-w64-mingw32-gcc -o bin/patest1 -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4  -DPA_LITTLE_ENDIAN -I../include -I../src/common -I../src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/usr/i686-w64-mingw32/include -UPA_USE_DS -DPA_USE_DS=1 -I/usr/i686-w64-mingw32/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1 -UPA_USE_WMME -DPA_USE_WMME=1 -UPA_USE_WASAPI -DPA_USE_WASAPI=1 -mthreads -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 ../test/patest1.c lib/libportaudio.la -lwinmm -lm -ldsound -lole32 -lwinmm -lm -luuid -lsetupapi -lole32 -lwinmm -lm -lole32 -luuid -lwinmm -lm -lole32 -luuid
libtool: link: i686-w64-mingw32-gcc -o bin/patest1 -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -DPA_LITTLE_ENDIAN -I../include -I../src/common -I../src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0 -I/usr/i686-w64-mingw32/include -UPA_USE_DS -DPA_USE_DS=1 -I/usr/i686-w64-mingw32/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1 -UPA_USE_WMME -DPA_USE_WMME=1 -UPA_USE_WASAPI -DPA_USE_WASAPI=1 -mthreads -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 ../test/patest1.c  lib/.libs/libportaudio.a -L/usr/i686-w64-mingw32/lib -ldsound -lsetupapi -lwinmm -lole32 -luuid -mthreads
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: lib/.libs/libportaudio.a(pa_win_wdmks.o):pa_win_wdmks.c:(.text+0x7560): undefined reference to `__memmove_chk'
collect2: error: ld returned 1 exit status
make: *** [Makefile:173: bin/patest1] Error 1

I suppose the last linker invocation for bin/patest1 misses -fstack-protector.

LittleHuba commented on 2019-02-07 19:37 (UTC)

Please add portaudiocpp by using configuration flag "--enable-cxx"

Martchus commented on 2018-08-09 09:03 (UTC)

For me the strip command failed because the DLLs have apparently been installed under lib instead of bin. So I addd the following lines before the strip command to be sure all DLLs are under bin:

# move DLL to bin directory
mkdir "$pkgdir"/usr/${_arch}/bin
find "$pkgdir"/usr/${_arch}/lib -iname '*.dll' -exec mv --target-directory="$pkgdir"/usr/${_arch}/bin {} \;