Skip to contentSkip to conversation

Master broken?

DISCUSSION Gary Thomas 5 participants 7 messages Apr 4, 2011 – Apr 5, 2011

lore
Share & tools
lore
#0 lore raw

I just updated to org.openembedded.dev 556819235f501bf762c8d8cc9f41a1a8244b106f

Now I get these errors during the initial parse:

  $ bitbake xfce-image
  NOTE: Handling BitBake files: | (0046/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing /local/Angstrom_BeagleBoard/openembedded 
/recipes/images/x11-gpe-image.bb
  NOTE: Handling BitBake files: \ (0053/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing 
/local/Angstrom_BeagleBoard/openembedded/recipes/images/angstrom-gnome-image.bb
  NOTE: Handling BitBake files: \ (0113/7335) [ 1 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing 
/local/Angstrom_BeagleBoard/openembedded/recipes/images/helloworld-image.bb
   ... etc

What am I missing?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 1 line · Gary Thomas

I just updated to org.openembedded.dev 556819235f501bf762c8d8cc9f41a1a8244b106f

To be clear, local.conf includes these settings:
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
IMAGE_PKGTYPE ?= "ipk"

Quoted 12 lines

Now I get these errors during the initial parse:

$ bitbake xfce-image
NOTE: Handling BitBake files: | (0046/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing /local/Angstrom_BeagleBoard/openembedded
/recipes/images/x11-gpe-image.bb
NOTE: Handling BitBake files: \ (0053/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/angstrom-gnome-image.bb
NOTE: Handling BitBake files: \ (0113/7335) [ 1 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/helloworld-image.bb
... etc

What am I missing?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw

The problem is "angstrom-2008.1" has been retired and is no longer available in the master branch. Use "angstrom-2010.x" instead as your distro. Alternatively, use the maintenance branch:

http://www.angstrom-distribution.org/angstrom-20081-moves-maintenance-branch

/Sachin.

Quoted 31 lines · Gary Thomas
Quoted 1 line · Gary Thomas

I just updated to org.openembedded.dev 556819235f501bf762c8d8cc9f41a1a8244b106f

To be clear, local.conf includes these settings:
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
IMAGE_PKGTYPE ?= "ipk"

Quoted 12 lines

Now I get these errors during the initial parse:

$ bitbake xfce-image
NOTE: Handling BitBake files: | (0046/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing /local/Angstrom_BeagleBoard/openembedded
/recipes/images/x11-gpe-image.bb
NOTE: Handling BitBake files: \ (0053/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/angstrom-gnome-image.bb
NOTE: Handling BitBake files: \ (0113/7335) [ 1 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/helloworld-image.bb
... etc

What am I missing?

Signature · 9 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#6 lore raw
In reply to Gary Thomas
Quoted 19 lines · Gary Thomas
Quoted 1 line · Gary Thomas

I just updated to org.openembedded.dev 556819235f501bf762c8d8cc9f41a1a8244b106f

To be clear, local.conf includes these settings:
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
IMAGE_PKGTYPE ?= "ipk"

Quoted 11 lines

Now I get these errors during the initial parse:

$ bitbake xfce-image
NOTE: Handling BitBake files: | (0046/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing /local/Angstrom_BeagleBoard/openembedded
/recipes/images/x11-gpe-image.bb
NOTE: Handling BitBake files: \ (0053/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/angstrom-gnome-image.bb
NOTE: Handling BitBake files: \ (0113/7335) [ 1 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/helloworld-image.bb
... etc

What am I missing?

angstrom-2008.1

http://lists.linuxtogo.org/pipermail/angstrom-distro-devel/2011-March/004383.html

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
In reply to Sachin Kamboj
Quoted 3 lines · Sachin Kamboj

The problem is "angstrom-2008.1" has been retired and is no longer available in the master branch. Use "angstrom-2010.x" instead as your distro. Alternatively, use the maintenance branch:

http://www.angstrom-distribution.org/angstrom-20081-moves-maintenance-branch

Thanks, that got me going.

Why didn't I get an error when I selected DISTRO="angstrom-2008.1"? There is no longer a .../conf/distro/angstrom-2008.1.conf file on the master branch.

Quoted 21 lines · Gary Thomas
Quoted 20 lines · Gary Thomas
Quoted 1 line

I just updated to org.openembedded.dev 556819235f501bf762c8d8cc9f41a1a8244b106f

To be clear, local.conf includes these settings:
DISTRO = "angstrom-2008.1"
MACHINE = "beagleboard"
IMAGE_PKGTYPE ?= "ipk"

Quoted 11 lines

Now I get these errors during the initial parse:

$ bitbake xfce-image
NOTE: Handling BitBake files: | (0046/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing /local/Angstrom_BeagleBoard/openembedded
/recipes/images/x11-gpe-image.bb
NOTE: Handling BitBake files: \ (0053/7335) [ 0 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/angstrom-gnome-image.bb
NOTE: Handling BitBake files: \ (0113/7335) [ 1 %]ERROR: global name 'runtime_mapping_rename' is not defined while parsing
/local/Angstrom_BeagleBoard/openembedded/recipes/images/helloworld-image.bb
... etc

What am I missing?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw

Am 04.04.2011 um 16:43 schrieb Gary Thomas:

Quoted 9 lines · Sachin Kamboj
Quoted 3 lines

The problem is "angstrom-2008.1" has been retired and is no longer available in the master branch. Use "angstrom-2010.x" instead as your distro. Alternatively, use the maintenance branch:

http://www.angstrom-distribution.org/angstrom-20081-moves-maintenance-branch

Thanks, that got me going.

Why didn't I get an error when I selected DISTRO="angstrom-2008.1"? There is no longer a .../conf/distro/angstrom-2008.1.conf file on the master branch.

Take a look at bitbake.conf The DISTRO configuration is included via the 'include' directive, which is a permissive include – in contrast to 'require', which is a mandatory include.

I don't recall our reasons for keeping it like that, but I remember that 'require' wasn't present at the time we wrote bitbake.conf. Perhaps we should reconsider that 'include'.

Cheers,

:M:

#5 lore raw
Quoted 7 lines · Dr. Michael Lauer

Take a look at bitbake.conf The DISTRO configuration is included via the 'include' directive, which is a permissive include – in contrast to 'require', which is a mandatory include.

I don't recall our reasons for keeping it like that, but I remember that 'require' wasn't present at the time we wrote bitbake.conf. Perhaps we should reconsider that 'include'.

Partly because, as you say, bitbake didn't support "require" at the time; and also partly because, when that part of bitbake.conf was originally written, both DISTRO and MACHINE were much more optional than they are today. (In fact, the sample local.conf still implies that it's legitimate to not select a MACHINE or DISTRO, though in practice I'm not sure that it's feasible to get any useful results if you don't.)

I agree, it seems reasonable to change that include to a require. Anybody who genuinely doesn't want a distro configuration is presumably going to be savvy enough to create a dummy file in order to keep bitbake happy.

p.