Openmoko Bug #1968: MokoMakefile installed in dir with not trivial path does not work

Openmoko Public Trac bugs at docs.openmoko.org
Sun Sep 7 11:21:53 CEST 2008


#1968: MokoMakefile installed in dir with not trivial path does not work
-------------------------------+--------------------------------------------
    Reporter:  lman.dev        |        Owner:  openmoko-devel
        Type:  defect          |       Status:  new           
    Priority:  low             |    Milestone:                
   Component:  host utilities  |      Version:                
    Severity:  minor           |   Resolution:                
    Keywords:  MokoMafileke    |    Blockedby:                
Reproducible:  always          |     Blocking:                
-------------------------------+--------------------------------------------

Comment(by lman.dev):

 >Did you follow http://wiki.openmoko.org/wiki/MokoMakefile? I assume you
 missed make setup and make setup-machine-freerunner.
 Yes, see the results:

 {{{
 ~/env-2008.08 $ make setup
 }}}
 {{{
 ( [ -e stamps/bitbake ] && \
           [ -e bitbake/.git ] ) || \
         ( git clone -n git://git.openmoko.org/git/bitbake.git bitbake )
 ( cd bitbake && \
           ( git branch | egrep -e ' bitbake-om$' > /dev/null || \
             git checkout -b bitbake-om --track origin/bitbake-om ))
 ( cd bitbake && git checkout bitbake-om )
 Already on "bitbake-om"
 [ -d stamps ] || mkdir stamps
 touch stamps/bitbake
 ( [ -e stamps/openembedded ] && \
           [ -e openembedded/.git ] ) || \
         ( git clone -n git://git.openmoko.org/git/openmoko.git
 openembedded )
 ( cd openembedded && \
           ( git branch | egrep -e ' org.openmoko.asu.stable$' > /dev/null
 || \
             git checkout -b org.openmoko.asu.stable --track
 origin/org.openmoko.asu.stable ))
 ( cd openembedded && git checkout org.openmoko.asu.stable )
 Already on "org.openmoko.asu.stable"
 [ -d stamps ] || mkdir stamps
 touch stamps/openembedded
 [ -e openmoko ] || ( mkdir openmoko )
 [ -e stamps/openmoko ] || [ -e openmoko/trunk/.svn/entries ] || \
         ( cd openmoko && svn co http://svn.openmoko.org/trunk )
 [ -e stamps/openmoko ] || [ -e openmoko/developers/.svn/entries ] || \
         ( cd openmoko && svn co http://svn.openmoko.org/developers )
 [ -d stamps ] || mkdir stamps
 touch stamps/openmoko
 mkdir -p build/conf
 [ -e build/conf/local.conf ] || \
         ( echo 'MACHINE = "om-gta01"' > build/conf/local.conf ; \
           echo 'DISTRO = "openmoko"' >> build/conf/local.conf ; \
           echo 'BUILD_ARCH = "'`uname -m`'"' >> build/conf/local.conf ; \
           echo 'INHERIT += "rm_work"' >> build/conf/local.conf )
 rm -f build/conf/site.conf
 ( ln -sfn ../../openmoko/trunk/src/host/openembedded/site.conf
 build/conf/site.conf )
 }}}
 {{{
 ~/env-2008.08 $ make setup-machine-freerunner
 }}}
 {{{
 mkdir -p build/conf
 [ -e build/conf/local.conf ] || \
         ( echo 'MACHINE = "om-gta01"' > build/conf/local.conf ; \
           echo 'DISTRO = "openmoko"' >> build/conf/local.conf ; \
           echo 'BUILD_ARCH = "'`uname -m`'"' >> build/conf/local.conf ; \
           echo 'INHERIT += "rm_work"' >> build/conf/local.conf )
 rm -f build/conf/site.conf
 ( ln -sfn ../../openmoko/trunk/src/host/openembedded/site.conf
 build/conf/site.conf )
 ( grep "MACHINE = \"om-gta02\"" build/conf/local.conf > /dev/null ) || \
         sed -i -e 's/^MACHINE[[:space:]]*=[[:space:]]*\".*\"/MACHINE =
 \"om-gta02\"/' \
                 build/conf/local.conf
 }}}
 {{{
 ~/env-2008.08 $ make openmoko-qtopia-x11-image
 }}}
 {{{
 ( cd build && . ../setup-env && \
           ( bitbake openmoko-qtopia-x11-image u-boot-openmoko ) )
 '''ERROR: Unable to open conf/bitbake.conf
 make: *** [openmoko-qtopia-x11-image] Error 1'''
 ~/env-2008.08 $
 }}}

 >And the support mailinglist or the #openmoko irc channel might be better
 places for such kind of issues.
 Why? Isn't this site a bug report system for OpenMoko? And isn't it a bug
 in image build system?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1968#comment:2>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list