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.
The lack of SONAME might be a bit more work, the "wrong installation directory" part should be easy enough
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.
Also, we could probably use gmp instead of mpir but that's more work.
+ 21 May 2013; Patrick Lauer <patrick@gentoo.org> flint-2.3.ebuild: + Fixing libdir for #470732 Haha!
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.
(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*.
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.
(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
(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
This should be closed as upstream now provides soname in their latest releases.
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(+)