Bug 202029

Summary: math/gmp: math/mpfr: libtool:keepla causes build failure for gnome-calculator in jhbuild
Product: Ports & Packages Reporter: Ting-Wei Lan <lantw44>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: kwm, portmgr
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
ale: exp-run?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Remove .la files for gmp and mpfr none

Description Ting-Wei Lan 2015-08-01 17:26:20 UTC
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.
Comment 1 Ting-Wei Lan 2015-08-05 09:49:16 UTC
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.
Comment 2 Ting-Wei Lan 2015-08-05 09:56:50 UTC
Created attachment 159569 [details]
Remove .la files for gmp and mpfr
Comment 3 Ting-Wei Lan 2015-11-13 16:15:33 UTC
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?
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2015-12-02 06:33:47 UTC
*** Bug 202031 has been marked as a duplicate of this bug. ***
Comment 6 Ting-Wei Lan 2016-02-10 14:38:52 UTC
The patch has stayed in bugzilla for more than 6 months. Can it be committed?
Comment 7 commit-hook freebsd_committer freebsd_triage 2016-02-10 16:13:30 UTC
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
Comment 8 Koop Mast freebsd_committer freebsd_triage 2016-02-10 17:16:21 UTC
Committed thanks!