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

Bug #1696418 reported by Narcis Garcia on 2017-06-07
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-user-docs (Ubuntu)
Undecided
Unassigned
Trusty
Medium
Gunnar Hjalmarsson
language-pack-gnome-es-base (Ubuntu)
Undecided
Unassigned
Trusty
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)

Narcis Garcia (narcisgarcia) wrote :
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
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
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.

Jeremy Bicha (jbicha) wrote :

Gunnar, there are no more scheduled 14.04 iso releases.

Gunnar Hjalmarsson (gunnarhj) wrote :

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

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

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers