plone / plonedev.vagrant

A Vagrant setup for a Plone development VirtualBox
https://plone.org/download
84 stars 48 forks source link

Running jarn.mkrelease from inside VM #6

Closed allanw closed 11 years ago

allanw commented 11 years ago

I've installed jarn.mkrelease 3.7 and have tried running the following command from the home folder (/home/vagrant):

./runbin.sh mkrelease -d myusername@example.com:/usr/local/apache/htdocs/plone-eggs src/my.package

The mkrelease script runs and then returns this error:

making hard links in my.package-0.1... hard linking CHANGES.txt -> my.package-0.1 error: Operation not permitted sdist failed

The package I'm trying to release is located at /home/vagrant/Plone/zinstance/src/my.package and the directory is owned by the vagrant user.

smcmahon commented 11 years ago

It's an unfortunate side effect of putting the src directory in the shared folder (shared between guest and host) that it limits it to the intersection of file-system functions supported by guest and host. It looks like that excludes hard links.

You might try ssh'ing into your guest, copying your package out of the shared directory and then running mkrelease on it.