Debian Bug report logs - #201204
kernel-patch-uml: Does not compile on 2.5.67

version graph

Package: kernel-patch-uml; Maintainer for kernel-patch-uml is (unknown);

Reported by: Marius Kotsbak <marius@kotsbak.com>

Date: Mon, 14 Jul 2003 11:18:02 UTC

Severity: grave

Tags: sid

Found in version 20030606-1

Done: Matt Zimmerman <mdz@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matt Zimmerman <mdz@debian.org>:
Bug#201204; Package kernel-patch-uml. (full text, mbox, link).


Acknowledgement sent to Marius Kotsbak <marius@kotsbak.com>:
New Bug report received and forwarded. Copy sent to Matt Zimmerman <mdz@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marius Kotsbak <marius@kotsbak.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kernel-patch-uml: Does not compile on 2.5.67
Date: Mon, 14 Jul 2003 13:10:49 +0200
Package: kernel-patch-uml
Version: 20030606-1
Severity: grave
Tags: sid
Justification: renders package unusable



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux 192.168.0.208 2.5.74-mm1 #2 Fri Jul 4 05:41:14 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages kernel-patch-uml depends on:
ii  bash                          2.05b-8.1  The GNU Bourne Again SHell
ii  grep-dctrl                    1.11       Grep Debian package information
ii  kernel-patch-scripts          0.99.26    Scripts to help dealing with packa
ii  m4                            1.4-15     a macro processing language
ii  patch                         2.5.9-1    Apply a diff file to an original

-- no debconf information


Compile error:

192:/usr/src/kernel-source-2.5.69# make-kpkg
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make    ARCH=i386 \
                     bzImage
		     make[1]: Entering directory `/usr/src/kernel-source-2.5.69'
		     /usr/bin/make -f scripts/Makefile.build obj=scripts
		     /usr/bin/make -f scripts/Makefile.build obj=scripts/genksyms
		     /usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-offsets.s
		     make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
		       Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
		       /usr/bin/make -f scripts/Makefile.build obj=init
		         CHK     include/linux/compile.h
			 /usr/bin/make -f scripts/Makefile.build obj=usr
			 /usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel
			   gcc -Wp,-MD,arch/i386/kernel/.sys_i386.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sys_i386 -DKBUILD_MODNAME=sys_i386 -c -o arch/i386/kernel/.tmp_sys_i386.o arch/i386/kernel/sys_i386.c
			   arch/i386/kernel/sys_i386.c: In function `do_mmap2':
			   arch/i386/kernel/sys_i386.c:59: warning: passing arg 1 of `do_mmap_pgoff' from incompatible pointer type
			   arch/i386/kernel/sys_i386.c:59: warning: passing arg 2 of `do_mmap_pgoff' makes pointer from integer without a cast
			   arch/i386/kernel/sys_i386.c:59: error: too few arguments to function `do_mmap_pgoff'
			   make[2]: *** [arch/i386/kernel/sys_i386.o] Error 1
			   make[1]: *** [arch/i386/kernel] Error 2
			   make[1]: Leaving directory `/usr/src/kernel-source-2.5.69'
			   make: *** [stamp-build] Error 2
			   
			   
			   
			   I also tried this:
			   192:/usr/src/kernel-source-2.5.69# make-kpkg
			   test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
			   /usr/bin/make    ARCH=i386 \
			                        bzImage
						make[1]: Entering directory `/usr/src/kernel-source-2.5.69'
						/usr/bin/make -f scripts/Makefile.build obj=scripts
						/usr/bin/make -f scripts/Makefile.build obj=scripts/genksyms
						/usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-offsets.s
						make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
						  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
						  /usr/bin/make -f scripts/Makefile.build obj=init
						    CHK     include/linux/compile.h
						    /usr/bin/make -f scripts/Makefile.build obj=usr
						    /usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel
						      gcc -Wp,-MD,arch/i386/kernel/.sys_i386.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sys_i386 -DKBUILD_MODNAME=sys_i386 -c -o arch/i386/kernel/.tmp_sys_i386.o arch/i386/kernel/sys_i386.c
						      arch/i386/kernel/sys_i386.c: In function `do_mmap2':
						      arch/i386/kernel/sys_i386.c:59: warning: passing arg 1 of `do_mmap_pgoff' from incompatible pointer type
						      arch/i386/kernel/sys_i386.c:59: warning: passing arg 2 of `do_mmap_pgoff' makes pointer from integer without a cast
						      arch/i386/kernel/sys_i386.c:59: error: too few arguments to function `do_mmap_pgoff'
						      make[2]: *** [arch/i386/kernel/sys_i386.o] Error 1
						      make[1]: *** [arch/i386/kernel] Error 2
						      make[1]: Leaving directory `/usr/src/kernel-source-2.5.69'
						      make: *** [stamp-build] Error 2
						      
			   
			   which didn't work with make-kpkg:
			   
			   192:/usr/src/kernel-source-2.5.69# make-kpkg
			   test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
			   /usr/bin/make    ARCH=i386 \
			                        bzImage
						make[1]: Entering directory `/usr/src/kernel-source-2.5.69'
						/usr/bin/make -f scripts/Makefile.build obj=scripts
						/usr/bin/make -f scripts/Makefile.build obj=scripts/genksyms
						/usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-offsets.s
						make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
						  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
						  /usr/bin/make -f scripts/Makefile.build obj=init
						    CHK     include/linux/compile.h
						    /usr/bin/make -f scripts/Makefile.build obj=usr
						    /usr/bin/make -f scripts/Makefile.build obj=arch/i386/kernel
						      gcc -Wp,-MD,arch/i386/kernel/.sys_i386.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include    -DKBUILD_BASENAME=sys_i386 -DKBUILD_MODNAME=sys_i386 -c -o arch/i386/kernel/.tmp_sys_i386.o arch/i386/kernel/sys_i386.c
						      arch/i386/kernel/sys_i386.c: In function `do_mmap2':
						      arch/i386/kernel/sys_i386.c:59: warning: passing arg 1 of `do_mmap_pgoff' from incompatible pointer type
						      arch/i386/kernel/sys_i386.c:59: warning: passing arg 2 of `do_mmap_pgoff' makes pointer from integer without a cast
						      arch/i386/kernel/sys_i386.c:59: error: too few arguments to function `do_mmap_pgoff'
						      make[2]: *** [arch/i386/kernel/sys_i386.o] Error 1
						      make[1]: *** [arch/i386/kernel] Error 2
						      make[1]: Leaving directory `/usr/src/kernel-source-2.5.69'
						      make: *** [stamp-build] Error 2
						      



