Openembedded Core Discussions
 help / color / mirror / Atom feed
* /usr/bin/python is needed by git
@ 2012-09-11  9:34 Jack Mitchell
  2012-09-11 10:33 ` [PATCH] git: add missing Python dependency Jack Mitchell
  2012-09-11 13:04 ` /usr/bin/python is needed by git Mark Hatle
  0 siblings, 2 replies; 9+ messages in thread
From: Jack Mitchell @ 2012-09-11  9:34 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

I'm not sure where this issue is coming from so I'm just going to dump 
the output log and see if anyone bites. From what I can tell it is maybe 
an RPM dependency issue...?

WARNING: Host distribution ""Arch Linux"" 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% 
|#########################################################################################################################################################################################################| 
ETA:  00:00:00
Loaded 1206 entries from dependency cache.
Parsing recipes: 100% 
|#######################################################################################################################################################################################################| 
Time: 00:00:00
Parsing of 896 .bb files complete (894 cached, 2 parsed). 1205 targets, 
57 skipped, 7 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120911"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "master:7250638ec895bc89508711831083d43b9e1e9826"
meta-ti           = "master:7b54887b9505bb8334bfbe4094a2c396add8da48"
meta-db           = "master:4da6bda041dbbcee2d7464668de280d84c035fa9"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: QA Issue: kmod: /bin/kmod, installed in the base_prefix, 
requires a shared library under exec_prefix (/usr): libkmod.so.2 => 
/usr/lib/libkmod.so.2 (0xdead1000)
WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in 
the base_prefix, requires a shared library under exec_prefix (/usr): 
libcrack.so.2 => /usr/lib/libcrack.so.2 (0xdead3000)
WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in 
the base_prefix, requires a shared library under exec_prefix (/usr): 
libz.so.1 => /usr/lib/libz.so.1 (0xdead4000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the 
base_prefix, requires a shared library under exec_prefix (/usr): 
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xdead2000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the 
base_prefix, requires a shared library under exec_prefix (/usr): 
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xdead3000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the 
base_prefix, requires a shared library under exec_prefix (/usr): 
libffi.so.5 => /usr/lib/libffi.so.5 (0xdead4000)
WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the 
base_prefix, requires a shared library under exec_prefix (/usr): 
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead5000)
WARNING: QA Issue: udev: /lib/udev/udev-acl, installed in the 
base_prefix, requires a shared library under exec_prefix (/usr): 
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead2000)
WARNING: QA Issue: php: Files/directories were installed but not shipped
   /mnt
   /mnt/storage
   /mnt/storage/yoctoBuilds
   /mnt/storage/yoctoBuilds/poky-beaglebone.git
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/sysroots
ERROR: Function failed: do_rootfs (see 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968 
for further information)
ERROR: Logfile of failure stored in: 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968
Log data follows:
| DEBUG: Executing shell function do_rootfs
| Generating solve db for 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/beaglebone...
| Generating solve db for 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/armv7a_vfp_neon...
| Generating solve db for 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB     88.851492 secs
|    fingerprint:      2487      0.065276 MB      0.731218 secs
|    install:           829      0.000000 MB     67.751171 secs
|    digest:           1658     11.934144 MB      0.117111 secs
|    signature:        1658      0.000000 MB      5.105333 secs
|    dbadd:             829      0.000000 MB     67.590105 secs
|    dbget:           17782      0.000000 MB      0.058949 secs
|    dbput:             829      6.853944 MB     57.990037 secs
|    readhdr:          8291     13.578976 MB      3.732102 secs
|    hdrload:          4452     21.570272 MB      0.088323 secs
|    hdrget:         159643      0.000000 MB      1.030783 secs
|    total:               1      0.000000 MB    190.089845 secs
|    fingerprint:      5034      0.089692 MB      1.256801 secs
|    install:          1678      0.000000 MB    146.995181 secs
|    digest:           3356     17.421210 MB      0.215644 secs
|    signature:        3356      0.000000 MB      9.807536 secs
|    dbadd:            1678      0.000000 MB    146.709467 secs
|    dbget:           34599      0.000000 MB      0.299620 secs
|    dbput:            1678     10.496148 MB    131.603615 secs
|    readhdr:         16781     20.750458 MB      9.085295 secs
|    hdrload:          8591     31.786302 MB      0.191107 secs
|    hdrget:         324291      0.000000 MB      2.933854 secs
|    total:               1      0.000000 MB      2.395373 secs
|    fingerprint:        36      0.000032 MB      0.000915 secs
|    install:            12      0.000000 MB      0.517583 secs
|    digest:             24      0.047656 MB      0.000381 secs
|    signature:          24      0.000000 MB      0.032788 secs
|    dbadd:              12      0.000000 MB      0.486005 secs
|    dbget:              59      0.000000 MB      0.000351 secs
|    dbput:              12      0.035820 MB      0.185407 secs
|    readhdr:           121      0.071560 MB      0.021102 secs
|    hdrload:            65      0.119208 MB      0.000533 secs
|    hdrget:           1814      0.000000 MB      0.003769 secs
| Generating solve db for 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all...
| Processing task-core-boot...
| Processing git...
| Processing php-cgi...
| Processing packagegroup-core-ssh-openssh...
| Processing valgrind...
| Processing libjansson4...
| Processing hiawatha...
| Processing htop...
| Processing libwebsockets0...
| Processing openssh-sftp-server...
| error: Failed dependencies:
|     /usr/bin/python is needed by git-1.7.7-r2.armv7a_vfp_neon
| ERROR: Function failed: do_rootfs (see 
/mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968 
for further information)
ERROR: Task 7 
(/mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb, 
do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2137 tasks of which 1805 didn't need to 
be rerun and 1 failed.

Summary: 1 task failed:
/mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb, 
do_rootfs
Summary: There were 10 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




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

* [PATCH] git: add missing Python dependency
  2012-09-11  9:34 /usr/bin/python is needed by git Jack Mitchell
@ 2012-09-11 10:33 ` Jack Mitchell
  2012-09-11 15:46   ` Mark Hatle
  2012-09-11 13:04 ` /usr/bin/python is needed by git Mark Hatle
  1 sibling, 1 reply; 9+ messages in thread
From: Jack Mitchell @ 2012-09-11 10:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jack Mitchell

From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

Add python to DEPENDS as it fails to install on target with RPM
failing at do_rootfs due to un-met dependencies.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 meta/recipes-devtools/git/git.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6748b70..9181da6 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -1,7 +1,7 @@
 DESCRIPTION = "The git revision control system used by the Linux kernel developers"
 SECTION = "console/utils"
 LICENSE = "GPLv2"
-DEPENDS = "openssl curl zlib expat"
+DEPENDS = "openssl curl zlib expat python"
 
 PROVIDES_append_virtclass-native = " git-replacement-native"
 
-- 
1.7.12




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

* Re: /usr/bin/python is needed by git
  2012-09-11  9:34 /usr/bin/python is needed by git Jack Mitchell
  2012-09-11 10:33 ` [PATCH] git: add missing Python dependency Jack Mitchell
@ 2012-09-11 13:04 ` Mark Hatle
  2012-09-11 13:37   ` Jack Mitchell
  1 sibling, 1 reply; 9+ messages in thread
From: Mark Hatle @ 2012-09-11 13:04 UTC (permalink / raw)
  To: openembedded-core

On 9/11/12 4:34 AM, Jack Mitchell wrote:
> I'm not sure where this issue is coming from so I'm just going to dump
> the output log and see if anyone bites. From what I can tell it is maybe
> an RPM dependency issue...?
>
> WARNING: Host distribution ""Arch Linux"" 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%
> |#########################################################################################################################################################################################################|
> ETA:  00:00:00
> Loaded 1206 entries from dependency cache.
> Parsing recipes: 100%
> |#######################################################################################################################################################################################################|
> Time: 00:00:00
> Parsing of 896 .bb files complete (894 cached, 2 parsed). 1205 targets,
> 57 skipped, 7 masked, 0 errors.
>
> Build Configuration:
> BB_VERSION        = "1.15.3"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "beaglebone"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.2+snapshot-20120911"
> TUNE_FEATURES     = "armv7a vfp neon cortexa8"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto        = "master:7250638ec895bc89508711831083d43b9e1e9826"
> meta-ti           = "master:7b54887b9505bb8334bfbe4094a2c396add8da48"
> meta-db           = "master:4da6bda041dbbcee2d7464668de280d84c035fa9"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: QA Issue: kmod: /bin/kmod, installed in the base_prefix,
> requires a shared library under exec_prefix (/usr): libkmod.so.2 =>
> /usr/lib/libkmod.so.2 (0xdead1000)
> WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in
> the base_prefix, requires a shared library under exec_prefix (/usr):
> libcrack.so.2 => /usr/lib/libcrack.so.2 (0xdead3000)
> WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in
> the base_prefix, requires a shared library under exec_prefix (/usr):
> libz.so.1 => /usr/lib/libz.so.1 (0xdead4000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xdead2000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xdead3000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libffi.so.5 => /usr/lib/libffi.so.5 (0xdead4000)
> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead5000)
> WARNING: QA Issue: udev: /lib/udev/udev-acl, installed in the
> base_prefix, requires a shared library under exec_prefix (/usr):
> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead2000)
> WARNING: QA Issue: php: Files/directories were installed but not shipped
>     /mnt
>     /mnt/storage
>     /mnt/storage/yoctoBuilds
>     /mnt/storage/yoctoBuilds/poky-beaglebone.git
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/sysroots
> ERROR: Function failed: do_rootfs (see
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968
> for further information)
> ERROR: Logfile of failure stored in:
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968
> Log data follows:
> | DEBUG: Executing shell function do_rootfs
> | Generating solve db for
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/beaglebone...
> | Generating solve db for
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/armv7a_vfp_neon...
> | Generating solve db for
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all...
> |    total:               1      0.000000 MB     88.851492 secs
> |    fingerprint:      2487      0.065276 MB      0.731218 secs
> |    install:           829      0.000000 MB     67.751171 secs
> |    digest:           1658     11.934144 MB      0.117111 secs
> |    signature:        1658      0.000000 MB      5.105333 secs
> |    dbadd:             829      0.000000 MB     67.590105 secs
> |    dbget:           17782      0.000000 MB      0.058949 secs
> |    dbput:             829      6.853944 MB     57.990037 secs
> |    readhdr:          8291     13.578976 MB      3.732102 secs
> |    hdrload:          4452     21.570272 MB      0.088323 secs
> |    hdrget:         159643      0.000000 MB      1.030783 secs
> |    total:               1      0.000000 MB    190.089845 secs
> |    fingerprint:      5034      0.089692 MB      1.256801 secs
> |    install:          1678      0.000000 MB    146.995181 secs
> |    digest:           3356     17.421210 MB      0.215644 secs
> |    signature:        3356      0.000000 MB      9.807536 secs
> |    dbadd:            1678      0.000000 MB    146.709467 secs
> |    dbget:           34599      0.000000 MB      0.299620 secs
> |    dbput:            1678     10.496148 MB    131.603615 secs
> |    readhdr:         16781     20.750458 MB      9.085295 secs
> |    hdrload:          8591     31.786302 MB      0.191107 secs
> |    hdrget:         324291      0.000000 MB      2.933854 secs
> |    total:               1      0.000000 MB      2.395373 secs
> |    fingerprint:        36      0.000032 MB      0.000915 secs
> |    install:            12      0.000000 MB      0.517583 secs
> |    digest:             24      0.047656 MB      0.000381 secs
> |    signature:          24      0.000000 MB      0.032788 secs
> |    dbadd:              12      0.000000 MB      0.486005 secs
> |    dbget:              59      0.000000 MB      0.000351 secs
> |    dbput:              12      0.035820 MB      0.185407 secs
> |    readhdr:           121      0.071560 MB      0.021102 secs
> |    hdrload:            65      0.119208 MB      0.000533 secs
> |    hdrget:           1814      0.000000 MB      0.003769 secs
> | Generating solve db for
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all...
> | Processing task-core-boot...
> | Processing git...
> | Processing php-cgi...
> | Processing packagegroup-core-ssh-openssh...
> | Processing valgrind...
> | Processing libjansson4...
> | Processing hiawatha...
> | Processing htop...
> | Processing libwebsockets0...
> | Processing openssh-sftp-server...
> | error: Failed dependencies:
> |     /usr/bin/python is needed by git-1.7.7-r2.armv7a_vfp_neon

