<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Leo,<br>
<br>
Thanks for your reply!<br>
<br>
After some digging, it seems that hexagonit is a standard recipe
used for building things. Probably, some other package is using
hexagonit to build something that includes ImageMagick. <br>
<br>
I am trying to find out why ImageMagick being downloaded. In the
installed packages, I come across references to another version of
ImageMagick, version 6.6.6-1, which seems to be part of ghostscript
and Perl (?). But nowhere do I find any reference to this particular
version, 6.7.3-10, not even after a full grep on all files in
/opt/slapos and /opt/slapgrid. Strange, I would expect a reference
to the <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>
location somewhere. I was hoping to hard-code the location you
found, but that seems difficult.<br>
<br>
An other approach I tried was to download the tarball manually and
put it in the right location for slapgrid to think it already was
downloaded. However, I can't find any other tarballs, so I don't
know what the right location is for downloaded tarballs. It seems
slapgrid cleans up after itself once packages are properly
installed.<br>
<br>
Any hints / pointers?<br>
<br>
Thanks,<br>
Evert<br>
<br>
<br>
Op 11-2-2012 12:00 PM, <a class="moz-txt-link-abbreviated" href="mailto:erp5-users-request@erp5.org">erp5-users-request@erp5.org</a> schreef:
<blockquote cite="mid:mailman.7.1328958002.3541.erp5-users@erp5.org"
type="cite">
<pre wrap="">Date: Fri, 10 Feb 2012 16:58:23 +0100
From: Leonardo Rochael Almeida <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:leonardo@nexedi.com"><leonardo@nexedi.com></a>
Subject: Re: [Erp5-users] Installation through buildout / slapos
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:erp5-users@erp5.org">erp5-users@erp5.org</a>
Cc: C?dric de Saint Martin <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:cedric.dsm@tiolive.com"><cedric.dsm@tiolive.com></a>
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:4F353E9F.20607@nexedi.com"><4F353E9F.20607@nexedi.com></a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Evert,
in your output, the error happens as buildout (actually,
hexagonit.recipe.download, called by hexagonit.recipe.cmmi) tries to
download
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>
That file doesn't seem to exist, at least not at that location, which
contains only ImageMagick-6.7.5-3.tar.gz.
However the file specified can be found at:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.7.3-10.tar.gz">ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.7.3-10.tar.gz</a>
C?dric, what needs to be fixed so that the right ImageMagic is
downloaded from the right location?
Regards,
Leo
On 10-02-2012 11:59, Evert van de Waal wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>Hi All,
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>I am installing ERP5 according the steps in
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.erp5.com/user-install.ERP5.With.SlapOS">http://www.erp5.com/user-install.ERP5.With.SlapOS</a>, on a vanilla Kubuntu
<span class="moz-txt-citetags">> </span>11.04 virtual machine.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>During step 5, discover slapgrid, ERP5 and all dependencies are
<span class="moz-txt-citetags">> </span>compiled. I get an error message when ImageMagick 6.7.3-10 is installed:
<span class="moz-txt-citetags">> </span>Failed to change directory (the full error text is added below). I
<span class="moz-txt-citetags">> </span>searched on google, but got no solutions, except that the same error
<span class="moz-txt-citetags">> </span>also occured during an ERP5 test in June 2011:
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mail.tiolive.com/pipermail/erp5-report/20110603/075286.html">http://mail.tiolive.com/pipermail/erp5-report/20110603/075286.html</a>. That
<span class="moz-txt-citetags">> </span>was for an earlier version of ImageMagick, but looks very similar.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>The buildout below also reports a failure to download ImageMagick due to
<span class="moz-txt-citetags">> </span>an 'unreachable network'. However, this error was reported for all
<span class="moz-txt-citetags">> </span>packages that were installed. Buildout seems to try several sources for
<span class="moz-txt-citetags">> </span>packages. It was able to download it from somewhere, build it, but got
<span class="moz-txt-citetags">> </span>stuck during installation of the things it built. Thus I think the
<span class="moz-txt-citetags">> </span>'unreachable network' error is unrelated to the failed to change
<span class="moz-txt-citetags">> </span>directory error.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Does anybody know how to solve this problem?
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Thanks,
<span class="moz-txt-citetags">> </span>Evert
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Installing imagemagick.
<span class="moz-txt-citetags">> </span>imagemagick: [ENV] CPPFLAGS =
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/include
<span class="moz-txt-citetags">> </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/include
<span class="moz-txt-citetags">> </span>imagemagick: [ENV] LDFLAGS =
<span class="moz-txt-citetags">> </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
<span class="moz-txt-citetags">> </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
<span class="moz-txt-citetags">> </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
<span class="moz-txt-citetags">> </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
<span class="moz-txt-citetags">> </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
<span class="moz-txt-citetags">> </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
<span class="moz-txt-citetags">> </span>imagemagick: [ENV] PATH =
<span class="moz-txt-citetags">> </span>/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/bin:/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/ghostscript/bin:/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/pkgconfig/bin:/opt/slapos/parts/bison/bin:/opt/slapos/parts/bzip2/bin:/opt/slapos/parts/gettext/bin:/opt/slapos/parts/glib/bin:/opt/slapos/parts/libxml2/bin:/opt/slapos/parts/libxslt/bin:/opt/slapos/parts/m4/bin:/opt/slapos/parts/ncurses/bin:/opt/slapos/parts/openssl/bin:/opt/slapos/parts/pkgconfig/bin:/opt/slapos/parts/python2.7/bin:/opt/slapos/parts/readline/bin:/opt/slapos/parts/sqlite3/bin:/opt/slapos/parts/swig/bin:/opt/slapos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>imagemagick: [ENV] PKG_CONFIG_PATH =
<span class="moz-txt-citetags">> </span>/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/fontconfig/lib/pkgconfig
<span class="moz-txt-citetags">> </span>Downloading
<span class="moz-txt-citetags">> </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>
<span class="moz-txt-citetags">> </span>Downloading ImageMagick-6.7.3-10.tar.bz2 from network cache.
<span class="moz-txt-citetags">> </span>Failed to download from network cache ImageMagick-6.7.3-10.tar.bz2:
<span class="moz-txt-citetags">> </span><urlopen error [Errno 101] Network is unreachable>
<span class="moz-txt-citetags">> </span>While:
<span class="moz-txt-citetags">> </span>Installing imagemagick.
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>An internal error occurred due to a bug in either zc.buildout or in a
<span class="moz-txt-citetags">> </span>recipe being used:
<span class="moz-txt-citetags">> </span>Traceback (most recent call last):
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">> </span>line 2027, in main
<span class="moz-txt-citetags">> </span>getattr(buildout, command)(args)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">> </span>line 737, in install
<span class="moz-txt-citetags">> </span>installed_files = self[part]._call(recipe.install)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">> </span>line 1490, in _call
<span class="moz-txt-citetags">> </span>return f()
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.cmmi-1.5.0-py2.7.egg/hexagonit/recipe/cmmi<span class="moz-txt-tag">/</span></i>__init__.py",
<span class="moz-txt-citetags">> </span>line 144, in install
<span class="moz-txt-citetags">> </span>self.buildout, self.name, opt).install()
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.download-1.5.0-py2.7.egg/hexagonit/recipe/download<span class="moz-txt-tag">/</span></i>__init__.py",
<span class="moz-txt-citetags">> </span>line 81, in install
<span class="moz-txt-citetags">> </span>path, is_temp = download(self.options['url'],
<span class="moz-txt-citetags">> </span>md5sum=self.options.get('md5sum'))
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">> </span>line 119, in __call__
<span class="moz-txt-citetags">> </span>local_path, is_temp = self.download_cached(url, md5sum)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">> </span>line 167, in download_cached
<span class="moz-txt-citetags">> </span>_, is_temp = self.download(url, md5sum, cached_path)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">> </span>line 209, in download
<span class="moz-txt-citetags">> </span>tmp_path, headers = urllib.urlretrieve(url, tmp_path)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">> </span>line 91, in urlretrieve
<span class="moz-txt-citetags">> </span>return _urlopener.retrieve(url, filename, reporthook, data)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">> </span>line 237, in retrieve
<span class="moz-txt-citetags">> </span>fp = self.open(url, data)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">> </span>line 205, in open
<span class="moz-txt-citetags">> </span>return getattr(self, name)(url)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">> </span>line 548, in open_ftp
<span class="moz-txt-citetags">> </span>(fp, retrlen) = self.ftpcache[key].retrfile(file, type)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">> </span>line 898, in retrfile
<span class="moz-txt-citetags">> </span>self.ftp.cwd(file)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">> </span>line 543, in cwd
<span class="moz-txt-citetags">> </span>return self.voidcmd(cmd)
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">> </span>line 249, in voidcmd
<span class="moz-txt-citetags">> </span>return self.voidresp()
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">> </span>line 224, in voidresp
<span class="moz-txt-citetags">> </span>resp = self.getresp()
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">> </span>line 219, in getresp
<span class="moz-txt-citetags">> </span>raise error_perm, resp
<span class="moz-txt-citetags">> </span>IOError: [Errno ftp error] [Errno ftp error] 550 Failed to change
<span class="moz-txt-citetags">> </span>directory.
<span class="moz-txt-citetags">> </span>ERROR:SoftwareReleases:Traceback (most recent call last):
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/slapgrid.py",
<span class="moz-txt-citetags">> </span>line 406, in processSoftwareReleaseList
<span class="moz-txt-citetags">> </span>shadir_key_file=self.shadir_key_file).install()
<span class="moz-txt-citetags">> </span>File
<span class="moz-txt-citetags">> </span>"/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/SlapObject.py",
<span class="moz-txt-citetags">> </span>line 116, in install
<span class="moz-txt-citetags">> </span>console=self.console)
<span class="moz-txt-citetags">> </span>File "/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/utils.py",
<span class="moz-txt-citetags">> </span>line 318, in launchBuildout
<span class="moz-txt-citetags">> </span>raise BuildoutFailedError(message)
<span class="moz-txt-citetags">> </span>BuildoutFailedError: Failed to run buildout profile in directory
<span class="moz-txt-citetags">> </span>'/opt/slapos/afaeaed482578cde211ab84114e0c317':
<span class="moz-txt-citetags">> </span>Please consult messages above
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>INFO:SoftwareReleases:Finished software releases...
<span class="moz-txt-citetags">> </span>INFO:ComputerPartitionProcessing:Processing computer partitions...
<span class="moz-txt-citetags">> </span>INFO:SVCBackend:Supervisord already running.
<span class="moz-txt-citetags">> </span>INFO:ComputerPartitionProcessing:Finished computer partitions...
<span class="moz-txt-citetags">> </span>INFO:UsageReporting:Aggregating and sending usage reports...
<span class="moz-txt-citetags">> </span>INFO:UsageReporting:Finished usage reports...
<span class="moz-txt-citetags">></span></pre>
</blockquote>
</blockquote>
<br>
</body>
</html>