astro/wcslib fails to install

Raphael Kubo da Costa rakuco at
Thu May 8 22:44:43 UTC 2014

Jan Henrik Sylvester <me at> writes:

> 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

I've fixed wcslib's behavior with regard to how it handles the CFITSIO
option in r353362 -- it's going to be properly off most of the time
regardless of whether astro/cfitsio is present on the system or not,
unless people really turn that option on via `make config'. If they do,
they also need to apply ports/189487 to astro/cfitsio, otherwise
wcslib's configure script will fail to build its test programs with and assume it is not present (and the plist will be

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

Should be fixed by r353360 (the port is not MAKE_JOBS_SAFE).

More information about the freebsd-ports mailing list