alsa-lib Binary: disagrees with Files:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-lib (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I build the alsa-lib package from source, the .changes file's Binary and Files fields disagree. I'm using an up-to-date i386 Dapper. There is example .changes file at the end of this note: you will see that the lib32asound2 and lib32asound2-dev binaries are missing.
This is a problem because I'm trying to automate package building, and when I compare the .dsc file with the pool, there are 2 files "missing", indicating that the package needs a rebuild - maybe the previous build got a ^C halfway through copying the files.
What is happening is that pbuilder of alsa-lib makes either "plain and 32" or it makes "plain and 64" files, always with 2 Binary files missing.
Possible solution 1:
I suggest that it should always make "32 and 64 and plain" with plain being a copy of one of other two. This means that the Binary line will always be accurate, and never disagree with the Files field of the .changes file. This way also leads to a more consistent user experience: both width-specific form will always be available no matter what the platform, and so will the "native" form.
Possible solution 2:
An alternative solution is to have architecture specific source packages, TWO of them, one which is for 32 bit machines, and one which is for 64 bit machines. Arrange the Binaries lines of each package so that it always agrees with the Files field of the .changes file.
---- Example .change File: -------
Format: 1.7
Date: Wed, 10 May 2006 19:54:05 -0400
Source: alsa-lib
Binary: libasound2-dev lib32asound2-dev lib64asound2 libasound2-doc lib64asound2-dev lib32asound2 libasound2
Architecture: source all i386
Version: 1.0.10-2ubuntu4
Distribution: dapper
Urgency: low
Maintainer: Debian ALSA Maintainers <email address hidden>
Changed-By: Daniel T Chen <email address hidden>
Description:
lib64asound2 - ALSA library (64bit)
lib64asound2-dev - ALSA library development files (64 bit)
libasound2 - ALSA library
libasound2-dev - ALSA library development files
libasound2-doc - ALSA library developer documentation
Changes:
alsa-lib (1.0.10-2ubuntu4) dapper; urgency=low
.
* debian/patches: Add:
- 24_dont_
- 24_fix_
- 24_fix_
- 24_make_
Files:
a69075098897bd
66d466afd13196
04eac98794800f
ade17450854230
2ba1e08bb87d43
60643c428b0634
No, the ^Binary field is generated from the source package's debian/control. Please read Debian Policy 5.6.19[0].
[0] http:// www.debian. org/doc/ debian- policy/ ch-controlfield s.html# s-f-Binary