Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65543 > unrolled thread

Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler

Started byRaphaël Hertzog <hertzog@debian.org>
First post2019-11-01 17:40 +0100
Last post2019-11-09 22:20 +0100
Articles 8 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler Raphaël Hertzog <hertzog@debian.org> - 2019-11-01 17:40 +0100
    Processed: Re: Bug#943953: linux: DKMS module builds are failing  on arm64 due to lack of armhf cross-compiler "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-11-02 13:30 +0100
    Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler Ben Hutchings <ben@decadent.org.uk> - 2019-11-02 13:30 +0100
      Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler Raphael Hertzog <hertzog@debian.org> - 2019-11-04 12:00 +0100
        Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler Ben Hutchings <ben@decadent.org.uk> - 2019-11-05 01:30 +0100
    Processed: Re: Bug#943953: linux: DKMS module builds are failing  on arm64 due to lack of armhf cross-compiler "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-11-04 12:00 +0100
    Processed: Re: Bug#943953: linux: DKMS module builds are failing  on arm64 due to lack of armhf cross-compiler "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-11-05 01:30 +0100
    Bug#943953: marked as done (linux: DKMS module builds are failing  on arm64 due to lack of armhf cross-compiler) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-11-09 22:20 +0100

#65543 — Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler

FromRaphaël Hertzog <hertzog@debian.org>
Date2019-11-01 17:40 +0100
SubjectBug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Message-ID<yXI7T-37k-1@gated-at.bofh.it>
Source: linux
Version: 5.3.7-1
Severity: normal
User: devel@kali.org
Usertags: origin-kali

https://salsa.debian.org/kernel-team/linux/commit/82c843e1577930c4eb168f626ab9bd483b118efc
seems to break DKMS on arm64:

----
root@pinebook-kali:/usr/src# dkms autoinstall

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 ARCH=arm64 KVER=5.3.0-kali1-arm64 KSRC=/lib/modules/5.3.0-kali1-arm64/build/...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.3.0-kali1-arm64 (aarch64)
Consult /var/lib/dkms/rtl8723cs/2019.07.31/build/make.log for more information.
root@pinebook-kali:/usr/src# cat /var/lib/dkms/rtl8723cs/2019.07.31/build/make.log 
DKMS make.log for rtl8723cs-2019.07.31 for kernel 5.3.0-kali1-arm64 (aarch64)
Fri Nov  1 03:50:50 CDT 2019
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali1-arm64/build/ M=/var/lib/dkms/rtl8723cs/2019.07.31/build  modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-kali1-arm64'
arch/arm64/Makefile:58: *** arm-linux-gnueabihf-gcc not found, check CROSS_COMPILE_COMPAT.  Stop.
make[1]: *** [/usr/src/linux-headers-5.3.0-kali1-common/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-kali1-arm64'
make: *** [Makefile:1670: modules] Error 2
----

Some more information gathered on IRC:

16:51 <bwh> Oh, we have the Depends right, so I think the check in arch/arm64/Makefile needs to be suppressed when building out-of-tree modules
16:54 <buxy> bwh: what do you mean with "we have the Depends right" (i.e. with or without the cross-compiler)? on what package are you looking?
16:55 <bwh> The Depends for the linux-headers package don't include an armhf compiler, which is correct
16:55 <bwh> but the kernel build system still looks for it, which is not
16:55 <bwh> There are some upstream changes around this that might fix it

Cheers,
 Raphaël.

[toc] | [next] | [standalone]


#65544 — Processed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-11-02 13:30 +0100
SubjectProcessed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Message-ID<yY0Hv-6mo-3@gated-at.bofh.it>
In reply to#65543
Processing control commands:

> tag -1 moreinfo patch
Bug #943953 [src:linux] linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Added tag(s) moreinfo and patch.

-- 
943953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943953
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#65545

FromBen Hutchings <ben@decadent.org.uk>
Date2019-11-02 13:30 +0100
Message-ID<yY0Hv-6mo-1@gated-at.bofh.it>
In reply to#65543

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 moreinfo patch

I already communicated this via IRC, but I thought it should be logged
in the BTS too: I have a tentative fix for this in <
https://salsa.debian.org/benh/linux.git> branch bug943953.  I don't
have an arm64 system to test it on though.

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.

[toc] | [prev] | [next] | [standalone]


#65553

FromRaphael Hertzog <hertzog@debian.org>
Date2019-11-04 12:00 +0100
Message-ID<yYIfw-7VV-11@gated-at.bofh.it>
In reply to#65545

[Multipart message — attachments visible in raw view] — view raw

Control: tags -1 - moreinfo

Hi,

On Sat, 02 Nov 2019, Ben Hutchings wrote:
> I already communicated this via IRC, but I thought it should be logged
> in the BTS too: I have a tentative fix for this in <
> https://salsa.debian.org/benh/linux.git> branch bug943953.  I don't
> have an arm64 system to test it on though.

Steev tested it and replied to you on IRC:
03:09 <steev> bwh: buxy: tested on two different arm64 machines, seems to be working

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/

[toc] | [prev] | [next] | [standalone]


#65563

FromBen Hutchings <ben@decadent.org.uk>
Date2019-11-05 01:30 +0100
Message-ID<yYUTo-7sZ-1@gated-at.bofh.it>
In reply to#65553

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 pending

On Mon, 2019-11-04 at 11:48 +0100, Raphael Hertzog wrote:
> Control: tags -1 - moreinfo
> 
> Hi,
> 
> On Sat, 02 Nov 2019, Ben Hutchings wrote:
> > I already communicated this via IRC, but I thought it should be logged
> > in the BTS too: I have a tentative fix for this in <
> > https://salsa.debian.org/benh/linux.git> branch bug943953.  I don't
> > have an arm64 system to test it on though.
> 
> Steev tested it and replied to you on IRC:
> 03:09 <steev> bwh: buxy: tested on two different arm64 machines, seems to be working

So I've merged this change to the sid branch.

Ben.

-- 
Ben Hutchings
If God had intended Man to program,
we'd have been born with serial I/O ports.


[toc] | [prev] | [next] | [standalone]


#65552 — Processed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-11-04 12:00 +0100
SubjectProcessed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Message-ID<yYIfw-7VV-9@gated-at.bofh.it>
In reply to#65543
Processing control commands:

> tags -1 - moreinfo
Bug #943953 [src:linux] linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Removed tag(s) moreinfo.

-- 
943953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943953
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#65564 — Processed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-11-05 01:30 +0100
SubjectProcessed: Re: Bug#943953: linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Message-ID<yYUTo-7sZ-3@gated-at.bofh.it>
In reply to#65543
Processing control commands:

> tag -1 pending
Bug #943953 [src:linux] linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
Added tag(s) pending.

-- 
943953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943953
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#65592 — Bug#943953: marked as done (linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2019-11-09 22:20 +0100
SubjectBug#943953: marked as done (linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler)
Message-ID<z0Gjk-ji-41@gated-at.bofh.it>
In reply to#65543

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 09 Nov 2019 21:10:12 +0000
with message-id <E1iTXzo-0003Hb-Hj@fasolo.debian.org>
and subject line Bug#943953: fixed in linux 5.3.9-1
has caused the Debian Bug report #943953,
regarding linux: DKMS module builds are failing on arm64 due to lack of armhf cross-compiler
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.)


-- 
943953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943953
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web