Spec URL: https://hobbes1069.fedorapeople.org//mingw-portaudio.spec SRPM URL: https://hobbes1069.fedorapeople.org//mingw-portaudio-19-3.20161030.fc32.src.rpm Description: PortAudio is a portable audio I/O library designed for cross-platform support of audio. It uses a callback mechanism to request audio processing. Audio can be generated in various formats, including 32 bit floating point, and will be converted to the native format internally.
This package built on koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=44491937
Richard, The problems with your build were the result of a bug in configure.in where AC_PROG_CXX was declared only conditionally, and your build happened not to trigger those conditions, thereby confusing libtool macros and making configure think you were building with MSVC instead of GCC. The following contain a modified spec file and patchset which fixes the build, enables more backends, and exports the symbols and headers required by Audacity: https://fedorapeople.org/cgit/yselkowitz/public_git/mingw-portaudio.git https://yselkowitz.fedorapeople.org/SRPMS/mingw-portaudio-19-3.20161030.fc32.src.rpm Scratch builds were successful and the binaries have exported symbols: https://koji.fedoraproject.org/koji/taskinfo?taskID=44499988 (rawhide) https://koji.fedoraproject.org/koji/taskinfo?taskID=44499998 (F32) HTH!
Thanks for the assist!
Ok, so fldigi will actually load now with this portaudio but it crashes immediately on 64bit and shows an error on 32bit related to port audio. I REALLY didn't have this much trouble a few years ago when I built portaudio (same version) for FreeDV MinGw so something must have changed on the MinGW side. How in the heck do I debug this? On Wine?
Do you have a virtualized windows environment available (i.e. the Internet Explorer/Edge test VMs)? Then you can just deploy gdb.exe from mingw-gdb along with your portaudio application and the portaudio debug symbols, and that should hopefully give you a clue.
I have windows 10 in VirtualBox but it doesn't like coexisting with Boxes. Got Windows 10 up but gdb says it's not a valid format or something like that.
That shouldn't happen. Can you post somewhere the bundle you are testing?
I just built this from upstream's latest git master. I did not strip fldigi.exe. This is the 32bit version, the 64bit version is having some cast errors. https://hobbes1069.fedorapeople.org/fldigi-4.1.13_setup.exe
This one worked... I'm guessing it's the stripping of the binary that's causing the issue? I need to get a 64bit build and test it, but I think we can move forward with the review now at least.
> #{?mingw_debug_package} Should probably uncommented? Or otherwise given a reason for the comment. > %mingw_make -j12 %{?_smp_mflags}, or just %mingw_make_build > %mingw_make_install DESTDIR=%{buildroot} You don't need to specify DESTDIR, %mingw_make_install does it already > %{mingw32_bindir}/libportaudio.lib > %{mingw64_bindir}/libportaudio.lib What are these? Shouldn't they be dll.a files, and placed in %{mingwXX_libdir}? Rest looks good.
Spec URL: https://hobbes1069.fedorapeople.org//mingw-portaudio.spec SRPM URL: https://hobbes1069.fedorapeople.org//mingw-portaudio-19-3.20161030.fc32.src.rpm Whoops! I fixed those some time ago but neglected to upload new packages, should be fixed now.
FYI, I was able to run gdb on the 64bit version of fldigi but it produced no output. I ended up mapping my "/" into the VM and going into my install if MinGW.
Still see > %mingw_make and > %mingw_make_install DESTDIR=%{buildroot}
Maybe I need another cup of coffee... Spec URL: https://hobbes1069.fedorapeople.org//mingw-portaudio.spec SRPM URL: https://hobbes1069.fedorapeople.org//mingw-portaudio-19-4.20161030.fc32.src.rpm * Mon Jun 08 2020 Richard Shaw <hobbes1069> - 19-4.20161030 - Update per reviewer comments.
:) Looks good now - you might want to add a comment to briefly explain the patches in the spec. Approved
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/mingw-portaudio