Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227813 - sci-libs/linbox-1.6.3: import package from the sage-on-gentoo overlay
Summary: sci-libs/linbox-1.6.3: import package from the sage-on-gentoo overlay
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michael Orlitzky
URL: http://linalg.org/
Whiteboard:
Keywords:
: 230421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-17 14:14 UTC by Christian Kotz
Modified: 2020-05-04 12:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild file (linbox-1.1.6-r0.ebuild,1.02 KB, text/plain)
2008-06-17 14:16 UTC, Christian Kotz
Details
new linbox ebuild (linbox-1.1.6.ebuild,1.65 KB, text/plain)
2009-11-22 13:22 UTC, Christopher Schwan
Details
patch neede for sage interface (commentator-patch-from-sage.patch,225 bytes, text/plain)
2009-11-22 13:25 UTC, Christopher Schwan
Details
fix for generation of documentation (linbox-1.1.6-fix-doc.patch,488 bytes, text/plain)
2009-11-22 13:26 UTC, Christopher Schwan
Details
linbox-1.6.3.ebuild (linbox-1.6.3.ebuild,3.26 KB, text/plain)
2020-04-25 19:46 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kotz 2008-06-17 14:14:56 UTC
LinBox is a C++ template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields.
Current release is 1.1.5
Comment 1 Christian Kotz 2008-06-17 14:16:07 UTC
Created attachment 157287 [details]
ebuild file

This ebuild can serve as a starting point
Comment 2 Karsten Hiddemann 2008-07-01 01:54:53 UTC
Nice that somebody tries to pick this up. The following tells me that gmp and blas aren't really optional things which should be use flags, but really required dependencies:


checking for GIVARO >= 3.2.10... checking whether to compile the sage interface... no
checking for C interface to BLAS... not found
checking for others BLAS... not found

*******************************************************************************
 ERROR: BLAS not found!

 BLAS routines are required for this library to compile. Please
 make sure BLAS are installed and specify its location with the option
 --with-blas=<lib> when running configure.
*******************************************************************************



checking for GMP >= 3.1.1... not found
*******************************************************************************
 ERROR: GMP not found!

 GMP version 3.1.1 or greater with --enable-cxx is required for this library to compile. Please
 make sure GMP is installed and specify its location with the option
 --with-gmp=<prefix> when running configure.
*******************************************************************************


Furthermore, in /usr/include/linbox/integer.h there's an include of "gmp++/gmp++.h" which doesn't exist. Maybe it's meant to be "gmpxx.h" ?
Comment 3 Christopher Schwan 2009-11-22 13:21:45 UTC
Since linbox is needed for sage (see bug #201321) Francois and I have worked on a new linbox ebuild which supports more features and introduces some bug fixes.

Note that linbox depends on givaro, which can be found in the science overlay.
Comment 4 Christopher Schwan 2009-11-22 13:22:36 UTC
Created attachment 210875 [details]
new linbox ebuild
Comment 5 Christopher Schwan 2009-11-22 13:25:39 UTC
Created attachment 210876 [details]
patch neede for sage interface
Comment 6 Christopher Schwan 2009-11-22 13:26:25 UTC
Created attachment 210878 [details]
fix for generation of documentation
Comment 7 Christopher Schwan 2009-11-22 13:26:46 UTC
Please note that there is also bug #230421, one of them should be marked as duplicate.
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2009-11-22 17:32:23 UTC
*** Bug 230421 has been marked as a duplicate of this bug. ***
Comment 9 Michael Orlitzky gentoo-dev 2020-04-25 19:46:15 UTC
Created attachment 634558 [details]
linbox-1.6.3.ebuild

Here's a modern ebuild taken from the sage-on-gentoo overlay. I've made a few minor changes:

  * Added sse and sse2 CPU flags
  * Added USE=doc that pulls in doxygen and installs the docs
  * Hacked src_install to delete all of the doxygen junk that would otherwise
    be installed.
  * Used tc-check-openmp to check for openmp, and only when we're building
    from source.

Aside from that, I think I just added some comments explaining the dependencies and ./configure flags. I'll merge this in a few days unless anything thinks there's more I should do with it.
Comment 10 François Bissey 2020-04-25 20:20:45 UTC
It looks OK, and I see you have the .pc patch too. A note is that major releases of givaro/fflas-ffpack/linbox have to be done in sync, which can be a bit painful.
Comment 11 Larry the Git Cow gentoo-dev 2020-05-04 12:47:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e61bbe8bc610d59716cee5dcfb972d300191eb

commit 87e61bbe8bc610d59716cee5dcfb972d300191eb
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-05-04 12:21:52 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-05-04 12:42:36 +0000

    sci-libs/linbox: new C++ template library for linear algebra.
    
    This is a straightforward import of the sci-libs/linbox package from
    the sage-on-gentoo overlay where François Bissey has been maintaining
    it. Linbox is a dependency of SageMath, and users will soon be able to
    use the system copy of linbox; see ticket 29631 on the SageMath Trac
    instance. Having this in Gentoo will therefore avoid pointless
    rebuilds of linbox for our SageMath users.
    
    Closes: https://bugs.gentoo.org/227813
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-libs/linbox/Manifest                    |  1 +
 sci-libs/linbox/files/linbox-1.6.3-pc.patch | 25 ++++++++
 sci-libs/linbox/linbox-1.6.3.ebuild         | 93 +++++++++++++++++++++++++++++
 sci-libs/linbox/metadata.xml                | 39 ++++++++++++
 4 files changed, 158 insertions(+)