Ticket #2980 (closed defect: fixed)

Opened 22 months ago

Last modified 21 months ago

installing activities broken due to upstream jhbuild requiring DESTDIR support

Reported by: andi_g Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Blocker Keywords:
Cc: Distribution/OS:
Bug Status: New

Description

Traceback (most recent call last):

File "./sugar-jhbuild", line 62, in <module>

sys.exit(main.main(base_dir, sys.argv[1:]))

File "/home/andi/dev/tmp/sugar-jhbuild/sjhbuild/main.py", line 111, in main

rc = jhbuild.commands.run(command, config, args, help=lambda: jhbuild.main.print_help(parser))

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/commands/init.py", line 123, in run

return cmd.execute(config, args, help)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/commands/init.py", line 52, in execute

return self.run(config, options, args, help)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/commands/base.py", line 274, in run

module_set = jhbuild.moduleset.load(config)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/moduleset.py", line 352, in load

ms.modules.update(_parse_module_set(config, uri).modules)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/moduleset.py", line 450, in _parse_module_set

inc_moduleset = _parse_module_set(config, inc_uri)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/moduleset.py", line 467, in _parse_module_set

repositories, default_repo)

File "/home/andi/dev/tmp/sugar-jhbuild/jhbuild/jhbuild/modtypes/init.py", line 61, in parse_xml_node

return parser(node, config, uri, repositories, default_repo)

File "/home/andi/dev/tmp/sugar-jhbuild/sjhbuild/bundlemodule.py", line 60, in parse_bundle

supports_non_srcdir_builds = supports_non_srcdir_builds)

TypeError: init() got an unexpected keyword argument 'suggests'

Change History

Changed 22 months ago by sascha_silbe

  • distribution Fedora deleted
  • severity changed from Unspecified to Blocker
  • status_field changed from Unconfirmed to New

Thanks for the report! Please include the full invocation the next time, this makes reproducing the issue easier.
Upstream seems to be hacking on jhbuild quite a bit lately, breaking sugar-jhbuild repeatedly as a consequence. I've fixed the exact issue you've reported, only to hit the next one:

[...]
Install locale/ml/LC_MESSAGES/org.laptop.Chat.mo to /home/sascha.silbe/sugar-jhbuild/install/share/locale/ml/LC_MESSAGES/org.laptop.Chat.mo.
Install locale/mr/LC_MESSAGES/org.laptop.Chat.mo to /home/sascha.silbe/sugar-jhbuild/install/share/locale/mr/LC_MESSAGES/org.laptop.Chat.mo.
Install locale/te/activity.linfo to /home/sascha.silbe/sugar-jhbuild/install/share/sugar/activities/Chat.activity/locale/te/activity.linfo.
*** Error during phase install of chat: Module failed to install into DESTDIR u'/home/sascha.silbe/sugar-jhbuild/install/_jhbuild/root-chat-broken' *** [1/1]

This is because upstream decided to fail hard on modules that don't support DESTDIR ( Gnome#654592) and sugar.activity.bundlebuilder doesn't support DESTDIR yet (SL#2947).

Changed 21 months ago by sascha_silbe

  • status changed from new to closed
  • resolution set to fixed
  • summary changed from bug in sugar-jhbuild to installing activities broken due to upstream jhbuild requiring DESTDIR support

Once I figured out what exactly I needed to do, the patch was trivial. Fixed by  5923202.

Note: See TracTickets for help on using tickets.