Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#588178: dpkg-gencontrol: error: package ... not in control info

370 views
Skip to first unread message

Antonio Ospite

unread,
Jul 6, 2010, 5:50:03 AM7/6/10
to
Hi,

I am getting this too. More precisely:
dpkg-gencontrol -DArchitecture=amd64 -isp \
-plinux-image-2.6.35-rc4-ao2+ \
-P/home/ao2/Proj/linux/linux-2.6/debian/linux-image-2.6.35-rc4-ao2+/ \
dpkg-gencontrol: error: package linux-image-2.6.35-rc4-ao2+ not in control info


And in debian/control:
Package: linux-image-2.6.35-rc4-ao2

The problem could be due to this recent kbuild change:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d5eda75f3a6a08f5a3644764a88d288e62e7823d

I get the added '+' in the package name because I have
CONFIG_LOCALVERSION_AUTO disabled, but make-kpkg does not seem to
recognize this '+' when building debian/control.

Looking at the error Tino is getting (in particular the -gxxxxxxxx part)
I think both these errors could be related to the very
CONFIG_LOCALVERSION_AUTO; Tino you have it enabled instead, don't you?

Regards,
Antonio

--
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Tino Keitel

unread,
Jul 6, 2010, 6:50:03 AM7/6/10
to
On Tue, Jul 06, 2010 at 11:35:40 +0200, Antonio Ospite wrote:
> Hi,
>
> I am getting this too. More precisely:
> dpkg-gencontrol -DArchitecture=amd64 -isp \
> -plinux-image-2.6.35-rc4-ao2+ \
> -P/home/ao2/Proj/linux/linux-2.6/debian/linux-image-2.6.35-rc4-ao2+/ \
> dpkg-gencontrol: error: package linux-image-2.6.35-rc4-ao2+ not in control info
>
>
> And in debian/control:
> Package: linux-image-2.6.35-rc4-ao2
>
> The problem could be due to this recent kbuild change:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d5eda75f3a6a08f5a3644764a88d288e62e7823d
>
> I get the added '+' in the package name because I have
> CONFIG_LOCALVERSION_AUTO disabled, but make-kpkg does not seem to
> recognize this '+' when building debian/control.
>
> Looking at the error Tino is getting (in particular the -gxxxxxxxx part)
> I think both these errors could be related to the very
> CONFIG_LOCALVERSION_AUTO; Tino you have it enabled instead, don't you?

Yes, but it also failed when I disabled it. I worked around this by
correcting the versions in debian/control after starting make-kpkg.
:-)

Regards,
Tino

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Tino Keitel

unread,
Jul 7, 2010, 6:10:03 PM7/7/10
to
Hi,

for my issue, the attached dirty(?) fix makes make-kpkg linux_image
work again.

Regards,
Tino

localversion_fix.diff
0 new messages