All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding php package to fsl-image-machine-test
@ 2014-11-28  7:23 Philippe BALLEYDIER
  2014-11-28 15:19 ` Otavio Salvador
  2014-12-03 15:12 ` Philippe BALLEYDIER
  0 siblings, 2 replies; 15+ messages in thread
From: Philippe BALLEYDIER @ 2014-11-28  7:23 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]

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@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon' returned 1:
error: Can't install php-5.4.33-r0@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

[-- Attachment #2: log.do_rootfs.1977 --]
[-- Type: application/octet-stream, Size: 4060 bytes --]

DEBUG: Executing python function rootfs_process_ignore
DEBUG: Python function rootfs_process_ignore finished
DEBUG: Executing python function rootfs_runtime_mapping
DEBUG: Python function rootfs_runtime_mapping finished
DEBUG: Executing python function do_rootfs
NOTE: configuring RPM platform settings
NOTE: configuring RPM system provides
NOTE: configuring RPM DB settings
NOTE: configuring Smart settings
NOTE: Note: adding Smart channel imx6qsabresd (65)
NOTE: Note: adding Smart channel cortexa9hf_vfp_neon_mx6qdl (60)
NOTE: Note: adding Smart channel cortexa9hf_vfp_neon (55)
NOTE: Note: adding Smart channel all (50)
NOTE: adding Smart RPM DB channel
NOTE: Note: configuring RPM cross-install scriptlet_wrapper
NOTE: ###### Generate rootfs #######
NOTE: Executing '/media/philippe/data/release/build-sb/tmp/sysroots/x86_64-linux/usr/bin/createrepo --update -q /media/philippe/data/release/build-sb/tmp/deploy/rpm/cortexa9hf_vfp_neon_mx6qdl' ...
NOTE: Installing the following packages: packagegroup-fsl-tools-gpu packagegroup-core-tools-testapps packagegroup-fsl-tools-testapps run-postinsts packagegroup-fsl-tools-benchmark packagegroup-core-x11-base packagegroup-base-extended openssh packagegroup-core-tools-profile lighttpd packagegroup-fsl-gstreamer-full packagegroup-fsl-tools-gpu-external packagegroup-fsl-gstreamer php packagegroup-core-boot locale-base-en-us locale-base-en-gb
NOTE: to be installed: packagegroup-fsl-tools-gpu@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon
NOTE: /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@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon
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@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon' returned 1:
error: Can't install php-5.4.33-r0@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


DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-11-28  7:23 Adding php package to fsl-image-machine-test Philippe BALLEYDIER
@ 2014-11-28 15:19 ` Otavio Salvador
  2014-12-01  7:28   ` Philippe BALLEYDIER
  2014-12-03 15:12 ` Philippe BALLEYDIER
  1 sibling, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2014-11-28 15:19 UTC (permalink / raw)
  To: Philippe BALLEYDIER; +Cc: meta-freescale@yoctoproject.org

Hello Philippe,

On Fri, Nov 28, 2014 at 5:23 AM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> 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 \
> "
> ----------------------------------------------------------------------------------------------------------------------

This is weird; please send your local.conf (without the comments) so
we can take a look on what it might be triggering it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-11-28 15:19 ` Otavio Salvador
@ 2014-12-01  7:28   ` Philippe BALLEYDIER
  2014-12-01 12:38     ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Philippe BALLEYDIER @ 2014-12-01  7:28 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

Hi,

here is my local.conf file

Best regards
________________________________________
De : otavio.salvador@gmail.com [otavio.salvador@gmail.com] de la part de Otavio Salvador [otavio@ossystems.com.br]
Envoyé : vendredi 28 novembre 2014 16:19
À : Philippe BALLEYDIER
Cc : meta-freescale@yoctoproject.org
Objet : Re: [meta-freescale] Adding php package to fsl-image-machine-test

Hello Philippe,

On Fri, Nov 28, 2014 at 5:23 AM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> 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 \
> "
> ----------------------------------------------------------------------------------------------------------------------

This is weird; please send your local.conf (without the comments) so
we can take a look on what it might be triggering it.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

[-- Attachment #2: local.conf --]
[-- Type: application/octet-stream, Size: 729 bytes --]

MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K" 
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '16'
PARALLEL_MAKE = '-j 4'

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"


CORE_IMAGE_EXTRA_INSTALL += " \
openssh \
lighttpd \
php \
"

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-01  7:28   ` Philippe BALLEYDIER
@ 2014-12-01 12:38     ` Otavio Salvador
  2014-12-01 13:40       ` Philippe BALLEYDIER
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2014-12-01 12:38 UTC (permalink / raw)
  To: Philippe BALLEYDIER; +Cc: meta-freescale@yoctoproject.org

On Mon, Dec 1, 2014 at 5:28 AM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> here is my local.conf file

Your file is very straightforward.

Without debugging and reproducing the issue I think I won't be able to help :-(

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-01 12:38     ` Otavio Salvador
@ 2014-12-01 13:40       ` Philippe BALLEYDIER
  2014-12-01 14:29         ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Philippe BALLEYDIER @ 2014-12-01 13:40 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Everything is building properly for you?

-----Message d'origine-----
De : otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] De la part de Otavio Salvador
Envoyé : lundi 1 décembre 2014 13:38
À : Philippe BALLEYDIER
Cc : meta-freescale@yoctoproject.org
Objet : Re: [meta-freescale] Adding php package to fsl-image-machine-test

On Mon, Dec 1, 2014 at 5:28 AM, Philippe BALLEYDIER <PBalleydier@visionsystems.fr> wrote:
> here is my local.conf file

Your file is very straightforward.

Without debugging and reproducing the issue I think I won't be able to help :-(

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-01 13:40       ` Philippe BALLEYDIER
@ 2014-12-01 14:29         ` Otavio Salvador
  0 siblings, 0 replies; 15+ messages in thread
From: Otavio Salvador @ 2014-12-01 14:29 UTC (permalink / raw)
  To: Philippe BALLEYDIER; +Cc: meta-freescale@yoctoproject.org

On Mon, Dec 1, 2014 at 11:40 AM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> Everything is building properly for you?

http://ci.ossystems.com.br/public/fsl-community-bsp/daisy/79

But this does not include PHP so it can still have something hidden there.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-11-28  7:23 Adding php package to fsl-image-machine-test Philippe BALLEYDIER
  2014-11-28 15:19 ` Otavio Salvador
@ 2014-12-03 15:12 ` Philippe BALLEYDIER
  2014-12-03 15:29   ` Otavio Salvador
  2014-12-03 15:47   ` Gary Thomas
  1 sibling, 2 replies; 15+ messages in thread
From: Philippe BALLEYDIER @ 2014-12-03 15:12 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

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@all php-cgi@cortexa9hf_vfp_neon openssh@cortexa9hf_vfp_neon lighttpd@cortexa9hf_vfp_neon php@cortexa9hf_vfp_neon packagegroup-core-boot@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.
 
Any ideas about this issue?


________________________________________
De : meta-freescale-bounces@yoctoproject.org [meta-freescale-bounces@yoctoproject.org] de la part de Philippe BALLEYDIER [PBalleydier@visionsystems.fr]
Envoyé : vendredi 28 novembre 2014 08:23
À : meta-freescale@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@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon' returned 1:
error: Can't install php-5.4.33-r0@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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-03 15:12 ` Philippe BALLEYDIER
@ 2014-12-03 15:29   ` Otavio Salvador
  2014-12-03 15:42     ` Philippe BALLEYDIER
  2014-12-03 15:47   ` Gary Thomas
  1 sibling, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2014-12-03 15:29 UTC (permalink / raw)
  To: Philippe BALLEYDIER; +Cc: meta-freescale@yoctoproject.org

On Wed, Dec 3, 2014 at 1:12 PM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> 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@all php-cgi@cortexa9hf_vfp_neon openssh@cortexa9hf_vfp_neon lighttpd@cortexa9hf_vfp_neon php@cortexa9hf_vfp_neon packagegroup-core-boot@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.
>
> Any ideas about this issue?

What host operating system are you using?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-03 15:29   ` Otavio Salvador
@ 2014-12-03 15:42     ` Philippe BALLEYDIER
  2014-12-03 15:51       ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Philippe BALLEYDIER @ 2014-12-03 15:42 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Ubuntu 12.04 LTS

________________________________________
De : otavio.salvador@gmail.com [otavio.salvador@gmail.com] de la part de Otavio Salvador [otavio@ossystems.com.br]
Envoyé : mercredi 3 décembre 2014 16:29
À : Philippe BALLEYDIER
Cc : meta-freescale@yoctoproject.org
Objet : Re: [meta-freescale] Adding php package to fsl-image-machine-test

On Wed, Dec 3, 2014 at 1:12 PM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> 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@all php-cgi@cortexa9hf_vfp_neon openssh@cortexa9hf_vfp_neon lighttpd@cortexa9hf_vfp_neon php@cortexa9hf_vfp_neon packagegroup-core-boot@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.
>
> Any ideas about this issue?

What host operating system are you using?

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-03 15:12 ` Philippe BALLEYDIER
  2014-12-03 15:29   ` Otavio Salvador
@ 2014-12-03 15:47   ` Gary Thomas
  1 sibling, 0 replies; 15+ messages in thread
