Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2013 17:02:31 +0200 (CEST)
From:      Martin Olsson <martin.olsson@sentor.se>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: devel/libcheck - bug in package
Message-ID:  <alpine.BSF.2.00.1304251659440.81362@farmermaggot.shire.sentor.se>
In-Reply-To: <20130425145540.GA74139@ithaqua.etoilebsd.net>
References:  <00f401ce41b4$fde2a1d0$f9a7e570$@sentor.se> <20130425130736.GC50182@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1304251549490.81362@farmermaggot.shire.sentor.se> <20130425140046.GD50182@ithaqua.etoilebsd.net> <alpine.BSF.2.00.1304251623520.81362@farmermaggot.shire.sentor.se> <20130425145540.GA74139@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>> <snip>
>> /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
<snip>
===>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1304251659440.81362>