All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: Lighttpd recipe is falling ERROR: Error executing a python function
Date: Wed, 19 Sep 2012 06:14:50 -0600	[thread overview]
Message-ID: <5059B73A.3040009@mlbassoc.com> (raw)
In-Reply-To: <CAB3sqtaSno+aXJ41YOZ9zXhjbF1xPwDYS3TYdooWHP0GoJB=yg@mail.gmail.com>

On 2012-09-19 06:08, Tarek El-Sherbiny wrote:
> I would like to build lighttpd for my imx6 project.
>
> Her is the error I'm getting after I type bitbake lighttpd
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Running task 644 of 885 (ID: 9, /home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb <http://lighttpd_1.4.30.bb>, do_package)
> NOTE: Running task 882 of 885 (ID: 3, /home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb <http://lighttpd_1.4.30.bb>, do_populate_sysroot)
> NOTE: package lighttpd-1.4.30-r12: task do_package: Started
> NOTE: package lighttpd-1.4.30-r12: task do_populate_sysroot: Started
> NOTE: package lighttpd-1.4.30-r12: task do_populate_sysroot: Succeeded
> ERROR: Error executing a python function in /home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb <http://lighttpd_1.4.30.bb>:
> AttributeError: 'NoneType' object has no attribute 'split'
>
> ERROR: The stack trace of python calls that resulted in this exception/failure was:
> ERROR:   File "populate_packages", line 323, in <module>
> ERROR:
> ERROR:   File "populate_packages", line 115, in populate_packages
> ERROR:
> ERROR:   File "populate_packages", line 72, in systemd_check_services
> ERROR:
> ERROR: The code that was being executed was:
> ERROR:      0319:bb.note("%s contains dangling symlink to %s" % (pkg, l))
> ERROR:      0320:d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False))
> ERROR:      0321:
> ERROR:      0322:
> ERROR:  *** 0323:populate_packages(d)
> ERROR:      0324:
> ERROR: (file: 'populate_packages', lineno: 323, function: <module>)
> ERROR:      0111:for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split():
> ERROR:      0112:if d.getVar('SYSTEMD_SERVICE' + "_" + pkg_systemd, 1) and d.getVar('SYSTEMD_SERVICE' + "_" + pkg_systemd, 1).strip():
> ERROR:      0113:systemd_generate_package_scripts(pkg_systemd)
> ERROR:      0114:systemd_add_rdepends(pkg_systemd)
> ERROR:  *** 0115:systemd_check_services()
> ERROR:      0116:        lighttpd_libdir = d.expand('/usr/lib')
> ERROR:      0117:        do_split_packages(d, lighttpd_libdir, '^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
> ERROR:      0118:def update_rcd_package(pkg):
> ERROR:      0119:bb.debug(1, 'adding update-rc.d calls to postinst/postrm for %s' % pkg)
> ERROR: (file: 'populate_packages', lineno: 115, function: populate_packages)
> ERROR: Function failed: populate_packages
> ERROR: Logfile of failure stored in: /home/telsherbiny/work/fsl/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/lighttpd-1.4.30-r12/temp/log.do_package.32369
> NOTE: package lighttpd-1.4.30-r12: task do_package: Failed
> ERROR: Task 9 (/home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb <http://lighttpd_1.4.30.bb>, do_package) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 882 tasks of which 880 didn't need to be rerun and 1 failed.
>
> Summary: 1 task failed:
>    /home/telsherbiny/work/fsl/sources/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb <http://lighttpd_1.4.30.bb>, do_package
> Summary: There were 27 ERROR messages shown, returning a non-zero exit code.
>
>
> Can anyone help to solve this problem?

It would be necessary to see your recipe: lighttpd_1.4.30.bb
(and any associated files)

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


  reply	other threads:[~2012-09-19 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 12:08 Lighttpd recipe is falling ERROR: Error executing a python function Tarek El-Sherbiny
2012-09-19 12:14 ` Gary Thomas [this message]
2012-09-19 12:22   ` Tarek El-Sherbiny

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=5059B73A.3040009@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.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 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.