From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 2285C3858C50 for ; Sun, 30 Oct 2022 15:56:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2285C3858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id p4MpouuU2Sp39pAfNonmW0; Sun, 30 Oct 2022 15:56:05 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id pAfMoTMvWlz8ppAfNohtne; Sun, 30 Oct 2022 15:56:05 +0000 X-Authority-Analysis: v=2.4 cv=VvEwvs6n c=1 sm=1 tr=0 ts=635e9e95 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=RIjCHRP2wa5MkCyeS-gA:9 a=QEXdDO2ut3YA:10 Message-ID: <1321144f-a7ad-367e-d4a3-09424eb4a202@SystematicSw.ab.ca> Date: Sun, 30 Oct 2022 09:56:04 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Cc: waterlan@xs4all.nl Subject: Re: some libunistring 1.0 tests are core dumping on github build Reply-To: cygwin-apps@cygwin.com Content-Language: en-CA From: Brian Inglis Organization: Systematic Software To: cygwin-apps@cygwin.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfIaYazoZE3vxHVWq7Erv3sytlLe9F7uUZFaoQfhJmFEDkpQk5uZKXARYDugwP3Ev/7EEOj+c7n5ZtCwi6PiOnTv5tZsF/iVuhtxtOhVY37Owu7UnF1Fp UsewhXs4dAwPtEPh/armwJ55dEqTIuGsy8SK4lpyMu/91/yuHoOhJhaOBpIM2Rb6Q3qt80bNheAYjVSAQ3SHnLYbSP14YWGJV26LAmQwZQwf2xkaSGBL2YXO X-Spam-Status: No, score=-1163.7 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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