Reply sent to Matt Zimmerman <mdz@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Marius Kotsbak <marius@kotsbak.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 201204-done@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: Marius Kotsbak <marius@kotsbak.com>, 201204-done@bugs.debian.org
Subject: Re: Bug#201204: kernel-patch-uml: Does not compile on 2.5.67
Date: Mon, 14 Jul 2003 09:12:02 -0400
On Mon, Jul 14, 2003 at 01:10:49PM +0200, Marius Kotsbak wrote:

> Package: kernel-patch-uml
> Version: 20030606-1
> Severity: grave
> Tags: sid
> Justification: renders package unusable

I beg your pardon?

> Compile error:
> 
> 192:/usr/src/kernel-source-2.5.69# make-kpkg
> test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
> /usr/bin/make    ARCH=i386 \
>                      bzImage

make-kpkg does not know how to build UML kernels yet.  Even if it did, you
would need to request it explicitly (ARCH=um rather than ARCH=i386).

You can use the user-mode-linux source package to build a UML kernel (but do
not file a Severity: grave bug if you cannot immediately get it to work).

-- 
 - mdz



Information forwarded to debian-bugs-dist@lists.debian.org, Matt Zimmerman <mdz@debian.org>:
Bug#201204; Package kernel-patch-uml. (full text, mbox, link).


Acknowledgement sent to Marius Kotsbak <marius@kotsbak.com>:
Extra info received and forwarded to list. Copy sent to Matt Zimmerman <mdz@debian.org>. (full text, mbox, link).


Message #15 received at 201204@bugs.debian.org (full text, mbox, reply):

