bzr dh-make --v3 option fails to create package

Bug #811723 reported by KarlGoetz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Medium
Andrew Starr-Bochicchio

Bug Description

Hi,

I reported this in #bzr yesterday, so this might already be known.

bzr dh-make --v3 appears to fail creating the debian/source/format file.

20:11:13 kgoetz@epicfail: /tmp/oldart $ rm -r gnewsense-wallpapers
20:11:16 kgoetz@epicfail: /tmp/oldart $ bzr dh-make --v3 gnewsense-wallpapers 0.2 gnewsense-wallpapers_0.2.orig.tar.gz
Fetching tarball
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
Committing to: /tmp/oldart/gnewsense-wallpapers/
added AUTHOR
added COPYING
added ChangeLog
added INSTALL
added build
added gnewsense-wallpapers.xml.in
added gnewsense_wallpaper1.png
added gnewsense_wallpaper2.png
added gnewsense_wallpaper3.png
added gnewsense_wallpaper5.png
added gnewsense_wallpaper6.png
added po
added setup.cfg
added setup.py
added build/share
added build/share/gnome-background-properties
added build/share/gnome-background-properties/gnewsense-wallpapers.xml
added po/ChangeLog
added po/POTFILES.in
added po/gnewsense-wallpapers.pot
Committed revision 1.
bzr: ERROR: [Errno 2] No such file or directory: 'debian/source/format'
20:11:29 kgoetz@epicfail: /tmp/oldart $ cd gnewsense-wallpapers
20:11:32 kgoetz@epicfail: /tmp/oldart/gnewsense-wallpapers $ ls -A
total 1.5M
-rw-r--r-- 1 kgoetz kgoetz 52 Jul 16 20:11 AUTHOR
drwxr-xr-x 3 kgoetz kgoetz 60 Jul 16 20:11 build
drwxr-xr-x 6 kgoetz kgoetz 160 Jul 16 20:11 .bzr
-rw-r--r-- 1 kgoetz kgoetz 165 Jul 16 20:11 ChangeLog
-rw-r--r-- 1 kgoetz kgoetz 20K Jul 16 20:11 COPYING
drwxr-xr-x 3 kgoetz kgoetz 60 Jul 16 20:11 debian
-rw-r--r-- 1 kgoetz kgoetz 288K Jul 16 20:11 gnewsense_wallpaper1.png
-rw-r--r-- 1 kgoetz kgoetz 241K Jul 16 20:11 gnewsense_wallpaper2.png
-rw-r--r-- 1 kgoetz kgoetz 82K Jul 16 20:11 gnewsense_wallpaper3.png
-rw-r--r-- 1 kgoetz kgoetz 384K Jul 16 20:11 gnewsense_wallpaper5.png
-rw-r--r-- 1 kgoetz kgoetz 375K Jul 16 20:11 gnewsense_wallpaper6.png
-rw-r--r-- 1 kgoetz kgoetz 1.4K Jul 16 20:11 gnewsense-wallpapers.xml.in
-rw-r--r-- 1 kgoetz kgoetz 9.3K Jul 16 20:11 INSTALL
drwxr-xr-x 2 kgoetz kgoetz 100 Jul 16 20:11 po
-rw-r--r-- 1 kgoetz kgoetz 180 Jul 16 20:11 setup.cfg
-rw-r--r-- 1 kgoetz kgoetz 603 Jul 16 20:11 setup.py
20:11:33 kgoetz@epicfail: /tmp/oldart/gnewsense-wallpapers $ bzr st
added:
  debian/
  debian/source/
20:11:36 kgoetz@epicfail: /tmp/oldart/gnewsense-wallpapers $ ls -AR debian/source/
debian/source/:
total 0
20:11:42 kgoetz@epicfail: /tmp/oldart/gnewsense-wallpapers $

my bzr version and plugins versions:

