Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: openembedded-core@lists.openembedded.org
Subject: Re: /usr/bin/python is needed by git
Date: Tue, 11 Sep 2012 14:37:09 +0100	[thread overview]
Message-ID: <504F3E85.6030302@communistcode.co.uk> (raw)
In-Reply-To: <504F36CA.9060007@windriver.com>

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

--




  reply	other threads:[~2012-09-11 13:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=504F3E85.6030302@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox