Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465998 - net-print/cups-1.6.2-r3[lunguas_ru] - duplicating all content in web interface
Summary: net-print/cups-1.6.2-r3[lunguas_ru] - duplicating all content in web interface
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 15:29 UTC by Vadim A. Misbakh-Soloviov (mva) (RETIRED)
Modified: 2013-07-12 19:48 UTC (History)
4 users (show)

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


Attachments
Temporary solution until the uplink is unavailable. (cups_undup_lunguas_ru.patch,92.63 KB, patch)
2013-07-02 08:11 UTC, Eugeny Shkrigunov
Details | Diff
cups-1.6.2-r10944_russian_interface_fix.patch (cups-1.6.2-r10944_russian_interface_fix.patch,95.32 KB, patch)
2013-07-05 04:41 UTC, Azamat H. Hackimov
Details | Diff
cups-1.6.2-r10944_russian_interface_fix.patch (cups-1.6.2-r10944_russian_interface_fix.patch,95.32 KB, patch)
2013-07-05 06:08 UTC, Azamat H. Hackimov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2013-04-15 15:29:41 UTC
Self-descriptive testcase:
$ curl -s localhost:631 | grep -c '<!DOCTYPE'
2
(alternatively, strace:
$ strace -ff cupsd -f 2>&1 | grep BODY
[pid 24007] write(1, "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 384 <unfinished ...>
[pid 24003] <... read resumed> "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 2048) = 487
[pid 24003] sendto(12, "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 487, 0, NULL, 0 <unfinished ...>
[pid 24007] write(1, "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 384 <unfinished ...>
[pid 24003] <... read resumed> "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 2048) = 487
[pid 24003] sendto(12, "\n</HEAD>\n<BODY>\n<TABLE CLASS=\"pa"..., 487, 0, NULL, 0 <unfinished ...>
read(13, "BODY {\n  background: white;\n  co"..., 4096) = 4096

===

Building CUPS without linguas fixing the problem.

Possibly, upstream issue.

Reproducible: Always
Comment 1 Viktor Yu. Kovalskii 2013-05-30 05:32:31 UTC
Similar bugreport:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1182538

This bugreport contains upstream link to bug: http://www.cups.org/str.php?L4310

But all cups bugs moved to bugreport.apple.com and without Apple ID You can not find anything.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2013-06-26 22:48:26 UTC
Ugly but not a stable blocker, we can fix it later.
Comment 3 Eugeny Shkrigunov 2013-07-02 08:11:22 UTC
Created attachment 352436 [details, diff]
Temporary solution until the uplink is unavailable.

Temporary solution until the uplink is unavailable.
Comment 4 Azamat H. Hackimov 2013-07-05 03:13:08 UTC
This bug fixed in upstream svn, but unfortunately now it inaccessible. There commit that fixes it: http://marc.info/?l=cups-commit&m=136553610632604&w=2
Comment 5 Azamat H. Hackimov 2013-07-05 04:41:14 UTC
Created attachment 352648 [details, diff]
cups-1.6.2-r10944_russian_interface_fix.patch

Here modified patch from upstream.
Comment 6 Azamat H. Hackimov 2013-07-05 06:08:30 UTC
Created attachment 352660 [details, diff]
cups-1.6.2-r10944_russian_interface_fix.patch

Previous patch is broken, here new one.
Comment 7 Egor Y. Egorov 2013-07-05 06:22:34 UTC
(In reply to Azamat H. Hackimov from comment #6)
> Created attachment 352660 [details, diff] [details, diff]
> cups-1.6.2-r10944_russian_interface_fix.patch
> 
> Previous patch is broken, here new one.

This patch work for me. Thanks, Azamat!
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2013-07-12 19:48:54 UTC
This is fixed in cups-1.6.3