<div dir="ltr">permissions??? maybe it&#39;s really silly...<br>d<br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 1:44 PM, Didier Ptitjes <span dir="ltr">&lt;<a href="mailto:ptitjes@free.fr">ptitjes@free.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hello,<br>
<br>
Sorry this may be a dumb question. I&#39;m trying to build an ASU image for<br>
x86 with the MokoMakefile for several days without success.<br>
<br>
I carefully followed the explanations of Wiki, searched the<br>
mailling-lists and the Web for a tip, but I always get the same error<br>
message.<br>
<br>
moko@didier ~ $ make image<br>
( cd build &amp;&amp; . ../setup-env &amp;&amp; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;( bitbake openmoko-asu-image u-boot-openmoko ) )<br>
ERROR: Unable to open conf/bitbake.conf<br>
<br>
I checked my setup-env file. All this seems correct. I also echoed<br>
BBPATH from it and it seems correct too.<br>
<br>
I added -DDD to the bitbake command in the Makefile and it looks like it<br>
opens the conf file and process it but then it stops with the same<br>
message...<br>
<br>
I can&#39;t understand why!<br>
<br>
Thanks for your help. Didier.<br>
<br>
Output with -DDD :<br>
<br>
moko@didier ~ $ make image<br>
( cd build &amp;&amp; . ../setup-env &amp;&amp; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;( bitbake -DDD openmoko-asu-image u-boot-openmoko ) )<br>
DEBUG: CONF reading /home/moko/openembedded/conf/bitbake.conf<br>
DEBUG: update_data()<br>
DEBUG: update_data()<br>
DEBUG: CONF conf/bitbake.conf:539: including conf/site.conf<br>
DEBUG: CONF including /home/moko/build/conf/site.conf<br>
DEBUG: update_data()<br>
DEBUG: CONF conf/bitbake.conf:540: including conf/auto.conf<br>
DEBUG: CONF file &#39;conf/auto.conf&#39; not found<br>
DEBUG: CONF conf/bitbake.conf:541: including conf/local.conf<br>
DEBUG: CONF including /home/moko/build/conf/local.conf<br>
DEBUG: CONF conf/bitbake.conf:546: including conf/build/i686-linux.conf<br>
DEBUG: CONF file &#39;conf/build/i686-linux.conf&#39; not found<br>
DEBUG: CONF conf/bitbake.conf:547: including<br>
conf/target/INVALID-INVALID.conf<br>
DEBUG: CONF file &#39;conf/target/INVALID-INVALID.conf&#39; not found<br>
DEBUG: CONF conf/bitbake.conf:548: including conf/machine/x86.conf<br>
DEBUG: CONF including /home/moko/openembedded/conf/machine/x86.conf<br>
DEBUG: BB conf/machine/include/tune-x86.inc: handle(data, include)<br>
DEBUG: CONF conf/bitbake.conf:549: including conf/distro/openmoko.conf<br>
DEBUG: CONF including /home/moko/openembedded/conf/distro/openmoko.conf<br>
DEBUG: BB conf/distro/include/preferred-om-2008-versions.inc:<br>
handle(data, include)<br>
DEBUG: BB conf/distro/include/angstrom-2007-for-openmoko.inc:<br>
handle(data, include)<br>
DEBUG: BB conf/distro/include/sane-srcdates.inc: handle(data, include)<br>
DEBUG: BB conf/distro/include/sane-srcrevs.inc: handle(data, include)<br>
DEBUG: BB conf/distro/include/preferred-xorg-versions.inc: handle(data,<br>
include)<br>
DEBUG: BB conf/distro/include/preferred-gpe-versions-2.8.inc:<br>
handle(data, include)<br>
DEBUG: BB conf/distro/include/preferred-e-versions.inc: handle(data,<br>
include)<br>
DEBUG: BB conf/distro/include/angstrom.inc: handle(data, include)<br>
DEBUG: update_data()<br>
DEBUG: BB conf/distro/include/angstrom-glibc.inc: handle(data, include)<br>
DEBUG: BB conf/distro/include/angstrom-package-opk.inc: handle(data,<br>
include)<br>
DEBUG: update_data()<br>
DEBUG: CONF conf/bitbake.conf:550: including conf/documentation.conf<br>
DEBUG: CONF including /home/moko/openembedded/conf/documentation.conf<br>
DEBUG: setVarFlag(PREFERRED_VERSION, doc, Normally use it as<br>
PREFERRED_VERSION_package-name = &quot;&quot; to set the preferred version of more<br>
than one version for the package-name is available., data)<br>
DEBUG: setVarFlag(BUILD_ARCH, doc, The name of the building<br>
architecture. E.g. i686., data)<br>
DEBUG: setVarFlag(BUILD_OS, doc, The operating system (in lower case) of<br>
the building architecture. E.g linux., data)<br>
DEBUG: setVarFlag(BUILD_VENDOR, doc, FIXME, data)<br>
DEBUG: setVarFlag(BUILD_SYS, doc, FIXME, data)<br>
DEBUG: setVarFlag(BUILD_PREFIX, doc, FIXME, data)<br>
DEBUG: setVarFlag(BUILD_CC_ARCH, doc, FIXME, data)<br>
DEBUG: setVarFlag(HOST_ARCH, doc, The name of the target architecture.<br>
Normally same as the TARGET_ARCH. @see TARGET_ARCH @group base, data)<br>
DEBUG: setVarFlag(HOST_OS, doc, The name of the target operating system.<br>
Normally the same as the TARGET_OS. @see TARGET_OS @group base, data)<br>
DEBUG: setVarFlag(HOST_VENDOR, doc, The name of the vendor. Normally<br>
same as the TARGET_VENDOR. @see TARGET_VENDOR, data)<br>
DEBUG: setVarFlag(HOST_SYS, doc, FIXME, data)<br>
DEBUG: setVarFlag(HOST_PREFIX, doc, Normally same as the TARGET_PREFIX.<br>
@see TARGET_PREFIX @group base, data)<br>
DEBUG: setVarFlag(HOST_CC_ARCH, doc, Normally same as the<br>
TARGET_CC_ARCH. @see TARGET_CC_ARCH @group base, data)<br>
DEBUG: setVarFlag(HOST_NONSYSV, doc, This flag can be set to &quot;1&quot; if the<br>
host system is not SysV compatible. E.g.fakeroot-native will be build<br>
with tcp as IPC implementation., data)<br>
DEBUG: setVarFlag(TARGET_ARCH, doc, Build for which architecture.<br>
Examples are arm, i686, sh3, mips, powerpc., data)<br>
DEBUG: setVarFlag(TARGET_OS, doc, Build for which Operating System.<br>
Currently possible values are linux and linux-uclibc. When using<br>
linux-uclibc you might want to set USE_NLS_gcc-cross to &quot;no&quot;., data)<br>
DEBUG: setVarFlag(TARGET_VENDOR, doc, FIXME, data)<br>
DEBUG: setVarFlag(TARGET_SYS, doc, The target system is composed out of<br>
TARGET_ARCH,TARGET_VENDOR and TARGET_OS., data)<br>
DEBUG: setVarFlag(TARGET_PREFIX, doc, The prefix for the cross compile<br>
toolchain. E.g arm-linux- ., data)<br>
DEBUG: setVarFlag(TARGET_CC_ARCH, doc, FIXME, data)<br>
DEBUG: setVarFlag(TARGET_FPU, doc, Floating point option (mostly for<br>
FPU-less systems), can be &#39;soft&#39; or empty for hardware floating point<br>
instructions., data)<br>
DEBUG: setVarFlag(ASSUME_PROVIDED, doc, List of packages (recipes<br>
actually) which are assumed to be implicitly available.These packages<br>
won&#39;t be built by bitbake., data)<br>
DEBUG: setVarFlag(ASSUME_SHLIBS, doc, List of shlib:package[_version]<br>
mappings. Useful for lib packages in ASSUME_PROVIDED,for which automatic<br>
shlib dependency tracking doesn&#39;t work., data)<br>
DEBUG: setVarFlag(PACKAGE_ARCH, doc, The architecture needed for using a<br>
resulting package. If you have machine dependant configuration options<br>
in your bitbake file add a PACKAGE_ARCH &nbsp;= &quot;${MACHINE_ARCH}&quot; to the<br>
file., data)<br>
DEBUG: setVarFlag(PACKAGE_ARCHS, doc, A list of architectures compatible<br>
with the given target in order of priority, data)<br>
DEBUG: setVarFlag(PACKAGE_EXTRA_ARCHS, doc, Set this variable to add<br>
extra architectures to the list of supported architectures, data)<br>
DEBUG: setVarFlag(DATE, doc, The date the build was started Ymd, data)<br>
DEBUG: setVarFlag(TIME, doc, The time the build was started HMS, data)<br>
DEBUG: setVarFlag(DATETIME, doc, The date and time the build was started<br>
at, data)<br>
DEBUG: setVarFlag(PN, doc, PN holds the name of the package (Package<br>
Name). It is gathered from the bitbake-file filename, data)<br>
DEBUG: setVarFlag(PV, doc, PV holds the version of the package (Package<br>
Version). The default value is 1.0, it is retrieved from the<br>
bitbake-file filename but can be changed., data)<br>
DEBUG: setVarFlag(PR, doc, PR is the revision of the package (Package<br>
Revision). By default it is set to r0., data)<br>
DEBUG: setVarFlag(PF, doc, Package name - Package version - Package<br>
revision (PN-PV-PR), data)<br>
DEBUG: setVarFlag(P, doc, Package name - Package version (PN-PF), data)<br>
DEBUG: setVarFlag(S, doc, Directory that holds the sources to build,<br>
WORKDIR/PN-PV by default. The &#39;make&#39; or equivalent command is run from<br>
this directory., data)<br>
DEBUG: setVarFlag(SECTION, doc, Section of the packages e.g.<br>
console/networking, data)<br>
DEBUG: setVarFlag(PRIORITY, doc, Importance of package, default values<br>
are &#39;optional&#39; or &#39;needed&#39;., data)<br>
DEBUG: setVarFlag(DESCRIPTION, doc, A small description of the package.,<br>
data)<br>
DEBUG: setVarFlag(LICENSE, doc, The license of the resulting package<br>
e.g. GPL, data)<br>
DEBUG: setVarFlag(AUTHOR, doc, The author of the files installed., data)<br>
DEBUG: setVarFlag(MAINTAINER, doc, Distributions can put this in their<br>
.conf file to add their contact information into packages, this is not<br>
valid inside recipes, data)<br>
DEBUG: setVarFlag(HOMEPAGE, doc, Homepage of the package e.g.<br>
<a href="http://www.project.net" target="_blank">http://www.project.net</a>., data)<br>
DEBUG: setVarFlag(GROUP_dependencies, doc, The keys in this group<br>
influence the dependency handling of BitBake and the resulting<br>
packages., data)<br>
DEBUG: setVarFlag(DEPENDS, doc, Build time dependencies, things needed<br>
to build the package. @group dependencies, data)<br>
DEBUG: setVarFlag(RDEPENDS, doc, Run time dependencies, things needed<br>
for a given package to run. &nbsp;This is used to populate the ipkg:Depends<br>
field. @group dependencies, data)<br>
DEBUG: setVarFlag(PROVIDES, doc, Names for additional build time<br>
dependencies that this package will provide. @group dependencies, data)<br>
DEBUG: setVarFlag(RPROVIDES, doc, Names for additional run time<br>
dependencies that this package will provide. &nbsp;This is used to populate<br>
the ipkg:Provides field. @group dependencies, data)<br>
DEBUG: setVarFlag(GROUP_packaging, doc, The keys in this group influence<br>
the package building process. They influence which packages will be<br>
generated and which files will be present in the generated packages., data)<br>
DEBUG: setVarFlag(PACKAGES, doc, Names of packages to be generated.<br>
@group packaging, data)<br>
DEBUG: setVarFlag(FILES, doc, Files/Directories belonging to the<br>
package. @group packaging, data)<br>
DEBUG: setVarFlag(TMPDIR, doc, The temporary directory of openembedded<br>
holding work-, deploy, staging- and other directories., data)<br>
DEBUG: setVarFlag(CACHE, doc, The directory holding the cache of the<br>
metadata., data)<br>
DEBUG: setVarFlag(GROUP_fetcher, doc, The key highly influence the<br>
fetcher implementations., data)<br>
DEBUG: setVarFlag(DL_DIR, doc, The directory where tarballs will be<br>
stored. @group fetcher, data)<br>
DEBUG: setVarFlag(CVSDIR, doc, The directory where cvs checkouts will be<br>
stored in. @group fetcher, data)<br>
DEBUG: setVarFlag(GITDIR, doc, The directory where git clones will be<br>
stored. @group fetcher, data)<br>
DEBUG: setVarFlag(SVNDIR, doc, The directory where subversion checkouts<br>
will be stored. @group fetcher, data)<br>
DEBUG: setVarFlag(STAMP, doc, The directory that holds files to keep<br>
track of what was built., data)<br>
DEBUG: setVarFlag(WORKDIR, doc, The directory where a concrete package<br>
will be unpacked and built., data)<br>
DEBUG: setVarFlag(T, doc, Temporary directory within the WORKDIR., data)<br>
DEBUG: setVarFlag(GROUP_locale, doc, Locale generation of the GNU libc<br>
implementation, data)<br>
DEBUG: setVarFlag(ENABLE_BINARY_LOCALE_GENERATION, doc, Enable the use<br>
of qemu to generate locale information during build time on the host<br>
instead of runtime on the target. If you have trouble with qemu-native<br>
you should make this an empty var. @group locale, data)<br>
DEBUG: setVarFlag(PCMCIA_MANAGER, doc, Specify which package(s) to<br>
install to handle PCMCIA slots (usually pcmcia-cs or pcmciautils)., data)<br>
DEBUG: setVarFlag(SYSVINIT_ENABLED_GETTYS, doc, Specify which VTs should<br>
be running a getty, the default is 1, data)<br>
DEBUG: setVarFlag(FEED_URIS, doc, List of ipkg feed records to put into<br>
generated image., data)<br>
DEBUG: setVarFlag(FEED_DEPLOYDIR_BASE_URI, doc, Allow to serve ipk<br>
deploy dir as an adhoc feed (bogofeed). Set to base URL of the dir as<br>
exported by HTTP. Set of adhoc feed configs will be generated in image.,<br>
data)<br>
DEBUG: setVarFlag(QA_LOG, doc, Enable logging of QA errors to<br>
log.qa_package. Default is not to log., data)<br>
DEBUG: setVarFlag(PALMTOP_USE_MULTITHREADED_QT, doc, Set to yes, if you<br>
want to build qt apps with CONFIG+=thread, data)<br>
DEBUG: setVarFlag(COMPATIBLE_HOST, doc, A regular expression which<br>
matches the HOST_SYS names supported by the package/file. Failure to<br>
match will cause the file to be skipped by the parser., data)<br>
DEBUG: setVarFlag(COMPATIBLE_MACHINE, doc, A regular expression which<br>
matches the MACHINES support by the package/file. Failure to match will<br>
cause the file to be skipped by the parser., data)<br>
DEBUG: setVarFlag(SOURCE_MIRROR_FETCH, doc, Switch marking build as<br>
source fetcher. Used to skip COMPATIBLE_* checking., data)<br>
DEBUG: setVarFlag(SOURCE_MIRROR_URL, doc, URL to source mirror which<br>
will be used before fetching from original SRC_URI., data)<br>
DEBUG: setVarFlag(BBINCLUDELOGS, doc, Boolean switch to get log printed<br>
on failure., data)<br>
DEBUG: setVarFlag(BBINCLUDELOGS_LINES, doc, Amount of log lines printed<br>
on failure., data)<br>
DEBUG: setVarFlag(SEPPUKU_AUTOBUILD, doc, This is an autobuild, broken<br>
packages are cleaned automatically. Don&#39;t define this at all if this is<br>
not an autobuild, data)<br>
DEBUG: setVarFlag(SEPPUKU_USER, doc, The login-name for the bugzilla<br>
account, data)<br>
DEBUG: setVarFlag(SEPPUKU_PASS, doc, The password for this account, data)<br>
DEBUG: setVarFlag(SEPPUKU_LOGIN, doc, path to the login script of the<br>
bugzilla, note the ? at the end, data)<br>
DEBUG: setVarFlag(SEPPUKU_QUERY, doc, The query script of the bugzilla,<br>
data)<br>
DEBUG: setVarFlag(SEPPUKU_NEWREPORT, doc, This is the url used to create<br>
a new bug report, note the defaults for version and priority and more,<br>
and the trailing &amp;, data)<br>
DEBUG: setVarFlag(SEPPUKU_ADDCOMMENT, doc, The url used to reopen bug<br>
reports and to add another new comment, data)<br>
DEBUG: setVarFlag(SEPPUKU_ATTACHMENT, doc, The url used to create<br>
attachments., data)<br>
DEBUG: setVarFlag(SEPPUKU_PRODUCT, doc, The product inside the<br>
bugtracker, data)<br>
DEBUG: setVarFlag(SEPPUKU_COMPONENT, doc, The component inside the<br>
bugtracker, data)<br>
DEBUG: CONF including /home/moko/openembedded/conf/sanity.conf<br>
DEBUG: update_data()<br>
DEBUG: BB classes/base.bbclass: handle(data, include)<br>
DEBUG: setVarFlag(do_show_versions, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_lockdown, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_lockdown, recrdeptask, do_show_versions, data)<br>
DEBUG: setVarFlag(do_listtasks, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_clean, dirs, ${TOPDIR}, data)<br>
DEBUG: setVarFlag(do_clean, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_rebuild, dirs, ${TOPDIR}, data)<br>
DEBUG: setVarFlag(do_rebuild, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_mrproper, dirs, ${TOPDIR}, data)<br>
DEBUG: setVarFlag(do_mrproper, nostamp, 1, data)<br>
DEBUG: setVarFlag(do_fetch, dirs, ${DL_DIR}, data)<br>
DEBUG: setVarFlag(do_fetch, depends, shasum-native:do_populate_staging,<br>
data)<br>
DEBUG: setVarFlag(do_fetchall, recrdeptask, do_fetch, data)<br>
DEBUG: setVarFlag(do_buildall, recrdeptask, do_build, data)<br>
DEBUG: setVarFlag(do_unpack, dirs, ${WORKDIR}, data)<br>
DEBUG: setVarFlag(do_configure, dirs, ${S} ${B}, data)<br>
DEBUG: setVarFlag(do_configure, deptask, do_populate_staging, data)<br>
DEBUG: setVarFlag(do_compile, dirs, ${S} ${B}, data)<br>
DEBUG: setVarFlag(do_populate_staging, dirs,<br>
${STAGING_DIR_TARGET}/${layout_bindir}<br>
${STAGING_DIR_TARGET}/${layout_libdir}<br>
${STAGING_DIR_TARGET}/${layout_includedir}<br>
${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE}<br>
${STAGING_INCDIR_NATIVE} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ${STAGING_DATADIR} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;${S} ${B}, data)<br>
DEBUG: setVarFlag(do_install, dirs, ${D} ${S} ${B}, data)<br>
DEBUG: setVarFlag(do_install, cleandirs, ${D}, data)<br>
DEBUG: setVarFlag(do_build, func, 1, data)<br>
DEBUG: setVarFlag(MACHINE, unexport, 1, data)<br>
DEBUG: setVarFlag(TARGET_ARCH, unexport, 1, data)<br>
DEBUG: setVarFlag(DISTRO, unexport, 1, data)<br>
DEBUG: BB :0: inheriting classes/patch.bbclass<br>
DEBUG: BB classes/patch.bbclass: handle(data, include)<br>
DEBUG: setVarFlag(do_patch, dirs, ${WORKDIR}, data)<br>
DEBUG: BB :0: inheriting classes/siteinfo.bbclass<br>
DEBUG: BB classes/siteinfo.bbclass: handle(data, include)<br>
DEBUG: setVarFlag(MIRRORS, func, 0, data)<br>
DEBUG: BB classes/dev_shell.bbclass: handle(data, include)<br>
ERROR: Unable to open conf/bitbake.conf<br>
make: *** [openmoko-asu-image] Erreur 1<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br></div>