LP git Recipe based builds remove .mailmap file breaking build
TL;DR
- git contains file .mailmap, but the archive and build based on recipe is missing it
- .mailmap is then missing and breaks the build
- I fail to see why/where it is removed and how to overcome that
Details:
# Issue
direct upload builds and works, e.g. manual backport
https:/
But "the same" built by LP-recipe fails
https:/
I happened to find that there is a file missing as built by the LP-recipe
# .mailmap is in the upload that works
$ pull-lp-source openvswitch focal-proposed
$ ll openvswitch-
-rw-rw-r-- 1 paelzer paelzer 4552 Aug 4 23:41 openvswitch-
Recipe:
# git-build-recipe format 0.4 deb-version {debversion}
https:/
merge backport https:/
# .mailmap is also available in git
pkg https:/
$ git checkout pkg/ubuntu/devel
$ ll .mailmap
-rw-rw-r-- 1 paelzer paelzer 4552 Sep 9 09:31 .mailmap
FYI: The git that the recipe uses has no .gitignore
# mailmap is also in the fixup branch in git
server-backports git+ssh:
$ git checkout server-
$ ll .mailmap
-rw-rw-r-- 1 paelzer paelzer 4552 Sep 9 09:31 .mailmap
# But .mailmap is missing in the build via recipe:
Download tgz and dsc as created by recipe:
wget https:/
wget https:/
Extract
$ dpkg-source -x openvswitch_
dpkg-source: warning: extracting unsigned source package (openvswitch_
dpkg-source: info: extracting openvswitch in created-by-recipe
dpkg-source: info: unpacking openvswitch_
Missing
$ ll created-
ls: cannot access 'created-
# Not all .* files are removed
The git repo also has .cirrus.yml, .travis.yml .travis/ - those stay and are
still in the recipe created tarball as well, just .mailmap is missing.
# FTFBS due to that
I'd not mind about the file, but in this case it is breaking the build :-/
make[3]: *** No rule to make target '.mailmap', needed by 'distdir'. Stop.
# I fail to recreate this behavior for further debugging
on Focal:
ii git-build-recipe 0.3.6 all construct a Git branch from a recipe
$ rm -rf /tmp/testbuild1/*; git-build-recipe --no-build --allow-
$ ll /tmp/testbuild1
-rw-rw-r-- 1 paelzer paelzer 4552 Okt 21 11:16 /tmp/testbuild1
I'm puzzled and hence reach out to you for help.
1. what might be happening?
2. how to avoid that so I can build again?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Christian Ehrhardt
- Solved:
- Last query:
- Last reply: