[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#267417: marked as done (kernel-image: Build error)



Your message dated Mon, 10 Jan 2005 17:02:29 +0100
with message-id <20050110160229.GE26174@stro.at>
and subject line Bug#267417: kernel-image: Build error
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Aug 2004 14:08:55 +0000
>From summer@computerdatasafe.com.au Sun Aug 22 07:08:55 2004
Return-path: <summer@computerdatasafe.com.au>
Received: from vscan01.westnet.com.au [203.10.1.131] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Byt1i-0001ui-00; Sun, 22 Aug 2004 07:08:54 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
	by localhost (Postfix) with ESMTP id EB438522DD
	for <submit@bugs.debian.org>; Sun, 22 Aug 2004 22:08:22 +0800 (WST)
Received: from fw.computerdatasafe.com.au (dip-220-235-38-167.wa.westnet.com.au [220.235.38.167])
	by vscan01.westnet.com.au (Postfix) with ESMTP id 1E119522EB
	for <submit@bugs.debian.org>; Sun, 22 Aug 2004 22:08:22 +0800 (WST)
Received: from Kowari.demo.room (unknown [192.168.9.126])
	by fw.computerdatasafe.com.au (Postfix) with ESMTP
	id 735B91AC56; Sun, 22 Aug 2004 22:08:20 +0800 (WST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: John Summerfield <summer@ComputerDatasafe.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-image: Build error
X-Mailer: reportbug 2.63
Date: Sun, 22 Aug 2004 14:08:19 +0000
Message-Id: <20040822140820.735B91AC56@fw.computerdatasafe.com.au>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: kernel-image
Version: 2.4.26-1-686
Severity: important
Justification: fails to build from source

I use this command:
time apt-get -b source kernel-image-2.4.26-1-686
and the build fails thus:

DVERSIONS -include /home/users/summer/packages/kernel-image-2.4.26-i386-2.4.26/build-386/include/linux/modversions.h -Os  -nostdinc -iwithprefix include -DKBUILD_BASENAME=asus_acpi  -c -o asus_acpi.o asus_acpi.c
asus_acpi.c: In function `parse_arg':
asus_acpi.c:406: error: `buffer' undeclared (first use in this function)
asus_acpi.c:406: error: (Each undeclared identifier is reported only once
asus_acpi.c:406: error: for each function it appears in.)
asus_acpi.c:406: error: `value' undeclared (first use in this function)
make[4]: *** [asus_acpi.o] Error 1
make[4]: Leaving directory `/home/users/summer/packages/kernel-image-2.4.26-i386-2.4.26/build-386/drivers/acpi'
make[3]: *** [_modsubdir_acpi] Error 2
make[3]: Leaving directory `/home/users/summer/packages/kernel-image-2.4.26-i386-2.4.26/build-386/drivers'
make[2]: *** [_mod_drivers] Error 2
make[2]: Leaving directory `/home/users/summer/packages/kernel-image-2.4.26-i386-2.4.26/build-386'
make[1]: *** [stamp-build] Error 2
make[1]: Leaving directory `/home/users/summer/packages/kernel-image-2.4.26-i386-2.4.26/build-386'
make: *** [build-stamp] Error 2
Build command 'cd kernel-image-2.4.26-i386-2.4.26 && dpkg-buildpackage -b -uc -rfakeroot' failed.
E: Child process failed


I have established that this code is wrong, and found the patch to reverse it:
static int parse_arg(const char *buf, unsigned long count, int *val)
{
        char s[32];
        if (!count)
                return 0;
        if (count > 31)
                return -EINVAL;
        if (copy_from_user(s, buf, count))
                return -EFAULT;
        s[count] = 0;
        count = parse_arg(buffer, count, &value);
        if (count > 0)
                return -EINVAL;
        return count;
}

I have also discovered the error is contained in 
kernel-source-2.4.26: /usr/src/kernel-source-2.4.26.tar.bz2
which I built in like manner.  

I'll contine to try to figure out what went wrong, but it's getting late.





-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=C, LC_CTYPE=C

---------------------------------------
Received: (at 267417-done) by bugs.debian.org; 10 Jan 2005 16:02:30 +0000
>From max@stro.at Mon Jan 10 08:02:30 2005
Return-path: <max@stro.at>
Received: from baikonur.stro.at [213.239.196.228] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Co1zy-0003LP-00; Mon, 10 Jan 2005 08:02:30 -0800
Received: from sputnik (sputnik.itp.tuwien.ac.at [128.131.48.177])
	by baikonur.stro.at (Postfix) with ESMTP id BF7395C001
	for <267417-done@bugs.debian.org>; Mon, 10 Jan 2005 17:02:24 +0100 (CET)
Received: from max by sputnik with local (Exim 4.34)
	id 1Co1zx-00072u-Uh
	for 267417-done@bugs.debian.org; Mon, 10 Jan 2005 17:02:30 +0100
Date: Mon, 10 Jan 2005 17:02:29 +0100
From: maximilian attems <debian@sternwelten.at>
To: 267417-done@bugs.debian.org
Subject: Re: Bug#267417: kernel-image: Build error
Message-ID: <20050110160229.GE26174@stro.at>
References: <20040822140820.735B91AC56@fw.computerdatasafe.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040822140820.735B91AC56@fw.computerdatasafe.com.au>
User-Agent: Mutt/1.5.6+20040907i
Sender: maximilian attems <max@stro.at>
X-Virus-Scanned: by Amavis (ClamAV) at stro.at
Delivered-To: 267417-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Sun, 22 Aug 2004, John Summerfield wrote:

> Package: kernel-image
> Version: 2.4.26-1-686
> Severity: important
> Justification: fails to build from source
> 
> I use this command:
> time apt-get -b source kernel-image-2.4.26-1-686
> and the build fails thus:
sarge provides kernel-source-2.4.27,
if it still does a ftbfs, please reopen bug.
thanks maks



Reply to: