astro/wcslib fails to install

Rainer Hurling rhurlin at gwdg.de
Thu May 8 10:35:07 UTC 2014


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:


--- 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


More information about the freebsd-ports mailing list