[PATCH] Replace static bash in grafted glibc.

2018-03-13 Thread Ricardo Wurmus
Hi Guix, the two patches here are necessary to fix a problem with the grafted glibc. You may recall that we grafted the glibc packages to ensure that Guix packages can still be used on CentOS 6, which has a kernel that reports its version as 2.6.32 despite being compatible with the current glibc

Re: PYTHONPATH issue analysis - part 1

2018-03-13 Thread Hartmut Goebel
Hi, a small correction: > Result > === > > PYTHONPATH intented (by upstream) for adding site-packages.  This should be "PYTHONPATH is NOT intended …" > PYTHONPATH > elements are added in front of essential packages, while site-packages are > added behind. > > This means the way we are using

Re: PYTHONPATH issue analysis - part 3

2018-03-13 Thread Pjotr Prins
On Tue, Mar 13, 2018 at 10:23:08PM +0100, Ludovic Courtès wrote: > > Preliminary Proposal > > === > > > > To be able to install different minor versions of Python in the same > > profile, any environment variable should contain the minor version, too. > > E.g. …-3.5. > > If you

Re: installing python 2 and python 3 in the same profile

2018-03-13 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: > with the introduction of the collision avoidance feature that prevents > you from installing different variants of the same package into a > profile we made it impossible to install “python” and “python@2” into > the same profile. > > It still works with ad-hoc e

Re: PYTHONPATH issue analysis - part 3

2018-03-13 Thread Hartmut Goebel
Am 13.03.2018 um 22:44 schrieb Pjotr Prins: > Another problem is that it does not cover special cases where, for > example you compile Python with SSL and without. You don't want them > to share user installed libs. Upstream does not handle this case, so I do not see a need to handle this in guix.

Re: PYTHONPATH issue analysis - part 3

2018-03-13 Thread Hartmut Goebel
Am 13.03.2018 um 22:23 schrieb Ludovic Courtès: >> Preliminary Proposal >> === >> >> To be able to install different minor versions of Python in the same >> profile, any environment variable should contain the minor version, too. >> E.g. …-3.5. > If you’re suggesting to have a ‘

Re: PYTHONPATH issue analysis - part 3

2018-03-13 Thread Hartmut Goebel
Am 13.03.2018 um 22:23 schrieb Ludovic Courtès: > I may well have missed something (sorry about that!), but what are “the > problems related to how Guix is using PYTHONPATH”? In short: We are using PYTHONPATH for something it is not meant for: PYTHONPATH is NOT intended (by upstream) for adding s

Re: PYTHONPATH issue analysis - part 3

2018-03-13 Thread Ludovic Courtès
Hello, Hartmut Goebel skribis: > Result > == > > We can avoid all of the problems related to how Guix is using PYTHONPATH > quite simple. This will work for virtual environments, too. I may well have missed something (sorry about that!), but what are “the problems related to how Guix is

Re: Help needed: Unable to run Guix after installation

2018-03-13 Thread Ricardo Wurmus
Hi Aakanksha, Gábor Boskovits writes: > 2018-03-12 21:25 GMT+01:00 Aakanksha Jain : > >> I have completed the GNU Guix installation using this script >> https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-install.sh >> >> But while trying to run hello package, I get following error(image >>

Re: Help needed: Unable to run Guix after installation

2018-03-13 Thread Gábor Boskovits
2018-03-12 21:25 GMT+01:00 Aakanksha Jain : > I have completed the GNU Guix installation using this script > https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-install.sh > > But while trying to run hello package, I get following error(image > attached) > > Someone on irc suggested installin

Re: Half a success with chroot

2018-03-13 Thread Thorsten Wilms
On 12.03.2018 23:29, Gábor Boskovits wrote: Could you please check, if the solution mentioned here works for you: https://bugzilla.redhat.com/show_bug.cgi?id=1361043 A short summary: Similar error can be caused by shared mounts. This way you can check if this applies. Note 'shared' in the outp