Dear All,
when I bitbake fsl-image-gui ,show fail log:
Loading cache: 100% |###############################################################################################| ETA: 00:00:00
Loaded 2565 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ulevk"
DISTRO = "poky"
DISTRO_VERSION = "1.8"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):83aa565d93aacae484976562ef1ae8dbbb6b2bc0"
meta-oe
meta-multimedia = "(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e"
meta-fsl-arm = "(nobranch):c5326c90d6754c8630504ae29244907b0841c3a9"
meta-fsl-arm-extra = "(nobranch):436b86e3421736216412bdbb21cd9cb08c758c75"
meta-fsl-demos = "(nobranch):836bdf5a9d500ed258f1ddc07d89eca74a704098"
meta-bsp
meta-sdk = "(nobranch):2f59ef1080f616f391b1c488fb2204e570f90239"
meta-browser = "(nobranch):4b27058a8275a5310161459c9bb8f4c52a77762c"
meta-gnome
meta-networking
meta-python
meta-ruby
meta-filesystems = "(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e"
meta-qt5 = "(nobranch):fc026381545650e10fdd488d5b2a3b2d78f87793"
NOTE: Preparing RunQueue
WARNING: /home/build/work/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_3.14.38.bb.do_compile is tainted from a forced run
WARNING: /home/build/work/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at /home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/temp/log.do_install.19405)
ERROR: Logfile of failure stored in: /home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/temp/log.do_install.19405
Log data follows:
| DEBUG: Executing shell function do_install
| Before install bootstrap.
| Scanning installed packages
| No setuptools distribution found
| running install
| running bdist_egg
| running egg_info
| writing distribute.egg-info/PKG-INFO
| writing top-level names to distribute.egg-info/top_level.txt
| writing dependency_links to distribute.egg-info/dependency_links.txt
| writing entry points to distribute.egg-info/entry_points.txt
| reading manifest file 'distribute.egg-info/SOURCES.txt'
| reading manifest template 'MANIFEST.in'
| writing manifest file 'distribute.egg-info/SOURCES.txt'
| installing library code to build/bdist.linux-x86_64/egg
| running install_lib
| running build_py
| copying distribute.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
| copying distribute.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
| copying distribute.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
| copying distribute.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
| copying distribute.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
| creating 'dist/distribute-0.6.32-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
| Traceback (most recent call last):
| File "setup.py", line 250, in <module>
| scripts = scripts,
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", line 151, in setup
| dist.run_commands()
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
| self.run_command(cmd)
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
| cmd_obj.run()
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/distribute-0.6.32/setuptools/command/install.py", line 73, in run
| self.do_egg_install()
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/distribute-0.6.32/setuptools/command/install.py", line 93, in do_egg_install
| self.run_command('bdist_egg')
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
| self.distribution.run_command(command)
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
| cmd_obj.run()
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/distribute-0.6.32/setuptools/command/bdist_egg.py", line 241, in run
| dry_run=self.dry_run, mode=self.gen_header())
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/distribute-0.6.32/setuptools/command/bdist_egg.py", line 542, in make_zipfile
| visit(z, dirname, files)
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/distribute-0.6.32/setuptools/command/bdist_egg.py", line 532, in visit
| z.write(path, p)
| File "/home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/lib/python2.7/zipfile.py", line 1125, in write
| mtime = time.localtime(st.st_mtime)
| SystemError: new style getargs format but argument is not a tuple
| ERROR: python setup.py install execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/build/work/fsl-arm-yocto-bsp/build-fb/tmp/work/x86_64-linux/python-distribute-native/0.6.32-ml5/temp/log.do_install.19405)
ERROR: Task 954 (virtual:native:/home/build/work/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-distribute_0.6.32.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2128 tasks of which 2127 didn't need to be rerun and 1 failed.
No currently running tasks (2127 of 4181)
Summary: 1 task failed:
virtual:native:/home/build/work/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-distribute_0.6.32.bb, do_install
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
How to fixed it? host os is ubuntu 14.04(64bit) lts.
Thanks.
Hi,
From [1][2] seems to be a python version problem. On my system, I have python 2.7.6 and the problem is not reproducible. What's your python version? (python --version) .
Thank you,
Marius
[1] python 2.7 - SystemError: new style getargs format but argument is not a tuple - Stack Overflow
[2] [Python-Dev] SystemError: new style getargs format but argument is not a tuple
python version is 2.7.6 on my system.
Hello,
Perhaps it makes sense to create (separate) Virtual Machine with Ubuntu 14.04 and try all again.
Regards,
Yuri.
What is 'try all '?
Your meaning is delete dir build-fb and start from "MACHINE=imx6ulevk source fsl-setup-release.sh -b build-fb -e fb" ?
Hello,
I meant install new Ubuntu and new Yocto.
Regards,
Yuri.
How to install new Yocto?
Don't tell me refer to 'i.MX_Yocto_Project_User's_Guide.pdf' again!
My Ubuntu is new installation ,Then I refer to 'i.MX_Yocto_Project_User's_Guide.pdf' to get Yocto Project. Now I want to know who can tell me the exact answer to fixed what I met!
Hello,
From Yocto Project Reference Manual :
In order to use the build system, your host development system must meet the following version requirements for Git, tar, and Python:
Git 1.8.3.1 or greater
tar 1.24 or greater
Python 3.4.0 or greater
Regards,
Yuri.
Hello,
Please check if host environment is setup correctly.
Please use section 3 (Host Setup) of "i.MX_Yocto_Project_User's_Guide.pdf".
i.MX 6 / i.MX 7 Series Software and Development Tool|NXP
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I check the section 3 of "i.MX_Yocto_Project_User's_Guide.pdf", No problem be found. The packages is already the newest version.
Hello,
Can you try to build core-image-minimal version first (from scratch) ?
Regards,
Yuri.
it's OK, just building fsl-image-gui fail.