Hello,

> 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.
>

I just read into the documentation this sentence into description of
BUILD_REQUIRES:

Unlike REQUIRES, there is no auto-detection of build-time requirements.

I will add it into my scripts, thank you for the suggestion.
I think that the issue will be closed after applying the patch.

So, for closing this thread, I followed your suggestion and I did a
new, clean installation of CYGWIN and I just added cygport too, for a
final test.
Installing cygport also added gcc, binutils, autotools, etc.
But I noticed that pkg-config is not installed.
Actually, this forces me to add pkg-config to BUILD_REQUIRES, together
with fftw3 and libsamplerate.
I would say that almost ALL packages needs pkg-config.
I also tried to rebuild another one of my packages into my repository
and re-generation of autotools also failed.

autoreconf-2.72: export WARNINGS=
autoreconf-2.72: Entering directory '.'
autoreconf-2.72: configure.ac: not using Gettext
autoreconf-2.72: running: aclocal --force
configure.ac:57: error: macro PKG_INSTALLDIR is not defined; is a m4
file missing?
configure.ac:57: the top level
autom4te-2.72: error: /usr/bin/m4 failed with exit status: 1
aclocal-1.16: error: /usr/bin/autom4te-2.72 failed with exit status: 1
autoreconf-2.72: error: aclocal failed with exit status: 1
*** ERROR: autoreconf failed

and:

$ pkg-config
bash: pkg-config: comand not found

Not a big problem, because I executed again setup-x86_64.exe and I
installed pkg-config myself.
Perhaps, as dependency of cygport, pkg-config should be also added,
but I don't know if it would be worth to do.
Probably you already know that, but I'm reporting it for information.

Sincerely,

Carlo Bramini.

Reply via email to