Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803200 - net-dns/avahi-0.8-r4 fail in localization
Summary: net-dns/avahi-0.8-r4 fail in localization
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 09:00 UTC by Bogdan
Modified: 2023-01-28 20:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for avahi-0.8-r4.ebuild (avahi-0.8-r4.ebuild.patch,356 bytes, patch)
2021-07-21 09:03 UTC, Bogdan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2021-07-21 09:00:12 UTC
avahi-browser, compiled by net-dns/avahi-0.8-r4, has problem in path of localization files

Reproducible: Always

Steps to Reproduce:
1. Run "LANG=ru avahi-browse -arv"
2. Get only English messagges

Actual Results:  
avahi-browser return messages only in english language.

Expected Results:  
avahi-browser mus return messages in current environment language.

## Where avahi-browse find localized messages:

strace avahi-browse
openat(AT_FDCWD, "/usr//locale/ru_UA.UTF-8/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr//locale/ru_UA.utf8/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr//locale/ru_UA/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr//locale/ru.UTF-8/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr//locale/ru.utf8/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/usr//locale/ru/LC_MESSAGES/avahi.mo", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)


## Where localized messages really palced:

equery f avahi | grep locale
/usr/share/locale
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/avahi.mo
/usr/share/locale/uk
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/avahi.mo
Comment 1 Bogdan 2021-07-21 09:03:12 UTC
Created attachment 725458 [details, diff]
Patch for avahi-0.8-r4.ebuild

Patch set correct path in compiled executables