Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470732 - sci-mathematics/flint-2.3 - library lacks a SONAME and install fails multilib strict test
Summary: sci-mathematics/flint-2.3 - library lacks a SONAME and install fails multilib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-20 10:37 UTC by François Bissey
Modified: 2020-02-28 17:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2013-05-20 10:37:00 UTC
Building flint 2.3 on a multilib-strict enabled amd64 generated a QA warning and an error:
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib/libflint.a
   usr/lib/libflint.so
ecompressdir: bzip2 -9 /usr/share/doc

 * QA Notice: The following shared libraries lack a SONAME
 * /usr/lib/libflint.so

Files matching a file type that is not allowed:
   usr/lib/libflint.so
 * ERROR: sci-mathematics/flint-2.3 failed:
 *   multilib-strict check failed!
 * 
 
As we can see, it wants to install in usr/lib instead of usr/lib64.
Comment 1 Patrick Lauer gentoo-dev 2013-05-21 05:31:54 UTC
The lack of SONAME might be a bit more work, the "wrong installation directory" part should be easy enough
Comment 2 François Bissey 2013-05-21 06:17:36 UTC
because I need it shortly I did some work in the sage-on-gentoo overlay. Ugly build system is ugly...
I also improved the gentoo prefix support quite a bit since this also can be run on a macos/linux prefix.
Comment 3 François Bissey 2013-05-21 06:48:35 UTC
Also, we could probably use gmp instead of mpir but that's more work.
Comment 4 Patrick Lauer gentoo-dev 2013-05-21 07:25:32 UTC
+  21 May 2013; Patrick Lauer <patrick@gentoo.org> flint-2.3.ebuild:
+  Fixing libdir for #470732

Haha!
Comment 5 François Bissey 2014-01-03 10:52:23 UTC
I should comment here again. We have an ebuild in the sage-on-gentoo overlay that fix this particular problem. It also uses gmp instead of mpir. multilib fix are in and there are ebuild for the recently released flint 2.4 and 2.4.1.
Comment 6 Julian Ospald 2014-04-13 15:21:49 UTC
(In reply to Francois Bissey from comment #5)
> I should comment here again. We have an ebuild in the sage-on-gentoo overlay
> that fix this particular problem. It also uses gmp instead of mpir. multilib
> fix are in and there are ebuild for the recently released flint 2.4 and
> 2.4.1.

that's not the correct way to contribute to gentoo

you attach patches and ebuild diffs. I mean... not even a link, *sigh*.
Comment 7 François Bissey 2014-04-13 18:46:31 UTC
Yes the correct way would be for me to b****y finish and send my quizzes in :) 
Anyway we are at 2.4.3 and good collaboration with upstream
https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/flint
has everything.
Comment 8 Julian Ospald 2014-05-18 17:06:20 UTC
(In reply to Francois Bissey from comment #7)
> Yes the correct way would be for me to b****y finish and send my quizzes in
> :) 
> Anyway we are at 2.4.3 and good collaboration with upstream
> https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/flint
> has everything.

Adding SONAMES downstream is almost always wrong.

https://github.com/wbhart/flint2/issues/74
Comment 9 Julian Ospald 2014-05-18 17:09:47 UTC
(In reply to Patrick Lauer from comment #4)
> +  21 May 2013; Patrick Lauer <patrick@gentoo.org> flint-2.3.ebuild:
> +  Fixing libdir for #470732
> 
> Haha!

https://github.com/wbhart/flint2/pull/72
Comment 10 François Bissey 2016-11-05 22:18:06 UTC
This should be closed as upstream now provides soname in their latest releases.
Comment 11 Larry the Git Cow gentoo-dev 2020-02-28 17:23:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b65a3d5ad4c68459f3d7ce63556937099ac93a

commit 39b65a3d5ad4c68459f3d7ce63556937099ac93a
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-02-28 16:31:58 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-02-28 17:20:43 +0000

    sci-mathematics/flint: new EAPI=7 revision.
    
    This new revision is based off François Bissey's ebuild in the
    sage-on-gentoo overlay, which has accrued some fixes not present in
    the ::gentoo version. Of note, it fixes an open build bug, and an
    unreported issue where 32-bit libraries are detected on a 64-bit
    system.
    
    The update to EAPI=7 required only moving the LaTeX dependencies to
    BDEPEND. In the process, I updated the LICENSE to LGPL-2.1+ because
    upstream has done the same. I also looked long and hard for a reason
    why we have RESTRICT=mirror in the ebuild. Finding none, I have
    removed the restriction.
    
    Closes: https://bugs.gentoo.org/470732
    Closes: https://bugs.gentoo.org/688674
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../flint/files/flint-2.5.2-memory_message.patch   | 16 +++++
 sci-mathematics/flint/files/flint-2.5.2-pie.patch  | 78 ++++++++++++++++++++++
 sci-mathematics/flint/files/flint-2.5.2-utf8.patch | 13 ++++
 sci-mathematics/flint/files/flintxx-include.patch  | 19 ++++++
 sci-mathematics/flint/flint-2.5.2-r1.ebuild        | 74 ++++++++++++++++++++
 5 files changed, 200 insertions(+)