On 20/03/2025 09:41, Carlo B. via Cygwin-apps wrote:
Hello,
This is due to this line in the cygport:
CXXFLAGS=-D_GNU_SOURCE
Argh, you are right, me stupid, that's why it was not making debuginfo stuff ^^;
I tested again with the new patch and now it is working fine.
(BTW: It would also be helpful if this cygport has
BUILD_REQUIRES="mingw64-x86_64-fftw3 mingw64-x86_64-libsamplerate"
so I know what packages to install to build it)
When assembling a package, I have seen that cygport writes this on the console:
mingw64-x86_64-rubberband requires: mingw64-x86_64-fftw3
mingw64-x86_64-gcc-core mingw64-x86_64-gcc-g++ mingw64-x86_64-libsamplerate
pkg-config
So, I was thinking that cygport had already something for helping the
user to create its dependencies and I didn't worry much about that.
Usually, if I see that dependecies are correctly detected, I don't add
the BUILD_REQUIRES statement.
However, adding it to the cygport files is not a big task to do, so I
can do it, if it is needed.
REQUIRES and BUILD_REQUIRES are two separate things:
BUILD_REQUIRES: packages on which the source package depends at build-time.
REQUIRES: packages on which a package depends at run-time. These can
(usually) be automatically detected.