Linking Aegisub against libboost_locale fails with the following error: checking for exit in -lboost_locale... no checking for exit in -lboost_locale... (cached) no checking for exit in -lboost_locale... (cached) no checking for exit in -lboost_locale... (cached) no configure: error: Could not link against boost_locale ! ===> Script "configure" failed unexpectedly. Log is attached. System: FreeBSD 10.0 amd64 aegisub-3.1.3 boost-libs-1.55.0_3
Created attachment 144961 [details] Aegisub build output log.
There is no maintainer for the port, can you provide a patch?
I'll see what I can do. No guarantees. I'm an amateur. ;)
aegisub writes a config.log in its work directory during the configure stage. This should give you an indication where this link problem may originate. I just tried to reproduce this problem, also on 10.0 amd64, but I get a successful build: ... checking whether the Boost::Locale library is available... yes checking for exit in -lboost_locale... yes ... and everything progresses as normal.
Created attachment 145024 [details] Build output of Aegisub /usr/local/lib/libboost_locale.so: undefined reference to `libiconv_open' libiconv-1.14_3 is installed. It seems that Aegisub (or a dependency) is trying to call a libiconv function that doesn't exist. Full log is attached.
It looks like the problem is in the libboost_locale library: /usr/local/lib/libboost_locale.so: undefined reference to `libiconv' /usr/local/lib/libboost_locale.so: undefined reference to `libiconv_close' /usr/local/lib/libboost_locale.so: undefined reference to `libiconv_open' The installed version of libiconv doesn't seem to have these functions. Could libboost_locale have been built against a different version of libiconv? I'll try re-building libboost_locale.
Could you verify?
I'm getting a different error now. But it is still related to libboost_locale: /usr/local/lib/libboost_locale.so: undefined reference to `libiconv' /usr/local/lib/libboost_locale.so: undefined reference to `libiconv_close' /usr/local/lib/libboost_locale.so: undefined reference to `libiconv_open' clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [/usr/ports/multimedia/aegisub/work/aegisub-3.2.0/tools/repack-thes-dict] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory `/usr/ports/multimedia/aegisub/work/aegisub-3.2.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/aegisub *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/aegisub
Actually, it is the exact same error as in comment #6, and I still don't see this build failure. All dependent ports were built using default OPTIONS. Maybe you changed something there?
Ya, I didn't use default options.