<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>189942</bug_id>
          
          <creation_ts>2007-08-23 14:01 0000</creation_ts>
          <short_desc>eselect-{blas,cblas,lapack} can not reload a profile</short_desc>
          <delta_ts>2008-07-07 07:40:20 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>189722</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>markusle@gentoo.org</reporter>
          <assigned_to>dberkholz@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>
    
    <cc>snf@extrospective.net</cc>

      

      
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-08-23 14:01:27 0000</bug_when>
            <thetext>Hi folks,

We&apos;ve recently noticed the following issue with the 
eselect-{blas,cblas,lapack} modules. Presently,
eselect seems unable to re-select an already 
exisiting profile which makes it impossible to update
a user&apos;s system, e.g. after an upgrade which also 
changed the eselect profile for a particular module.

As a concrete example, the sci-team is currently
in the final stages of transitioning from &quot;old-style&quot;
blas/cblas/lapack to &quot;new-style&quot; ebuilds. With this upgrade
come enhanced eselect implementation files that
provide additional links for pkg-config as well as
header files. This means, that a user upgrading 
from old-style to new-style will need to re-select
their current blas/cblas/lapack-implementation after the emerge
to get these links or otherwise end up with a pretty 
crippled system.

Currently, this does not seem to be possible 

despina eselect # eselect blas set atlas                             
Implementation &quot;atlas&quot; already active for library directory &quot;lib&quot;!
Failed to switch to implementation &quot;atlas&quot; for library directory &quot;lib&quot;!
!!! Error: One or more actions have failed!

and the only workaround seems to be to delete 
in /etc/env.d/blas/lib/config and then re-select.
Could this be fixed or is there a way around this issue 
that we are not aware of?

Thanks a bunch for your help/comments,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-08-25 04:29:11 0000</bug_when>
            <thetext>It&apos;s my code, so I&apos;ll take the bug. It should indeed be possible. I think I specifically disallowed that possibility in the code because I didn&apos;t see the reason for it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-08-25 12:24:02 0000</bug_when>
            <thetext>Thanks for taking care of this Donnie!

best,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-09-21 07:30:12 0000</bug_when>
            <thetext>Just comment lines 56-59 in /usr/share/eselect/libs/skel.bash and give it a try. If it works, I&apos;ll commit the change.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-09-21 08:42:45 0000</bug_when>
            <thetext>
&gt; Just comment lines 56-59 in /usr/share/eselect/libs/skel.bash and give it a
&gt; try. If it works, I&apos;ll commit the change.

works fine here.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-09-21 13:29:50 0000</bug_when>
            <thetext>works fine here as well!

Thanks,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-26 16:28:10 0000</bug_when>
            <thetext>*** Bug 193884 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-15 09:38:54 0000</bug_when>
            <thetext>I just talked to ciaranm, and he said it would be fine if I released the skel.bash library independently of eselect. So I will put together an ebuild for it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2007-10-16 12:32:06 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; I just talked to ciaranm, and he said it would be fine if I released the
&gt; skel.bash library independently of eselect. So I will put together an ebuild
&gt; for it.
&gt; 

Great and thanks for looking into this!

Best,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-20 04:32:48 0000</bug_when>
            <thetext>Heh, I didn&apos;t think this through clearly in advance. Releasing it as a separate module accomplishes nothing to speed things up, because we still need a full eselect release lacking it or they&apos;ll overwrite each other&apos;s files.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-28 08:10:07 0000</bug_when>
            <thetext>After further discussion with ciaranm, we&apos;ve come to the conclusion that it might just be best to allow that collision, pushing this into a separate release without requiring a concomitant eselect release. Any thoughts?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-12-04 20:33:02 0000</bug_when>
            <thetext>Alright, the new eselect release (1.0.11) has this fix (finally). I think that if I add a minimal dep on that to eselect{blas,cblas,lapack}, then things will work out.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-12-04 20:48:22 0000</bug_when>
            <thetext>Guess I&apos;ll have to wait a month till eselect hits stable...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2008-07-07 07:40:20 0000</bug_when>
            <thetext>It&apos;s still not stable for some reason, but I&apos;m closing this bug because it&apos;s cluttering my list and it&apos;s fixed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>