Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2014 14:22:07 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Shin-ya Murakami <murashin@gfd-dennou.org>, sunpoet@FreeBSD.org,  me@janh.de, tonymaher@optusnet.com.au
Cc:        freebsd-ports@freebsd.org
Subject:   Re: astro/wcslib fails to install
Message-ID:  <536B76EF.8000801@gwdg.de>
In-Reply-To: <20140508.205642.318350368.murashin@gfd-dennou.org>
References:  <536A3AB8.2060005@janh.de> <CAMHz58TMhv4DpdkLHF3BsOKjbk8PfTm6poaZU8VU-TdKw5cbXQ@mail.gmail.com> <536B5DD6.8010804@gwdg.de> <20140508.205642.318350368.murashin@gfd-dennou.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 08.05.2014 13:56 (UTC+1) schrieb Shin-ya Murakami:
> Hi,
> 
> Please try with the attached patch.
> I had successfully installed HPXcvt with this patch.
> 
> From: Rainer Hurling <rhurlin@gwdg.de>
> Date: Thu, 08 May 2014 12:35:02 +0200
> 
>> Am 08.05.2014 05:14 (UTC+1) schrieb Sunpoet Po-Chuan Hsieh:
>>> On Wed, May 7, 2014 at 9:52 PM, Jan Henrik Sylvester <me@janh.de> wrote:
>>>> My latest port upgrade (from source via portmaster) on
>>>> 10.0-RELEASE/amd64 fails at astro/wcslib, which has been bumped after
>>>> the astro/cfitsio update. It fails to install with:
>>>>
>>>> pkg-static:
>>>> lstat(/usr/ports/astro/wcslib/work/stage/usr/local/bin/HPXcvt): No such
>>>> file or directory
>>>>
>>>> Building astro/wcslib does not fail, but there are numerous segfaults
>>>> starting with these:
>>>>
>>>> make[2]: *** [libwcs-4.13.4.a(lin.o)] Segmentation fault (core dumped)
>>>> gmake[2]: *** Archive member `libwcs-4.13.4.a(lin.o)' may be bogus; not
>>>> deleted
>>>>
>>>> cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fno-strict-aliasing -c sph.c
>>>> ar r libwcs-4.13.4.a sph.o
>>>> ar: warning: Incorrect file header signature
>>>> gmake[2]: *** [libwcs-4.13.4.a(sph.o)] Segmentation fault (core dumped)
>>>>
>>>> What is happening here?
>>>>
>>>> I do not have anything in make.conf that should be related (only
>>>> WITH_NEW_XORG=yes, TEX_DEFAULT=texlive, and some port specific options
>>>> of unrelated ports).
>>>>
>>>> Cheers,
>>>> Jan Henrik
>>>
>>> It should be fixed in r353239. Please update your ports tree and try
>>> again. Thanks!
>>>
>>> Regards,
>>> sunpoet
>>>
>>
>> I just had success with deinstalling the old version and after it
>> installing the new one with the following patch:
>>

Don't no, for what reason, but I had an old version of libcfitsio installed:

-r--r--r--  1 root  wheel  - 1355864 19 Jan 10:58:45 2014 libcfitsio.so.0

After removing this lib, applying your patch and rebuilding,
astro/wcslib installs fine now.

Many thanks,
Rainer

>>
>> --- pkg-plist.orig	2014-01-22 19:00:47.000000000 +0100
>> +++ pkg-plist	2014-05-08 12:32:40.000000000 +0200
>> @@ -1,4 +1,3 @@
>> -%%HPXCVT%%bin/HPXcvt
>>  bin/fitshdr
>>  include/wcslib
>>  include/wcslib-%%VERSION%%/cel.h
>> _______________________________________________
> ----
> Shin-ya Murakami
> email: murashin@gfd-dennou.org
> WWW: http://www.gfd-dennou.org/member/murashin/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536B76EF.8000801>