Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528622 - sci-libs/gsl-1.16 - add multilib support
Summary: sci-libs/gsl-1.16 - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-11-08 08:44 UTC by Igor Ulyanov
Modified: 2014-11-10 23:34 UTC (History)
1 user (show)

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


Attachments
sci-libs/gsl-1.16 multilib patch (0001-multilib-gsl.patch,1.23 KB, patch)
2014-11-08 08:45 UTC, Igor Ulyanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Ulyanov 2014-11-08 08:44:09 UTC
sci-libs/gsl should be multilib-aware

Reproducible: Always
Comment 1 Igor Ulyanov 2014-11-08 08:45:20 UTC
Created attachment 388828 [details, diff]
sci-libs/gsl-1.16 multilib patch
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2014-11-08 16:12:39 UTC
(In reply to Igor Ulyanov from comment #0)
> sci-libs/gsl should be multilib-aware
Why? sci-libs/gsl is not really a base library.
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2014-11-09 20:26:24 UTC
And it might the easiest to create a pull request on github:
<https://github.com/gentoo-science/sci/pulls>
Comment 4 Igor Ulyanov 2014-11-10 18:25:12 UTC
(In reply to Christoph Junghans from comment #2)
> (In reply to Igor Ulyanov from comment #0)
> > sci-libs/gsl should be multilib-aware
> Why? sci-libs/gsl is not really a base library.

Is there any policy for multilib-awareness? 

> And it might the easiest to create a pull request on github:
> <https://github.com/gentoo-science/sci/pulls>

What is the status of gentoo-science overlay against portage? Is there any reason to fill request in this overlay if i've added patched ebuild to my own overlay displacer already?
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2014-11-10 18:38:44 UTC
(In reply to Igor Ulyanov from comment #4)
> (In reply to Christoph Junghans from comment #2)
> > (In reply to Igor Ulyanov from comment #0)
> > > sci-libs/gsl should be multilib-aware
> > Why? sci-libs/gsl is not really a base library.
> Is there any policy for multilib-awareness? 
"To make it more precise, that is the goal of gx86-multilib project: to provide multilib libraries whenever they are necessary to run some stuff that can't be run in native ABI." (bug #474910#c6)

So where would we need a 32bit libgsl?

> > And it might the easiest to create a pull request on github:
> > <https://github.com/gentoo-science/sci/pulls>
> What is the status of gentoo-science overlay against portage? Is there any
> reason to fill request in this overlay if i've added patched ebuild to my
> own overlay displacer already?
sci-libs/gsl is maintained by the science herd and the gentoo-science is their official overlay. It can be seen as a staging area to the portage tree. Also your diff is against 1.16-r1, which is part of the gentoo-science overlay.

Also, in your patch dependencies (virtual/cblas) have not been updated.
Comment 6 Igor Ulyanov 2014-11-10 18:51:43 UTC
(In reply to Christoph Junghans from comment #5)
> So where would we need a 32bit libgsl?

It is needed for me personnaly for out of portage applications development.

> Also your diff is against 1.16-r1

It seems I have to apologize, ive renamed ebuild from portage to r1 before making changes...

> Also, in your patch dependencies (virtual/cblas) have not been updated.

It is probably not perfect but at least works for me (resolving virtual/cblas dependencies seems difficult to me with my poor portage knowledge). No problem to resolve this as WONTFIX ot smth similar. Thanks for reply.
Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2014-11-10 19:04:55 UTC
As sci-libs/xblas and sci-libs/cblas-reference are multlib already, let's convert gsl, too. Just do a pull request, we can take it from there.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2014-11-10 23:34:12 UTC
Done it in science overlay:
+*gsl-1.16-r2 (10 Nov 2014)
+
+  10 Nov 2014; Christoph Junghans <ottxor@gentoo.org> +gsl-1.16-r2.ebuild:
+  added multilib support (bug #528622)
+

+*cblas-2.0-r3 (10 Nov 2014)
+
+  10 Nov 2014; Christoph Junghans <ottxor@gentoo.org> +cblas-2.0-r3.ebuild:
+  added multilib support (bug #528622)
+