emdebuild

Langue: en

Version: Sun 11 Jan 2009 19:55:45 GMT (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

emdebuild - emdebuild is the emdebian version of debuild.

SYNOPSIS

emdebuild [[-a] | [--arch] ARCH] [[-n] | [--next]] [--svn] [--sign] [[-v] | [--verbose]] [[-q] | [--quiet]] [[--]OPTIONS]
emdebuild [--svn-only]
emdebuild [--build-dep]
emdebuild [[-h] | [--help]] [[--version]]

DESCRIPTION

After a Debian package has been 'emdebianised' with em_make, emdebuild provides a convenient wrapper around dpkg-buildpackage.

emdebuild needs to be run in the source directory of the package.

By default, emdebuild cross-builds the package for the dpkg-cross default architecture. Specify other architectures with -a|--arch. Ensure the current toolchain is installed for the chosen architecture.


running debian/rules alone is unsupported

There is no equivalent for the fakeroot debian/rules binary type shorthand for a quick rebuild of the package due to the needs of the cross-build.

COMMANDS

Options for dpkg-buildpackage can be given after the -- option. The default options are -uc -us which cannot be overridden. Also certain commands do not make sense in this context, e.g. -a for architecture will be silently dropped.

--svn-only

Commit modifications to the emdebian patch files back to Emdebian SVN without rebuilding, e.g. once a failed build has been repaired. Requires a subversion working directory which can be provided by unpacking the source with emsource. The working copy must have been checked out with developer access. emsource will use developer access if a valid Emdebian SVN username is available.
Note that the build log will need to be added to svn and checked in separately.
--svn-only is disabled when using machine:variant customisation patches via emsource -m.

--build-dep

Read the debian/xcontrol file (if any) and parse the list of Build-Cross-Depends: and call apt-cross to install the cross dependencies.

OPTIONS

-a|--arch ARCH

Override the default architecture (set by dpkg-cross).

-n|--next

Increment the emdebian version before building. Note that, in most cases, it is advisable to edit debian/changelog and add an explanatory message before uploading the built package. emdebuild merely adds a very brief comment.
When building a package that has been updated upstream, the -n option can be used to restore the effect of a default Emdebian version if the emdebian-changelog.patch could not be applied.

--svn

Commit modifications to the emdebian patch files back to Emdebian SVN upon a successful build. Requires a subversion working directory which can be provided by unpacking the source with emsource. The working copy must have been checked out with developer access. emsource will use developer access if a valid Emdebian SVN username is available.
If the build fails, emdebuild can be restarted and the patches committed to Emdebian SVN once the build has been fixed using the -svn-only option.
--svn will abort the SVN commit when using machine:variant customisation patches via emsource -m.

--sign

Sign the changes file created by the underlying dpkg-buildpackage. Many repositories require changes files to be signed with an authorised GnuPG key. If ~/.devscripts is configured so that DEBUILD_DPKG_BUILDPACKAGE_OPTS options specify that dpkg-buildpackage should not sign the changes file directly, this option can be used to call debsign with the generated changes file at the end of the build. Experience has shown that even when dpkg-buildpackage is unable to sign the changes file, running debsign directly succeeds.

-v|--verbose

be verbose - repeat once for extra verbosity. Most users are highly recommended to use at least one level of verbosity.

-q|--quiet

be quiet. emdebuild will be very quiet with this option, only essential warnings and messages from the build process itself are output. Intended for automated buildd purposes.

-h|--help

print the usage message and exit.

--version

print the usage message and exit.

X-BUILD-CROSS-LIBTOOL

Packages can use this temporary workaround in debian/xcontrol until a better fix can be implemented within the package, generally by fixing the way that libtool is used or updated within a cross-build or fixing the arguments passed to libtool via the Makefile. Every package using this opt-in will be declared buggy in buildd.emdebian.org with a view to having a permanent fix in that package before Squeeze. Support will be retained in emdebian-tools to assist with new packages but this is to remain an interim support step that should not be relied upon for a package in a stable Emdebian release after Emdebian 1.0.

See m[blue] http://www.emdebian.org/emdebian/intro.html#gccrossm[].

AUTHOR

emdebuild was written by Neil Williams codehelp@debian.org.

This manual page was written by Neil Williams codehelp@debian.org

SEE ALSO

See also apt-cross (1), dpkg-cross (1), emsource (1), emsetup (1), em_make (1), gccross (1), empdebuild (1), xcontrol (1), emdebian-tools (1).

m[blue]General Introductionm[][2] to crossbuilding Debian.

AUTHOR

Emdebian

Neil Williams

Debian and Emdebian developer.

NOTES

1.
http://www.emdebian.org/emdebian/intro.html#gccross
2.
General Introduction
http://www.emdebian.org/emdebian/intro.html