[Rock-dev] [rock] #343: autoproj archive import fails to create subdirectories

rock noreply at opendfki.de
Wed Oct 9 10:27:08 CEST 2013


#343: autoproj archive import fails to create subdirectories
-----------------------+--------------------------------------
 Reporter:  stpl01     |      Owner:  rock-dev-mailing-list
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  toolchain  |   Keywords:  autobuild package import
-----------------------+--------------------------------------
 In my case, the archive package "external/minizip" (a zip file) is
 imported before any other of the packages in the external folder, but
 unzip itself fails to create the leading folder "external/"

 So i think "mkdir -p main_dir" should be used before "unzip" is called
 (import/archive.rb:290 of autobuild 1.7.4):

                 cmd = [ '-p' , main_dir]
                 Subprocess.run(package, :import, Autobuild.tool('mkdir'),
 *cmd)


 Here is the error message:
 minizip-import.log:

 2013-10-08 14:13:33 +0000: running
     unzip -o
 /data/jenkins/workspace/workspace/Virgo/FLAVOR/next/node/Ubuntu_current/dev/install/cache/unzip11.zip
 -d
 /data/jenkins/workspace/workspace/Virgo/FLAVOR/next/node/Ubuntu_current/dev/external/minizip
 in directory
 /data/jenkins/workspace/workspace/Virgo/FLAVOR/next/node/Ubuntu_current/dev
 Archive:
 /data/jenkins/workspace/workspace/Virgo/FLAVOR/next/node/Ubuntu_current/dev/install/cache/unzip11.zip
 checkdir:  cannot create extraction directory:
 /data/jenkins/workspace/workspace/Virgo/FLAVOR/next/node/Ubuntu_current/dev/external/minizip
            No such file or directory

-- 
Ticket URL: <http://rock.opendfki.de/ticket/343>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list