Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2014 23:08:17 +0200
From:      "Dr. Peter Voigt" <pvoigt@uos.de>
To:        freebsd-ports@freebsd.org
Subject:   Upgrade of astro/kstars to 4.12.4_1 fails - linker error
Message-ID:  <20140504230817.66df75b1@tiger2008.drpetervoigt.private>

next in thread | raw e-mail | index | archive | help
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



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