gnome-help/shell-introduction.page link to removed files

Bug #1696418 reported by Narcis Garcia
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-user-docs (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Fix Released
Medium
Gunnar Hjalmarsson
language-pack-gnome-es-base (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]

The latest language pack update for trusty at 2016-07-20 did (for unknown reason) not include the localized gnome-help pages, so gnome-help is displayed in English whatever the session language is.

The proposed upload sets the NO_PKG_MANGLE variable, so the package is built without language stripping. This works around the failure with the language packs.

[Test Case]

Open gnome-help with a non-English language (using Spanish as example):

LANGUAGE=es yelp help:gnome-help

Current package: Showed in English

Proposed package: Showed in Spanish

[Regression Potential]

Negligible. This is in practice a no-change rebuild.

[Original description]

p.e.:
/usr/share/help/es/gnome-help/shell-introduction.page
is a link to /usr/share/help-langpack/es/gnome-help/shell-introduction.page

A lot of pages became broken links since some update of language-pack-gnome-*-base lost target files.

Most of missing files are listed at:
https://packages.ubuntu.com/trusty/all/language-pack-gnome-*-base/filelist

(Replace "*" by any packaged language, such as "es")

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-user-guide 3.8.2-1
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CasperVersion: 1.340
CurrentDesktop: GNOME
Date: Wed Jun 7 13:15:08 2017
LiveMediaBuild: Ubuntu-GNOME 14.04.1 LTS "Trusty Tahr" - Release i386 (20140722.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-user-docs
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Narcis Garcia (narcisgarcia) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report. This is a bit confusing, since language-pack-gnome-es-base was last updated in trusty almost a year ago. Can you please run:

sudo apt-get install --reinstall language-pack-gnome-es-base

and let us know if it makes a difference.

Changed in gnome-user-docs (Ubuntu):
status: New → Incomplete
Changed in language-pack-gnome-es-base (Ubuntu):
status: New → Incomplete
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hmm... I now see that precisely the update I mentioned did fail with respect to gnome-help.

https://packages.ubuntu.com/trusty-updates/all/language-pack-gnome-es-base/filelist

This needs to be investigated further. Thanks again!

Changed in gnome-user-docs (Ubuntu):
status: Incomplete → Confirmed
Changed in language-pack-gnome-es-base (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Sebastien: One theory about what might have caused this is that the latest full langpack update for trusty happened at a point of time (2016-07-20) when gnome-user-docs had been moved to universe, and hence was ignored by the langpack builder.

The easiest way (workaround) to fix it is probably to rebuild gnome-user-docs without translation stripping. (Would add approximately 8 MB to the ISO.)

The not-so-easy way is a full langpack update for trusty (without testing as a requirement to move the packages to -updates), while making sure somehow that gnome-help isn't ignored. Might need to be preceded by a no-change rebuild of gnome-user-docs.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Gunnar, there are no more scheduled 14.04 iso releases.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Jeremy: That's good, I suppose. Then a rebuild without translation stripping ought to be less controversial.

Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-user-docs was not moved to universe in trusty and I would expect the launchpad export to look at the right serie but maybe there is a bug there...

it would be nice to try to understand the issue but as said activity on trusty is low now so it might not be worth spending the efforts debugging and the unstrip workaround might be good enough

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :
description: updated
no longer affects: ubuntu-docs (Ubuntu Trusty)
no longer affects: ubuntu-docs (Ubuntu)
Changed in gnome-user-docs (Ubuntu):
status: Confirmed → Invalid
Changed in gnome-user-docs (Ubuntu Trusty):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
Changed in language-pack-gnome-es-base (Ubuntu):
status: Confirmed → Invalid
Changed in language-pack-gnome-es-base (Ubuntu Trusty):
status: New → Won't Fix
tags: added: patch
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Sponsoring this now with minor tweaks.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Narcis, or anyone else affected,

Accepted gnome-user-docs into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-user-docs/3.8.2-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-trusty to verification-done-trusty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-trusty. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-user-docs (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-trusty
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Verified the test case using gnome-user-guide 3.8.2-1ubuntu0.1 from trusty-proposed.

tags: added: verification-done verification-done-trusty
removed: verification-needed verification-needed-trusty
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-user-docs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-user-docs - 3.8.2-1ubuntu0.1

---------------
gnome-user-docs (3.8.2-1ubuntu0.1) trusty; urgency=medium

  * debian/rules:
    Set NO_PKG_MANGLE so the translations are not stripped. This works
    around the fact that the localized gnome-help pages are not
    included in the latest (last?) version of the
    language-pack-gnome-XX-base packages (LP: #1696418).

 -- Gunnar Hjalmarsson <email address hidden> Mon, 26 Jun 2017 19:57:00 +0200

Changed in gnome-user-docs (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.