Recipe builds should have debianized tree built previous to building the source package

Bug #599100 reported by Severin H
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Aaron Bentley

Bug Description

I'm currently in the process of preparing daily builds for the LottaNZB project, targeting Jaunty, Karmic and Lucid (the three versions of Ubuntu supported by LottaNZB) using recipes. The builds requested using the web interface for Karmic and Lucid succeeded. However, the source build based on recipe [1] targeting Jaunty did not, as bzr-builder is not available on Jaunty. The build process terminated with the error message:

E: Couldn't find package bzr-builder

It follows naturally that the build targets Hardy and Dapper are affected as well, but those are not of interest for me.

I'm not sure whether I filed the bug against the right project. Soyuz might have been the better choice.

[1] https://code.edge.launchpad.net/~lantash/+recipe/lottanzb-trunk-ubuntu-9.04-daily

Tags: lp-code recipe

Related branches

Revision history for this message
Severin H (severinh) wrote :

I wonder whether it's necessary at all to perform the source build in a virtual machine running the same series that will be used for the binary build. Wouldn't it be possible to always use Maverick (or the development version of Ubuntu in general) for building the source package? This would ensures access to the latest version of bzr-builder, while the binary build will be performed using the appropriate Ubuntu series.

bzr-builder provides a --distribution parameter that can be used to set the series entry in debian/changelog to the appropriate value.

Revision history for this message
Severin H (severinh) wrote :

The other two options I can think of is adding bzr-builder to the Dapper, Hardy and Jaunty repositories or simply not listing Dapper, Hardy and Jaunty as possible build targets when the user requests builds, where the later option is certainly not desirable.

tags: added: recipe
Revision history for this message
James Westby (james-w) wrote :

Building everything on the latest release would work in 99% of cases, but we decided
to build on the target distroseries to get the extra 1%, at the expense of having to provide
backports of bzr-builder.

Thanks,

James

Revision history for this message
Severin H (severinh) wrote :

Thanks for your answer. So the bug description could be changed to indicate that bzr-builder has not yet been ported back to Hardy and Jaunty, I guess.

Aaron Bentley (abentley)
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
Paul Hummer (rockstar)
summary: - Source builds based on recipes targeting Jaunty fail
+ Recipe builds should have debianized tree built previous to building the
+ source package
Aaron Bentley (abentley)
Changed in launchpad-code:
status: Triaged → In Progress
assignee: nobody → Aaron Bentley (abentley)
Aaron Bentley (abentley)
Changed in launchpad-code:
status: In Progress → 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.