Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240012 - app-i18n/man-pages-es has broken iconv usage
Summary: app-i18n/man-pages-es has broken iconv usage
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
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: 2008-10-05 17:23 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-05-09 20:13 UTC (History)
0 users

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


Attachments
Build log (app-i18n:man-pages-es-1.55-r1:20081005-172200.log,128.04 KB, text/plain)
2008-10-05 17:24 UTC, Diego Elio Pettenò (RETIRED)
Details
file(1) output for all the man pages (man-pages-es-file-output,115.44 KB, text/plain)
2008-10-05 22:48 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 17:23:55 UTC
Check attached build log.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 17:24:12 UTC
Created attachment 167340 [details]
Build log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 19:09:57 UTC
Confirmed on two more systems.
Comment 3 Luca Barbato gentoo-dev 2008-10-05 19:31:51 UTC
That's what is called inside the ebuild, for certain files

iconv -f man8/vmstat.8: text/troff -t iso8859-1 /var/tmp/portage/app-i18n/man-pages-es-1.55-r1/work/man-pages-es-extra-0.8a/man8/vmstat.8 -o /var/tmp/portage/app-i18n/man-pages-es-1.55-r1/image//usr/share/man/es/man8/vmstat.8

you could try to filter out the ones not reporting the charset to avoid the iconv error related.

btw the postinst text suggest to use -T utf8 when you are supposedly converting them to latin1.

I hope it helps a bit.
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2008-10-05 21:47:09 UTC
(In reply to comment #2)
> Confirmed on two more systems.
> 

With all those details I'm sure I'll be able to diagnose the error and fix it real soon now.

- ferdy

Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 21:58:41 UTC
Beside the fact that Luca _did_ provide you quite a bit of details, you either wrote or maintain the ebuild, and that's the whole output of it, do you tell me it does not output any error for you on any of your systems?
Comment 6 Fernando J. Pereda (RETIRED) gentoo-dev 2008-10-05 22:21:49 UTC
Exactly, no error. Just a harmless warning that has been there forever.

Details would include your glibc version... for instance.

- ferdy

Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 22:27:36 UTC
If you wanted to know glibc version you could have just asked for it, no? sys-libs/glibc-2.8_p20080602 (~arch).

The errors are not fatal because you didn't add || die to the iconv command so it's not aborting the build even in case of error (which I would expect is not too bad, since it's just conversion). But as Luca pointed out it doesn't seem to be a problem with the iconv version per se but rather with the commandline passed to it, so the problem is in the ebuild.
Comment 8 Fernando J. Pereda (RETIRED) gentoo-dev 2008-10-05 22:33:17 UTC
(In reply to comment #7)
> If you wanted to know glibc version you could have just asked for it, no?
> sys-libs/glibc-2.8_p20080602 (~arch).

Well, I thought posting such basic information (emerge --info) was required for both users and developers when reporting a bug.

> The errors are not fatal because you didn't add || die to the iconv command so
> it's not aborting the build even in case of error (which I would expect is not
> too bad, since it's just conversion). But as Luca pointed out it doesn't seem
> to be a problem with the iconv version per se but rather with the commandline
> passed to it, so the problem is in the ebuild.

What's your file version? I wonder why aren't you getting any charset for those files while I am.

- ferdy


Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 22:37:31 UTC
Also ~arch, file-4.26; it's happening on full ~arch systems both with and without unicode/nls USE flags.

I'm going to sleep soonish, but if you want tomorrow I can give you file -i output of the whole source package in here.
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2008-10-05 22:42:38 UTC
Ok, the systems I tried are stable (and can even be a bit outdated). That output would be helpful, I guess.

- ferdy

Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 22:48:42 UTC
Created attachment 167397 [details]
file(1) output for all the man pages

Seems like file does not output charset information for text/troff files (maybe it assumes UTF-8). You might want to contact upstream on that.
Comment 12 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 22:32:31 UTC
Moving to maintainer-needed since Ferdy left Gentoo.
Comment 13 Pacho Ramos gentoo-dev 2010-05-09 20:13:32 UTC
Dropped