From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64548 invoked by alias); 2 Oct 2015 14:44:00 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 64014 invoked by uid 89); 2 Oct 2015 14:44:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f174.google.com Received: from mail-yk0-f174.google.com (HELO mail-yk0-f174.google.com) (209.85.160.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 02 Oct 2015 14:43:58 +0000 Received: by ykdg206 with SMTP id g206so110929850ykd.1 for ; Fri, 02 Oct 2015 07:43:56 -0700 (PDT) X-Received: by 10.170.221.212 with SMTP id n203mr13911870ykf.29.1443797036622; Fri, 02 Oct 2015 07:43:56 -0700 (PDT) Received: from [192.168.1.5] (pool-98-110-54-254.cmdnnj.fios.verizon.net. [98.110.54.254]) by smtp.googlemail.com with ESMTPSA id q2sm8010727ywd.11.2015.10.02.07.43.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 Oct 2015 07:43:55 -0700 (PDT) Message-ID: <560E9834.7080603@gmail.com> Date: Fri, 02 Oct 2015 14:44:00 -0000 From: Remik Ziemlinski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: [ITP] nccmp 1.7.4.1 References: <560B32D3.5090706@gmail.com> <560E1590.6000905@gmail.com> In-Reply-To: <560E1590.6000905@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00001.txt.bz2 On 10/2/2015 1:26 AM, Marco Atzeri wrote: > On 30/09/2015 02:54, Remik Ziemlinski wrote: >> This is a command-line diff tool for the NetCDF scientific data file >> format. >> It's used by labs worldwide and I am the author. >> > > $ cygport nccmp.cygport check > does not work. Ah, VPATH build is not supported upstream; I will fix that. In the meantime, adding a custom "src_compile" rule solves the problem. Thanks for catching that. nccmp.cygport: NAME="nccmp" VERSION=1.7.4.1 RELEASE=1 CATEGORY="Science" SUMMARY="Compare two NetCDF files." DESCRIPTION="Compare two NetCDF files bitwise, semantically or with a user defined tolerance (absolute or relative percentage). Parallel comparisons are done in local memory without requiring temporary files. Highly recommended for regression testing scientific models or datasets in a test-driven development environment." REQUIRES="netcdf libnetcdf-devel" HOMEPAGE="http://nccmp.sourceforge.net" SRC_URI="https://downloads.sourceforge.net/project/nccmp/nccmp-1.7.4.1.tar.xz" src_compile() { cd ${S} cygconf lndirs cd ${B} cygmake } > > > > gcc -DHAVE_CONFIG_H -I. > -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ > test -I.. -I../src -I/include -I/libsrc4 > -ggdb -O2 -pipe -Wimplicit-function-d eclaration > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src > /debug/nccmp-1.7.4.1-1 > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr > c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1 -MT > test_nccmp_odometer-test_ncc mp_odometer.o -MD -MP -MF > .deps/test_nccmp_odometer-test_nccmp_odometer.Tpo -c - > o test_nccmp_odometer-test_nccmp_odometer.o > `test -f 'test_nccmp_odometer.c' || echo > '/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_nccmp_od > ometer.c > /pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/test_nccmp_odometer.c > :2:28: fatal error: > nccmp_odometer.h: No such file or directory > #include > ^ > compilation terminated. > Makefile:713: recipe for target > 'test_nccmp_odometer-test_nccmp_odometer.o' fail ed > make[2]: *** [test_nccmp_odometer-test_nccmp_odometer.o] Error 1 > make[2]: Target 'test_nccmp_odometer.exe' not remade because of errors. > gcc -DHAVE_CONFIG_H -I. > -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ > test -I.. -I../src -I/include -I/libsrc4 > -ggdb -O2 -pipe -Wimplicit-function-d eclaration > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src > /debug/nccmp-1.7.4.1-1 > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr > c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1 -MT > test_nccmp_strlist-test_nccm p_strlist.o -MD -MP -MF > .deps/test_nccmp_strlist-test_nccmp_strlist.Tpo -c -o te > st_nccmp_strlist-test_nccmp_strlist.o `test -f 'test_nccmp_strlist.c' > || echo '/ > pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_nccmp_strlist.c > mv -f .deps/test_nccmp_strlist-test_nccmp_strlist.Tpo > .deps/test_nccmp_strlist-t est_nccmp_strlist.Po > gcc -I/include -I/libsrc4 -ggdb -O2 -pipe > -Wimplicit-function-declaration -fdebu > g-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src/debug/nccmp-1.7. > 4.1-1 > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1=/ > usr/src/debug/nccmp-1.7.4.1-1 -o test_nccmp_strlist.exe > test_nccmp_strlist-te st_nccmp_strlist.o > ../src/nccmp-xmalloc.o ../src/nccmp-nccmp_strlist.o -lnetcdf -lm > gcc -DHAVE_CONFIG_H -I. > -I/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/ > test -I.. -I../src -I/include -I/libsrc4 > -ggdb -O2 -pipe -Wimplicit-function-d eclaration > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/build=/usr/src > /debug/nccmp-1.7.4.1-1 > -fdebug-prefix-map=/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/sr > c/nccmp-1.7.4.1=/usr/src/debug/nccmp-1.7.4.1-1 -MT > test_nccmp_user_type-test_nc cmp_user_type.o -MD -MP -MF > .deps/test_nccmp_user_type-test_nccmp_user_type.Tpo > -c -o > test_nccmp_user_type-test_nccmp_user_type.o `test -f > 'test_nccmp_user_type .c' || echo > '/pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/'`test_n > ccmp_user_type.c > /pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/src/nccmp-1.7.4.1/test/test_nccmp_user_type. > c:1:25: fatal error: > nccmp_error.h: No such file or directory > #include > ^ > compilation terminated. > Makefile:741: recipe for target > 'test_nccmp_user_type-test_nccmp_user_type.o' fa iled > make[2]: *** [test_nccmp_user_type-test_nccmp_user_type.o] Error 1 > make[2]: Target 'test_nccmp_user_type.exe' not remade because of errors. > make[2]: Leaving directory > '/cygdrive/e/cyg_pub/tmp/ITP/nccmp-1.7.4.1-1.x86_64/b > uild/test' >