From: Marius Kotsbak <marius@kotsbak.com>
To: 201204@bugs.debian.org
Subject: Re: Bug#201204 acknowledged by developer (Re: Bug#201204: kernel-patch-uml: Does not compile on 2.5.67)
Date: Mon, 14 Jul 2003 20:05:29 +0200
On Mon, Jul 14, 2003 at 08:18:59AM -0500, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> #201204: kernel-patch-uml: Does not compile on 2.5.67,
> which was filed against the kernel-patch-uml package.
> 
> It has been closed by one of the developers, namely
> Matt Zimmerman <mdz@debian.org>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact the developer, by replying to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 
> Received: (at 201204-done) by bugs.debian.org; 14 Jul 2003 13:12:35 +0000
> >From mdz@csh.rit.edu Mon Jul 14 08:12:08 2003
> Return-path: <mdz@csh.rit.edu>
> Received: from smtp01.mrf.mail.rcn.net [207.172.4.60] 
> 	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
> 	id 19c37f-0002CM-00; Mon, 14 Jul 2003 08:12:07 -0500
> Received: from 216-15-124-77.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.124.77] helo=mizar.alcor.net)
> 	by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
> 	id 19c37f-0007X9-00; Mon, 14 Jul 2003 09:12:07 -0400
> Received: from mdz by mizar.alcor.net with local (Exim 3.36 #1 (Debian))
> 	id 19c37a-00018e-00; Mon, 14 Jul 2003 09:12:02 -0400
> Date: Mon, 14 Jul 2003 09:12:02 -0400
> From: Matt Zimmerman <mdz@debian.org>
> To: Marius Kotsbak <marius@kotsbak.com>, 201204-done@bugs.debian.org
> Subject: Re: Bug#201204: kernel-patch-uml: Does not compile on 2.5.67
> Message-ID: <20030714131202.GK2970@alcor.net>
> References: <E19c1EH-00031j-RN@192.168.0.208>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> In-Reply-To: <E19c1EH-00031j-RN@192.168.0.208>
> User-Agent: Mutt/1.5.4i
> Sender: Matt Zimmerman <mdz@alcor.net>
> Delivered-To: 201204-done@bugs.debian.org
> X-Spam-Status: No, hits=-11.4 required=4.0
> 	tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES,
> 	      USER_AGENT_MUTT
> 	autolearn=ham version=2.53-bugs.debian.org_2003_06_27
> X-Spam-Level: 
> X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)
> 
> On Mon, Jul 14, 2003 at 01:10:49PM +0200, Marius Kotsbak wrote:
> 
> > Package: kernel-patch-uml
> > Version: 20030606-1
> > Severity: grave
> > Tags: sid
> > Justification: renders package unusable
> 
> I beg your pardon?
> 
> > Compile error:
> > 
> > 192:/usr/src/kernel-source-2.5.69# make-kpkg
> > test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
> > /usr/bin/make    ARCH=i386 \
> >                      bzImage
> 
> make-kpkg does not know how to build UML kernels yet.  Even if it did, you
> would need to request it explicitly (ARCH=um rather than ARCH=i386).

OK. I'm sorry; it seems like I pasted the same error multiple times. The
problem is that the patch isn't compiling:

  gcc -Wp,-MD,arch/i386/kernel/.sys_i386.o.d -D__KERNEL__ -Iinclude
  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
  -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3
  -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc
  -iwithprefix include    -DKBUILD_BASENAME=sys_i386
  -DKBUILD_MODNAME=sys_i386 -c -o arch/i386/kernel/.tmp_sys_i386.o
  arch/i386/kernel/sys_i386.c
  arch/i386/kernel/sys_i386.c: In function `do_mmap2':
  arch/i386/kernel/sys_i386.c:59: warning: passing arg 1 of
  `do_mmap_pgoff' from incompatible pointer type
  arch/i386/kernel/sys_i386.c:59: warning: passing arg 2 of
  `do_mmap_pgoff' makes pointer from integer without a cast
  arch/i386/kernel/sys_i386.c:59: error: too few arguments to function
  `do_mmap_pgoff'
  make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
  make: *** [arch/i386/kernel] Error 2


I see that the problem is known:
http://www.ussg.iu.edu/hypermail/linux/kernel/0304.1/0928.html

and should also be a bug in the deb package. And when I can't compile,
the package is useless for me, but probably just for this kernel
version, so it might not be a grave severity.


> You can use the user-mode-linux source package to build a UML kernel.

OK, that works, but it is another package, and you can't compile the
kernel you want.

Marius K



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#201204; Package kernel-patch-uml. (full text, mbox, link).


Acknowledgement sent to Matt Zimmerman <mdz@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #20 received at 201204@bugs.debian.org (full text, mbox, reply):

From: Matt Zimmerman <mdz@debian.org>
To: Marius Kotsbak <marius@kotsbak.com>, 201204@bugs.debian.org
Subject: Re: Bug#201204: acknowledged by developer (Re: Bug#201204: kernel-patch-uml: Does not compile on 2.5.67)
Date: Mon, 14 Jul 2003 14:26:07 -0400
On Mon, Jul 14, 2003 at 08:05:29PM +0200, Marius Kotsbak wrote:

>   arch/i386/kernel/sys_i386.c:59: error: too few arguments to function
>   `do_mmap_pgoff'
>   make[1]: *** [arch/i386/kernel/sys_i386.o] Error 1
>   make: *** [arch/i386/kernel] Error 2
> 
> 
> I see that the problem is known:
> http://www.ussg.iu.edu/hypermail/linux/kernel/0304.1/0928.html

Read the follow-up to that message:

http://www.ussg.iu.edu/hypermail/linux/kernel/0304.1/0930.html

It seems you have not followed the instructions for building UML.

> and should also be a bug in the deb package. And when I can't compile,
> the package is useless for me, but probably just for this kernel
> version, so it might not be a grave severity.

It seems that the UML patch may break a normal i386 build in 2.5.69, but
this is not a significant bug in my view.  It is a development kernel, and
the only reason to use the patch is to build a UML kernel.

> > You can use the user-mode-linux source package to build a UML kernel.
> 
> OK, that works, but it is another package, and you can't compile the
> kernel you want.

Yes, it is another package, and you can use it to compile any kernel for
which there is a UML patch.

-- 
 - mdz



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 08:14:27 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.