FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

LinkBack Thread Tools
Old 06-28-2012, 03:52 PM
Guillem Jover
Default help needed on field ordering


On Thu, 2012-06-28 at 16:25:22 +0100, Wookey wrote:
> I've updated the stage-build patch for current dpkg and
> included Patrick's dpkg-gencontrol patch:
> http://odin1.pehjota.net/~pj/debian-bootstrap/dpkg/dpkg-gencontrol.patch


> However on testing, whilst this does the desired job of adding
> Build-Stage: N if the package was built with DEB_BUILD_OPTIONS=stage=N
> it puts it right at the end of the control file after the description,
> which looks silly,

It just needs to be added to one of the %FIELD_ORDER variables.

> and dpkg-deb complains about this user-defined field:
> dpkg-deb: building package krb5-pkinit' in ../krb5-pkinit_1.10.1+dfsg-1_amd64.deb'.
> dpkg-deb: warning: 'debian/libkrb5-3/DEBIAN/control' contains user-defined field 'Build-Stage'

And this needs to be added to either the fieldinfos array in
lib/dpkg/parse.c if dpkg needs to know about the fields, or to
arbitrary_fields in dpkg-deb/build.c.

But do not take these hints as blessing the implementation, my opinion
from the above link (which seems to have been ignored) still applies.


To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120628155226.GA23137@gaara.hadrons.org">http://lists.debian.org/20120628155226.GA23137@gaara.hadrons.org

Thread Tools

All times are GMT. The time now is 05:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org