Within the git package, there is a file that has a header similar to:

#! /usr/bin/python

This is incorrect, it should be /usr/bin/env python (or /bin/env python if you 
flatten the filesystem).

Did you build the python package?  If not I'd say there is probably a bug (or 
bugs) in the git recipe.

--Mark

> | ERROR: Function failed: do_rootfs (see
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968
> for further information)
> ERROR: Task 7
> (/mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb,
> do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2137 tasks of which 1805 didn't need to
> be rerun and 1 failed.
>
> Summary: 1 task failed:
> /mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb,
> do_rootfs
> Summary: There were 10 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>




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

* Re: /usr/bin/python is needed by git
  2012-09-11 13:04 ` /usr/bin/python is needed by git Mark Hatle
@ 2012-09-11 13:37   ` Jack Mitchell
  2012-09-11 21:02     ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Mitchell @ 2012-09-11 13:37 UTC (permalink / raw)
  To: openembedded-core

On 11/09/12 14:04, Mark Hatle wrote:
> On 9/11/12 4:34 AM, Jack Mitchell wrote:
>> I'm not sure where this issue is coming from so I'm just going to dump
>> the output log and see if anyone bites. From what I can tell it is maybe
>> an RPM dependency issue...?
>>
>> WARNING: Host distribution ""Arch Linux"" 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%
>> |#########################################################################################################################################################################################################| 
>>
>> ETA:  00:00:00
>> Loaded 1206 entries from dependency cache.
>> Parsing recipes: 100%
>> |#######################################################################################################################################################################################################| 
>>
>> Time: 00:00:00
>> Parsing of 896 .bb files complete (894 cached, 2 parsed). 1205 targets,
>> 57 skipped, 7 masked, 0 errors.
>>
>> Build Configuration:
>> BB_VERSION        = "1.15.3"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux-gnueabi"
>> MACHINE           = "beaglebone"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.2+snapshot-20120911"
>> TUNE_FEATURES     = "armv7a vfp neon cortexa8"
>> TARGET_FPU        = "vfp-neon"
>> meta
>> meta-yocto        = "master:7250638ec895bc89508711831083d43b9e1e9826"
>> meta-ti           = "master:7b54887b9505bb8334bfbe4094a2c396add8da48"
>> meta-db           = "master:4da6bda041dbbcee2d7464668de280d84c035fa9"
>>
>> NOTE: Resolving any missing task queue dependencies
>> NOTE: Preparing runqueue
>> NOTE: Executing SetScene Tasks
>> NOTE: Executing RunQueue Tasks
>> WARNING: QA Issue: kmod: /bin/kmod, installed in the base_prefix,
>> requires a shared library under exec_prefix (/usr): libkmod.so.2 =>
>> /usr/lib/libkmod.so.2 (0xdead1000)
>> WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in
>> the base_prefix, requires a shared library under exec_prefix (/usr):
>> libcrack.so.2 => /usr/lib/libcrack.so.2 (0xdead3000)
>> WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in
>> the base_prefix, requires a shared library under exec_prefix (/usr):
>> libz.so.1 => /usr/lib/libz.so.1 (0xdead4000)
>> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xdead2000)
>> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xdead3000)
>> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libffi.so.5 => /usr/lib/libffi.so.5 (0xdead4000)
>> WARNING: QA Issue: udev: /lib/libgudev-1.0.so.0.0.1, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead5000)
>> WARNING: QA Issue: udev: /lib/udev/udev-acl, installed in the
>> base_prefix, requires a shared library under exec_prefix (/usr):
>> libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xdead2000)
>> WARNING: QA Issue: php: Files/directories were installed but not shipped
>>     /mnt
>>     /mnt/storage
>>     /mnt/storage/yoctoBuilds
>>     /mnt/storage/yoctoBuilds/poky-beaglebone.git
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/sysroots
>> ERROR: Function failed: do_rootfs (see
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968 
>>
>> for further information)
>> ERROR: Logfile of failure stored in:
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968 
>>
>> Log data follows:
>> | DEBUG: Executing shell function do_rootfs
>> | Generating solve db for
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/beaglebone... 
>>
>> | Generating solve db for
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/armv7a_vfp_neon... 
>>
>> | Generating solve db for
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all... 
>>
>> |    total:               1      0.000000 MB     88.851492 secs
>> |    fingerprint:      2487      0.065276 MB      0.731218 secs
>> |    install:           829      0.000000 MB     67.751171 secs
>> |    digest:           1658     11.934144 MB      0.117111 secs
>> |    signature:        1658      0.000000 MB      5.105333 secs
>> |    dbadd:             829      0.000000 MB     67.590105 secs
>> |    dbget:           17782      0.000000 MB      0.058949 secs
>> |    dbput:             829      6.853944 MB     57.990037 secs
>> |    readhdr:          8291     13.578976 MB      3.732102 secs
>> |    hdrload:          4452     21.570272 MB      0.088323 secs
>> |    hdrget:         159643      0.000000 MB      1.030783 secs
>> |    total:               1      0.000000 MB    190.089845 secs
>> |    fingerprint:      5034      0.089692 MB      1.256801 secs
>> |    install:          1678      0.000000 MB    146.995181 secs
>> |    digest:           3356     17.421210 MB      0.215644 secs
>> |    signature:        3356      0.000000 MB      9.807536 secs
>> |    dbadd:            1678      0.000000 MB    146.709467 secs
>> |    dbget:           34599      0.000000 MB      0.299620 secs
>> |    dbput:            1678     10.496148 MB    131.603615 secs
>> |    readhdr:         16781     20.750458 MB      9.085295 secs
>> |    hdrload:          8591     31.786302 MB      0.191107 secs
>> |    hdrget:         324291      0.000000 MB      2.933854 secs
>> |    total:               1      0.000000 MB      2.395373 secs
>> |    fingerprint:        36      0.000032 MB      0.000915 secs
>> |    install:            12      0.000000 MB      0.517583 secs
>> |    digest:             24      0.047656 MB      0.000381 secs
>> |    signature:          24      0.000000 MB      0.032788 secs
>> |    dbadd:              12      0.000000 MB      0.486005 secs
>> |    dbget:              59      0.000000 MB      0.000351 secs
>> |    dbput:              12      0.035820 MB      0.185407 secs
>> |    readhdr:           121      0.071560 MB      0.021102 secs
>> |    hdrload:            65      0.119208 MB      0.000533 secs
>> |    hdrget:           1814      0.000000 MB      0.003769 secs
>> | Generating solve db for
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/deploy/rpm/all... 
>>
>> | Processing task-core-boot...
>> | Processing git...
>> | Processing php-cgi...
>> | Processing packagegroup-core-ssh-openssh...
>> | Processing valgrind...
>> | Processing libjansson4...
>> | Processing hiawatha...
>> | Processing htop...
>> | Processing libwebsockets0...
>> | Processing openssh-sftp-server...
>> | error: Failed dependencies:
>> |     /usr/bin/python is needed by git-1.7.7-r2.armv7a_vfp_neon
>
> Within the git package, there is a file that has a header similar to:
>
> #! /usr/bin/python
>
> This is incorrect, it should be /usr/bin/env python (or /bin/env 
> python if you flatten the filesystem).
>
> Did you build the python package?  If not I'd say there is probably a 
> bug (or bugs) in the git recipe.
>
> --Mark
>
>> | ERROR: Function failed: do_rootfs (see
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/beaglebone-poky-linux-gnueabi/core-image-db-1.0-r0/temp/log.do_rootfs.15968 
>>
>> for further information)
>> ERROR: Task 7
>> (/mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb, 
>>
>> do_rootfs) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 2137 tasks of which 1805 didn't need to
>> be rerun and 1 failed.
>>
>> Summary: 1 task failed:
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/meta-db/recipes-core/images/core-image-db.bb, 
>>
>> do_rootfs
>> Summary: There were 10 WARNING messages shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit 
>> code.
>>
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

