Unable to build hsqldb 1.8.0.10-12 directly from Debian

Bug #1014722 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
Triaged
High
Unassigned

Bug Description

Both local sbuild and the Launchpad buildd setup is unable to build hsqldb 1.8.0.10-12 from Debian unstable/testing.

The package as one binary package that targets kfreebsd-* architectures only; sbuild reports this error when checking architectures:

: i386 not in arch list or does not match any arch wildcards: all kfreebsd-i386 kfreebsd-amd64 -- skipping

https://launchpadlibrarian.net/107897874/buildlog_ubuntu-quantal-i386.hsqldb_1.8.0.10-12~ubuntu12.10.1~ppa1_FAILEDTOBUILD.txt.gz

I think the issue is in sbuild - pbuilder appears to be quite happy with this combination.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

this sounds very similar to bug 917708
Why project launchpad-buildd and not project launchpad?
Isn't the latter one used exclusively nowadays? Maybe I am wrong...

Revision history for this message
Micah Gersten (micahg) wrote :

The upload processing is part of launchpad, the building is in a separate project (launchpad-buildd). Also, it seems like the correct behavior is to ignore any arch that we don't have as active in the series if there are arch: all packages in debian/control.

Revision history for this message
James Page (james-page) wrote :

This worked for me locally in sbuild:

--- Build.pm.orig 2012-06-18 15:20:09.859466543 +0100
+++ Build.pm 2012-06-18 19:29:45.653621053 +0100
@@ -986,7 +986,7 @@
      }
  }
  if ($dscarchs ne "any" && !($valid_arch) &&
- !($dscarchs eq "all" && $self->get_conf('BUILD_ARCH_ALL')) ) {
+ !($dscarchs =~ /all/ && $self->get_conf('BUILD_ARCH_ALL')) ) {
      my $msg = "$dsc: $arch not in arch list or does not match any arch wildcards: $dscarchs -- skipping\n";
      $self->log($msg);
      Sbuild::Exception::Build->throw(error => "$dsc: $arch not in arch list or does not match any arch wildcards: $dscarchs -- skipping",

Validating that 'all' is present (rather than ==) in the list of archs in the dsc and that sbuild is doing the -A target corrects the behaviour (I think).

Changed in launchpad-buildd:
status: New → Triaged
importance: Undecided → High
tags: added: launchpad-buildd
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.