Both gmp and mpfr ports install .la files. Can we remove them to prevent odd build problems? libgmp.la and libmpfr.la cause gnome-calculator to fail to build in jhbuild because wrong version of libpangoft2-1.0.so.0 is found during linking: /home/lantw44/gnome/devinstall/lib/libgtk-3.so: undefined reference to `pango_fc_font_map_config_changed' clang: error: linker command failed with exit code 1 (use -v to see invocation) Removing libgmp.la and libmpfr.la fixes the problem.
A simple build test done by running 'poudriere bulk' on all ports having math/gmp or math/mpfr dependencies shows no build failure, so removing libgmp.la and libmpfr.la seems to be safe.
Created attachment 159569 [details] Remove .la files for gmp and mpfr
This problem still doesn't get fixed and we still see build failure caused by .la files. Does anyone have time to review the patch?
*** Bug 202031 has been marked as a duplicate of this bug. ***
Exp-run results: http://package18.nyi.freebsd.org/jail.html?mastername=93i386-default-PR202029 http://package18.nyi.freebsd.org/jail.html?mastername=102amd64-default-PR202029 0 new failure, looks fine
The patch has stayed in bugzilla for more than 6 months. Can it be committed?
A commit references this bug: Author: kwm Date: Wed Feb 10 16:13:25 UTC 2016 New revision: 408635 URL: https://svnweb.freebsd.org/changeset/ports/408635 Log: Drop :keepla from USES:libtool. PR: 202029 Submitted by: Ting-Wei Lan <lantw44@gmail.com> Exp-run by: antoine@ Approved by: maintainer timeout (6 months) Changes: head/math/gmp/Makefile head/math/gmp/pkg-plist head/math/mpfr/Makefile head/math/mpfr/pkg-plist
Committed thanks!