Mer/Build/Common Problems

Contents

Common Problems encountered building for Mer on OBS

Diagnosing a problem

First of all look at the status information

  • succeeded

Package has built successfully and can be used to build further packages.

  • failed

The package does not build successfully. No packages have been created. Packages that depend on this package will be built using any previously created packages, if they exist.

  • expansion error

The build can not begin, because required packages are either missing or not explicitly defined.

  • blocked

This package waits for other packages to be built. These can be in the same or other projects.

  • scheduled

A package has been marked for building, but the build has not started yet.

  • building

The package is currently being built.

  • dispatching

A package is being copied to a build host. This is an intermediate state before building.

  • finished

The package has been built, but has not yet been picked up by the server. This is an intermediate state prior to 'succeeded' or 'failed'.

  • disabled

The package has been disabled from building in project or package metadata.

  • excluded

The package build has been disabled in package build description (for example in the .spec file) or does not provide a matching build description for the target.

  • broken

The sources either contain no build description (eg specfile) or a source link does not work.

  • unknown

The scheduler has not yet evaluated this package. Should be a short intermediate state for new packages.

Non-Problems

Some things are known issues that (AFAWK) don't affect the build:

  • qemu broken pipes


Specifics

dh_clean
dpkg-source -b BUILD
dpkg-source: warning: source directory 'BUILD' is not <sourcepackage>-<upstreamversion> 'bomberman-1.0 '
dpkg-source: info: using source format `1.0'
dpkg-source: info: building bomberman in bomberman_1.0.tar.gz
dpkg-source: info: building bomberman in bomberman_1.0.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
CFLAGS="-Wall -g -O2" ./configure --prefix=/usr --disable-static
configure: error: cannot find install-sh or install.sh in . ./.. ./../..