problem with recipe build
James Westby
james.westby at canonical.com
Fri Mar 2 22:26:30 UTC 2012
On Fri, 2 Mar 2012 17:15:24 -0500 (EST), Scott Moser <smoser at ubuntu.com> wrote:
> I'm sure I'm doing something wrong, but not sure what.
> I'm trying to just set up a launchpad build of two branches, one 'trunk'
> that launchpad is pulling from an svn repo, and a packaging only branch.
>
> I'm not quite sure why there would be expected to be a tag
> 'upstream-0.9.4+r4177' as that string is something that was created due to
> this build recipe. But the working-dir has in it a directory named
> 'madwifi-0.9.4+r4177' and debian/changelog in that says:
> | madwifi (0.9.4+r4177-0ubuntu0+7) precise; urgency=low
> |
> | * Auto build.
> |
> | -- Scott Moser <smoser at ubuntu.com> Fri, 02 Mar 2012 16:58:43 -0500
>
> Which seems sane to me. The upstream source doesn't have tags named
> 'upstream-<version>', but only 'release-<version>'.
>
> Help?
[...]
> bzr: ERROR: Unable to find the upstream source. Import it as tag upstream-0.9.4+r4177 or build with --allow-fallback-to-native.
Your version number is saying this is a non-native package, which
requires an upstream tarball to build against.
bzr-builder expects that tarball to have been imported by bzr-builddeb,
which would have created that tag.
You can fix this by either:
* Importing the upstream tarball
* Changing the version number to have no "-", making it a native
version number.
* Or build with --allow-fallback-to-native, which will ignore all of
this and build the native package despite the version number
Thanks,
James
More information about the ubuntu-distributed-devel
mailing list