Project

General

Profile

Actions

Feature #356

closed

More improvements for Debian package specification

Added by Jochen Schalanda over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Low
Category:
Packaging
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

More improvements for the Debian package specs:

  • Added rake task pkg:deb to build a Debian package for Foreman with debuild.
  • Relaxed dependencies in Debian control file to hopefully allow installation of the foreman DEB under Ubuntu karmic, Ubuntu lucid, Debian lenny and Debian sid.
  • Fixed error in preinst script when Puppet is not installed and group 'puppet' doesn't exist yet.

The packages built by this spec should be able to run on Debian lenny, Debian sid, Ubuntu karmic and Ubuntu lucid.


Files

Actions #1

Updated by Ohad Levy over 13 years ago

just tried it and got the following error:

rake pkg:deb
(in /home/ohad/git/foreman)
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of foreman_0.1.5.orig.tar.gz, foreman_0.1.5.orig.tar.bz2,
foreman_0.1.5.orig.tar.lzma or foreman.orig)
continue anyway? (y/n) y
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package foreman
dpkg-buildpackage: source version 0.1.5-2
dpkg-buildpackage: source changed by Jochen Schalanda <jochen@schalanda.name>
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: Unmet build dependencies: cdbs
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Error while building the DEB package with `debuild`.

am I missing something?

Actions #2

Updated by Jochen Schalanda over 13 years ago

dpkg-checkbuilddeps: Unmet build dependencies: cdbs
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.

You should install the package cdbs as it's needed for building the foreman .DEB package.

I'll have a look at how to automate this in the Rakefile when I find some time.

Actions #3

Updated by Ohad Levy over 13 years ago

  • Target version set to 0.1-6
Actions #4

Updated by Jochen Schalanda over 13 years ago

  • Status changed from New to Ready For Testing
Actions #5

Updated by Ohad Levy over 13 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Tomer Brisker over 5 years ago

  • Category changed from 21 to Packaging
Actions

Also available in: Atom PDF