From owner-freebsd-ports@FreeBSD.ORG Thu Apr 25 15:02:33 2013 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5008120D; Thu, 25 Apr 2013 15:02:33 +0000 (UTC) (envelope-from martin.olsson@sentor.se) Received: from smtp-out.sentor.se (smtp-out.sentor.se [176.124.225.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8B84D19F5; Thu, 25 Apr 2013 15:02:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by farmermaggot.shire.sentor.se (Postfix) with ESMTP id A97B9AA52AFD; Thu, 25 Apr 2013 17:02:31 +0200 (CEST) Date: Thu, 25 Apr 2013 17:02:31 +0200 (CEST) From: Martin Olsson To: Baptiste Daroussin Subject: Re: FreeBSD Port: devel/libcheck - bug in package In-Reply-To: <20130425145540.GA74139@ithaqua.etoilebsd.net> Message-ID: References: <00f401ce41b4$fde2a1d0$f9a7e570$@sentor.se> <20130425130736.GC50182@ithaqua.etoilebsd.net> <20130425140046.GD50182@ithaqua.etoilebsd.net> <20130425145540.GA74139@ithaqua.etoilebsd.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 15:02:33 -0000 On Thu, 25 Apr 2013, Baptiste Daroussin wrote: > On Thu, Apr 25, 2013 at 04:41:34PM +0200, Martin Olsson wrote: >> On Thu, 25 Apr 2013, Baptiste Daroussin wrote: >>> Can you send me your config.log and the Makefile of libcheck (the port one) >> >> I removed the work dir >> I updated the port tree again >> I ran 'portmaster --no-confirm -adgf' again and get: >> >> /bin/sh ../libtool --tag=CC --mode=link cc -O2 -pipe >> -fno-strict-aliasing -Wall -ansi -pedantic -Wextra -Wstrict-prototypes >> -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -o >> ex_log_output ex_log_output.o ../src/libcheck.la ../lib/libcompat.la -lrt >> libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wall -ansi -pedantic >> -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings >> -Wno-variadic-macros -o .libs/ex_log_output ex_log_output.o >> ../src/.libs/libcheck.so ../lib/.libs/libcompat.a -lrt -Wl,-rpath >> -Wl,/usr/local/lib >> gmake[2]: Leaving directory >> `/usr/ports/devel/libcheck/work/check-0.9.9/tests' >> gmake[1]: Leaving directory `/usr/ports/devel/libcheck/work/check-0.9.9' >> >> ===>>> Creating a backup package for old version libcheck-0.9.9 >> tar: bin/checkmk: Cannot stat: No such file or directory >> tar: Error exit delayed from previous errors. >> pkg_create: make_dist: tar command failed with code 256 >> >> ===>>> Package creation failed for libcheck-0.9.9! >> >> ===>>> Ignore this error [i] >> ===>>> Abort update [a] >> ===>>> Retry [r] >> >> ===>>> How would you like to proceed? [i] a >> >> >> ===>>> Package creation failed for libcheck-0.9.9 >> ===>>> Aborting update >> >> ===>>> Update for devel/libcheck failed >> ===>>> Aborting update >> >> ===>>> Killing background jobs >> Terminated >> >> >> So, as I was saying, the compile seem to go fine. >> It is the creation of the package that bails (-g option to portmaster). >> >> >> In /usr/ports/devel/libcheck/pkg-plist I see a reference to "bin/checkmk". >> Should this be just "checkmk" without the "bin/" subdir perhaps? 'Cause I >> see in my work dir that the dir checkmk/ exists there, without a >> prepending bin dir: >> -rwxr-xr-x 1 root wheel 9210 Apr 25 14:21 /usr/ports/devel/libcheck/work/check-0.9.9/checkmk/checkmk* >> >> >> Anyhow, see attached files. > > I don't get it, config.log is normal, and doing what is expected I tried on 2 of > my systems and it works ok. > > I'll continue searching but without being able to reproduce it is hard. Does it have something to do with creating a backup package for ***old*** version of libcheck-0.9.9 ? If I compare the above with another port, that is sucessful, it looks like this: ===>>> Creating a backup package for old version hping-2.0.0r3,1 ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for net/hping from ports ===>>> No dependencies for net/hping ===> Installing for hping-2.0.0r3,1 ===> Generating temporary packing list ===> Checking if net/hping already installed ===> Compressing manual pages for hping-2.0.0r3,1 ===> Registering installation for hping-2.0.0r3,1 ===>>> Creating a package for new version hping-2.0.0r3,1 ===>>> Package saved to /usr/ports/packages/All ===>>> Re-installation of hping-2.0.0r3,1 succeeded /Martin