[Server-devel] [XSCE] Re: [IIAB] iiab on xo-4
Tim Moody
tim at timmoody.com
Sat Jul 26 17:06:36 EDT 2014
Here’s what I’m currently trying: I think on xo-4 (fc18) the rpm installs 0.6.x and iiab wants >= 0.7. This sets up some installs/unstalls that basically remove setuptools and put them back on my build dir /piptmp where nothing can find them.
I have put a shell: "wget https://bootstrap.pypa.io/ez_setup.py -O - | python" which installs setuptools 5.4.x ahead of the rest of the iiab install. Just waiting to see if it solves the problem; the iterations are pretty slow when testing on xo-4.
Tim
From: Braddock Gaskill
Sent: Saturday, July 26, 2014 5:00 PM
To: xsce-devel at googlegroups.com
Cc: Internet In a Box Working Group ; server-devel at lists.laptop.org
Subject: Re: [XSCE] Re: [IIAB] iiab on xo-4
Hi Tim,
I think I've seen this setuptools issue before using pip --update on Ubuntu - not Internet-in-a-box related, but some sort of nasty clash between pip installed packages and the native packages when I was working on another project.
As I recall, I found a Stack Overflow response involving downloading the setuptools or disttools tar file and manually running it to fix it. I don't recall more specifics than that, but I remember it was not an elegant or satisfying solution.
-braddock
On Sat, Jul 26, 2014 at 7:44 AM, Tim Moody <tim at timmoody.com> wrote:
Thanks. This got me past the /tmp space problem, but now I have a new problem.
If for some reason, such as mirrors unavailable, /bin/pip install -U -b /piptmp --use-mirrors Internet-in-a-Box fails and I rerun I get
Found existing installation: MarkupSafe 0.18
Uninstalling MarkupSafe:
Successfully uninstalled MarkupSafe
Running setup.py install for markupsafe
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
In /usr/lib/python2.7/site-packages/ I have
-rw-r--r-- 2 root root 144 Nov 2 2007 setuptools-0.6c11-py2.7.egg-info
-rw-r--r-- 2 root root 34 Nov 2 2007 setuptools.pth
I can also get a variant of the problem
ImportError: No module named pkg_resources, which I believe is part of setuptools.
I tried yum erase python-pip python-devel gcc xz-devel mod_wsgimod_xsendfile and then reinstalled, assuming that setuptools must be part of one of these packages, but that did not solve the problem.
I tried yum install python-setuptools, but that did not solve the problem either.
Any help is welcome.
Tim
From: Braddock Gaskill
Sent: Friday, July 25, 2014 5:25 PM
To: Internet In a Box Working Group
Cc: XSCE/xsce ; server-devel
Subject: Re: [IIAB] iiab on xo-4
Hi Tim,
pip builds its packages in /tmp by default. You can specify a different directory where you have enough disk space.
See http://stackoverflow.com/questions/10617198/pip-creates-build-directories
pip install -b customized_build_directory to specify another directory asbuild base directory, for example /tmp
On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody <tim at timmoody.com> wrote:
We switched xsce to using pip instead of rpms to install iiab in order to get the latest version. However, during the install process on an xo-4 I get IOError: [Errno 28] No space left on device. I notice that /tmp has 0 bytes available. It’s contents are
drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root
drwx------ 2 root root 60 Jul 25 21:02 pip-nd2tVc-unpack
drwx------ 3 root root 60 Jul 25 20:56 systemd-private-Dn2ozM
drwx------ 3 root root 60 Jul 25 20:56 systemd-private-m5Or2z
Any suggestions? We didn’t get this error when using rpms. Is there an easy way to build the rpms?
I tried cloning https://github.com/braddockcg/internet-in-a-box.git
and running internet-in-a-box/scripts/build_rpms.sh
but I got
iiab_id_rsa private key must be in current directory
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20140726/e4742f6a/attachment.html>
More information about the Server-devel
mailing list