Tool/software: Linux
Dear,
We are continuously working on AM4378 based board with sitara linux. Now i want to make java (GUI application) work in sitara linux. Since java is not included in the SDK, I tried to build sdk with X11 from SDK source (4.02.00.09). I referred below web guidelines to build sdk with x11 from sdk source file.
It gives error while building. please find attached terminal error report
.
futura@futura:~/tisdk$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.01.00.06-x11-config.txt /home/futura/tisdk cloning repo bitbake Fetching origin Previous HEAD position was 887ea6d... codeparser.py: support deeply nested tokens Switched to branch '1.32' Your branch is up-to-date with 'origin/1.32'. Already up-to-date. Note: checking out '887ea6d25cee5114365dfbf1130603599e13ee80'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 887ea6d... codeparser.py: support deeply nested tokens cloning repo meta-processor-sdk Fetching origin remote: Counting objects: 8, done. remote: Compressing objects: 100% (5/5), done. remote: Total 6 (delta 2), reused 0 (delta 0) Unpacking objects: 100% (6/6), done. From git://arago-project.org/git/projects/meta-processor-sdk 2c92e4d..08d8c87 master -> origin/master Switched to branch 'morty-x11-experimental' Your branch is up-to-date with 'origin/morty-x11-experimental'. Already up-to-date. Note: checking out 'cb3ee0c165ef4e71e1aad16812652ca1371a9c80'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at cb3ee0c... ti-xsgx-ddk-um: enable script xorg as executable cloning repo meta-arago Fetching origin remote: Counting objects: 220, done. Receiving objects: 100% (129/129), 13.03 KiB | 0 bytes/s, done. Resolving deltas: 100% (84/84), completed with 49 local objects. remote: Compressing objects: 100% (54/54), done. remote: Total 129 (delta 84), reused 110 (delta 73) From git://arago-project.org/git/meta-arago 7f3ff5c..51fede8 master -> origin/master 85ef2d6..691768b morty -> origin/morty 85ef2d6..691768b morty-next -> origin/morty-next 035bd56..db7f62c rocko -> origin/rocko Previous HEAD position was 8f49ed6... ltp-ddt: Update to latest Switched to branch 'morty' Your branch is behind 'origin/morty' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Updating 85ef2d6..691768b Fast-forward meta-arago-distro/conf/distro/arago.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) Note: checking out '8f49ed67d0627a04ac72fd388fda7756273ba2d7'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 8f49ed6... ltp-ddt: Update to latest cloning repo meta-browser Fetching origin Previous HEAD position was 08576b0... Merge pull request #58 from kraj/kraj/master Switched to branch 'master' Your branch is up-to-date with 'origin/master'. Already up-to-date. Note: checking out '08576b03af624b65ad949c410d84c11c7d1f2e39'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 08576b0... Merge pull request #58 from kraj/kraj/master cloning repo meta-openamp Fetching origin remote: Counting objects: 6, done. remote: Total 6 (delta 3), reused 3 (delta 3), pack-reused 3 Unpacking objects: 100% (6/6), done. From git://github.com/OpenAMP/meta-openamp eca497e..55bd65a master -> origin/master Switched to branch 'morty' Your branch is up-to-date with 'origin/morty'. Already up-to-date. Note: checking out '8a214032bfb7e8124bc1485c70c69f7d60abb819'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 8a21403... device tree: remove "-e" echo option cloning repo meta-qt5 Fetching origin remote: Counting objects: 47, done. remote: Compressing objects: 100% (2/2), done. remote: Total 47 (delta 45), reused 47 (delta 45), pack-reused 0 Unpacking objects: 100% (47/47), done. From git://github.com/meta-qt5/meta-qt5 6919759..2b7fc84 jansa/master -> origin/jansa/master 6919759..2b7fc84 master-next -> origin/master-next Switched to branch 'morty' Your branch is up-to-date with 'origin/morty'. Already up-to-date. Note: checking out '2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 2c9f0e4... nativesdk-qtbase: pass -no-icu for deterministic builds cloning repo meta-openembedded Fetching origin remote: Counting objects: 5, done. remote: Compressing objects: 100% (4/4), done. remote: Total 5 (delta 3), reused 0 (delta 0) Unpacking objects: 100% (5/5), done. From git://git.openembedded.org/meta-openembedded 0277d70..2f7de93 master -> origin/master Previous HEAD position was fe5c833... libdnet: Update SRC_URI to fix checksum errors Switched to branch 'morty' Your branch is up-to-date with 'origin/morty'. Already up-to-date. Note: checking out 'fe5c83312de11e80b85680ef237f8acb04b4b26e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at fe5c833... libdnet: Update SRC_URI to fix checksum errors cloning repo meta-ti Fetching origin remote: Counting objects: 29, done. remote: Compressing objects: 100% (23/23), done. remote: Total 29 (delta 23), reused 7 (delta 6) Unpacking objects: 100% (29/29), done. From git://git.yoctoproject.org/meta-ti 50ed1fe..4c530a4 master -> origin/master 7d52a5b..e00952e morty -> origin/morty 7d52a5b..e00952e morty-next -> origin/morty-next 14c6b0e..4a746c7 rocko -> origin/rocko Previous HEAD position was a18d57a... ti-ipc-rtos: add default symlinks for Keystone DSP firmware images Switched to branch 'morty' Your branch is behind 'origin/morty' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Updating 7d52a5b..e00952e Fast-forward recipes-ti/includes/ti-paths.inc | 1 + 1 file changed, 1 insertion(+) Note: checking out 'a18d57af8384ced25996739bb66d197c69efb77b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at a18d57a... ti-ipc-rtos: add default symlinks for Keystone DSP firmware images cloning repo meta-linaro Fetching origin Previous HEAD position was 49b0f32... meta-linaro: move genericarmv8*.conf machines Switched to branch 'morty' Your branch is up-to-date with 'origin/morty'. Already up-to-date. Note: checking out '49b0f32d7e955f250b0022d1b2f403f45a2c2d9c'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 49b0f32... meta-linaro: move genericarmv8*.conf machines cloning repo oe-core Fetching origin remote: Counting objects: 361, done. remote: Compressing objects: 100% (104/104), done. remote: Total 361 (delta 253), reused 360 (delta 252) Receiving objects: 100% (361/361), 65.06 KiB | 51.00 KiB/s, done. Resolving deltas: 100% (253/253), completed with 80 local objects. From git://git.openembedded.org/openembedded-core 0a5bbad..cf35551 master -> origin/master + 6bd2303...cf35551 master-next -> origin/master-next (forced update) Previous HEAD position was e391113... libgcrypt: fix CVE-2017-7526 Switched to branch 'morty' Your branch is up-to-date with 'origin/morty'. Already up-to-date. Note: checking out 'e3911133ee9aad7cc3ae89faea80a097f6614fab'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at e391113... libgcrypt: fix CVE-2017-7526 ################################################################################ The bblayers.conf configuration file has been created for you with some default values. Please verify the contents of your conf/bblayers.conf file for correctness. NOTE: Any additional entries to this file will be lost if the ./oe-layertool-setup.sh script is run again. To add entries permanently to this file please add them to the config file used and rerun the ./oe-layertool-setup.sh script. ################################################################################ The local.conf configuration file has been created for you with some default values. Please verify the contents of your conf/local.conf file for correctness. By default the number of threads used by the build is set to the number of CPUs found on your system. NOTE: You will probably want to change the default MACHINE setting in the local.conf file to the machine you are trying to build. WARNING: Found existing /home/futura/tisdk/build/conf/local.conf Saving a backup to /home/futura/tisdk/build/conf/local.conf.bak ################################################################################ A setenv file has been created for you in the conf directory. Please verify The contents of this file. Once you have verified the contents please source this file to configure your environment for building: . conf/setenv You can then start building using the bitbake command. You will likely want to set the MACHINE option if you have not done so in your local.conf file. For example: MACHINE=xxxxx bitbake <target> Common targets are: core-image-minimal core-image-sato meta-toolchain meta-toolchain-sdk adt-installer meta-ide-support futura@futura:~/tisdk$ cd build/ futura@futura:~/tisdk/build$ . conf/setenv futura@futura:~/tisdk/build$ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH futura@futura:~/tisdk/build$ MACHINE=am437x-evm bitbake arago-core-tisdk-image NOTE: Your conf/bblayers.conf has been automatically updated. NOTE: Your conf/bblayers.conf has been automatically updated. Loading cache: 100% |############################################| Time: 0:00:00 Loaded 3259 entries from dependency cache. Parsing recipes: 100% |##########################################| Time: 0:00:13 Parsing of 2511 .bb files complete (2063 cached, 448 parsed). 3259 targets, 545 skipped, 0 masked, 0 errors. WARNING: No recipes available for: /home/futura/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-linux-gnueabi" MACHINE = "am437x-evm" DISTRO = "arago" DISTRO_VERSION = "2017.06" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard" TARGET_FPU = "hard" meta-processor-sdk = "HEAD:cb3ee0c165ef4e71e1aad16812652ca1371a9c80" meta-arago-distro meta-arago-extras = "HEAD:8f49ed67d0627a04ac72fd388fda7756273ba2d7" meta-browser = "HEAD:08576b03af624b65ad949c410d84c11c7d1f2e39" meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819" meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b" meta-networking meta-ruby meta-python meta-oe meta-gnome = "HEAD:fe5c83312de11e80b85680ef237f8acb04b4b26e" meta-ti = "HEAD:a18d57af8384ced25996739bb66d197c69efb77b" meta-linaro-toolchain meta-optee = "HEAD:49b0f32d7e955f250b0022d1b2f403f45a2c2d9c" meta = "HEAD:e3911133ee9aad7cc3ae89faea80a097f6614fab" Initialising tasks: 100% |#######################################| Time: 0:00:15 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: ti-sysbios-6_46_05_55-r0 do_install: Function failed: do_install (log file is located at /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-sysbios/6_46_05_55-r0/temp/log.do_install.5228) ERROR: Logfile of failure stored in: /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-sysbios/6_46_05_55-r0/temp/log.do_install.5228 Log data follows: | DEBUG: Executing shell function do_install | cp: cannot stat ‘/home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-sysbios/6_46_05_55-r0/bios_6_46_05_55/*’: No such file or directory | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_install (log file is located at /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ti-sysbios/6_46_05_55-r0/temp/log.do_install.5228) ERROR: Task (/home/futura/tisdk/sources/meta-ti/recipes-ti/bios/ti-sysbios_6.46.05.55.bb:do_install) failed with exit code '1' ERROR: linux-ti-staging-4.9.41+gitAUTOINC+e3a80a1c5c-r3c.arago5.tisdk9 do_create_srcipk: Function failed: do_create_srcipk (log file is located at /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/am437x_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r3c.arago5.tisdk9/temp/log.do_create_srcipk.3755) ERROR: Logfile of failure stored in: /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/am437x_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r3c.arago5.tisdk9/temp/log.do_create_srcipk.3755 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_create_srcipk | /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/am437x_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r3c.arago5.tisdk9/temp/run.do_create_srcipk.3755: 212: [: true: unexpected operator | error: inflate: data stream error (incorrect data check) | error: failed to unpack compressed delta at offset 435900272 from /home/futura/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack | error: failed to read object a72065ed64d14aeb3d8504221af3ed6925576c6a at offset 435900268 from /home/futura/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack | fatal: packed object a72065ed64d14aeb3d8504221af3ed6925576c6a (stored in /home/futura/tisdk/downloads/git2/git.ti.com.processor-sdk.processor-sdk-linux.git/objects/pack/pack-823a4a591ace78c157b5297f3edb7b20b7b54680.pack) is corrupt | WARNING: exit code 128 from a shell command. | ERROR: Function failed: do_create_srcipk (log file is located at /home/futura/tisdk/build/arago-tmp-external-linaro-toolchain/work/am437x_evm-linux-gnueabi/linux-ti-staging/4.9.41+gitAUTOINC+e3a80a1c5c-r3c.arago5.tisdk9/temp/log.do_create_srcipk.3755) ERROR: Task (/home/futura/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_create_srcipk) failed with exit code '1' NOTE: Tasks Summary: Attempted 1735 tasks of which 1730 didn't need to be rerun and 2 failed. Summary: 2 tasks failed: /home/futura/tisdk/sources/meta-ti/recipes-ti/bios/ti-sysbios_6.46.05.55.bb:do_install /home/futura/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_create_srcipk Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. futura@futura:~/tisdk/build$
I run below command to build sdk with X11.
git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
cd /home/futura/tisdk/
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.01.00.06-x11-config.txt
cd build/
. conf/setenv
export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
MACHINE=am437x-evm bitbake arago-core-tisdk-image
Our ultimate aim is to make java work in sitara linux. I installed utilities like makeinfo,gawk,chrpath, etc.
Kindly provide the way how to make java work in sitara linux?
How do i solve the above attached error while building sdk with X11?
Regards,
Winiston.P