Bug 165160 - math/coinmp needs to use libtool
Summary: math/coinmp needs to use libtool
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 02:20 UTC by Pedro F. Giffuni
Modified: 2012-03-09 22:10 UTC (History)
0 users

See Also:


Attachments
file.diff (301 bytes, patch)
2012-02-15 02:20 UTC, Pedro F. Giffuni
no flags Details | Diff
patch-coinmp.txt (4.91 KB, patch)
2012-02-15 03:30 UTC, Pedro F. Giffuni
no flags Details | Diff
patch-coinmp.txt (5.98 KB, patch)
2012-02-20 16:05 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2012-02-15 02:20:09 UTC
While building coinmp as part of Apache OpenOffice Maho@ noticed
coinmp doesn't consider by default the case of freebsd-elf when
generating shared libraries.

The solution is to run libtool.

Fix: Patch attached with submission follows:
Comment 1 Pedro F. Giffuni 2012-02-15 03:30:42 UTC
Unfortunately just running libtool is not enough:
the ltmain.sh scripts need to be updated.
Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-02-17 20:30:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-02-17 23:41:37 UTC
State Changed
From-To: open->feedback

Looks like it needs more work on the library.numbers. 
This on 8.2, amd64. 
wasn't able to make a package, pkg-plist wrong (library.numbers) 
Wasn't able to delete the package (library.numbers) 
==> Building package for CoinMP-1.6.0 
2708 	tar: lib/libCbc.so.10: Cannot stat: No such file or directory 
2709 	tar: lib/libCbcSolver.so.10: Cannot stat: No such file or directory 
2710 	tar: lib/libCgl.so.8: Cannot stat: No such file or directory 
2711 	tar: lib/libClp.so.12: Cannot stat: No such file or directory 
2712 	tar: lib/libCoinMP.so.7: Cannot stat: No such file or directory 
2713 	tar: lib/libCoinUtils.so.11: Cannot stat: No such file or directory 
2714 	tar: lib/libOsi.so.11: Cannot stat: No such file or directory 
2715 	tar: lib/libOsiCbc.so.10: Cannot stat: No such file or directory 
2716 	tar: lib/libOsiClp.so.12: Cannot stat: No such file or directory 
2717 	tar: lib/libOsiCommonTests.so.11: Cannot stat: No such file or directory 
2718 	tar: Error exit delayed from previous errors. 
2719 	pkg_create: make_dist: tar command failed with code 256 
2720 	*** Error code 1 
2721 	 
2722 	Stop in /a/ports/math/coinmp. 
2723 	Deleting CoinMP-1.6.0 
2724 	pkg_delete: file '/usr/local/lib/libCbc.so.10' doesn't exist 
2725 	pkg_delete: file '/usr/local/lib/libCbcSolver.so.10' doesn't exist 
2726 	pkg_delete: file '/usr/local/lib/libCgl.so.8' doesn't exist 
2727 	pkg_delete: file '/usr/local/lib/libClp.so.12' doesn't exist 
2728 	pkg_delete: file '/usr/local/lib/libCoinMP.so.7' doesn't exist 
2729 	pkg_delete: file '/usr/local/lib/libCoinUtils.so.11' doesn't exist 
2730 	pkg_delete: file '/usr/local/lib/libOsi.so.11' doesn't exist 
2731 	pkg_delete: file '/usr/local/lib/libOsiCbc.so.10' doesn't exist 
2732 	pkg_delete: file '/usr/local/lib/libOsiClp.so.12' doesn't exist 
2733 	pkg_delete: file '/usr/local/lib/libOsiCommonTests.so.11' doesn't exist 
2734 	pkg_delete: couldn't entirely delete package (perhaps the packing list is 
2735 	incorrectly specified?) 
2736 	================================================================ 
2737 	 
2738 	=== Checking filesystem state 
2739 	list of extra files and directories in / (not present before this port was installed but present after it was  
deinstalled) 
2740 	5165765 2688 -rwxr-xr-x 1 root wheel 1318545 Feb 17 23:32 usr/local/lib/libCbc.so.3 
2741 	5165787 2240 -rwxr-xr-x 1 root wheel 1106330 Feb 17 23:32 usr/local/lib/libCbcSolver.so.3 
2742 	5165764 2368 -rwxr-xr-x 1 root wheel 1156356 Feb 17 23:32 usr/local/lib/libCgl.so.1 
2743 	5162425 3264 -rwxr-xr-x 1 root wheel 1632863 Feb 17 23:32 usr/local/lib/libClp.so.1 
2744 	5165784 224 -rwxr-xr-x 1 root wheel 110898 Feb 17 23:32 usr/local/lib/libCoinMP.so.1 
2745 	5162296 3008 -rwxr-xr-x 1 root wheel 1485425 Feb 17 23:32 usr/local/lib/libCoinUtils.so.3 
2746 	5162276 960 -rwxr-xr-x 1 root wheel 440563 Feb 17 23:32 usr/local/lib/libOsi.so.1 
2747 	5165779 168 -rwxr-xr-x 1 root wheel 84319 Feb 17 23:32 usr/local/lib/libOsiCbc.so.3 
2748 	5162420 704 -rwxr-xr-x 1 root wheel 356957 Feb 17 23:32 usr/local/lib/libOsiClp.so.1 
2749 	5162406 3520 -rwxr-xr-x 1 root wheel 1751840 Feb 17 23:32 usr/local/lib/libOsiCommonTests.so.1
Comment 4 Michael Scheidell freebsd_committer freebsd_triage 2012-02-20 15:20:52 UTC
State Changed
From-To: feedback->open

Back to open so someone else can work on it 


Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-02-20 15:20:52 UTC
Responsible Changed
From-To: scheidell->freebsd-ports-bugs

Back to the pool
Comment 6 Pedro F. Giffuni 2012-02-20 16:05:07 UTC
Here is my updated patch.

It will likely be required by OpenOffice at some point.
Comment 7 Jason Helfman freebsd_committer freebsd_triage 2012-03-09 07:32:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-03-09 22:07:48 UTC
jgh         2012-03-09 22:07:35 UTC

  FreeBSD ports repository

  Modified files:
    math/coinmp          Makefile 
  Log:
  - tie to libtool
  
  PR: ports/165160
  Submitted by: maintainer, giffunip@tutopia.com
  Feature safe: yes
  
  Revision  Changes    Path
  1.3       +7 -1      ports/math/coinmp/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Jason Helfman freebsd_committer freebsd_triage 2012-03-09 22:08:01 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!