Your message dated Thu, 17 Mar 2005 03:32:03 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297677: fixed in kernel-package 8.126
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; 2 Mar 2005 08:49:33 +0000
>From [EMAIL PROTECTED] Wed Mar 02 00:49:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from koto.vergenet.net [210.128.90.7] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6PXx-0005gU-00; Wed, 02 Mar 2005 00:49:33 -0800
Received: by koto.vergenet.net (Postfix, from userid 7100)
        id 2381D34002; Wed,  2 Mar 2005 17:27:44 +0900 (JST)
Date: Wed, 2 Mar 2005 17:46:33 +0900
From: Horms <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: kernel-package: Missing CROSS_ARG causes spurious warnings
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="OgqxwSJOaUobr8KG"
Content-Disposition: inline
X-Reportbug-Version: 3.8
X-Cluestick: seven
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: [EMAIL PROTECTED]
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.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: kernel-package
Version: 8.124
Severity: minor
Tags: patch


When using --cross-compile XXX, make-kpkg sets the environment
variable CROSS_COMPILE=XXX. It subsequently also sets
CROSS_ARG="CROSS_COMPILE=XXX-".

Most invocations of Make for the kernel tree's toplevel Makefile
are of the form make ... $CROSS_ARG ... target. And this works fine.
However, in some cases $CROSS_ARG is missing an this causes warnings
to be displayed as make picks up the value of CROSS_COMPILE from
the environment, which is XXX instead of XXX-.

I think that the warnings are harmless but it is at the very least 
confusing. The attached patch seems to resolve the problem.
However, perhaps a better fix would be to have make-kpkg
set CROSS_COMPILE=XXX- and abandon CROSS_ARG all together.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-rc2
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) (ignored: 
LC_ALL set to ja_JP.eucJP)

Versions of packages kernel-package depends on:
ii  dpkg                          1.10.24    Package maintenance system for Deb
ii  dpkg-dev                      1.10.24    Package building tools for Debian
ii  gcc [c-compiler]              4:3.3.4-3  The GNU C compiler
ii  gcc-3.2 [c-compiler]          1:3.2.3-9  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.5-2  The GNU C compiler
ii  make                          3.80-9     The GNU version of the "make" util
ii  perl                          5.8.4-3    Larry Wall's Practical Extraction 

-- no debconf information

-- 
Horms

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="make-kpkg-cross.patch"

--- /usr/share/kernel-package/rules     2005-03-02 16:50:12.000000000 +0900
+++ /usr/share/kernel-package/rules     2005-03-02 17:29:06.000000000 +0900
@@ -157,11 +157,11 @@
 
 # Could have used :=, but some patches do seem to patch the
 # Makefile. perhaps deferring the rule makes that better
-VERSION      :=$(shell $(MAKE) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_VERSION)
-PATCHLEVEL   :=$(shell $(MAKE) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_PATCHLEVEL)
-SUBLEVEL     :=$(shell $(MAKE) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_SUBLEVEL)
-EXTRA_VERSION:=$(shell $(MAKE) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_EXTRAVERSION)
-LOCALVERSION :=$(shell $(MAKE) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_LOCALVERSION)
+VERSION      :=$(shell $(MAKE) $(CROSS_ARG) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_VERSION)
+PATCHLEVEL   :=$(shell $(MAKE) $(CROSS_ARG) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_PATCHLEVEL)
+SUBLEVEL     :=$(shell $(MAKE) $(CROSS_ARG) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_SUBLEVEL)
+EXTRA_VERSION:=$(shell $(MAKE) $(CROSS_ARG) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_EXTRAVERSION)
+LOCALVERSION :=$(shell $(MAKE) $(CROSS_ARG) --no-print-directory -sf 
$(DEBDIR)/kernel_version.mk debian_LOCALVERSION)
 
 
 
@@ -1800,7 +1800,8 @@
 real_stamp_clean:
        test ! -f .config || cp -pf .config config.precious
        test -f Makefile && \
-            $(MAKE) $(FLAV_ARG) $(EXTRAV_ARG) ARCH=$(KERNEL_ARCH) distclean
+            $(MAKE) $(FLAV_ARG) $(EXTRAV_ARG) $(CROSS_ARG) \
+               ARCH=$(KERNEL_ARCH) distclean
        test ! -f config.precious || mv -f config.precious .config
 ifeq ($(strip $(patch_the_kernel)),YES)
        $(deb_rule) unpatch_now
@@ -1902,7 +1903,8 @@
 endif
        $(install_file) debian/changelog         
$(SOURCE_SRC)/Debian.src.changelog
        (cd $(SOURCE_SRC); \
-            $(MAKE) $(EXTRAV_ARG) $(FLAV_ARG) ARCH=$(KERNEL_ARCH) distclean)
+            $(MAKE) $(EXTRAV_ARG) $(FLAV_ARG) $(CROSS_ARG) \
+               ARCH=$(KERNEL_ARCH) distclean)
        (cd $(SOURCE_SRC);         rm -f stamp-building $(STAMPS_TO_CLEAN))
        (cd $(SOURCE_SRC);         \
          [ ! -d scripts/cramfs ]   || make -C scripts/cramfs distclean ; )
@@ -2338,7 +2340,7 @@
        dpkg --build $(IMAGE_TOP) $(DEB_DEST)
        rm -f -r $(IMAGE_TOP)
 ifeq ($(strip $(do_clean)),YES)
-       $(MAKE) $(EXTRAV_ARG) $(FLAV_ARG) ARCH=$(KERNEL_ARCH) \
+       $(MAKE) $(EXTRAV_ARG) $(FLAV_ARG) $(CROSS_ARG) ARCH=$(KERNEL_ARCH) \
                                 clean
        rm -f stamp-build
 endif

--OgqxwSJOaUobr8KG--

---------------------------------------
Received: (at 297677-close) by bugs.debian.org; 17 Mar 2005 08:53:09 +0000
>From [EMAIL PROTECTED] Thu Mar 17 00:53:09 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DBqke-000115-00; Thu, 17 Mar 2005 00:53:08 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DBqQF-0008Oo-00; Thu, 17 Mar 2005 03:32:03 -0500
From: Manoj Srivastava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297677: fixed in kernel-package 8.126
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 17 Mar 2005 03:32:03 -0500
Delivered-To: [EMAIL PROTECTED]
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: 
X-CrossAssassin-Score: 4

Source: kernel-package
Source-Version: 8.126

We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:

kernel-package_8.126.dsc
  to pool/main/k/kernel-package/kernel-package_8.126.dsc
kernel-package_8.126.tar.gz
  to pool/main/k/kernel-package/kernel-package_8.126.tar.gz
kernel-package_8.126_all.deb
  to pool/main/k/kernel-package/kernel-package_8.126_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated kernel-package 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 17 Mar 2005 01:45:13 -0600
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 8.126
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description: 
 kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 29850 297676 297677 298371 298647 299218
Changes: 
 kernel-package (8.126) unstable; urgency=low
 .
   * Bug fix: "[kernel-package] make-kpkg fails on mipsel without subarch",
     thanks to Florian Lohoff                               (Closes: #299218).
   * Inconsistent CROSS_COMPILE Breaks External Modules. Well, make sure
     that we do not end up with a XXX-- as the corss arg, thus allowing
     people to specify things with or without a trailing -.
                                                     (Closes: #298371, #29850).
   * Bug fix: "kernel-package: Missing CROSS_ARG causes spurious warnings",
     thanks to Horms. Added [atch                            (Closes: #297677).
   * Bug fix: "kernel-package: Update Kernel Maintainer", thanks to Horms
                                                              (Closes: #297676).
   * Bug fix: "kernel-package: m32r architecture support", thanks to
     Hirokazu Takata                                          (Closes: #298647).
Files: 
 170752dc7b116e18fe380f1ee325d30d 483 misc optional kernel-package_8.126.dsc
 a9cf2fcc176ec141d19afa4aae1a33e7 502812 misc optional 
kernel-package_8.126.tar.gz
 dd16d970eb0c36012c2fea05e279cef6 355178 misc optional 
kernel-package_8.126_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCOTxlIbrau78kQkwRArrAAJ4raTphhxBMosejn6fgnUbJwR1V8ACgg/OI
hB4kUhRbtmMNXVgCZ20/X88=
=mJBh
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to