Upgrade of astro/kstars to 4.12.4_1 fails - linker error

Dr. Peter Voigt pvoigt at uos.de
Sun May 4 21:15:15 UTC 2014


I am running 10.0-RELEASE-p2 and after the latest ports tree update the
upgrade of astro/kstars to 4.12.4_1 fails:

# portmaster --no-confirm --no-term-title -D -G kstars

Scanning dependencies of target testcsvparser
[100%] Building CXX object
Tests/CMakeFiles/testfwparser.dir/testfwparser.o [100%] Building CXX
object Tests/CMakeFiles/testcsvparser.dir/testcsvparser.o Linking CXX
executable
testfwparser /usr/ports/astro/kstars/work/kstars-4.12.4/kstars/kstars.cpp:122:7:
warning: '__GLIBC__' is not defined, evaluates to 0 [-Wundef] #if
( __GLIBC__ >= 2 &&__GLIBC_MINOR__ >= 1  && !defined(__UCLIBC__) )
^ /usr/local/lib/libcfitsio.so: undefined reference to
`compress2mem_from_mem' /usr/local/lib/libcfitsio.so: undefined
reference to `compress2file_from_mem' /usr/local/lib/libcfitsio.so:
undefined reference to `uncompress2mem' /usr/local/lib/libcfitsio.so:
undefined reference to `zuncompress2mem' /usr/local/lib/libcfitsio.so:
undefined reference to `uncompress2file' /usr/local/lib/libcfitsio.so:
undefined reference to `uncompress2mem_from_mem' c++: error: linker
command failed with exit code 1 (use -v to see invocation) ---
Tests/testfwparser --- *** [Tests/testfwparser] Error code 1

make[3]: stopped in /usr/ports/astro/kstars/work/.build
1 error

make[3]: stopped in /usr/ports/astro/kstars/work/.build
--- Tests/CMakeFiles/testfwparser.dir/all ---
*** [Tests/CMakeFiles/testfwparser.dir/all] Error code 2

make[2]: stopped in /usr/ports/astro/kstars/work/.build
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/ports/astro/kstars/work/.build
--- Tests/CMakeFiles/testcsvparser.dir/all ---
*** [Tests/CMakeFiles/testcsvparser.dir/all] Error code 2

make[2]: stopped in /usr/ports/astro/kstars/work/.build
1 warning generated.
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/ports/astro/kstars/work/.build
--- kstars/CMakeFiles/kstars.dir/all ---
*** [kstars/CMakeFiles/kstars.dir/all] Error code 2

make[2]: stopped in /usr/ports/astro/kstars/work/.build
3 errors

make[2]: stopped in /usr/ports/astro/kstars/work/.build
--- all ---
*** [all] Error code 2

make[1]: stopped in /usr/ports/astro/kstars/work/.build
1 error

make[1]: stopped in /usr/ports/astro/kstars/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/astro/kstars

===>>> make failed for astro/kstars
===>>> Aborting update

===>>> Update for astro/kstars failed
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> astro/kstars 

===>>> Exiting

Can this easily be solved or should I open a PR?

Regards,
Peter


More information about the freebsd-ports mailing list