Commit bf7c13c6 authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

component/file: copy of patched file in oposite downloading

parent 4648c6b2
......@@ -6,13 +6,6 @@ parts = file
extends =
../zlib/buildout.cfg
[file-msooxml]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/msooxml
md5sum = c889ad135cbfb343db36b729a3897432
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = msooxml
[file]
recipe = slapos.recipe.cmmi
url = http://ftp.icm.edu.pl/packages/file/file-5.32.tar.gz
......@@ -24,5 +17,6 @@ environment =
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
pre-configure =
# patch for fix msooxml files detect correctly
set -e -x
test -f ./magic/Magdir/msooxml
cp ${file-msooxml:location}/msooxml ./magic/Magdir/
cp ${:_profile_base_location_}/msooxml ./magic/Magdir/
  • erp5testnode fails to build because of this change:

    slapos[17257] INFO test -f ./magic/Magdir/msooxml
    slapos[17257] INFO cp https://lab.nexedi.com/nexedi/slapos/raw/master/component/file/msooxml ./magic/Magdir/
    slapos[17257] INFO file: Compilation error. The package is left as is at /srv/slapgrid/slappart7/srv/slapos/soft/f13a9cb77381284f3c6cc02ae22a06a3/parts/file__compile__/file-5.32 where you can inspect what went wrong
    slapos[17257] INFO While:
    slapos[17257] INFO   Installing.
    slapos[17257] INFO   Installing file.
    slapos[17257] INFO Error: System error
Please register or sign in to reply
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment