Unable to build deb, error: please specify file_id or path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
When trying to use bzr builddeb, I was unable to proceed with compiling if a symlink was present in the packaging directory.
Backtrace:
Building using working tree
Running in merge mode
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run_
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
(changelog, larstiq) = find_changelog(
File "/usr/lib/
if (t.kind(
File "/usr/lib/
relpath = self.id2path(
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
entry = self._get_
File "/usr/lib/
raise errors.
BzrError: must supply file_id or path
Related branches
- James Westby: Approve
-
Diff: 50 lines (+15/-2)3 files modifieddebian/changelog (+3/-1)
tests/test_util.py (+9/-0)
util.py (+3/-1)
Changed in bzr-builddeb: | |
status: | Triaged → In Progress |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-builddeb: | |
status: | In Progress → Fix Committed |
Changed in bzr-builddeb: | |
milestone: | none → 2.7 |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
This is because debian/changelog is present, it is merge mode, but debian/ is a symlink
to . and not versioned.
We should be more careful in our check of this, and not assume that debian/ is versioned,
but still check it.
Thanks,
James