From: Gary Thomas @ 2014-12-03 15:47 UTC (permalink / raw)
  To: meta-freescale

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@all php-cgi@cortexa9hf_vfp_neon openssh@cortexa9hf_vfp_neon lighttpd@cortexa9hf_vfp_neon php@cortexa9hf_vfp_neon packagegroup-core-boot@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@yoctoproject.org [meta-freescale-bounces@yoctoproject.org] de la part de Philippe BALLEYDIER [PBalleydier@visionsystems.fr]
> Envoyé : vendredi 28 novembre 2014 08:23
> À : meta-freescale@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@imx6qsabresd packagegroup-core-tools-testapps@imx6qsabresd packagegroup-fsl-tools-testapps@all run-postinsts@all packagegroup-fsl-tools-benchmark@imx6qsabresd packagegroup-core-x11-base@all packagegroup-base-extended@imx6qsabresd openssh@cortexa9hf_vfp_neon packagegroup-core-tools-profile@imx6qsabresd lighttpd@cortexa9hf_vfp_neon packagegroup-fsl-gstreamer-full@all packagegroup-fsl-tools-gpu-external@all packagegroup-fsl-gstreamer@imx6qsabresd php@cortexa9hf_vfp_neon packagegroup-core-boot@imx6qsabresd locale-base-en-us@cortexa9hf_vfp_neon locale-base-en-gb@cortexa9hf_vfp_neon' returned 1:
> error: Can't install php-5.4.33-r0@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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-03 15:42     ` Philippe BALLEYDIER
@ 2014-12-03 15:51       ` Otavio Salvador
  2015-01-09 12:39         ` Tord Andersson
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2014-12-03 15:51 UTC (permalink / raw)
  To: Philippe BALLEYDIER; +Cc: meta-freescale@yoctoproject.org

On Wed, Dec 3, 2014 at 1:42 PM, Philippe BALLEYDIER
<PBalleydier@visionsystems.fr> wrote:
> Ubuntu 12.04 LTS

The smart tool is generated by the Yocto Project tools during the
build process. I am afraid it is something specific you have changed
locally but without debugging it is hard to guess.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2014-12-03 15:51       ` Otavio Salvador
@ 2015-01-09 12:39         ` Tord Andersson
  2015-01-09 14:21           ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Tord Andersson @ 2015-01-09 12:39 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org; +Cc: Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

Hi,

Seems I've got the same problem with php as Phillipe!
To make sure there was no custom changes affecting the build, I used a clean Wandboard setup with repos and configuration as documented on the Wandboard wiki.
The problem with missing package for /usr/bin/php was seen when building core-image-minimal with added php and php-cgi.
Tested on both Ubuntu 14.04 LTS and Debian-8.0 (both X86_64) using Dizzy.
If anyone has information on how to overcome this obstacle it would be greatly appreciated!

Regards,

Tord

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2015-01-09 12:39         ` Tord Andersson
@ 2015-01-09 14:21           ` Otavio Salvador
  2015-01-09 16:00             ` Tord Andersson
  0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2015-01-09 14:21 UTC (permalink / raw)
  To: Tord Andersson; +Cc: meta-freescale@yoctoproject.org

On Fri, Jan 9, 2015 at 10:39 AM, Tord Andersson
<tord.andersson@endian.se> wrote:
> Seems I've got the same problem with php as Phillipe!
> To make sure there was no custom changes affecting the build, I used a clean Wandboard setup with repos and configuration as documented on the Wandboard wiki.
> The problem with missing package for /usr/bin/php was seen when building core-image-minimal with added php and php-cgi.
> Tested on both Ubuntu 14.04 LTS and Debian-8.0 (both X86_64) using Dizzy.
> If anyone has information on how to overcome this obstacle it would be greatly appreciated!

I have tested it here and it has worked just fine:

depends-nokernel-nolibc.dot:"php" -> "update-rc.d" [style=dotted];
depends-nokernel.dot:"php" -> "update-rc.d" [style=dotted];
depends.dot:"php" -> "update-rc.d" [style=dotted];
files-in-image.txt:drwxr-xr-x root       root             4096 ./usr/lib/php5
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/Structures
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/Structures/Graph
files-in-image.txt:-rw-r--r-- root       root             5747
./usr/lib/php5/php/Structures/Graph.php
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/Structures/Graph/Manipulator
files-in-image.txt:-rw-r--r-- root       root             5744
./usr/lib/php5/php/Structures/Graph/Manipulator/AcyclicTest.php
files-in-image.txt:-rw-r--r-- root       root             6694
./usr/lib/php5/php/Structures/Graph/Manipulator/TopologicalSorter.php
files-in-image.txt:-rw-r--r-- root       root            11048
./usr/lib/php5/php/Structures/Graph/Node.php
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/XML
files-in-image.txt:-rw-r--r-- root       root            30298
./usr/lib/php5/php/XML/Util.php
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/data
files-in-image.txt:drwxr-xr-x root       root             4096
./usr/lib/php5/php/data/Structures_Graph
files-in-image.txt:-rw-r--r-- root       root            26430
./usr/lib/php5/php/data/Structures_Graph/LICENSE
image-info.txt:IMAGE_INSTALL = packagegroup-core-boot
packagegroup-base-extended php
installed-package-names.txt:php
installed-package-sizes.txt:84  KiB php
installed-packages.txt:php_5.5.20-r0.0_cortexa9hf-vfp-neon.ipk

Please provide us a step by step way to reproduce the issue and we can
take a look.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2015-01-09 14:21           ` Otavio Salvador
@ 2015-01-09 16:00             ` Tord Andersson
  2015-01-09 16:11               ` Otavio Salvador
  0 siblings, 1 reply; 15+ messages in thread
From: Tord Andersson @ 2015-01-09 16:00 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Thanks Otavio!

On 15-01-09, at 15:21 , Otavio Salvador <otavio@ossystems.com.br> wrote:

installed-packages.txt:php_5.5.20-r0.0_cortexa9hf-vfp-neon.ipk

I switched from the dizzy branch to the master of meta-openembedded and was able to build the image with php using the updated recipes.
When checking the log I saw that Paul Eggleton has made several php-related contributions during the last couple of days which probably explain the successful build!

Happy Weekend!

Regards,

Tord

PS I bought your book; "Embedded Linux Development with Yocto Project", I like it! DS









[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 210 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Adding php package to fsl-image-machine-test
  2015-01-09 16:00             ` Tord Andersson
@ 2015-01-09 16:11               ` Otavio Salvador
  0 siblings, 0 replies; 15+ messages in thread
From: Otavio Salvador @ 2015-01-09 16:11 UTC (permalink / raw)
  To: Tord Andersson; +Cc: meta-freescale@yoctoproject.org

On Fri, Jan 9, 2015 at 2:00 PM, Tord Andersson <tord.andersson@endian.se> wrote:
> On 15-01-09, at 15:21 , Otavio Salvador <otavio@ossystems.com.br> wrote:
>
> installed-packages.txt:php_5.5.20-r0.0_cortexa9hf-vfp-neon.ipk
>
> I switched from the dizzy branch to the master of meta-openembedded and was able to build the image with php using the updated recipes.
> When checking the log I saw that Paul Eggleton has made several php-related contributions during the last couple of days which probably explain the successful build!
...

So please check the fixes needed and send us a list. Armin and I can
backport those in meta-oe.

> PS I bought your book; "Embedded Linux Development with Yocto Project", I like it! DS

Awesome :-) We (Daiane and I) are glad you like it :-) It was a huge
amount of work indeed :)

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-01-09 16:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28  7:23 Adding php package to fsl-image-machine-test Philippe BALLEYDIER
2014-11-28 15:19 ` Otavio Salvador
2014-12-01  7:28   ` Philippe BALLEYDIER
2014-12-01 12:38     ` Otavio Salvador
2014-12-01 13:40       ` Philippe BALLEYDIER
2014-12-01 14:29         ` Otavio Salvador
2014-12-03 15:12 ` Philippe BALLEYDIER
2014-12-03 15:29   ` Otavio Salvador
2014-12-03 15:42     ` Philippe BALLEYDIER
2014-12-03 15:51       ` Otavio Salvador
2015-01-09 12:39         ` Tord Andersson
2015-01-09 14:21           ` Otavio Salvador
2015-01-09 16:00             ` Tord Andersson
2015-01-09 16:11               ` Otavio Salvador
2014-12-03 15:47   ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.