[Bugs] #857 HIGH: Obsolete jhbuild start script

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon May 18 13:16:51 EDT 2009


#857: Obsolete jhbuild start script
------------------------------+---------------------------------------------
    Reporter:  Mokurai        |          Owner:  sascha_silbe               
        Type:  defect         |         Status:  new                        
    Priority:  High           |      Milestone:  Unspecified by Release Team
   Component:  sugar-jhbuild  |        Version:  Unspecified                
    Severity:  Blocker        |     Resolution:                             
    Keywords:  jhbuild        |   Distribution:  Fedora                     
Status_field:  Unconfirmed    |  
------------------------------+---------------------------------------------
Changes (by morfila):

 * cc: morfila at marcosorfila.com (added)
  * owner:  tomeu => sascha_silbe
  * component:  sugar => sugar-jhbuild
  * severity:  Unspecified => Blocker
  * priority:  Unspecified by Maintainer => High


Comment:

 I'm having the same problem in Ubuntu 9.04 with the latest updates and
 Ubuntu 8.10 either just installed (without updates) and with the latest
 updates.

 It used to work in Ubuntu 8.10, I was using it some time ago (one or two
 months ago).

 As far as I can see, in file "jhbuild/jhbuild/config.py", the following
 "try-except" fails:

         try:
             SRCDIR
         except NameError:
             raise FatalError(_('Obsolete jhbuild start script, do run
 \'make install\''))

 It seems that SRCDIR is not defined. Where should it be defined?
 Here's the ouptut of a search for string "SRCDIR":

 =[ BEGIN find ]============================================
 morfila at morfila-laptop:~/ceibaljam/sugar/sugar-jhbuild$ find . -type f
 -name '*.py' -exec grep -H SRCDIR {} \;
 ./jhbuild/tests/tests.py:__builtin__.__dict__['SRCDIR'] =
 os.path.join(os.path.dirname(__file__), '..')
 ./jhbuild/tests/tests.py:sys.path.insert(0, SRCDIR)
 ./jhbuild/jhbuild/moduleset.py:    moduleset_local_path =
 os.path.join(SRCDIR, 'modulesets')
 ./jhbuild/jhbuild/commands/bot.py:            basedir =
 os.path.join(SRCDIR, 'buildbot')
 ./jhbuild/jhbuild/versioncontrol/hg.py:        if os.path.exists(SRCDIR):
 ./jhbuild/jhbuild/versioncontrol/hg.py:            hg_update_path =
 os.path.join(SRCDIR, 'scripts', 'hg-update.py')
 ./jhbuild/jhbuild/versioncontrol/tarball.py:
 os.path.join(SRCDIR, 'patches', patch)):
 ./jhbuild/jhbuild/config.py:            SRCDIR
 morfila at morfila-laptop:~/ceibaljam/sugar/sugar-jhbuild$
 =[ END find ]==============================================

 The addition of SRCDIR into "__builtin__" should be enough,
 but it seems it's not working.

 Regards,

    Marcos

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/857#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list