HI Mark,

I sent a patch (see above) which added python as a dependency and that 
seemed to fix it. Whether or not this is the right fix I don't know... 
should git require the python binary to run? I really don't know much 
about it...

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




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

* Re: [PATCH] git: add missing Python dependency
  2012-09-11 10:33 ` [PATCH] git: add missing Python dependency Jack Mitchell
@ 2012-09-11 15:46   ` Mark Hatle
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Hatle @ 2012-09-11 15:46 UTC (permalink / raw)
  To: openembedded-core

On 9/11/12 5:33 AM, Jack Mitchell wrote:
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> Add python to DEPENDS as it fails to install on target with RPM
> failing at do_rootfs due to un-met dependencies.
>
> Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> ---
>   meta/recipes-devtools/git/git.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 6748b70..9181da6 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -1,7 +1,7 @@
>   DESCRIPTION = "The git revision control system used by the Linux kernel developers"
>   SECTION = "console/utils"
>   LICENSE = "GPLv2"
> -DEPENDS = "openssl curl zlib expat"
> +DEPENDS = "openssl curl zlib expat python"

I think this depends is needed based on some easy evaluation of git.

git (at least git-native) provides one example python script, and some python 
modules.. these should be broken off into other sub packages to help eliminate 
the -runtime- python requirement (I'm assuming they're both optional for general 
git usage....)

