merge-upstream tarball results in ERROR: [Errno 2] No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builddeb |
Fix Released
|
Critical
|
Unassigned |
Bug Description
$ bzr merge-upstream ../hello_
No distribution specified, and no changelog, assuming 'debian'
bzr: ERROR: [Errno 2] No such file or directory
I'm using the tip of builddeb trunk - 393.
I've runt the test-suite got 1 error:
(It used by global config in the test don't know whether this is expected....)
$ bzr test-builddeb
bzr selftest: /usr/bin/bzr
/usr/
bzr-2.1.0dev5 python-2.6.4 Linux-2.
=======
FAIL: test_contents_
-------
_StringException: Text attachment: log
------------
80.266 creating repository in file://
80.269 creating branch <bzrlib.
80.280 trying to create missing lock '/tmp/testbzr-
80.280 opening working tree '/tmp/testbzr-
80.293 run bzr: ['bd-do', 'echo a > debian/changelog']
80.293 bzr arguments: ['bd-do', 'echo a > debian/changelog']
80.294 encoding stdout as sys.stdout encoding 'UTF-8'
80.299 opening working tree '/tmp/testbzr-
80.303 Using True for merge, taken from default.conf
80.304 Using 'debian/changelog' to get package information
80.305 Using /home/dmitrij/
80.305 Using /home/dmitrij/
INFO Looking for a way to retrieve the upstream tarball
INFO Using apt to look for the upstream tarball.
INFO apt could not find the needed tarball.
INFO No debian/rules file to try and use for a get-orig-source rule
INFO No watch file to use to retrieve upstream tarball.
80.650 Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/home/
builder.
File "/home/
self.
File "/home/
self.
File "/home/
tarball = self.upstream_
File "/home/
raise MissingUpstream
MissingUpstream
80.650 errors:
'Looking for a way to retrieve the upstream tarball\nUsing apt to look for the upstream tarball.\napt could not find the needed tarball.\nNo debian/rules file to try and use for a get-orig-source rule\nNo watch file to use to retrieve upstream tarball.\nbzr: ERROR: Unable to find the needed upstream tarball: test_0.
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args)
File "/usr/lib/
testMethod()
File "/home/
self.
AssertionError: Unexpected return code
not equal:
a = 0
b = 3
------------
-------
Ran 264 tests in 79.207s
FAILED (failures=1)
Related branches
- Bzr-builddeb-hackers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedimport_dsc.py (+1/-1)
- Bzr-builddeb-hackers: Pending requested
-
Diff: 268 lines (+183/-27)4 files modifiedbzrtools_import.py (+32/-21)
debian/changelog (+7/-0)
dh_make.py (+10/-1)
tests/blackbox/test_merge_upstream.py (+134/-5)
- James Westby: Approve
-
Diff: 473 lines (+64/-53)7 files modifiedbuilder.py (+5/-5)
changes.py (+1/-1)
cmds.py (+19/-19)
directory.py (+5/-5)
hooks.py (+2/-2)
import_dsc.py (+16/-5)
upstream.py (+16/-16)
Changed in bzr-builddeb: | |
status: | New → Confirmed |
Changed in bzr-builddeb: | |
status: | Confirmed → Fix Committed |
Changed in bzr-builddeb: | |
status: | Fix Committed → Fix Released |
On Thu, 14 Jan 2010 00:42:09 -0000, Dmitrijs Ledkovs <email address hidden> wrote: 2.4.orig. tar.gz --package hello --version 2.4-1
> Public bug reported:
>
> $ bzr merge-upstream ../hello_
> No distribution specified, and no changelog, assuming 'debian'
> bzr: ERROR: [Errno 2] No such file or directory
I think, embarassingly, this is that the path to the tar executable is
wrong.
I think I fixed this the other day, but I could be wrong. Would you test
tip of lp:bzr-builddeb again please?
Thanks,
James