The following reply was made to PR ports/189374; it has been noted by GNATS.
From: "Dr. Peter Voigt" <pvo...@uos.de> To: Raphael Kubo da Costa <rak...@freebsd.org> Cc: bug-follo...@freebsd.org Subject: Re: ports/189374: Upgrade of astro/kstars to 4.12.4_1 fails - linker error Date: Tue, 6 May 2014 00:31:19 +0200 Am Tue, 06 May 2014 01:04:24 +0300 schrieb Raphael Kubo da Costa <rak...@freebsd.org>: > This looks like a problem in astro/cfitsio. Please try rebuilding it > and then move on to kstars. Well, I tried: # portmaster --no-confirm --no-term-title -D -G astro/cfitsio and astro/cfitsio reinstalled correctly. Then I did: # portmaster --no-confirm --no-term-title -D -G astro/kstars but errors remain: ... 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 testcsvparser 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__) ) ^ 1 warning generated. Linking CXX executable kstars /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/testcsvparser --- *** [Tests/testcsvparser] 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/testcsvparser.dir/all --- *** [Tests/CMakeFiles/testcsvparser.dir/all] Error code 2 make[2]: stopped in /usr/ports/astro/kstars/work/.build /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 /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) --- kstars/kstars --- *** [kstars/kstars] 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 --- 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 ===>>> Killing background jobs Terminated ===>>> You can restart from the point of failure with this command line: portmaster <flags> astro/kstars ===>>> Exiting Regards, Peter _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information