<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>I have put a shell: "wget <A
href="https://bootstrap.pypa.io/ez_setup.py">https://bootstrap.pypa.io/ez_setup.py</A>
-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.</DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=braddock@gmail.com
href="mailto:braddock@gmail.com">Braddock Gaskill</A> </DIV>
<DIV><B>Sent:</B> Saturday, July 26, 2014 5:00 PM</DIV>
<DIV><B>To:</B> <A title=xsce-devel@googlegroups.com
href="mailto:xsce-devel@googlegroups.com">xsce-devel@googlegroups.com</A> </DIV>
<DIV><B>Cc:</B> <A title=iiab@sgvhak.org href="mailto:iiab@sgvhak.org">Internet
In a Box Working Group</A> ; <A title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org">server-devel@lists.laptop.org</A>
</DIV>
<DIV><B>Subject:</B> Re: [XSCE] Re: [IIAB] iiab on xo-4</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>
<DIV>
<DIV>Hi Tim,<BR>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.<BR><BR></DIV>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.<BR><BR></DIV>-braddock<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Sat, Jul 26, 2014 at 7:44 AM, Tim Moody <SPAN
dir=ltr><<A href="mailto:tim@timmoody.com"
target=_blank>tim@timmoody.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Thanks. This got me past the /tmp space problem, but now I have a
new problem.</DIV>
<DIV> </DIV>
<DIV>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</DIV>
<DIV> </DIV>
<DIV>Found existing installation: MarkupSafe 0.18</DIV>
<DIV> Uninstalling MarkupSafe:</DIV>
<DIV> Successfully uninstalled MarkupSafe</DIV>
<DIV>Running setup.py install for markupsafe</DIV>
<DIV> Traceback (most recent call last):</DIV>
<DIV> File "<string>", line 1, in <module></DIV>
<DIV> ImportError: No module named setuptools</DIV>
<DIV> </DIV>
<DIV>In /usr/lib/python2.7/site-packages/ I have</DIV>
<DIV>-rw-r--r-- 2 root root 144 Nov 2 2007
setuptools-0.6c11-py2.7.egg-info</DIV>
<DIV>-rw-r--r-- 2 root root 34 Nov 2
2007 setuptools.pth</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">I can
also get a variant of the problem </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV>ImportError: No module named pkg_resources, which I believe is part of
setuptools.</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>I tried yum install python-setuptools, but that did not solve the problem
either.</DIV>
<DIV> </DIV>
<DIV>Any help is welcome.</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV><B>From:</B> <A title=braddock@braddock.com
href="mailto:braddock@braddock.com" target=_blank>Braddock Gaskill</A> </DIV>
<DIV><B>Sent:</B> Friday, July 25, 2014 5:25 PM</DIV>
<DIV><B>To:</B> <A title=iiab@sgvhak.org href="mailto:iiab@sgvhak.org"
target=_blank>Internet In a Box Working Group</A> </DIV>
<DIV><B>Cc:</B> <A title=xsce@noreply.github.com
href="mailto:xsce@noreply.github.com" target=_blank>XSCE/xsce</A> ; <A
title=server-devel@lists.laptop.org
href="mailto:server-devel@lists.laptop.org" target=_blank>server-devel</A>
</DIV>
<DIV><B>Subject:</B> Re: [IIAB] iiab on xo-4</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Tim,
<DIV>pip builds its packages in /tmp by default. You can specify a
different directory where you have enough disk space.</DIV>
<DIV> </DIV>
<DIV>See <A
href="http://stackoverflow.com/questions/10617198/pip-creates-build-directories"
target=_blank>http://stackoverflow.com/questions/10617198/pip-creates-build-directories</A></DIV>
<DIV> </DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">pip
install -b customized_build_directory</CODE><SPAN
style="FONT-SIZE: 14px; FONT-FAMILY: arial,'Liberation Sans','DejaVu Sans',sans-serif; COLOR: rgb(0,0,0); LINE-HEIGHT: 17px">
to specify another directory as</SPAN><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">build</CODE><SPAN
style="FONT-SIZE: 14px; FONT-FAMILY: arial,'Liberation Sans','DejaVu Sans',sans-serif; COLOR: rgb(0,0,0); LINE-HEIGHT: 17px">
base directory, for example </SPAN><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px">/tmp</CODE><BR></DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px"><BR></CODE></DIV>
<DIV><CODE
style="FONT-SIZE: 14px; BORDER-TOP: 0px; FONT-FAMILY: consolas,menlo,monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif; BORDER-RIGHT: 0px; VERTICAL-ALIGN: baseline; BACKGROUND: rgb(238,238,238); WHITE-SPACE: pre-wrap; BORDER-BOTTOM: 0px; COLOR: rgb(0,0,0); PADDING-BOTTOM: 1px; PADDING-TOP: 1px; PADDING-LEFT: 5px; MARGIN: 0px; BORDER-LEFT: 0px; LINE-HEIGHT: 17px; PADDING-RIGHT: 5px"><BR></CODE></DIV></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Fri, Jul 25, 2014 at 2:20 PM, Tim Moody <SPAN
dir=ltr><<A href="mailto:tim@timmoody.com"
target=_blank>tim@timmoody.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>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</DIV>
<DIV> </DIV>
<DIV>drwxr-xr-x 17 root root 340 Jul 25 21:03 pip-build-root</DIV>
<DIV>drwx------ 2 root root 60 Jul 25 21:02
pip-nd2tVc-unpack</DIV>
<DIV>drwx------ 3 root root 60 Jul 25 20:56
systemd-private-Dn2ozM</DIV>
<DIV>drwx------ 3 root root 60 Jul 25 20:56
systemd-private-m5Or2z</DIV>
<DIV> </DIV>
<DIV>Any suggestions? We didn’t get this error when using rpms.
Is there an easy way to build the rpms?</DIV>
<DIV> </DIV>
<DIV>I tried cloning <A
title=https://github.com/braddockcg/internet-in-a-box.git
href="https://github.com/braddockcg/internet-in-a-box.git"
target=_blank>https://github.com/braddockcg/internet-in-a-box.git</A></DIV>
<DIV> </DIV>
<DIV>and running internet-in-a-box/scripts/build_rpms.sh</DIV>
<DIV> </DIV>
<DIV>but I got</DIV>
<DIV> </DIV>
<DIV>iiab_id_rsa private key must be in current directory</DIV><SPAN><FONT
color=#888888>
<DIV> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></BODY></HTML>