Re: new gcc-2.95 packages
Ben Collins writes:
> On Thu, May 03, 2001 at 05:14:48PM +0200, Matthias Klose wrote:
> > Ben Collins writes:
> > > Which version of dpkg-dev do you have installed?
> >
> > $ dpkg -l dpkg-dev
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> > Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> > uppercase=bad)
> > ||/ Name Version Description
> > +++-==============-==============-============================================
> > ii dpkg-dev 1.9.4 Package building tools for Debian
>
> Does the generated debian/control contain the Arch field? If so, does
> the debian/<pkg>/DEBIAN/control also contain any Arch field? If not, I
> suggest it is a dpkg-gencontrol (or dh_gencontrol) bug, or a bug in how
> you are calling it.
debian/control contains Architecture: any fileds for all arch-dep
packages. the debian/<pkg>/DEBIAN/control files do not contain any
Architecture fields.
I didn't change this part of the rules file. dh_gencontrol gets called
as:
dh_gencontrol -a -u-v1:2.95.4-0.010502
which calls:
dpkg-gencontrol -ldebian/changelog -isp -pgcc-2.95 -Tdebian/substvars -Pdebian/gcc-2.95 -v1:2.95.4-0.010502
chmod 644 debian/gcc-2.95/DEBIAN/control
chown 0.0 debian/gcc-2.95/DEBIAN/control
dpkg-gencontrol -ldebian/changelog -isp -pcpp-2.95 -Tdebian/cpp-2.95.substvars -Pdebian/cpp-2.95 -v1:2.95.4-0.010502
chmod 644 debian/cpp-2.95/DEBIAN/control
chown 0.0 debian/cpp-2.95/DEBIAN/control
it's strange that calling dh_gencontrol directly, correctly generates
the Architecture fields. Does dh_gencontrol / dpkg-gencontrol depend
on some environment?
Reply to: