thank you 2016-02-19 14:10 GMT+01:00 Carlos Rafael Giani <[email protected]>:
> Actually, it already uses the waf bbclass: > > inherit waf pkgconfig > > > > On 2016-02-19 11:32, eien sakebe wrote: > > hello, > Thank you for your feedback. > Do you mean > http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/76501 ? > bcause it gives me annother issue | AttributeError: Values instance has no > attribute 'enable_static' > > > ERROR: libimxvpuapi-0.10.1-r0 do_configure: Function failed: do_configure > (log file is located at > /home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/temp/log.do_configure.15270) > ERROR: Logfile of failure stored in: > /home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/temp/log.do_configure.15270 > Log data follows: > | DEBUG: Executing python function sysroot_cleansstate > | DEBUG: Python function sysroot_cleansstate finished > | DEBUG: Executing shell function do_configure > | Setting top to : > /home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git > | Setting out to : > /home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/build > | Checking for 'gcc' (C compiler) : arm-poky-linux-gnueabi-gcc > -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 > --sysroot=/home/mmuser/fsl-master-next-wayland/build/tmp/sysroots/imx6dlsabresd > | Testing compiler flags -O2 -pipe -g -feliminate-unused-debug-types > -fdebug-prefix-map=/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git=/usr/src/libimxvpuapi > -fdebug-prefix-map=/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git=/usr/src/libimxvpuapi > -fdebug-prefix-map=/home/mmuser/fsl-master-next-wayland/build/tmp/sysroots/x86_64-linux= > -fdebug-prefix-map=/home/mmuser/fsl-master-next-wayland/build/tmp/sysroots/imx6dlsabresd= > | Checking if building with these flags works : yes > | Checking for compiler switch -O2 : yes > | Checking for compiler switch -DPIC : yes > | Checking for compiler switch -fPIC : yes > | Checking for compiler switch -pedantic : yes > | Checking for compiler switch -std=c99 : yes > | Checking for compiler switch -Wall : yes > | Checking for compiler switch -Wextra : yes > | Traceback (most recent call last): > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Scripting.py", > line 110, in waf_entry_point > | run_commands() > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Scripting.py", > line 171, in run_commands > | ctx=run_command(cmd_name) > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Scripting.py", > line 162, in run_command > | ctx.execute() > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Configure.py", > line 87, in execute > | super(ConfigurationContext,self).execute() > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Context.py", > line 93, in execute > | self.recurse([os.path.dirname(g_module.root_path)]) > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/.waf-1.8.16-62b1bd1a26843637845309e604a98bca/waflib/Context.py", > line 134, in recurse > | user_function(self) > | File > "/home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/git/wscript", > line 80, in configure > | conf.env['BUILD_STATIC'] = conf.options.enable_static > | AttributeError: Values instance has no attribute 'enable_static' > | WARNING: exit code 2 from a shell command. > | ERROR: Function failed: do_configure (log file is located at > /home/mmuser/fsl-master-next-wayland/build/tmp/work/imx6dlsabresd-poky-linux-gnueabi/libimxvpuapi/0.10.1-r0/temp/log.do_configure.15270) > ERROR: Task 5 > (/home/mmuser/fsl-master-next-wayland/sources/meta-fsl-arm/recipes-multimedia/libimxvpuapi/ > libimxvpuapi_0.10.1.bb, do_configure) failed with exit code '1' > NOTE: Tasks Summary: Attempted 432 tasks of which 430 didn't need to be > rerun and 1 failed. > NOTE: Writing buildhistory > Waiting for 0 running tasks to finish: > > > 2016-02-19 11:24 GMT+01:00 Burton, Ross <[email protected]>: > >> >> On 19 February 2016 at 10:11, eien sakebe < <[email protected]> >> [email protected]> wrote: >> >>> Building libimxvpu ersults on an waf: error: no such option: >>> --disable-static >>> anyone know how to fix it ? >>> >> >> There's a patch on the oe-core list for the waf class that will solve >> this, assuming libimxvpu is using that. If it isn't then set >> DISABLE_STATIC="" in the recipe (or port it to use the waf class). >> >> Ross >> > > > > > > -- > _______________________________________________ > meta-freescale mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-freescale > >
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
