On Wed, 19 Oct 2022 16:55:43 +0200 (CEST), Erwin Waterlander wrote:
I uploaded a new cyport file for libunistring 1.0. I got a failed build,
because several tests core dumped. This does not happen when I run the tests
on my PC. What to do next?
See https://github.com/cygwin/scallywag/actions/runs/3252280207
I recently did personal local and Scallywag builds of libunistring to check
updated Unicode support for my package builds: see libunistring DEPENDENCIES and
HACKING for build and test prereqs.
I decided to build and package embedded unistring (from updated gnulib included
in package) for updated Unicode support.
Missing DEPEND/BUILD_REQUIRES definitions in libunistring.cygport gives prereq
packages required which will be pre-installed to build and test under Scallywag:
# old var
DEPEND="libiconv-devel"
DEPEND+=" autoconf automake diffutils gawk gcc-core gperf grep"
DEPEND+=" m4 make perl pkg-config sed texinfo-tex texlive"
or
# new var
BUILD_REQUIRES="libiconv-devel"
BUILD_REQUIRES+=" autoconf automake diffutils gawk gcc-core gperf grep"
BUILD_REQUIRES+=" m4 make perl pkg-config sed texinfo-tex texlive"
Only some standard prereq packages (like "build-essential") are pre-installed as
cygport dependencies that it uses and knows its cygparts and cygclasses need
like autotools binutils coreutils, etc.
But it's good practice to define *ALL* the Cygwin packages containing specified
prereq devel libraries and build tools required to build and test the package
(and subpackages).
You also have to install and define any perl, python, ruby, etc. module packages
required at build *OR* runtime so cygport can identify them correctly and you
don't then need to manually specify REQUIRES=... module packages.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry