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

Bug#572369: marked as done (hw-detect: add cross compiling support)



Your message dated Sat, 22 May 2010 16:25:40 +0000
with message-id <E1OFrW8-0004IN-1R@ries.debian.org>
and subject line Bug#572369: fixed in hw-detect 1.77
has caused the Debian Bug report #572369,
regarding hw-detect: add cross compiling support
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
572369: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572369
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hw-detect
Version: 1.76
Severity: wishlist
Tags: patch


Hello,

Could you consider applying this patch for enable cross compiling support on this package?

I would also like to comment that the following patch is against Makefile (respecting current packaging), but all this mangling I believe it should be done under debian/rules.


diff -urN hw-detect-1.76/Makefile hw-detect-1.76.cross//Makefile
--- hw-detect-1.76/Makefile	2009-12-24 03:16:27.000000000 +0100
+++ hw-detect-1.76.cross//Makefile	2010-03-03 20:08:23.000000000 +0100
@@ -1,5 +1,8 @@
+# XXX I really believe this should go under debian/rules, not here.
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 # Take account of old dpkg-architecture output.
 ifeq ($(DEB_HOST_ARCH_OS),)
@@ -10,6 +13,9 @@
 endif
 
 CC = gcc
+ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+export CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
 CFLAGS = -W -Wall -Os -g
 CFLAGS_ARCH = -DCPU_TEXT='"$(DEB_HOST_ARCH)"'
 

Kind regards

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: hw-detect
Source-Version: 1.77

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

archdetect_1.77_i386.udeb
  to main/h/hw-detect/archdetect_1.77_i386.udeb
disk-detect_1.77_all.udeb
  to main/h/hw-detect/disk-detect_1.77_all.udeb
ethdetect_1.77_all.udeb
  to main/h/hw-detect/ethdetect_1.77_all.udeb
hw-detect_1.77.dsc
  to main/h/hw-detect/hw-detect_1.77.dsc
hw-detect_1.77.tar.gz
  to main/h/hw-detect/hw-detect_1.77.tar.gz
hw-detect_1.77_i386.udeb
  to main/h/hw-detect/hw-detect_1.77_i386.udeb



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 572369@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated hw-detect 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Sat, 22 May 2010 17:58:26 +0200
Source: hw-detect
Binary: hw-detect ethdetect disk-detect archdetect
Architecture: source i386 all
Version: 1.77
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 archdetect - Hardware architecture detector (udeb)
 disk-detect - Detect disk drives (udeb)
 ethdetect  - Detect network hardware and load kernel drivers for it (udeb)
 hw-detect  - Detect hardware and load kernel drivers for it (udeb)
Closes: 572369 572785 574116 574158 577451
Changes: 
 hw-detect (1.77) unstable; urgency=low
 .
   [ Frans Pop ]
   * check-missing-firmware: install loose firmware files in subdirectories
     if that's where the kernel expects them. Closes: #572785.
 .
   [ Petter Reinholdtsen ]
   * Use discover-pkginstall to install hardware related packages
     automatically during installation (Closes: #577451).  Run it
     from pre-pkgsel to make sure a upgraded discover package is
     available.
   * Make sure check-missing-firmware follow symlinks and copy the
     content to make sure symlinked firmware files work too.
   * Move code checking for firmware in check-missing-firmware to a
     separate function, to allow it to be used several places.
   * Also look for firmware debs and udebs in the PXE initrd and
     on the CD media, in a firmware/ directory (Closes: #574116).
   * Add cross building support (Closes: #572369).  Patch from
     Hector Oron.
   * Run preinst script of firmware debs in case there is a license
     question there to accept, and do not activate firmware if the
     preinst script return non-zero exit code (Closes: #574158).
 .
   [ Joey Hess ]
   * Remove myself from Uploaders.
 .
    [ Updated translations ]
    * Asturian (ast.po) by Iñigo Varela
    * Danish (da.po) by Jacob Sparre Andersen
    * German (de.po) by Holger Wansing
    * French (fr.po) by Christian Perrier
    * Hebrew (he.po) by Lior Kaplan
    * Korean (ko.po) by Changwoo Ryu
    * Lithuanian (lt.po) by Kęstutis Biliūnas
    * Marathi (mr.po) by Sampada
    * Norwegian Nynorsk (nn.po) by Eirik U. Birkeland
    * Romanian (ro.po) by ioan-eugen stan
    * Slovenian (sl.po) by Vanja Cvelbar
Checksums-Sha1: 
 4c93373f704c4efcf5941b9a51c1c9edf1310b91 958 hw-detect_1.77.dsc
 3413277d2200b64d24a3d5dade6a158bc9f7c6e8 172610 hw-detect_1.77.tar.gz
 f2f819f752bac5ba9a7323669f32642ba9ecb1fd 93240 hw-detect_1.77_i386.udeb
 3844729f3953bf5658e9319161732d9ff27df012 27750 ethdetect_1.77_all.udeb
 7f5c924815f1d3020901a52ba5efce759e3643ca 21202 disk-detect_1.77_all.udeb
 30a32267843bd289741acf37d87ead33142535cd 2142 archdetect_1.77_i386.udeb
Checksums-Sha256: 
 84f0ef1b4cc14d16e9c128fee2dda505521cec49e776807a9a44627a966f4421 958 hw-detect_1.77.dsc
 fad30c19890867e5a9239215dfc484c3ffa05c94ab047b7717c89ee41e70eb01 172610 hw-detect_1.77.tar.gz
 27dd294aafe6e458206b18fc12aafaf1b040cbb4ebe76cf61f128738e7e2e54e 93240 hw-detect_1.77_i386.udeb
 a7663e211c66cff7da3bc1660b5a469ae606aca89122e5bc29703dcad3e23cd6 27750 ethdetect_1.77_all.udeb
 9237091277b2e3533fe49b2eb872e75b5676eb3fb44fbc426d70ff28b6dce7c9 21202 disk-detect_1.77_all.udeb
 ccb012b709822654351f64f8dc27230c445ec2258fcd76017a5182ed4b3bde06 2142 archdetect_1.77_i386.udeb
Files: 
 b5f4190e95dc642e6cfb683c85ca2424 958 debian-installer standard hw-detect_1.77.dsc
 c657ecc40a20b5e02f30339278854dc0 172610 debian-installer standard hw-detect_1.77.tar.gz
 4aad655271e2453b49ec86473189c086 93240 debian-installer standard hw-detect_1.77_i386.udeb
 edd054a4dbedc15a18cdb1baa2766361 27750 debian-installer optional ethdetect_1.77_all.udeb
 b4f1047331f4424d563dd2a10231970a 21202 debian-installer optional disk-detect_1.77_all.udeb
 758ef02a58a4f6cf72bfc9a9b2166f8c 2142 debian-installer standard archdetect_1.77_i386.udeb
Package-Type: udeb

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

iD8DBQFL+ABJ20zMSyow1ykRAknwAKCrwIeMnGGATzFX8vlLPnJMl1xtXACeJOPM
OWCXIf/rUh/zouy3CihRsGA=
=EqBS
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: