Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#2947 closed defect (wontfix)

bundlebuilder: doesn't support --root (DESTDIR)

Reported by: sascha_silbe Owned by: erikos
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Major Keywords:
Cc: Distribution/OS:
Bug Status: New

Description

Unlike standard Python setup.py using distutils, those using sugar.activity.bundlebuilder doesn't support the --root option:

python setup.py install --prefix /home/sascha.silbe/sugar-jhbuild/install --root /home/sascha.silbe/sugar-jhbuild/install/_jhbuild/root-read
Usage: setup.py install [options]

setup.py: error: no such option: --root

AFAICT we also don't support the --build-base option that jhbuild uses for building outside of the source directory.

We should consider switching to distutils with some add-ons rather than doing our own thing altogether.

Change History (3)

comment:1 Changed 10 years ago by sascha_silbe

  • Severity changed from Unspecified to Major

sugar-jhbuild is currently broken because of this bug in combination with the upstream decision to fail hard on modules that don't support DESTDIR.

comment:2 Changed 8 years ago by dnarvaez

  • Resolution set to wontfix
  • Status changed from new to closed

Bundlebuilder is not distutils, I don't see why they should be compatible really.

comment:3 Changed 8 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar
Note: See TracTickets for help on using tickets.