Hi,

 

> git clone -b daisy git://git.yoctoproject.org/poky.git

 

Daisy (YP-1.6)! That is from April 2014! Is there is a compelling reason why you are using that release?

 

We currently only support Rocko 2.4, Pyro 2.3, and Morty 2.2.

 

All of the recent releases fully support both the original local build model and the newer remote project build model, so the latest is indeed the greatest for those reasons and many more. I do local builds all the time with them.

 

- David

 

 

 

From: Brahmmi Boss [mailto:brahmmi88@gmail.com]
Sent: Thursday, January 25, 2018 2:23 AM
To: Reyna, David
Cc: toaster@yoctoproject.org
Subject: Re: [Toaster] Query regarding toaster setup in local build mode

 

Hi David,

Thanks for response. i did exactly the same steps but the result is same

here is the log

veera@veera-OptiPlex-9020:~/toaster$ git clone -b daisy git://git.yoctoproject.org/poky.git
Cloning into 'poky'...
remote: Counting objects: 390449, done.
remote: Compressing objects: 100% (93621/93621), done.
remote: Total 390449 (delta 290749), reused 389781 (delta 290084)
Receiving objects: 100% (390449/390449), 139.02 MiB | 6.73 MiB/s, done.
Resolving deltas: 100% (290749/290749), done.
Checking connectivity... done.

veera@veera-OptiPlex-9020:~/toaster$ cd poky
veera@veera-OptiPlex-9020:~/toaster/poky$ . ./oe-init-build-env
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to use a
different MACHINE (target hardware) or enable parallel build options to take
advantage of multiple cores for example. See the file for more information as
common configuration options are commented.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You had no conf/bblayers.conf file. The configuration file has been created for
you with some default values. To add additional metadata layers into your
configuration please add entries to this file.

The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/



### Shell environment set up for builds. ###

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

veera@veera-OptiPlex-9020:~/toaster/poky/build$ . toaster start
The system will start.
Syncing...
Creating tables ...
Creating table south_migrationhistory
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > django.contrib.staticfiles
 > django.contrib.humanize
 > south

Not synced (use migrations):
 - orm
(use ./manage.py migrate to migrate these)
Running migrations for orm:
 - Migrating forwards to 0007_auto__add_helptext.
 > orm:0001_initial
 > orm:0002_auto__add_field_build_timespent
 > orm:0003_timespent
 - Migration 'orm:0003_timespent' is marked for no-dry-run.
 > orm:0004_auto__add_field_package_installed_name
 > orm:0005_auto__add_target_image_file__add_target_file__add_field_variablehistor
 > orm:0006_auto__add_field_target_image_size__add_field_target_license_manifest_p
 > orm:0007_auto__add_helptext
 - Loading initial data for orm.
Installed 0 object(s) from 0 fixture(s)
[1]+  Exit 1                  python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000 < /dev/null > ${BUILDDIR}/toaster_web.log 2>&1
Failed start.

veera@veera-OptiPlex-9020:~/toaster/poky/build$
 

 

On Thu, Jan 25, 2018 at 3:10 PM, Reyna, David <david.reyna@windriver.com> wrote:

Hi Veera,

 

Since you are using an explicit “source bitbake/bin/toaster” from the “poky” directory, I am concerned that your environment is not set up.

 

Here is how I do local build captures:

 

  $ cd poky

  $ . ./oe-init-build-env

  $ . toaster start

  $ bitbake core-image-base

 

Open a browser to “localhost:8000” to watch the build and examine the results, and perhaps run additional bitbake build commands.

 

When you are all done and want to stop the server:

  $ . toaster stop

 

Observe that you need to be in a proper bitbake build environment, and use the toaster “start” and “stop” commands.

 

- David

 

 

From: toaster-bounces@yoctoproject.org [mailto:toaster-bounces@yoctoproject.org] On Behalf Of Brahmmi Boss
Sent: Wednesday, January 24, 2018 9:37 PM
To: toaster@yoctoproject.org
Subject: [Toaster] Query regarding toaster setup in local build mode

 

Hi,

I am trying to setup toaster  in in build mode locally on ubuntu pc.but i got the following errors,

please help to resolve the errors.



veera@veera-OptiPlex-9020:~/toaster/poky$ source bitbake/bin/toaster
The system will start.
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

Synced:
 > django.contrib.staticfiles
 > django.contrib.humanize
 > south

Not synced (use migrations):
 - orm
(use ./manage.py migrate to migrate these)
Running migrations for orm:
- Nothing to migrate.
 - Loading initial data for orm.
Installed 0 object(s) from 0 fixture(s)
[1]+  Exit 1                  python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000 < /dev/null > ${BUILDDIR}/toaster_web.log 2>&1
Failed start.

veera@veera-OptiPlex-9020:~/toaster/poky$

 

Thanks and Regards

      veera