Recipe: cannot copy files into the root with the nest-part command.

Bug #1257983 reported by Doug Barbieri
This bug report is a duplicate of:  Bug #771568: nest-part unable to nest files. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

I cannot copy files from a nest-part folder into the root.

For example:

 # bzr-builder format 0.3 deb-version {debupstream}+{revno}
 lp:~snapcpp/snapcpp/snapCMakeModules
 nest-part modules lp:snapcpp snapCMakeModules .

fails.

Here is the output from the command:

 $ bzr dailydeb --allow-fallback-to-native snapCMakeModules.recipe snapCMakeModules
 Building tree.
 Retrieving 'lp:~snapcpp/snapcpp/snapCMakeModules' to put at 'snapCMakeModules/snapCMakeModules-{debupstream}+{revno}'.
 bzr: ERROR: Failed to rename /home/doug/src/ppa/snapcpp/snapCMakeModules/snapCMakeModules-{debupstream}+{revno}/.bzr/checkout/limbo/new-1 to /home/doug/src/ppa/snapcpp/snapCMakeModules/snapCMakeModules-{debupstream}+{revno}/.: [Errno 16] Device or resource busy

And I can see the reason--the nest-part algorithm creates a temporary folder, then tries to rename that folder to the target folder (which is the root, which already exists).

This wouldn't be a problem if the launchpad.net system would allow the "run" command, but it is blocked. (see https://launchpad.net/bugs/608450‎).

I could have just done this instead, and been done:

# bzr-builder format 0.3 deb-version {debupstream}+{revno}
lp:~snapcpp/snapcpp/snapCMakeModules
nest-part modules lp:snapcpp snapCMakeModules snapCMakeModules
run cp -aux snapCMakeModules/* .

:)

Is there any workaround to this out there? Or is this something that will be fixed in the future (fingers crossed)?

Similar to :
https://bugs.launchpad.net/bzr-builder/+bug/771568
 but I want to be able to just nest-part files into the root.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.