error: can't copy file on git submodule

Bug #1530867 reported by Alexandre Viau on 2016-01-04
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Alexandre Viau

Bug Description


I am using PBR for a project and it has a submodule in 'mailpile/contrib/print'.

I am getting the following error at install: error: can't copy 'mailpile/contrib/print': doesn't exist or not a regular file

Indded, print is not a file. It is a folder, and it has stuff in it.

I tried including the contents of the folder with MANIFEST.

Just renaming the folder to 'potato' will fix the issue. (not renaming the submodule ofcourse). This leads me to think that the issue is not the content or the folder itself, but the fact that it is a submodule.

I have created a branch that I won't touch here: https://github.com/aviau/Mailpile/tree/pbr-bug

Alexandre Viau (aviau) on 2016-01-04
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to pbr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/263297

Changed in pbr:
assignee: nobody → Alexandre Viau (aviau)
status: New → In Progress
Revision history for this message
Allen Riddell (ariddell) wrote :

This is preventing our project which wraps a large C++ library from switching to pbr: https://github.com/stan-dev/pystan/

The C++ library needs to be a submodule since it's being actively developed and the interactions with the Python library are sometimes complex. It would be a huge chore to have to include it in the repository directly.

It would be nice if pbr would just allow us to include specific files specified in ``package_data`` instead of choking on the pointer to the submodule.

Thanks for all your work on pbr.

Revision history for this message
Allen Riddell (ariddell) wrote :

Code review for this patch seems to have stalled in January. Am I correct in interpreting that this means this patch is unlikely to be merged?

Revision history for this message
Alexandre Viau (aviau) wrote : Re: [Bug 1530867] Re: error: can't copy file on git submodule

For my part, I am done working on the patch. You may take over if you
want. I don't have any more time for this at the moment.


Alexandre Viau
<email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on pbr (master)

Change abandoned by ChangBo Guo(gcb) (<email address hidden>) on branch: master
Review: https://review.openstack.org/263297
Reason: Please restore it if you want to continue working on this.

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

Other bug subscribers