Linux kernel build process failures

Hi,

I want to build the Linux kernel as described in the following link:

https://rocketboards.org/foswiki/Documentation/GSRDCompilingLinux

However, there are some errors when trying to compile it. Below I’m pasting the output when I try to run the bitbake command. Could you please help me to solve this issue?

Thanks in advance for your help.

/////////////////////////////////////////////////////////////////////////////////
mymachine@MACH-100:~/angstrom-build$ bitbake gsrd-console-image
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/mymachine/angstrom-build/bitbake-cookerdaemon.log):
— Starting bitbake server pid 6258 at 2019-08-15 23:29:49.457038 —
Traceback (most recent call last):
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 284, in parseBaseConfiguration
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 398, in parseConfigurationFiles
% (c, " ".join(layerseries), " ".join(compat)))
File “/home/mymachine/angstrom-build/bitbake/lib/bb/init.py”, line 104, in fatal
raise BBHandledException()
bb.BBHandledException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mymachine/angstrom-build/bitbake/lib/bb/daemonize.py”, line 77, in createDaemon
function()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/server/process.py”, line 464, in _startServer
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cooker.py”, line 210, in init
self.initConfigurationData()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cooker.py”, line 375, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 317, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
WARNING: Layer mono should set LAYERSERIES_COMPAT_mono in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer photography-layer should set LAYERSERIES_COMPAT_photography-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-maker should set LAYERSERIES_COMPAT_meta-maker in its conf/layer.conf file to list the core layer names it is compatible with.
ERROR: Layer meta-altera is not compatible with the core layer which only supports these series: sumo (layer is compatible with thud)

mymachine@MACH-100:~/angstrom-build$ bitbake xvfb-console-image
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/mymachine/angstrom-build/bitbake-cookerdaemon.log):
— Starting bitbake server pid 6264 at 2019-08-15 23:31:14.202944 —
Traceback (most recent call last):
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 284, in parseBaseConfiguration
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 398, in parseConfigurationFiles
% (c, " ".join(layerseries), " ".join(compat)))
File “/home/mymachine/angstrom-build/bitbake/lib/bb/init.py”, line 104, in fatal
raise BBHandledException()
bb.BBHandledException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/mymachine/angstrom-build/bitbake/lib/bb/daemonize.py”, line 77, in createDaemon
function()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/server/process.py”, line 464, in _startServer
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cooker.py”, line 210, in init
self.initConfigurationData()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cooker.py”, line 375, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File “/home/mymachine/angstrom-build/bitbake/lib/bb/cookerdata.py”, line 317, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
WARNING: Layer mono should set LAYERSERIES_COMPAT_mono in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer photography-layer should set LAYERSERIES_COMPAT_photography-layer in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-maker should set LAYERSERIES_COMPAT_meta-maker in its conf/layer.conf file to list the core layer names it is compatible with.
ERROR: Layer meta-altera is not compatible with the core layer which only supports these series: sumo (layer is compatible with thud)

mymachine@MACH-100:~/angstrom-build$

/////////////////////////////////////////////////////////////////////////////////

I’m seeing the same error message. Have you found a workaround?

Hi Stan,

Unfortunately, I haven’t been able to solve the problem.

The sumo branch is not support by layer meta-altera, you can use a higher version of yocto such as Zeus or Thud etc.

In the yocto repo dictionary:

git checkout zeus

Switch branch to zeus and go on the guide.