[Openembedded-users] Again, is anyone able to actually BUILD the Angstrom release?
Ben Gamari
bgamari at gmail.com
Wed Mar 4 17:42:50 UTC 2009
I am very sorry for the noise here. As it turns out, the problem was me
simply failing to set BBFILES in the config file. Regardless, this issue
was far from obvious from the error produced. I'll send along a patch in
a second to raise a more descriptive exception in the event that BBFILES
isn't defined. Thanks,
- Ben
On Wed, 2009-03-04 at 12:31 -0500, Ben Gamari wrote:
> Hey all,
>
> I'm attempting to build a BeagleBoard image from OpenEmbedded pulled
> from git. I'm doing this using BitBake from SVN. Unfortunately, when I
> tried to build the Angstrom release, I encountered the following error,
>
> > NOTE: <type 'exceptions.IndexError'>:list index out of range while evaluating:
> > ${@base_detect_branch(d)}
> > Traceback (most recent call last):
> > File "/opt/exp/openembedded/bitbake/bin/bitbake", line 143, in <module>
> > main()
> > File "/opt/exp/openembedded/bitbake/bin/bitbake", line 140, in main
> > cooker.cook()
> > File "/opt/exp/openembedded/bitbake/lib/bb/cooker.py", line 644, in cook
> > return self.buildTargets(pkgs_to_build)
> > File "/opt/exp/openembedded/bitbake/lib/bb/cooker.py", line 531, in buildTargets
> > bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))
> > File "/opt/exp/openembedded/bitbake/lib/bb/event.py", line 67, in fire
> > if tmpHandler(event) == Handled:
> > File "tmpHandler(e)", line 35, in tmpHandler
> > File "/opt/exp/openembedded/bitbake/lib/bb/data.py", line 97, in getVar
> > return d.getVar(var,exp)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 167, in getVar
> > return self.expand(value,var)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 85, in expand
> > s = __expand_python_regexp__.sub(python_sub, s)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 71, in python_sub
> > s = eval(code)
> > File "<string>", line 1, in <module>
> > File "<bb>", line 6, in base_detect_branch
> > File "<bb>", line 3, in base_get_metadata_git_branch
> > File "<bb>", line 4, in base_get_scmbasepath
> > IndexError: list index out of range
>
> It seems that David Hagood encountered this error several months ago[1]
> and yet no resolution was reached (as far as I can tell). Bitbake itself
> doesn't seem to find anything out of the ordinary until the error[2].
> Furthermore, my environment is configured just as set forth in the
> getting started guide,
>
> > export OEROOT=/opt/exp/openembedded
> > export BBPATH=$OEROOT/build:$OEROOT/openembedded
> > export PATH=$OEROOT/bitbake/bin:$PATH
>
> I'm definitely willing to do whatever is necessary to get this bug
> finally solved. I'm fairly fluent in Python but any input you could
> offer would be greatly appreciated.
>
> Thanks,
>
> - Ben
>
>
>
> [1] http://thread.gmane.org/gmane.comp.handhelds.openembedded.user/627/focus=635
> [2] See below:
>
> > [1217 ben at mercury /opt/exp/openembedded/openembedded] $ bitbake -DDD console-image
> > /opt/exp/openembedded/bitbake/lib/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
> > import types, sets
> > DEBUG: Removed the following variables from the environment:SSH_ASKPASS,LOADEDMODULES,GNOME_DESKTOP_SESSION_ID,LESSOPEN,QT_IM_MODULE,INPUTRC,QTDIR,QTLIB,QTINC,G_BROKEN_FILENAMES,HISTSIZE,WINDOWID,EDITOR,XMODIFIERS,CONFIGS,ROOT_CFG,MODULESHOME,MAKEOPTS,OEROOT,GDMSESSION,ORBIT_SOCKETDIR,MODULEPATH,OLDPWD,HOSTNAME,GDM_LANG,SHLVL,CVS_RSH,MAIL,GIT_EDITOR,LS_COLORS
> > DEBUG: CONF reading /opt/exp/openembedded/openembedded/conf/bitbake.conf
> > DEBUG: update_data()
> > DEBUG: update_data()
> > DEBUG: CONF conf/bitbake.conf:612: including conf/site.conf
> > DEBUG: CONF file 'conf/site.conf' not found
> > DEBUG: CONF conf/bitbake.conf:613: including conf/auto.conf
> > DEBUG: CONF file 'conf/auto.conf' not found
> > DEBUG: CONF conf/bitbake.conf:614: including conf/local.conf
> > DEBUG: CONF including /opt/exp/openembedded/build/conf/local.conf
> > DEBUG: CONF conf/bitbake.conf:619: including conf/build/x86_64-linux.conf
> > DEBUG: CONF file 'conf/build/x86_64-linux.conf' not found
> > DEBUG: CONF conf/bitbake.conf:620: including conf/target/INVALID-INVALID.conf
> > DEBUG: CONF file 'conf/target/INVALID-INVALID.conf' not found
> > DEBUG: CONF conf/bitbake.conf:621: including conf/machine/beagleboard.conf
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/machine/beagleboard.conf
> > DEBUG: CONF conf/machine/beagleboard.conf:18: including conf/machine/include/tune-cortexa8.inc
> > DEBUG: BB conf/machine/include/tune-cortexa8.inc: handle(data, include)
> > DEBUG: CONF conf/bitbake.conf:622: including conf/distro/angstrom-2008.1.conf
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/distro/angstrom-2008.1.conf
> > DEBUG: BB conf/distro/include/sane-srcdates.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/sane-srcrevs.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/angstrom-2008-preferred-versions.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/preferred-opie-versions-1.2.4.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/preferred-e-versions.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/preferred-xorg-versions-X11R7.4.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/angstrom.inc: handle(data, include)
> > DEBUG: update_data()
> > DEBUG: BB conf/distro/include/angstrom-glibc.inc: handle(data, include)
> > DEBUG: BB conf/distro/include/angstrom-package-ipk.inc: handle(data, include)
> > DEBUG: update_data()
> > DEBUG: CONF conf/bitbake.conf:623: including conf/documentation.conf
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/documentation.conf
> > DEBUG: setVarFlag(PREFERRED_VERSION, doc, Normally use it as PREFERRED_VERSION_package-name = "" to set the preferred version of more than one version for the package-name is available., data)
> > DEBUG: setVarFlag(BUILD_ARCH, doc, The name of the building architecture. E.g. i686., data)
> > DEBUG: setVarFlag(BUILD_OS, doc, The operating system (in lower case) of the building architecture. E.g linux., data)
> > DEBUG: setVarFlag(BUILD_VENDOR, doc, FIXME, data)
> > DEBUG: setVarFlag(BUILD_SYS, doc, FIXME, data)
> > DEBUG: setVarFlag(BUILD_PREFIX, doc, FIXME, data)
> > DEBUG: setVarFlag(BUILD_CC_ARCH, doc, FIXME, data)
> > DEBUG: setVarFlag(HOST_ARCH, doc, The name of the target architecture. Normally same as the TARGET_ARCH. @see TARGET_ARCH @group base, data)
> > DEBUG: setVarFlag(HOST_OS, doc, The name of the target operating system. Normally the same as the TARGET_OS. @see TARGET_OS @group base, data)
> > DEBUG: setVarFlag(HOST_VENDOR, doc, The name of the vendor. Normally same as the TARGET_VENDOR. @see TARGET_VENDOR, data)
> > DEBUG: setVarFlag(HOST_SYS, doc, FIXME, data)
> > DEBUG: setVarFlag(HOST_PREFIX, doc, Normally same as the TARGET_PREFIX. @see TARGET_PREFIX @group base, data)
> > DEBUG: setVarFlag(HOST_CC_ARCH, doc, Normally same as the TARGET_CC_ARCH. @see TARGET_CC_ARCH @group base, data)
> > DEBUG: setVarFlag(HOST_NONSYSV, doc, This flag can be set to "1" if the host system is not SysV compatible. E.g.fakeroot-native will be build with tcp as IPC implementation., data)
> > DEBUG: setVarFlag(TARGET_ARCH, doc, Build for which architecture. Examples are arm, i686, sh3, mips, powerpc., data)
> > DEBUG: setVarFlag(TARGET_OS, doc, Build for which Operating System. Currently possible values are linux and linux-uclibc. When using linux-uclibc you might want to set USE_NLS_gcc-cross to "no"., data)
> > DEBUG: setVarFlag(TARGET_VENDOR, doc, FIXME, data)
> > DEBUG: setVarFlag(TARGET_SYS, doc, The target system is composed out of TARGET_ARCH,TARGET_VENDOR and TARGET_OS., data)
> > DEBUG: setVarFlag(TARGET_PREFIX, doc, The prefix for the cross compile toolchain. E.g arm-linux- ., data)
> > DEBUG: setVarFlag(TARGET_CC_ARCH, doc, FIXME, data)
> > DEBUG: setVarFlag(TARGET_FPU, doc, Floating point option (mostly for FPU-less systems), can be 'soft' or empty for hardware floating point instructions., data)
> > DEBUG: setVarFlag(ASSUME_PROVIDED, doc, List of packages (recipes actually) which are assumed to be implicitly available.These packages won't be built by bitbake., data)
> > DEBUG: setVarFlag(ASSUME_SHLIBS, doc, List of shlib:package[_version] mappings. Useful for lib packages in ASSUME_PROVIDED,for which automatic shlib dependency tracking doesn't work., data)
> > DEBUG: setVarFlag(PACKAGE_ARCH, doc, The architecture needed for using a resulting package. If you have machine dependant configuration options in your bitbake file add a PACKAGE_ARCH = "${MACHINE_ARCH}" to the file., data)
> > DEBUG: setVarFlag(PACKAGE_ARCHS, doc, A list of architectures compatible with the given target in order of priority, data)
> > DEBUG: setVarFlag(PACKAGE_EXTRA_ARCHS, doc, Set this variable to add extra architectures to the list of supported architectures, data)
> > DEBUG: setVarFlag(DATE, doc, The date the build was started Ymd, data)
> > DEBUG: setVarFlag(TIME, doc, The time the build was started HMS, data)
> > DEBUG: setVarFlag(DATETIME, doc, The date and time the build was started at, data)
> > DEBUG: setVarFlag(PN, doc, PN holds the name of the package (Package Name). It is gathered from the bitbake-file filename, data)
> > DEBUG: setVarFlag(PV, doc, PV holds the version of the package (Package Version). The default value is 1.0, it is retrieved from the bitbake-file filename but can be changed., data)
> > DEBUG: setVarFlag(PR, doc, PR is the revision of the package (Package Revision). By default it is set to r0., data)
> > DEBUG: setVarFlag(PF, doc, Package name - Package version - Package revision (PN-PV-PR), data)
> > DEBUG: setVarFlag(P, doc, Package name - Package version (PN-PF), data)
> > DEBUG: setVarFlag(S, doc, Directory that holds the sources to build, WORKDIR/PN-PV by default. The 'make' or equivalent command is run from this directory., data)
> > DEBUG: setVarFlag(SECTION, doc, Section of the packages e.g. console/networking, data)
> > DEBUG: setVarFlag(PRIORITY, doc, Importance of package, default values are 'optional' or 'needed'., data)
> > DEBUG: setVarFlag(DESCRIPTION, doc, A small description of the package., data)
> > DEBUG: setVarFlag(LICENSE, doc, The license of the resulting package e.g. GPL, data)
> > DEBUG: setVarFlag(AUTHOR, doc, The author of the files installed., data)
> > DEBUG: setVarFlag(MAINTAINER, doc, Distributions can put this in their .conf file to add their contact information into packages, this is not valid inside recipes, data)
> > DEBUG: setVarFlag(HOMEPAGE, doc, Homepage of the package e.g. http://www.project.net., data)
> > DEBUG: setVarFlag(GROUP_dependencies, doc, The keys in this group influence the dependency handling of BitBake and the resulting packages., data)
> > DEBUG: setVarFlag(DEPENDS, doc, Build time dependencies, things needed to build the package. @group dependencies, data)
> > DEBUG: setVarFlag(RDEPENDS, doc, Run time dependencies, things needed for a given package to run. This is used to populate the ipkg:Depends field. @group dependencies, data)
> > DEBUG: setVarFlag(PROVIDES, doc, Names for additional build time dependencies that this package will provide. @group dependencies, data)
> > DEBUG: setVarFlag(RPROVIDES, doc, Names for additional run time dependencies that this package will provide. This is used to populate the ipkg:Provides field. @group dependencies, data)
> > DEBUG: setVarFlag(GROUP_packaging, doc, The keys in this group influence the package building process. They influence which packages will be generated and which files will be present in the generated packages., data)
> > DEBUG: setVarFlag(PACKAGES, doc, Names of packages to be generated. @group packaging, data)
> > DEBUG: setVarFlag(FILES, doc, Files/Directories belonging to the package. @group packaging, data)
> > DEBUG: setVarFlag(TMPDIR, doc, The temporary directory of openembedded holding work-, deploy, staging- and other directories., data)
> > DEBUG: setVarFlag(CACHE, doc, The directory holding the cache of the metadata., data)
> > DEBUG: setVarFlag(GROUP_fetcher, doc, The key highly influence the fetcher implementations., data)
> > DEBUG: setVarFlag(DL_DIR, doc, The directory where tarballs will be stored. @group fetcher, data)
> > DEBUG: setVarFlag(CVSDIR, doc, The directory where cvs checkouts will be stored in. @group fetcher, data)
> > DEBUG: setVarFlag(GITDIR, doc, The directory where git clones will be stored. @group fetcher, data)
> > DEBUG: setVarFlag(SVNDIR, doc, The directory where subversion checkouts will be stored. @group fetcher, data)
> > DEBUG: setVarFlag(STAMP, doc, The directory that holds files to keep track of what was built., data)
> > DEBUG: setVarFlag(WORKDIR, doc, The directory where a concrete package will be unpacked and built., data)
> > DEBUG: setVarFlag(T, doc, Temporary directory within the WORKDIR., data)
> > DEBUG: setVarFlag(GROUP_locale, doc, Locale generation of the GNU libc implementation, data)
> > DEBUG: setVarFlag(ENABLE_BINARY_LOCALE_GENERATION, doc, Enable the use of qemu to generate locale information during build time on the host instead of runtime on the target. If you have trouble with qemu-native you should make this an empty var. @group locale, data)
> > DEBUG: setVarFlag(PCMCIA_MANAGER, doc, Specify which package(s) to install to handle PCMCIA slots (usually pcmcia-cs or pcmciautils)., data)
> > DEBUG: setVarFlag(SYSVINIT_ENABLED_GETTYS, doc, Specify which VTs should be running a getty, the default is 1, data)
> > DEBUG: setVarFlag(FEED_URIS, doc, List of ipkg feed records to put into generated image., data)
> > DEBUG: setVarFlag(FEED_DEPLOYDIR_BASE_URI, doc, Allow to serve ipk deploy dir as an adhoc feed (bogofeed). Set to base URL of the dir as exported by HTTP. Set of adhoc feed configs will be generated in image., data)
> > DEBUG: setVarFlag(QA_LOG, doc, Enable logging of QA errors to log.qa_package. Default is not to log., data)
> > DEBUG: setVarFlag(PALMTOP_USE_MULTITHREADED_QT, doc, Set to yes, if you want to build qt apps with CONFIG+=thread, data)
> > DEBUG: setVarFlag(COMPATIBLE_HOST, doc, A regular expression which matches the HOST_SYS names supported by the package/file. Failure to match will cause the file to be skipped by the parser., data)
> > DEBUG: setVarFlag(COMPATIBLE_MACHINE, doc, A regular expression which matches the MACHINES support by the package/file. Failure to match will cause the file to be skipped by the parser., data)
> > DEBUG: setVarFlag(SOURCE_MIRROR_FETCH, doc, Switch marking build as source fetcher. Used to skip COMPATIBLE_* checking., data)
> > DEBUG: setVarFlag(SOURCE_MIRROR_URL, doc, URL to source mirror which will be used before fetching from original SRC_URI., data)
> > DEBUG: setVarFlag(BBINCLUDELOGS, doc, Boolean switch to get log printed on failure., data)
> > DEBUG: setVarFlag(BBINCLUDELOGS_LINES, doc, Amount of log lines printed on failure., data)
> > DEBUG: setVarFlag(SEPPUKU_AUTOBUILD, doc, This is an autobuild, broken packages are cleaned automatically. Don't define this at all if this is not an autobuild, data)
> > DEBUG: setVarFlag(SEPPUKU_USER, doc, The login-name for the bugzilla account, data)
> > DEBUG: setVarFlag(SEPPUKU_PASS, doc, The password for this account, data)
> > DEBUG: setVarFlag(SEPPUKU_LOGIN, doc, path to the login script of the bugzilla, note the ? at the end, data)
> > DEBUG: setVarFlag(SEPPUKU_QUERY, doc, The query script of the bugzilla, data)
> > DEBUG: setVarFlag(SEPPUKU_NEWREPORT, doc, This is the url used to create a new bug report, note the defaults for version and priority and more, and the trailing &, data)
> > DEBUG: setVarFlag(SEPPUKU_ADDCOMMENT, doc, The url used to reopen bug reports and to add another new comment, data)
> > DEBUG: setVarFlag(SEPPUKU_ATTACHMENT, doc, The url used to create attachments., data)
> > DEBUG: setVarFlag(SEPPUKU_PRODUCT, doc, The product inside the bugtracker, data)
> > DEBUG: setVarFlag(SEPPUKU_COMPONENT, doc, The component inside the bugtracker, data)
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/sanity.conf
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/abi_version.conf
> > DEBUG: CONF including /opt/exp/openembedded/openembedded/conf/enterprise.conf
> > DEBUG: update_data()
> > DEBUG: BB classes/base.bbclass: handle(data, include)
> > DEBUG: setVarFlag(do_listtasks, nostamp, 1, data)
> > DEBUG: setVarFlag(do_clean, dirs, ${TOPDIR}, data)
> > DEBUG: setVarFlag(do_clean, nostamp, 1, data)
> > DEBUG: setVarFlag(do_rebuild, dirs, ${TOPDIR}, data)
> > DEBUG: setVarFlag(do_rebuild, nostamp, 1, data)
> > DEBUG: setVarFlag(do_mrproper, dirs, ${TOPDIR}, data)
> > DEBUG: setVarFlag(do_mrproper, nostamp, 1, data)
> > DEBUG: setVarFlag(do_distclean, dirs, ${TOPDIR}, data)
> > DEBUG: setVarFlag(do_distclean, nostamp, 1, data)
> > DEBUG: setVarFlag(do_setscene, selfstamp, 1, data)
> > DEBUG: setVarFlag(do_fetch, dirs, ${DL_DIR}, data)
> > DEBUG: setVarFlag(do_fetch, depends, shasum-native:do_populate_staging, data)
> > DEBUG: setVarFlag(do_fetchall, recrdeptask, do_fetch, data)
> > DEBUG: setVarFlag(do_checkuri, nostamp, 1, data)
> > DEBUG: setVarFlag(do_checkuriall, recrdeptask, do_checkuri, data)
> > DEBUG: setVarFlag(do_checkuriall, nostamp, 1, data)
> > DEBUG: setVarFlag(do_buildall, recrdeptask, do_build, data)
> > DEBUG: setVarFlag(do_unpack, dirs, ${WORKDIR}, data)
> > DEBUG: setVarFlag(do_configure, dirs, ${S} ${B}, data)
> > DEBUG: setVarFlag(do_configure, deptask, do_populate_staging, data)
> > DEBUG: setVarFlag(do_compile, dirs, ${S} ${B}, data)
> > DEBUG: setVarFlag(do_populate_staging, dirs, ${STAGING_DIR_TARGET}/${layout_bindir} ${STAGING_DIR_TARGET}/${layout_libdir} ${STAGING_DIR_TARGET}/${layout_includedir} ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} ${STAGING_INCDIR_NATIVE} ${STAGING_DATADIR} ${S} ${B}, data)
> > DEBUG: setVarFlag(do_install, dirs, ${D} ${S} ${B}, data)
> > DEBUG: setVarFlag(do_install, cleandirs, ${D}, data)
> > DEBUG: setVarFlag(do_build, func, 1, data)
> > DEBUG: setVarFlag(MACHINE, unexport, 1, data)
> > DEBUG: setVarFlag(TARGET_ARCH, unexport, 1, data)
> > DEBUG: setVarFlag(DISTRO, unexport, 1, data)
> > DEBUG: BB :0: inheriting classes/patch.bbclass
> > DEBUG: BB classes/patch.bbclass: handle(data, include)
> > DEBUG: setVarFlag(do_patch, dirs, ${WORKDIR}, data)
> > DEBUG: setVarFlag(do_patch, depends, ${PATCHDEPENDENCY}, data)
> > DEBUG: BB :0: inheriting classes/siteinfo.bbclass
> > DEBUG: BB classes/siteinfo.bbclass: handle(data, include)
> > DEBUG: setVarFlag(MIRRORS, func, 0, data)
> > DEBUG: BB classes/packaged-staging.bbclass: handle(data, include)
> > DEBUG: setVarFlag(packagestage_scenefunc, cleandirs, ${PSTAGE_TMPDIR_STAGE}, data)
> > DEBUG: setVarFlag(packagestage_scenefunc, dirs, ${STAGING_DIR}, data)
> > DEBUG: setVarFlag(do_populate_staging, lockfiles, ${STAGING_DIR}/staging.lock, data)
> > DEBUG: setVarFlag(do_populate_staging, dirs, ${DEPLOY_DIR_PSTAGE} ${STAGING_DIR_TARGET}/${layout_bindir} ${STAGING_DIR_TARGET}/${layout_libdir} ${STAGING_DIR_TARGET}/${layout_includedir} ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} ${STAGING_INCDIR_NATIVE} ${STAGING_DATADIR} ${S} ${B}, data)
> > DEBUG: setVarFlag(do_package_stage_all, recrdeptask, do_package_stage, data)
> > DEBUG: BB classes/src_distribute_local.bbclass: handle(data, include)
> > DEBUG: BB :0: inheriting classes/src_distribute.bbclass
> > DEBUG: BB classes/src_distribute.bbclass: handle(data, include)
> > DEBUG: setVarFlag(SRC_DISTRIBUTECOMMAND, func, 1, data)
> > DEBUG: setVarFlag(do_distsrcall, recrdeptask, do_distribute_sources, data)
> > DEBUG: BB classes/debian.bbclass: handle(data, include)
> > DEBUG: setVarFlag(do_package_write_ipk, rdeptask, do_package, data)
> > DEBUG: setVarFlag(do_package_write_deb, rdeptask, do_package, data)
> > DEBUG: setVarFlag(do_package_write_tar, rdeptask, do_package, data)
> > DEBUG: setVarFlag(do_package_write_rpm, rdeptask, do_package, data)
> > DEBUG: BB classes/sanity.bbclass: handle(data, include)
> > DEBUG: BB classes/devshell.bbclass: handle(data, include)
> > DEBUG: setVarFlag(EXTRA_OEMAKE, export, 1, data)
> > DEBUG: setVarFlag(do_devshell, dirs, ${S}, data)
> > DEBUG: setVarFlag(do_devshell, nostamp, 1, data)
> > DEBUG: BB classes/angstrom-mirrors.bbclass: handle(data, include)
> > DEBUG: BB classes/insane.bbclass: handle(data, include)
> > DEBUG: BB :0: inheriting classes/package.bbclass
> > DEBUG: BB classes/package.bbclass: handle(data, include)
> > DEBUG: setVarFlag(populate_packages, dirs, ${D}, data)
> > DEBUG: setVarFlag(emit_pkgdata, dirs, ${PKGDATA_DIR}/runtime, data)
> > DEBUG: setVarFlag(do_package, dirs, ${D}, data)
> > DEBUG: BB classes/testlab.bbclass: handle(data, include)
> > DEBUG: BB classes/package_ipk.bbclass: handle(data, include)
> > DEBUG: setVarFlag(do_package_write_ipk, dirs, ${D}, data)
> > DEBUG: BB classes/sanity.bbclass: handle(data, include)
> > DEBUG: Using '/opt/exp/openembedded/openembedded/tmp/cache/glibc/beagleboard/bb_persist_data.sqlite3' as the persistent data cache
> > DEBUG: Clearing SRCREV cache due to cache policy of: clear
> > DEBUG: update_data()
> > DEBUG: collecting .bb files
> > DEBUG: Using cache in '/opt/exp/openembedded/openembedded/tmp/cache/glibc/beagleboard'
> > ERROR: no files to build.
> >
> > NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
> > NOTE: Cache is clean, not saving.
> > DEBUG: parsing complete
> > DEBUG: update_data()
> > NOTE: build 200903041217: started
> > NOTE: <type 'exceptions.IndexError'>:list index out of range while evaluating:
> > ${@base_detect_branch(d)}
> > Traceback (most recent call last):
> > File "/opt/exp/openembedded/bitbake/bin/bitbake", line 143, in <module>
> > main()
> > File "/opt/exp/openembedded/bitbake/bin/bitbake", line 140, in main
> > cooker.cook()
> > File "/opt/exp/openembedded/bitbake/lib/bb/cooker.py", line 644, in cook
> > return self.buildTargets(pkgs_to_build)
> > File "/opt/exp/openembedded/bitbake/lib/bb/cooker.py", line 531, in buildTargets
> > bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))
> > File "/opt/exp/openembedded/bitbake/lib/bb/event.py", line 67, in fire
> > if tmpHandler(event) == Handled:
> > File "tmpHandler(e)", line 35, in tmpHandler
> > File "/opt/exp/openembedded/bitbake/lib/bb/data.py", line 97, in getVar
> > return d.getVar(var,exp)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 167, in getVar
> > return self.expand(value,var)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 85, in expand
> > s = __expand_python_regexp__.sub(python_sub, s)
> > File "/opt/exp/openembedded/bitbake/lib/bb/data_smart.py", line 71, in python_sub
> > s = eval(code)
> > File "<string>", line 1, in <module>
> > File "<bb>", line 6, in base_detect_branch
> > File "<bb>", line 3, in base_get_metadata_git_branch
> > File "<bb>", line 4, in base_get_scmbasepath
> > IndexError: list index out of range
>
>
>
>
>
More information about the Openembedded-users
mailing list