removed core/linux-sun7i

Problems with packages? Post here, using [tags] of the package name.

removed core/linux-sun7i

Postby h4xx » Thu Jul 02, 2015 8:24 am

Hi there,

i tried to compile the removed core/linux-sun7i Kernel package on my Cubietruck ( i need the package because in the Mainline Kernel it seems that the /sys/class/power_supply/ is empty due to the missing support in the .dtb files).

While compiling i get this error.

$this->bbcode_second_pass_code('', '
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
distcc[1618] ERROR: compile kernel/bounds.c on 10.32.128.5:3634 failed
distcc[1618] (dcc_build_somewhere) Warning: remote compilation of 'kernel/bounds.c' failed, retrying locally
distcc[1618] Warning: failed to distribute kernel/bounds.c to 10.32.128.5:3634, running locally instead
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
distcc[1618] ERROR: compile kernel/bounds.c on localhost failed
/mnt/sda/archie/PKGBUILDs/core/linux-sun7i/src/linux-sunxi-9a1cd034181af628d4145202289e1993c1687db6/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:987: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
')

Compiling the linux-armv7 for example works fine.

Since i´am not so familiar whith compiling packages but i hope that someone has an idea for me what i did wrong.

Edit: this error occurs with and without distcc.

Regards

h4xx
h4xx
 
Posts: 19
Joined: Wed Dec 25, 2013 12:34 pm

Re: removed core/linux-sun7i

Postby WarheadsSE » Thu Jul 02, 2015 2:10 pm

$this->bbcode_second_pass_code('', 'fatal error: linux/compiler-gcc5.h: No such file or directory')

You're missing a file. This kernel source does not support being compiled by gcc 5+, which ALARM is using.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: removed core/linux-sun7i

Postby h4xx » Thu Jul 02, 2015 3:00 pm

Okay, yes i can confirm that this file is not present.

I just thought and expect that the package wuild build without any problems because
It was an old existing Package from

https://github.com/archlinuxarm/PKGBUILDs/commit/4aa75f1b9b5a5095fe6c654c5edecdf826aeab22

Since iam not able to fix this by myself. Can you help me a bit more to get this package build again?
h4xx
 
Posts: 19
Joined: Wed Dec 25, 2013 12:34 pm

Re: removed core/linux-sun7i

Postby WarheadsSE » Thu Jul 02, 2015 3:19 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')his kernel source does not support being compiled by gcc 5+, which ALARM is using.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: removed core/linux-sun7i

Postby h4xx » Thu Jul 02, 2015 3:30 pm

Well, but how was this package build last month?

Would like to understand how i can build this package again by myself.
h4xx
 
Posts: 19
Joined: Wed Dec 25, 2013 12:34 pm

Re: removed core/linux-sun7i

Postby WarheadsSE » Thu Jul 02, 2015 4:42 pm

Last month, we were not on gcc 5+
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 16 guests