Re: [gentoo-alt] Preparing for Snow Leopard

2009-08-27 Thread Fabian Groffen
On 27-08-2009 14:14:08 -0500, Jeremy Olexa wrote:
> On Thu, Aug 27, 2009 at 2:04 PM, Aaron Wilson wrote:
> > What needs to be done to transition to Snow Leopard (OS X 10.6)? I assume a
> > new profile needs to be created, but am unsure of what that entails. Is
> > there anything someone who had access to Snow Leopard could do to help?
> >
> > Thanks,
> > Aaron
> >
> >
> 
> Work *is* being done. As a general guideline, try to bootstrap, file
> bugs. Get active and report issues!
> 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/prefix/darwin/macos/10.6/
> http://overlays.gentoo.org/proj/alt/changeset/49767
> 
> I'm not a osx guy, never used it and don't want to. So this is just an
> informational message ;-)

We're stuck at perl at the moment.  It needs either a fix, or hopefully
perl 5.10.1 compiles out of the box.


-- 
Fabian Groffen
Gentoo on a different level



Re: [gentoo-alt] Preparing for Snow Leopard

2009-08-27 Thread Jeremy Olexa
On Thu, Aug 27, 2009 at 2:04 PM, Aaron Wilson wrote:
> What needs to be done to transition to Snow Leopard (OS X 10.6)? I assume a
> new profile needs to be created, but am unsure of what that entails. Is
> there anything someone who had access to Snow Leopard could do to help?
>
> Thanks,
> Aaron
>
>

Work *is* being done. As a general guideline, try to bootstrap, file
bugs. Get active and report issues!

http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/prefix/darwin/macos/10.6/
http://overlays.gentoo.org/proj/alt/changeset/49767

I'm not a osx guy, never used it and don't want to. So this is just an
informational message ;-)

-Jeremy



[gentoo-alt] Preparing for Snow Leopard

2009-08-27 Thread Aaron Wilson
What needs to be done to transition to Snow Leopard (OS X 10.6)? I  
assume a new profile needs to be created, but am unsure of what that  
entails. Is there anything someone who had access to Snow Leopard  
could do to help?


Thanks,
Aaron



Re: [gentoo-alt] does virtual/cblas work?

2009-08-27 Thread Johan Hattne
In addition to changing the eselect files in the respective
${FILESDIR}:s--which I think is what the patches in the below mentioned
bug take core of--I cannot use blas-reference nor lapack-reference
without the attached patches for app-admin/eselect.

multilib.bash.patch addresses what I'm pretty sure is a bug in eselect.
 What, by the way, is the role of ld.so.conf in prefix?  I fear
eselect's multilib.bash is susceptible to weirdness (non-emptyness?) in
ld.so.conf.

skel.bash.patch looks odd to me, but I'm not sure how to fix it properly.

These patches were taken against the installed files from the eselect
ebuild.  Maybe I should have posted this to bugs.gentoo.org instead...

// Cheers; Johan


On 07/14/09 14:15, Michael Yang wrote:

> I successfully emerged dev-python/numpy-1.3.0 and
> dev-python/scipy-0.7.0 but only with a lot of re-working of
> blas/cblas/lapack to work with eselect properly.  Without this,
> numpy/scipy will fail or link incorrectly to /usr/lib/ libraries.  I
> wanted to share this to help other users and recommend the following
> changes to the prefix overlay:
> 
>  * unmask and patch sci-libs/cblas-reference
>  * patch sci-libs/blas-reference
>  * patch sci-libs/lapack-reference
> (see gentoo bug #277849 for patches)
>  * unmask virtual/cblas (required by scipy and numpy w/ USE=lapack)
> 
> to emerge scipy I still needed to point to the BLAS/LAPACK libraries
> $ env BLAS=${EPREFIX}/usr/lib LAPACK=${EPREFIX}/usr/lib emerge scipy
> 
> or else the scipy build fails with warnings.warn(BlasNotFoundError.__doc__)
> 
> On Sun, Jul 12, 2009 at 4:49 PM, Aaron Wilson wrote:
>> I've installed goto-blas, cblas-reference, and lapack-reference by pulling
>> the ebuilds into my overlay. I did not install virtual/cblas, and I do not
>> use any of the eselct packages (they're installed, but 'eselect blas list'
>> gives nothing). It would be nice to have these features working, perhaps
>> I'll try to poke around and see what's gong wrong.
>>
>> Aaron
>>
>>
>> On Jul 11, 2009, at 11:11 AM, Michael Yang wrote:
>>
>>> Hi guys,
>>>
>>> I'm trying to install sci-libas/scipy which depends on virtual/cblas
>>> and virtual/lapack.  I noticed that virtual/cblas is not in the prefix
>>> overlay, so I used ecopy to try to emerge it myself.  Emerge was
>>> successful, but I ran into lapack problems since "eselect blas set 1"
>>> doesn't seem to be prefix-aware and tries to make symbolic links in
>>> /usr/lib and /usr/lib/pkgconfig rather than ${EPREFIX}/usr/lib and
>>> ${EPREFIX}/usr/lib/pkgconfig.  See gentoo bug #277447 for more detail.
>>>
>>> General question:  am I missing something or does the prefix overlay
>>> not support blas/cblas/atlas yet?
--- multilib.bash   2009-08-25 08:52:16.350479124 -0500
+++ multilib.bash   2009-08-25 08:47:44.285529000 -0500
@@ -30,7 +30,7 @@
if [[ -z ${libdi...@]} ]] ; then
# Broken or non-existing ld.so.conf
libdirs=( "${EROOT}"/lib* )
-   libdirs=( ${libdi...@]/\/lib/lib} )
+   libdirs=( ${libdi...@]##*/} )
fi
echo "${libdi...@]}"
 }
--- skel.bash   2009-08-25 08:57:02.801625499 -0500
+++ skel.bash   2009-08-25 08:47:44.317529000 -0500
@@ -292,7 +292,7 @@
 
# If $D is set, we're adding from portage so we want to respect sandbox.
# Otherwise, respect the ROOT variable.
-   local PREFIX=${D:-${EROOT}}
+   local PREFIX=${ED:-${EROOT}}
 
# Create directory if necessary
if [[ ! -e ${PREFIX}/etc/env.d/${IFACE}/${1} ]]; then


Re: [gentoo-alt] emerge: superuser access is required

2009-08-27 Thread Fabian Groffen
On 26-08-2009 18:49:01 -0500, Jeremy Olexa wrote:
> > I see the same thing here on x86-macos.  It seems that after upgrading
> > portage to 2.2.00.14160 PORTAGE_ROOT_USER is set to root.  Haven't had
> > time yet to see what exactly is going on.
> > 
> Ouch, I've masked this for now. Sorry for the trouble. Further bug 
> fixing can take place on https://bugs.gentoo.org/282854

to recover from this, simply do this:

- edit $EPREFIX/etc/make.globals
  ensure PORTAGE_ROOT_USER is set to the correct value
- edit $EPREFIX/usr/lib/portage/pym/portage/const_autotool.py
  check and fix the values of portagegroup, portageuser, rootuser,
  rootuid and rootgid

after that your portage should be willing to operate again


-- 
Fabian Groffen
Gentoo on a different level