Package: broadcom-sta-source
Version: 5.60.48.36-1
Severity: important
Tags: squeeze
Justification: fails to build from source

Hello,  i tried to cross compile this package for i386 on my amd64 desktop
system. The build failed because it tried to compile the amd64 part of the
module. I fixed this issue by changing the rules script to use DEB_HOST_ARCH
instead of the DEB_BUILD_ARCH:  --- broadcom-sta_orig/debian/rules
2010-03-02 13:54:43.000000000 +0100 +++ broadcom-sta/debian/rules   2010-05-01
12:39:38.000000000 +0200 @@ -2,9 +2,9 @@    include /usr/share/quilt/quilt.make
-DEB_BUILD_ARCH         ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH          ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)   -ifeq
($(DEB_BUILD_ARCH),amd64) +ifeq ($(DEB_HOST_ARCH),amd64)
SOURCEDIR=$(CURDIR)/amd64  else # i386         SOURCEDIR=$(CURDIR)/i386   This
is my way to cross compile the modules: CONCURRENCY_LEVEL=4 DEB_HOST_ARCH=i386
MODULE_LOC=/usr/src/ash/modules fakeroot make-kpkg --cross-compile -
--arch=i386 --revision=ash.1 modules_image  Greets Michael


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages broadcom-sta-source depends on:
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  debhelper                     7.4.17     helper programs for debian/rules
ii  make                          3.81-8     An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages broadcom-sta-source recommends:
ii  module-assistant              0.11.3     tool to make module package creati

Versions of packages broadcom-sta-source suggests:
pn  wireless-tools                <none>     (no description available)

-- no debconf information



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

Reply via email to