[poky] Error: base-files/3.0.14-r89/temp/run.do_install.80432: Syntax error: Unterminated quoted string

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Jan 17 01:51:25 PST 2019


Unless you have made changes to base-files_3.0.14.bb (which I seriously doubt), that is not the file we need. We need the file called:
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/run.do_install.80432
That file is generated by bitbake and contains the actual shell code that was run when the error occurred. It should hopefully give us a clue as to what you should look for to find the actual mistake in your recipe files.

//Peter

From: srinivasan <srinivasan.rns at gmail.com>
Sent: den 17 januari 2019 10:42
To: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Cc: poky at yoctoproject.org
Subject: Re: [poky] Error: base-files/3.0.14-r89/temp/run.do_install.80432: Syntax error: Unterminated quoted string

Hi Peter,

Thanks a lot for your quick responses and really appreciate it.

Now I have attached both the error logs and base-files_3.0.14.bb<http://base-files_3.0.14.bb>, please let me know if you require any other information from my side

Many Thanks in advance

On Thu, Jan 17, 2019 at 10:20 AM Peter Kjellerstedt <peter.kjellerstedt at axis.com<mailto:peter.kjellerstedt at axis.com>> wrote:
[ Recipient list pruned to not cross-post to every Yocto related mailing
  list out there... ]

> -----Original Message-----
> From: poky-bounces at yoctoproject.org<mailto:poky-bounces at yoctoproject.org> <poky-bounces at yoctoproject.org<mailto:poky-bounces at yoctoproject.org>> On
> Behalf Of srinivasan
> Sent: den 17 januari 2019 06:03
> To: yocto-bsp at yoctoproject.org<mailto:yocto-bsp at yoctoproject.org>; yocto-builds at yoctoproject.org<mailto:yocto-builds at yoctoproject.org>; meta-
> intel at yoctoproject.org<mailto:intel at yoctoproject.org>; Development list for the linux-yocto*.git Linux
> kernel repositories <linux-yocto at yoctoproject.org<mailto:linux-yocto at yoctoproject.org>>;
> poky at yoctoproject.org<mailto:poky at yoctoproject.org>; yocto-infrastructure at yoctoproject.org<mailto:yocto-infrastructure at yoctoproject.org>;
> yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>; meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>; meta-
> freescale-request at yoctoproject.org<mailto:freescale-request at yoctoproject.org>
> Subject: [poky] Error: base-files/3.0.14-r89/temp/run.do_install.80432:
> Syntax error: Unterminated quoted string
>
> Dear Yocto Experts,
>
> I am trying to customize my vendor specific Yocto BSP's to my custom
> OS.  I am facing the below error, could you please do the needful or
> provide me some pointers from your end for solving this issue
>
> Error:
> $ bitbake fsl-image-validation-imx
> WARNING: Host distribution "ubuntu-18.04" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution.
> Loading cache: 100%
> |######################################################################
> #######################################################################
> #######################################################################
> ###########################|
> Time: 0:00:00
> Loaded 3196 entries from dependency cache.
> Parsing recipes: 100%
> |######################################################################
> #######################################################################
> #######################################################################
> #########################|
> Time: 0:00:02
> Parsing of 2298 .bb files complete (2284 cached, 14 parsed). 3202
> targets, 398 skipped, 6 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION           = "1.38.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "aarch64-poky-linux"
> MACHINE              = "imx8mmevk"
> DISTRO               = "custom-TRK"
> DISTRO_VERSION       = "${custom_DISTRO_VERSION}"
> TUNE_FEATURES        = "aarch64"
> TARGET_FPU           = ""
> meta-traktor-imx8    = "sumo:4b25c1ee6896b5447f8502f13c28570341505360"
> meta-traktor         = "sumo:818be7ec4f768ba485e437dc26beb7bdc4b8120a"
> meta-qt5             = "qt-
> 5.11:ff6127ddd318d422f595295d1c189a86b3032873"
> meta-custom        = "sumo:d98452914e201d46a6b1360ca957d9b3e396b31f"
> meta-freescale       = "HEAD:1deea6b4a2f83521ff247ea4743d09cc705ecd8e"
> meta
> meta-poky            = "sumo:623b77885051174d0e05198843e739110977bd18"
> meta-oe
> meta-python
> meta-networking      = "sumo:8760facba1bceb299b3613b8955621ddaa3d4c3f"
> meta-bsp
> meta-sdk             = "HEAD:1de93d3d5128b8422c23a87cb8b54149e2bfb942"
>
> Initialising tasks: 100%
> |######################################################################
> #######################################################################
> #######################################################################
> ######################|
> Time: 0:00:02
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: base-files-3.0.14-r89 do_install: Function failed: do_install
> (log file is located at
> /home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_d
> istro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-
> r89/temp/log.do_install.80432)
> ERROR: Logfile of failure stored in:
> /home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_d
> istro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-
> r89/temp/log.do_install.80432
> Log data follows:
> | DEBUG: Executing python function extend_recipe_sysroot
> | NOTE: Direct dependencies are
> ['/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/re
> cipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot',
> 'virtual:native:/home/srinishanmugam/customBuild_test_rpi/custom/source
> s/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
> | NOTE: Installed into sysroot: []
> | NOTE: Skipping as already exists in sysroot: ['quilt-native',
> 'pseudo-native']
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_install
> |
> /home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_d
> istro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-
> r89/temp/run.do_install.80432:
> 176:
> /home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_d
> istro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-
> r89/temp/run.do_install.80432:
> Syntax error: Unterminated quoted string
> | WARNING: exit code 2 from a shell command.
> | ERROR: Function failed: do_install (log file is located at
> /home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_d
> istro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-
> r89/temp/log.do_install.80432)
> ERROR: Task
> (/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/rec
> ipes-core/base-files/base-files_3.0.14.bb:do_install)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1256 tasks of which 1204 didn't need to
> be rerun and 1 failed.
>
> Summary: 1 task failed:
>
> /home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/reci
> pes-core/base-files/base-files_3.0.14.bb:do_install
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.
> srinishanmugam at ni-bln-
> 07594:~/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8$
>
>
> Kindly do the needful,
> Many Thanks in advance

Have you looked at the contents of
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/run.do_install.80432
to try to determine what caused the erroneous syntax? Otherwise do that,
and if you still cannot tell what causes the problem, please attach the
file for us to look at.

//Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20190117/951a6fb5/attachment-0001.html>


More information about the poky mailing list