All of lore.kernel.org
 help / color / mirror / Atom feed
* Expansion Error during parsing of glibc_2.28 recipe
@ 2019-01-28 19:54 Dhanush K.S
  0 siblings, 0 replies; only message in thread
From: Dhanush K.S @ 2019-01-28 19:54 UTC (permalink / raw)
  To: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 3788 bytes --]

Hello,

I'm trying to upgrade the glibc recipe from version 2.27 to 2.28 in Yocto
Sumo 2.5. Building the recipe for both qemux86 and for arm-cortex-a8
machines throws an Expansion error as below.

WARNING: /source/meta-openembedded/meta-oe/recipes-extended/liblockfile/
liblockfile_1.14.bb: Unable to get checksum for liblockfile SRC_URI entry
0001-Makefile.in-install-nfslock.so-and-nfslock.so.0.patch: file could not
be found       | ETA:  0:00:58
WARNING: /source/poky-sumo-19.0.0/meta/recipes-core/glibc/glibc_2.28.bb:
Exception during build_dependencies for
do_fix_readlib_c##############################################################################################
           | ETA:  0:00:04
WARNING: /source/poky-sumo-19.0.0/meta/recipes-core/glibc/glibc_2.28.bb:
Error during finalise of /source/poky-sumo-19.0.0/meta/recipes-core/glibc/
glibc_2.28.bb
ERROR: ExpansionError during parsing
/source/poky-sumo-19.0.0/meta/recipes-core/glibc/glibc_2.28.bb
Traceback (most recent call last):
  File "/source/poky-sumo-19.0.0/meta/classes/utils.bbclass", line 331, in
all_multilib_tune_values(d=<bb.data_smart.DataSmart object at
0x7fdea72d1630>, var='GLIBC_GETLOADER', unique=True, need_split=True,
delim=' '):
         values = []
    >    value = d.getVar(var) or ""
         if value != "":
  File "/source/poky-sumo-19.0.0/bitbake/lib/bb/data_smart.py", line 608,
in DataSmart.getVar(var='GLIBC_GETLOADER', expand=True,
noweakdefault=False, parsing=False):
         def getVar(self, var, expand=True, noweakdefault=False,
parsing=False):
    >        return self.getVarFlag(var, "_content", expand, noweakdefault,
parsing)

  File "/source/poky-sumo-19.0.0/bitbake/lib/bb/data_smart.py", line 794,
in DataSmart.getVarFlag(var='GLIBC_GETLOADER', flag='_content',
expand=True, noweakdefault=False, parsing=False):
                     cachename = var + "[" + flag + "]"
    >            value = self.expand(value, cachename)

  File "/source/poky-sumo-19.0.0/bitbake/lib/bb/data_smart.py", line 436,
in DataSmart.expand(s='${@get_linuxloader(d)}', varname='GLIBC_GETLOADER'):
         def expand(self, s, varname = None):
    >        return self.expandWithRefs(s, varname).value

  File "/source/poky-sumo-19.0.0/bitbake/lib/bb/data_smart.py", line 426,
in DataSmart.expandWithRefs(s='${@get_linuxloader(d)}',
varname='GLIBC_GETLOADER'):
                 except Exception as exc:
    >                raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable GLIBC_GETLOADER,
expression was ${@get_linuxloader(d)} which triggered exception NameError:
name 'get_linuxloader' is not defined

WARNING: /source/poky-sumo-19.0.0/meta/recipes-core/glibc/
glibc-initial_2.28.bb: Exception during build_dependencies for
do_fix_readlib_c
WARNING: /source/poky-sumo-19.0.0/meta/recipes-core/glibc/
glibc-initial_2.28.bb: Error during finalise of
/source/poky-sumo-19.0.0/meta/recipes-core/glibc/glibc-initial_2.28.bb

Using devtool to upgrade the recipe doesn't work as well. Just changes the
recipe name but the SRC_URI remains the same as that of v2.27.

What am I missing here?

Here is my build config.

*Build Configuration:
*>* BB_VERSION           = "1.37.0"
*>* BUILD_SYS            = "x86_64-linux"
*>* NATIVELSBSTRING      = "universal-4.8"
*>* TARGET_SYS           = "arm-poky-linux-gnueabi"
*>* MACHINE              = "arm-cortex-a8"
*>* DISTRO               = "poky"
*>* DISTRO_VERSION       = "2.5"
*>* TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard cortexa8"
*>* TARGET_FPU           = "hard"*>* meta-poky
*>* meta-yocto-bsp*>* meta-oe              =
"master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2*

*Thanks!*

*-Dhanush*

[-- Attachment #2: Type: text/html, Size: 6503 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-28 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28 19:54 Expansion Error during parsing of glibc_2.28 recipe Dhanush K.S

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.