* failed to compile php_7.2.10.bb
[not found] <CANmTPBb3rEK8t6j+bUX92dS7UZCQpu0-ZoEGCDzgq7FBgZUXOA@mail.gmail.com>
@ 2018-10-10 20:03 ` Simon Chamlian
2018-10-10 20:10 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Simon Chamlian @ 2018-10-10 20:03 UTC (permalink / raw)
To: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 2791 bytes --]
Hi,
I tried to bitbake php_7.2.10.bb and I am getting the following error.
Did anyone tried to compile php_7.2.10.bb ?
Any clue on what the issue can be ?
*$ bitbake php*
Loading cache: 100%
|###########################################################################################################################################|
Time: 0:00:01
Loaded 3104 entries from dependency cache.
ERROR: ExpansionError during parsing
/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-openembedded/meta-oe/recipes-devtools/php/
php_7.2.10.bb
| ETA: --:--:--
Traceback (most recent call last):
File
"/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/classes/base.bbclass", line
375, in
__anon_656__opt_PHYTEC_BSPs_yocto_imx7_sources_poky_meta_classes_base_bbclass(d=<bb.data_smart.DataSmart
object at 0x7f9ee5719860>):
pkgconfig = (d.getVar('PACKAGECONFIG', True) or "").split()
> pn = d.getVar("PN", True)
File
"/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/bitbake/lib/bb/data_smart.py",
line 569, in DataSmart.getVar(var='PACKAGECONFIG', expand=True,
noweakdefault=False, parsing=False):
def getVar(self, var, expand, noweakdefault=False, parsing=False):
> return self.getVarFlag(var, "_content", expand, noweakdefault,
parsing)
File
"/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/bitbake/lib/bb/data_smart.py",
line 737, in DataSmart.getVarFlag(var='PACKAGECONFIG', flag='_content',
expand=True, noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)
File
"/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/bitbake/lib/bb/data_smart.py",
line 410, in DataSmart.expand(s="mysql sqlite3 imap opcache
openssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6
pam', d)} apache2 sqlite3 pgsql ", varname='PACKAGECONFIG'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value
File
"/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/bitbake/lib/bb/data_smart.py",
line 400, in DataSmart.expandWithRefs(s="mysql sqlite3 imap opcache
openssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6
pam', d)} apache2 sqlite3 pgsql ", varname='PACKAGECONFIG'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable PACKAGECONFIG,
expression was mysql sqlite3 imap opcache openssl
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} apache2 sqlite3
pgsql which triggered exception AttributeError: module 'bb.utils' has no
attribute 'filter'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
*$*
Thanks,
S.
[-- Attachment #2: Type: text/html, Size: 3955 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: failed to compile php_7.2.10.bb
2018-10-10 20:03 ` failed to compile php_7.2.10.bb Simon Chamlian
@ 2018-10-10 20:10 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2018-10-10 20:10 UTC (permalink / raw)
To: Simon Chamlian; +Cc: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
On Wed, Oct 10, 2018 at 04:03:55PM -0400, Simon Chamlian wrote:
> Hi,
>
> I tried to bitbake php_7.2.10.bb and I am getting the following error.
>
> Did anyone tried to compile php_7.2.10.bb ?
>
> Any clue on what the issue can be ?
>
> bb.data_smart.ExpansionError: Failure expanding variable PACKAGECONFIG,
> expression was mysql sqlite3 imap opcache openssl
> ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} apache2 sqlite3
> pgsql which triggered exception AttributeError: module 'bb.utils' has no
> attribute 'filter'
You're missing different versions of oe-core and meta-oe, use both from
the same branch and it will work.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-10 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CANmTPBb3rEK8t6j+bUX92dS7UZCQpu0-ZoEGCDzgq7FBgZUXOA@mail.gmail.com>
2018-10-10 20:03 ` failed to compile php_7.2.10.bb Simon Chamlian
2018-10-10 20:10 ` Martin Jansa
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.