astro/wcslib fails to install
Rainer Hurling
rhurlin at gwdg.de
Thu May 8 12:22:15 UTC 2014
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 at 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 at 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 at gfd-dennou.org
> WWW: http://www.gfd-dennou.org/member/murashin/
More information about the freebsd-ports
mailing list