[meta-freescale] Adding php package to fsl-image-machine-test

Gary Thomas gary at mlbassoc.com
Wed Dec 3 07:47:40 PST 2014


On 2014-12-03 08:12, Philippe BALLEYDIER wrote:
> Hi everyone
>
>
> After digging in the log file, i realized that one command was failling
>
> /media/philippe/data/release/build-sb/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/media/philippe/data/release/build-sb/tmp/work/imx6qsabresd-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y run-postinsts at all php-cgi at cortexa9hf_vfp_neon openssh at cortexa9hf_vfp_neon lighttpd at cortexa9hf_vfp_neon php at cortexa9hf_vfp_neon packagegroup-core-boot at imx6qsabresd
>
> So i tried to run it by myself and i figured out that the SMART package was missing. I tried to install it via the ubuntu packet manager, but it seems there is multiple things missing.

What do you mean it was missing?  It's built as part of your system build
(hence the tmp/sysroots path in your message above)

There is probably more useful information about the error in the file
   /media/philippe/data/release/build-sb/tmp/work/imx6qsabresd-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_install
Have you looked at it?

>
> Any ideas about this issue?
>
>
> ________________________________________
> De : meta-freescale-bounces at yoctoproject.org [meta-freescale-bounces at yoctoproject.org] de la part de Philippe BALLEYDIER [PBalleydier at visionsystems.fr]
> Envoyé : vendredi 28 novembre 2014 08:23
> À : meta-freescale at yoctoproject.org
> Objet : [meta-freescale] Adding php package to fsl-image-machine-test
>
> Hi
>
> I'm trying to install a webserver (lighttpd + php) on a Sabre Board (fsl-image-machine-test dizzy branch)
> So i basically added these lines to the local.conf file:
> ----------------------------------------------------------------------------------------------------------------------
> CORE_IMAGE_EXTRA_INSTALL += " \
> openssh \
> lighttpd \
> php \
> "
> ----------------------------------------------------------------------------------------------------------------------
>
>
>
> when i bitbake it, everything is going as expected without any errors (php actually being baked) until it reachs the end (2 tasks left):
> 0: fsl-image-machine-test-1.0-r0 do_rootfs
>
> Then i get this error:
> ----------------------------------------------------------------------------------------------------------------------
> ERROR: Unable to install packages. Command '/media/philippe/data/release/build-sb/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/media/philippe/data/release/build-sb/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-machine-test/1.0-r0/rootfs/var/lib/smart install -y packagegroup-fsl-tools-gpu at imx6qsabresd packagegroup-core-tools-testapps at imx6qsabresd packagegroup-fsl-tools-testapps at all run-postinsts at all packagegroup-fsl-tools-benchmark at imx6qsabresd packagegroup-core-x11-base at all packagegroup-base-extended at imx6qsabresd openssh at cortexa9hf_vfp_neon packagegroup-core-tools-profile at imx6qsabresd lighttpd at cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full at all packagegroup-fsl-tools-gpu-external at all packagegroup-fsl-gstreamer at imx6qsabresd php at cortexa9hf_vfp_neon packagegroup-core-boot at imx6qsabresd locale-base-en-us at cortexa9hf_vfp_neon locale-base-en-gb at cortexa9hf_vfp_neon' returned 1:
> error: Can't install php-5.4.33-r0 at cortexa9hf_vfp_neon: no package provides /media/philippe/data/release/build-sb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/php/5.4.33-r0/image/usr/bin/php
>
>
> ERROR: Function failed: do_rootfs
> ERROR: Logfile of failure stored in: /media/philippe/data/release/build-sb/tmp/work/imx6qsabresd-poky-linux-gnueabi/fsl-image-machine-test/1.0-r0/temp/log.do_rootfs.1977
> ERROR: Task 7 (/media/philippe/data/release/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-machine-test.bb, do_rootfs) failed with exit code '1'
> ----------------------------------------------------------------------------------------------------------------------
>
>
>
> Any ideas of what would be the issue?
> Any pointers would be of great help
>
> I'm joining the full log in attachment
>
>
> Best regards
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list