Re: Jhbuild: AttributeError when building modules

Craig Keogh <[email protected]>
Newsgroups gmane.comp.gnome.love
Message-ID <1336652395.1905.13.camel@tatooine>
On Fri, 2012-05-04 at 21:44 -0300, Rafael Wild wrote:
> Hi.
> 
> *** Configuring intltool *** [2/36]
> Traceback (most recent call last):
>   File "/home/alnahar/.local/bin/jhbuild", line 32, in <module>
>     jhbuild.main.main(sys.argv[1:])
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/main.py",
> line 147, in main
>     rc = jhbuild.commands.run(command, config, args, help=lambda:
> print_help(parser))
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py",
> line 129, in run
>     return cmd.execute(config, args, help)
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py",
> line 52, in execute
>     return self.run(config, options, args, help)
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/commands/base.py",
> line 240, in run
>     return build.build()
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/frontends/buildscript.py",
> line 162, in build
>     error, altphases = module.run_phase(self, phase)
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py",
> line 355, in run_phase
>     method(buildscript)
>   File "/home/alnahar/.local/lib/python2.7/site-packages/jhbuild/modtypes/autotools.py",
> line 138, in do_configure
>     autogenargs = self.autogenargs + ' ' + self.config.module_autogenargs.get(
> AttributeError: 'AutogenModule' object has no attribute 'config'

Hi Rafael,

I fixed this in this commit:
http://git.gnome.org/browse/jhbuild/commit/?id=a6ed4e33e83f292103cbd378e66e413f9d320d6f

Could you update JHBuild please:
cd jhbuild
git pull --rebase
make
make install

Please post to the list again if this doesn't fix the problem.
-- 
Craig Keogh <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.