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

Atheros AR5523 devices, ovvero D-Link DWL-G132



Ciao, sto provando ad installare la pennina usb dlink dwl-g132 su squeeze. Ho trovato la pagina del wiki (http://wiki.debian.org/ar5523) riportante dettagliate istruzioni su come fare. Purtroppo pero' nel momento in cui provo a creare il pacchetto deb, ovvero:

$ wget http://verein.lst.de/~hch/ar5523.tgz
$ tar xf ar5523.tgz ar5523/uath-ar5523.bin --strip 1
$ cd ar5523
$ export QUILT_PATCHES="debian/patches"
$ quilt delete kcompat-3.5 && quilt delete kcompat-2.6.34
$ dpkg-buildpackage -us -uc

ottengo:

paride@roadwarrior:~/src/dwl-g132/ar5523$ sudo dpkg-buildpackage -us -uc dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package ar5523
dpkg-buildpackage: source version 0~slh.17
dpkg-buildpackage: source changed by Stefan Lippers-Hollmann <s.l-h@gmx.de>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build ar5523
dpkg-source: info: using options from ar5523/debian/source/local-options: --unapply-patches --abort-on-upstream-changes dpkg-source: info: using options from ar5523/debian/source/options: --compression=gzip --compression-level=9 dpkg-source: warning: --unapply-patches is not a valid option for Dpkg::Source::Package::V3::native dpkg-source: warning: --abort-on-upstream-changes is not a valid option for Dpkg::Source::Package::V3::native
 debian/rules clean
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
Removing patch 0006-ar5523-Improve-TX-cmd-queues.patch
Restoring ar5523.c

Removing patch 0005-ar5523-Get-rid-of-atomic-commands.patch
Restoring ar5523.c

Removing patch 0004-ar5523-Improve-rate-control.patch
Restoring ar5523.c

Removing patch 0003-ar5523-Fix-up-rx-status-reporting.patch
Restoring ar5523.c

Removing patch 0002-ar5523-Don-t-set-urb-context.patch
Restoring ar5523.c

Removing patch 0001-ar5523-Don-t-store-private-data-in-skb-cb.patch
Restoring ar5523.c

Removing patch declare-firmware.patch
Restoring ar5523.c

Removing patch add-support-for-Netgear-WPN111.patch
Restoring ar5523.c

Removing patch fix-comment-style.patch
Restoring ar5523.c

Removing patch remove-dead-code.patch
Restoring ar5523.c

Removing patch remove-unused-variables.patch
Restoring ar5523.c

Removing patch add-Gigaset-108.patch
Restoring ar5523.c

Removing patch kcompat-2.6.32.patch
Restoring ar5523.c

Removing patch add-Globalsun-AR5523.patch
Restoring ar5523.c

Removing patch urb_status.patch
Restoring ar5523.c

Removing patch kcompat-2.6.26.patch
Restoring ar5523.c

Removing patch kcompat-2.6.25.patch
Restoring ar5523.c

No patches applied
rm -rf .pc debian/stamp-patched
dh_testdir
/usr/bin/make clean
make[1]: Entering directory `/home/paride/src/dwl-g132/ar5523'
rm -rf	*.ko *.mod.* *.o .*.o.d .*.cmd .tmp_versions Module.symvers \
		*.order ar5523-snapshot.tar.gz
make[1]: Leaving directory `/home/paride/src/dwl-g132/ar5523'
dh_clean
 dpkg-source -b ar5523
dpkg-source: info: using options from ar5523/debian/source/local-options: --unapply-patches --abort-on-upstream-changes dpkg-source: info: using options from ar5523/debian/source/options: --compression=gzip --compression-level=9 dpkg-source: warning: --unapply-patches is not a valid option for Dpkg::Source::Package::V3::native dpkg-source: warning: --abort-on-upstream-changes is not a valid option for Dpkg::Source::Package::V3::native
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building ar5523 in ar5523_0~slh.17.tar.gz
dpkg-source: info: building ar5523 in ar5523_0~slh.17.dsc
 debian/rules build
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch kcompat-2.6.25.patch
patching file ar5523.c

Applying patch kcompat-2.6.26.patch
patching file ar5523.c

Applying patch urb_status.patch
patching file ar5523.c

Applying patch add-Globalsun-AR5523.patch
patching file ar5523.c

Applying patch kcompat-2.6.32.patch
patching file ar5523.c

Applying patch add-Gigaset-108.patch
patching file ar5523.c

Applying patch remove-unused-variables.patch
patching file ar5523.c

Applying patch remove-dead-code.patch
patching file ar5523.c

Applying patch fix-comment-style.patch
patching file ar5523.c

Applying patch add-support-for-Netgear-WPN111.patch
patching file ar5523.c

Applying patch declare-firmware.patch
patching file ar5523.c

Applying patch 0001-ar5523-Don-t-store-private-data-in-skb-cb.patch
patching file ar5523.c

Applying patch 0002-ar5523-Don-t-set-urb-context.patch
patching file ar5523.c

Applying patch 0003-ar5523-Fix-up-rx-status-reporting.patch
patching file ar5523.c

Applying patch 0004-ar5523-Improve-rate-control.patch
patching file ar5523.c

Applying patch 0005-ar5523-Get-rid-of-atomic-commands.patch
patching file ar5523.c

Applying patch 0006-ar5523-Improve-TX-cmd-queues.patch
patching file ar5523.c
Hunk #11 succeeded at 1145 with fuzz 2.
Hunk #14 succeeded at 1188 with fuzz 2.

Applying patch 0007-uath-ar-part-1.patch
patching file ar5523.c
Hunk #18 FAILED at 1122.
Hunk #25 FAILED at 1467.
Hunk #26 FAILED at 1484.
Hunk #27 FAILED at 1507.
4 out of 34 hunks FAILED -- rejects in file ar5523.c
patching file ar5523.h
Patch 0007-uath-ar-part-1.patch does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Inutile dire che questo caso non e' contemplato nel wiki :-)
Qualcuno sa aiutarmi?

Paride
--
http://keyserver.linux.it/pks/lookup?op=get&search=0xCC6CA35C690431D3

Chi e' pronto a rinunciare alle proprie liberta' fondamentali per comprarsi briciole di temporanea sicurezza non merita ne' la liberta' ne' la sicurezza.(Benjamin Franklin - dalla Risposta al Governatore, Assemblea della Pennsylvania, 11 novembre 1755)


Reply to: