[Bug 1352322] Re: gdebi FTBFS when the locale is not en_US

Vlad Orlov 1352322 at bugs.launchpad.net
Tue Sep 12 19:51:27 UTC 2017


** Attachment added: "Debdiff with the fix for Trusty, edited"
   https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/1352322/+attachment/4948954/+files/gdebi-debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1352322

Title:
  gdebi FTBFS when the locale is not en_US

Status in gdebi package in Ubuntu:
  Fix Released
Status in gdebi source package in Trusty:
  Triaged
Status in gdebi package in Debian:
  Fix Released

Bug description:
  [Impact]

  It's impossible to build gdebi from source with the locale other
  than en_US in Trusty.

  It had been fixed in gdebi 0.9.5.5, which is available in newer
  releases, starting from Vivid. The backported fix can be applied
  in Trusty.

  The debdiff which is attached to this report contains the fix.

  [Test Case]

  Steps to reproduce:

  1. Have some non-en_US locale currently set in your system.
     I have ru_RU for example.
  2. sudo apt-get install dpkg-dev devscripts build-essential
  3. sudo apt-get build-dep gdebi
  4. apt-get source gdebi
  5. cd gdebi-0.9.5.3ubuntu2
  6. debuild -us -uc

  The build process will fail as shown in the first log attached
  to this report.

  [Regression Potential]

  The patch only affects a test which is launched during the build,
  it doesn't affect runtime at all. The test is passed successfully
  with the patch. All the tests are independent from each other, so
  the patch can't introduce any regressions to other tests.

  [Original Description]

  System: Xubuntu 14.04.
  Current gdebi version: 0.9.5.3ubuntu2 (from trusty-updates).

  Steps to reproduce:

  1. Have some non-en_US locale currently set in your system. I have ru_RU for example.
  2. sudo apt-get install dpkg-dev devscripts build-essential
  3. sudo apt-get build-dep gdebi
  4. apt-get source gdebi
  5. cd gdebi-0.9.5.3ubuntu2
  6. debuild -us -uc

  The build process will fail as shown in the first attachment.

  Now try the same with locale set to en_US (but do a cleanup first):

  7. debuild clean
  8. LC_ALL=en_US.UTF-8 debuild -us -uc

  The build process will succeed as shown in the second attachment.

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



More information about the Ubuntu-sponsors mailing list