Public bug reported:

Steps to reproduce:
1. Use "apt-get build-dep firefox" to obtain build dependencies
2. Use "apt-get sources firefox" to obtain the firefox package 
(firefox_29.0+build1-0ubuntu0.14.04.2).
3. Run "dpkg-buildpackage -b -us -uc -j12" to build the package

During the build process the following python packages are installed to the 
default location ($HOME/py-bin and $HOME/py-lib):
compare-dirs
compare-locales
easy_install
pip

These packages depend on the virtualenv python interpreter located at
firefox-29.0+build1/obj-x86_64-linux-gnu/_virtualenv/bin/python and do
not work if the firefox package source is later deleted.

The build process for this package should be modified to prevent these
external side effects by overriding the location of py-bin and py-lib to
be within the source directory.

The build process itself always fails if "compare-locales" is not in the
path before building (#1320004), but this can be resolved by installing
it to a py-bin directory within the source directory at the start of the
build process (instead of somewhere in the middle of it).

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1320618

Title:
  firefox package build has external side effects

Status in “firefox” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:
  1. Use "apt-get build-dep firefox" to obtain build dependencies
  2. Use "apt-get sources firefox" to obtain the firefox package 
(firefox_29.0+build1-0ubuntu0.14.04.2).
  3. Run "dpkg-buildpackage -b -us -uc -j12" to build the package

  During the build process the following python packages are installed to the 
default location ($HOME/py-bin and $HOME/py-lib):
  compare-dirs
  compare-locales
  easy_install
  pip

  These packages depend on the virtualenv python interpreter located at
  firefox-29.0+build1/obj-x86_64-linux-gnu/_virtualenv/bin/python and do
  not work if the firefox package source is later deleted.

  The build process for this package should be modified to prevent these
  external side effects by overriding the location of py-bin and py-lib
  to be within the source directory.

  The build process itself always fails if "compare-locales" is not in
  the path before building (#1320004), but this can be resolved by
  installing it to a py-bin directory within the source directory at the
  start of the build process (instead of somewhere in the middle of it).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1320618/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to