Your message dated Wed, 27 Apr 2011 05:22:07 +0200
with message-id <20110427032207.ga18...@gaara.hadrons.org>
and subject line Re: Bug#227034: dpkg-buildpackage -I doesn't work
has caused the Debian Bug report #227034,
regarding [DPKG-DEB] support something similar to dpkg-source -Ifoo -b
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
227034: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227034
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.10.18
Severity: normal

$ debuild -ICVS
dpkg-buildpackage: source package is webmin-afbackup
dpkg-buildpackage: source version is 1.6
dpkg-buildpackage: source maintainer is Tomas Pospisek <tpo_...@sourcepole.ch>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_clean
 dpkg-source -ICVS -b webmin-afbackup
dpkg-source: warning: source directory `./webmin-afbackup' is not 
<sourcepackage>-<upstreamversion> `webmin-afbackup-1.6'
dpkg-source: building webmin-afbackup in webmin-afbackup_1.6.tar.gz
dpkg-source: building webmin-afbackup in webmin-afbackup_1.6.dsc
 debian/rules build
make: Nothing to be done for `build'.
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
dh_install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_link
dh_compress
dh_fixperms
dh_perl
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `webmin-afbackup' in 
`../webmin-afbackup_1.6_all.deb'.
 dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is included)
Now running lintian...
W: webmin-afbackup: package-contains-CVS-dir usr/share/webmin/afbackup/help/CVS/
W: webmin-afbackup: package-contains-CVS-dir 
usr/share/webmin/afbackup/images/CVS/
W: webmin-afbackup: package-contains-CVS-dir usr/share/webmin/afbackup/lang/CVS/
W: webmin-afbackup: package-contains-CVS-dir 
usr/share/webmin/afbackup/templates/CVS/

dpkg-buildpackage _did_ include CVS directories allthough being told _not_ to 
do so.
The only excluded CVS directory is the one from the base directory.
*t

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tpo2 2.4.22 #7 Sat Dec 20 00:25:17 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg-dev depends on:
hi  binutils                2.13.90.0.18-1.7 The GNU assembler, linker and bina
ii  cpio                    2.5-1.1          GNU cpio -- a program to manage ar
ii  make                    3.80-4           The GNU version of the "make" util
ii  patch                   2.5.9-1          Apply a diff file to an original
ii  perl [perl5]            5.8.2-2          Larry Wall's Practical Extraction 
ii  perl-modules            5.8.2-2          Core Perl modules.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi!

On Fri, 2004-01-09 at 14:44:41 +0100, Tomas Pospisek wrote:
> Package: dpkg-dev
> Version: 1.10.18
> Severity: normal
> 
> $ debuild -ICVS
> dpkg-buildpackage: source package is webmin-afbackup
> dpkg-buildpackage: source version is 1.6
> dpkg-buildpackage: source maintainer is Tomas Pospisek <tpo_...@sourcepole.ch>
> dpkg-buildpackage: host architecture is i386
[...]
>  dpkg-source -ICVS -b webmin-afbackup
[...]
> dh_builddeb
> dpkg-deb: building package `webmin-afbackup' in 
> `../webmin-afbackup_1.6_all.deb'.
[...]
> Now running lintian...
> W: webmin-afbackup: package-contains-CVS-dir 
> usr/share/webmin/afbackup/help/CVS/
> W: webmin-afbackup: package-contains-CVS-dir 
> usr/share/webmin/afbackup/images/CVS/
> W: webmin-afbackup: package-contains-CVS-dir 
> usr/share/webmin/afbackup/lang/CVS/
> W: webmin-afbackup: package-contains-CVS-dir 
> usr/share/webmin/afbackup/templates/CVS/
> 
> dpkg-buildpackage _did_ include CVS directories allthough being told _not_ to 
> do so.
> The only excluded CVS directory is the one from the base directory.
> *t

That's because those directories were installed into the to be built
binary package directory, and dpkg-deb included anything it was told
to.

The ignore options make sense for the source because that's what might
be present on the upstream VCS for example, which the packager might
not have control over. Ignoring them otherwise would require
repacking or exporting the sources to another place, which might be
cumbersome/annoying/time-consuming. But the files shipped in the
binary package are completely under the packager's control, so if one
doesn't want those files/directories there, the correct thing to do is
to not install them, or remove them after the fact.

I'm thus closing this bug report.

thanks,
guillem


--- End Message ---

Reply via email to