Skip to contentSkip to conversation

/usr/bin/python is needed by git

PATCH In review Jack Mitchell 4 participants 9 messages Sep 11, 2012 – Sep 14, 2012

lore
Share & tools
lore
#0 lore raw

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.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#1 lore raw

PATCH 1/1 git: add missing Python dependency

From: Jack Mitchell <[email protected]>

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

---
 meta/recipes-devtools/git/git.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/git/git.inc +1 -1
index 6748b70..9181da6 100644
@@ -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"
 
Signature · 1 line
1.7.12
#3 lore raw
In reply to Jack Mitchell
Quoted 119 lines · Jack Mitchell

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...
Quoted 8 lines
| 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

Quoted 16 lines

| 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.

#4 lore raw
Quoted 168 lines · Mark Hatle
Quoted 123 lines · Jack Mitchell

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...

Quoted 12 lines
| 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

Quoted 11 lines

| 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.

Quoted 8 lines

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.

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
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...

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#2 lore raw

Re: [PATCH] git: add missing Python dependency

In reply to Jack Mitchell
Quoted 15 lines · Jack Mitchell

From: Jack Mitchell <[email protected]>

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

---
  meta/recipes-devtools/git/git.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/git/git.inc +0 -0
index 6748b70..9181da6 100644

meta/recipes-devtools/git/git.inc line 4

Quoted 5 lines
meta/recipes-devtools/git/git.inc +1 -1
@@ -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

Quoted 4 lines
meta/recipes-devtools/git/git.inc +0 -0
  PROVIDES_append_virtclass-native = " git-replacement-native"
 
 
#5 lore raw
In reply to Jack Mitchell
Quoted 6 lines

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 ?

Quoted 15 lines

--

Jack Mitchell ([email protected])
Embedded Systems Engineer
http://www.embed.me.uk

--

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#6 lore raw
Quoted 23 lines · Khem Raj
Quoted 6 lines

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 ?

Quoted 14 lines

--

Jack Mitchell ([email protected])
Embedded Systems Engineer
http://www.embed.me.uk

--

_______________________________________________
Openembedded-core mailing list
[email protected]
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,

#7 lore raw

PATCH 1/1 git: define NO_PYTHON=1 to stop git requiring python as a dependancy

From: Jack Mitchell <[email protected]>

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.

---
 meta/recipes-devtools/git/git.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-devtools/git/git.inc +5 -1
index 6748b70..4a0c4aa 100644
@@ -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
 
Signature · 1 line
1.7.12
Applied
#8 lore raw

Re: [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy

Quoted 19 lines · Jack Mitchell

From: Jack Mitchell <[email protected]>

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.

---
  meta/recipes-devtools/git/git.inc | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-devtools/git/git.inc +0 -0
index 6748b70..4a0c4aa 100644
@@ -10,7 +10,11 @@ S = "${WORKDIR}/git-${PV}"
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"

meta/recipes-devtools/git/git.inc S = "${WORKDIR}/git-${PV}" · line 20

Quoted 10 lines
meta/recipes-devtools/git/git.inc +5 -1
 
-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!