But someone with more knowledge with git then me should go that.

--Mark

>
>   PROVIDES_append_virtclass-native = " git-replacement-native"
>
>




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

* Re: /usr/bin/python is needed by git
  2012-09-11 13:37   ` Jack Mitchell
@ 2012-09-11 21:02     ` Khem Raj
  2012-09-11 21:39       ` Jack Mitchell
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2012-09-11 21:02 UTC (permalink / raw)
  To: ml; +Cc: openembedded-core

> HI Mark,
>
> I sent a patch (see above) which added python as a dependency and that
> seemed to fix it. Whether or not this is the right fix I don't know...
> should git require the python binary to run? I really don't know much about
> it...


I wonder what needs python in git. Can you inspect ?

>
>
> --
>
>   Jack Mitchell (jack@embed.me.uk)
>   Embedded Systems Engineer
>   http://www.embed.me.uk
>
> --
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: /usr/bin/python is needed by git
  2012-09-11 21:02     ` Khem Raj
@ 2012-09-11 21:39       ` Jack Mitchell
  2012-09-13 12:58         ` [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy Jack Mitchell
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Mitchell @ 2012-09-11 21:39 UTC (permalink / raw)
  Cc: openembedded-core

On 11/09/2012 22:02, Khem Raj wrote:
>> HI Mark,
>>
>> I sent a patch (see above) which added python as a dependency and that
>> seemed to fix it. Whether or not this is the right fix I don't know...
>> should git require the python binary to run? I really don't know much about
>> it...
>
> I wonder what needs python in git. Can you inspect ?
>
>>
>> --
>>
>>    Jack Mitchell (jack@embed.me.uk)
>>    Embedded Systems Engineer
>>    http://www.embed.me.uk
>>
>> --
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

I'll try and pin some time for it tomorrow and see if it's anything obvious.

Cheers,



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

* [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy
  2012-09-11 21:39       ` Jack Mitchell
@ 2012-09-13 12:58         ` Jack Mitchell
  2012-09-14 15:54           ` Saul Wold
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Mitchell @ 2012-09-13 12:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jack Mitchell

From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

Git requires python by default as an included script to link git
to perforce is written in Python. Define NO_PYTHON to stop the
script being included and thus remove the dependancy on Python.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 meta/recipes-devtools/git/git.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6748b70..4a0c4aa 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -10,7 +10,11 @@ S = "${WORKDIR}/git-${PV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
 
-EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --without-tcltk"
+EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
+		--without-tcltk \
+"
+
+EXTRA_OEMAKE = "NO_PYTHON=1"
 
 inherit autotools perlnative
 
-- 
1.7.12




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

* Re: [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy
  2012-09-13 12:58         ` [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy Jack Mitchell
@ 2012-09-14 15:54           ` Saul Wold
  0 siblings, 0 replies; 9+ messages in thread
From: Saul Wold @ 2012-09-14 15:54 UTC (permalink / raw)
  To: Jack Mitchell; +Cc: Jack Mitchell, openembedded-core

On 09/13/2012 05:58 AM, Jack Mitchell wrote:
> From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
>
> Git requires python by default as an included script to link git
> to perforce is written in Python. Define NO_PYTHON to stop the
> script being included and thus remove the dependancy on Python.
>
> Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
> ---
>   meta/recipes-devtools/git/git.inc | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 6748b70..4a0c4aa 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -10,7 +10,11 @@ S = "${WORKDIR}/git-${PV}"
>
>   LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
>
> -EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --without-tcltk"
> +EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
> +		--without-tcltk \
> +"
> +
> +EXTRA_OEMAKE = "NO_PYTHON=1"
>
>   inherit autotools perlnative
>
>

Merged into OE-Core

Thanks
	Sau!




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

end of thread, other threads:[~2012-09-14 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11  9:34 /usr/bin/python is needed by git Jack Mitchell
2012-09-11 10:33 ` [PATCH] git: add missing Python dependency Jack Mitchell
2012-09-11 15:46   ` Mark Hatle
2012-09-11 13:04 ` /usr/bin/python is needed by git Mark Hatle
2012-09-11 13:37   ` Jack Mitchell
2012-09-11 21:02     ` Khem Raj
2012-09-11 21:39       ` Jack Mitchell
2012-09-13 12:58         ` [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy Jack Mitchell
2012-09-14 15:54           ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox