[Erp5-users] Erp5-users Digest, Vol 80, Issue 1

Evert van de Waal evert.vandewaal at xs4all.nl
Tue Feb 14 16:11:23 CET 2012


Hi Leo,

Thanks for your reply!

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.

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 
ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2 
location somewhere. I was hoping to hard-code the location you found, 
but that seems difficult.

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.

Any hints / pointers?

Thanks,
Evert


Op 11-2-2012 12:00 PM, erp5-users-request at erp5.org schreef:
> Date: Fri, 10 Feb 2012 16:58:23 +0100
> From: Leonardo Rochael Almeida<leonardo at nexedi.com>
> Subject: Re: [Erp5-users] Installation through buildout / slapos
> To:erp5-users at erp5.org
> Cc: C?dric de Saint Martin<cedric.dsm at tiolive.com>
> Message-ID:<4F353E9F.20607 at nexedi.com>
> 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
>
> ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2
>
> 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:
>
> ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.7.3-10.tar.gz
>
> 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:
>> >  Hi All,
>> >
>> >  I am installing ERP5 according the steps in
>> >  http://www.erp5.com/user-install.ERP5.With.SlapOS, on a vanilla Kubuntu
>> >  11.04 virtual machine.
>> >
>> >  During step 5, discover slapgrid, ERP5 and all dependencies are
>> >  compiled. I get an error message when ImageMagick 6.7.3-10 is installed:
>> >  Failed to change directory (the full error text is added below). I
>> >  searched on google, but got no solutions, except that the same error
>> >  also occured during an ERP5 test in June 2011:
>> >  http://mail.tiolive.com/pipermail/erp5-report/20110603/075286.html. That
>> >  was for an earlier version of ImageMagick, but looks very similar.
>> >
>> >  The buildout below also reports a failure to download ImageMagick due to
>> >  an 'unreachable network'. However, this error was reported for all
>> >  packages that were installed. Buildout seems to try several sources for
>> >  packages. It was able to download it from somewhere, build it, but got
>> >  stuck during installation of the things it built. Thus I think the
>> >  'unreachable network' error is unrelated to the failed to change
>> >  directory error.
>> >
>> >  Does anybody know how to solve this problem?
>> >
>> >  Thanks,
>> >  Evert
>> >
>> >  Installing imagemagick.
>> >  imagemagick: [ENV] CPPFLAGS =
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/include
>> >  -I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/include
>> >  imagemagick: [ENV] LDFLAGS =
>> >  -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
>> >  -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
>> >  -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
>> >  -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
>> >  -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
>> >  -Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
>> >  imagemagick: [ENV] PATH =
>> >  /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
>> >
>> >  imagemagick: [ENV] PKG_CONFIG_PATH =
>> >  /opt/slapos/afaeaed482578cde211ab84114e0c317/parts/fontconfig/lib/pkgconfig
>> >  Downloading
>> >  ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2
>> >  Downloading ImageMagick-6.7.3-10.tar.bz2 from network cache.
>> >  Failed to download from network cache ImageMagick-6.7.3-10.tar.bz2:
>> >  <urlopen error [Errno 101] Network is unreachable>
>> >  While:
>> >  Installing imagemagick.
>> >
>> >  An internal error occurred due to a bug in either zc.buildout or in a
>> >  recipe being used:
>> >  Traceback (most recent call last):
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
>> >  line 2027, in main
>> >  getattr(buildout, command)(args)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
>> >  line 737, in install
>> >  installed_files = self[part]._call(recipe.install)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
>> >  line 1490, in _call
>> >  return f()
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.cmmi-1.5.0-py2.7.egg/hexagonit/recipe/cmmi/__init__.py",
>> >  line 144, in install
>> >  self.buildout, self.name, opt).install()
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.download-1.5.0-py2.7.egg/hexagonit/recipe/download/__init__.py",
>> >  line 81, in install
>> >  path, is_temp = download(self.options['url'],
>> >  md5sum=self.options.get('md5sum'))
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
>> >  line 119, in __call__
>> >  local_path, is_temp = self.download_cached(url, md5sum)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
>> >  line 167, in download_cached
>> >  _, is_temp = self.download(url, md5sum, cached_path)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
>> >  line 209, in download
>> >  tmp_path, headers = urllib.urlretrieve(url, tmp_path)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
>> >  line 91, in urlretrieve
>> >  return _urlopener.retrieve(url, filename, reporthook, data)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
>> >  line 237, in retrieve
>> >  fp = self.open(url, data)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
>> >  line 205, in open
>> >  return getattr(self, name)(url)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
>> >  line 548, in open_ftp
>> >  (fp, retrlen) = self.ftpcache[key].retrfile(file, type)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
>> >  line 898, in retrfile
>> >  self.ftp.cwd(file)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
>> >  line 543, in cwd
>> >  return self.voidcmd(cmd)
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
>> >  line 249, in voidcmd
>> >  return self.voidresp()
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
>> >  line 224, in voidresp
>> >  resp = self.getresp()
>> >  File
>> >  "/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
>> >  line 219, in getresp
>> >  raise error_perm, resp
>> >  IOError: [Errno ftp error] [Errno ftp error] 550 Failed to change
>> >  directory.
>> >  ERROR:SoftwareReleases:Traceback (most recent call last):
>> >  File
>> >  "/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/slapgrid.py",
>> >  line 406, in processSoftwareReleaseList
>> >  shadir_key_file=self.shadir_key_file).install()
>> >  File
>> >  "/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/SlapObject.py",
>> >  line 116, in install
>> >  console=self.console)
>> >  File "/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/utils.py",
>> >  line 318, in launchBuildout
>> >  raise BuildoutFailedError(message)
>> >  BuildoutFailedError: Failed to run buildout profile in directory
>> >  '/opt/slapos/afaeaed482578cde211ab84114e0c317':
>> >  Please consult messages above
>> >
>> >
>> >  INFO:SoftwareReleases:Finished software releases...
>> >  INFO:ComputerPartitionProcessing:Processing computer partitions...
>> >  INFO:SVCBackend:Supervisord already running.
>> >  INFO:ComputerPartitionProcessing:Finished computer partitions...
>> >  INFO:UsageReporting:Aggregating and sending usage reports...
>> >  INFO:UsageReporting:Finished usage reports...
>> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20120214/91df77cb/attachment-0001.htm>


More information about the Erp5-users mailing list