[bitbake-devel] AttributeError: 'SignatureGenerator' object has no attribute 'file_checksum_values'

Robert Yang liezhi.yang at windriver.com
Mon Jun 30 03:38:10 UTC 2014


Hello,

What's version of bitbake are you using, please ?

$ bitbake --version

Have you set BB_SIGNATURE_HANDLER ? You can try to add:

BB_SIGNATURE_HANDLER = 'OEBasicHash'

to con/local.conf.

I think that this has been fixed even if you don't set the
BB_SIGNATURE_HANDLER which means 'noop' in the latest bitbake.

// Robert

On 06/29/2014 05:17 PM, Amit Chaudhuri wrote:
> Hi all,
>
> I am following the "Hello World" example from
> yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#the-hello-world-example.
>
> I have sourced the oe-init-build-env script.
>
> I get an error message when trying to execute the bitbake printhello
> command from my project dir.  Command and output here:
>
> amit at linux-erag:~/hello> bitbake printhello
> Parsing recipes: 100%
> |##############################################################################################|
> Time: 00:00:00
> Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0
> skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> ERROR: An uncaught exception occured in runqueue, please see the failure below:
> ERROR: Running idle function
> Traceback (most recent call last):
>    File "/home/amit/poky/bitbake/lib/bb/cooker.py", line 1169, in
> buildTargetsIdle(server=<ProcessServer(ProcessServer-2, started)>,
> rq=<bb.runqueue.RunQueue instance at 0x1941050>, abort=False):
>                   try:
>      >                retval = rq.execute_runqueue()
>                   except runqueue.TaskFailure as exc:
>    File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 1065, in
> RunQueue.execute_runqueue():
>               try:
>      >            return self._execute_runqueue()
>               except bb.runqueue.TaskFailure:
>    File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 1020, in
> RunQueue._execute_runqueue():
>                   else:
>      >                self.start_worker()
>                       self.rqexe = RunQueueExecuteScenequeue(self)
>    File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 898, in
> RunQueue.start_worker():
>                   self.teardown_workers()
>      >        self.worker, self.workerpipe = self._start_worker()
>
>    File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 864, in
> RunQueue._start_worker(fakeroot=False, rqexec=None):
>                   "hash_deps" : self.rqdata.hash_deps,
>      >            "sigchecksums" : bb.parse.siggen.file_checksum_values,
>                   "runq_hash" : self.rqdata.runq_hash,
> AttributeError: 'SignatureGenerator' object has no attribute
> 'file_checksum_values'
>
> NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be
> rerun and all succeeded.
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> Bitbake version is:
>
> BitBake Build Tool Core version 1.20.0, bitbake version 1.20.0
>
> OS details:
>
> cat /etc/os-release
> NAME=openSUSE
> VERSION="13.1 (Bottle)"
> VERSION_ID="13.1"
> PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
> ID=opensuse
> ANSI_COLOR="0;32"
> CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
> BUG_REPORT_URL="https://bugs.opensuse.org"
> HOME_URL="https://opensuse.org/"
> ID_LIKE="suse"
>
> The only difference I can see between example and my attempt is the
> layer name (testlayer vs mylayer) and I've checked that I am being
> consistent.
>
> The error message suggests to me that there's a versioning problem on
> the SignatureGenerator.
>
> Can anyone point me in the right direction here?
> Happy to provide additional info (e.g. strace).
>
> Regards,
> Amit
>



More information about the bitbake-devel mailing list