10:21:08 kgoetz@epicfail: ~ $ bzr --version
Bazaar (bzr) 2.1.2
  Python interpreter: /usr/bin/python 2.6.6
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-5-686-bigmem-i686-with-debian-6.0.1
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/kgoetz/.bazaar
  Bazaar log file: /home/kgoetz/.bzr.log

Copyright 2005-2010 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

20:14:21 kgoetz@epicfail: /tmp/oldart/gnewsense-wallpapers $ bzr plugins -v
builddeb 2.2.0
    bzr-builddeb - manage packages in a Bazaar branch.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb

bzrtools 2.4.0
    Various useful commands for working with bzr.
    /home/kgoetz/.bazaar/plugins/bzrtools

cia 1.0.0dev
    Post-commit hook to submit the commit to CIA (http://cia.navi.cx/)
    /home/kgoetz/.bazaar/plugins/cia

dbus 0.1.0dev
    D-Bus integration for bzr/bzrlib.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus

email
    Sending emails for commits and branch changes.
    /home/kgoetz/.bazaar/plugins/email

etckeeper
    Runs etckeeper pre-commit when necessary.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper

fastimport 0.10.0dev
    FastImport Plugin
    /home/kgoetz/.bazaar/plugins/fastimport

git 0.5.2
    A GIT branch and repository format implementation for bzr.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/git

gtk 0.99.0dev1
    Graphical support for Bazaar using GTK.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk

interactive 1.2.0
    User interaction support for Bazaar.
    /home/kgoetz/.bazaar/plugins/interactive

launchpad 2.1.2
    Launchpad.net integration plugin for Bazaar.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad

netrc_credential_store 2.1.2
    Use ~/.netrc as a credential store for authentication.conf.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store

news_merge 2.1.2
    Merge hook for bzr's NEWS file.
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge

pager
    Run commands producing long output in a pager ($PAGER or less).
    /home/kgoetz/.bazaar/plugins/pager

qbzr 0.18.6
    QBzr - Qt-based frontend for Bazaar
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr

rewrite 0.7.0dev
    Rebase support.
    /home/kgoetz/.bazaar/plugins/rewrite

svn 1.0.3
    Support for Subversion branches
    /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn

Revision history for this message
KarlGoetz (kgoetz) wrote :

A final item - there is no debian/ dir in the tarball.

10:24:12 kgoetz@epicfail: /tmp/oldart $ tar -tf gnewsense-wallpapers_0.2.orig.tar.gz |grep debian
10:24:17 kgoetz@epicfail: /tmp/oldart $

thanks,
kk

summary: - --v3 option fails to create package
+ bzr dh-make --v3 option fails to create package
Revision history for this message
Jonathan Riddell (jr) wrote :

The option --v3 no longer exists, try it without that option. Do reopen if there is still a problem, also if there are docs around which use --v3 do let us know

Changed in bzr-builddeb:
status: New → Incomplete
Revision history for this message
KarlGoetz (kgoetz) wrote : Re: [Bug 811723] Re: bzr dh-make --v3 option fails to create package

On Thu, 28 Jul 2011 15:57:38 -0000
Jonathan Riddell <email address hidden> wrote:

> The option --v3 no longer exists, try it without that option. Do

without --v3 appears to work (to create a v3 package).
thanks,
kk

> reopen if there is still a problem, also if there are docs around
> which use --v3 do let us know
>
>
> ** Changed in: bzr-builddeb
> Status: New => Incomplete
>

--
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

It seems the option still exists, at least for "bzr dh-make". Perhaps we should just kill it and have it default to always creating v3 packages?

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

For sometime now dh-make creates 3.0 (quilt) format packages. Currently, if you run bzr dh-make without the --v3 you get a 3.0 (quilt) format package. If you run it with that option, it fails.

So yes, it's well past time to kill that option.

Changed in bzr-builddeb:
status: Incomplete → In Progress
importance: Undecided → Medium
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Changed in bzr-builddeb:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
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.