Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335803 - app-text/a2ps-4.14-r1 failed to apply patch a2ps-4.14-cleanup.patch when LINGUAS="ja"
Summary: app-text/a2ps-4.14-r1 failed to apply patch a2ps-4.14-cleanup.patch when LING...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 13:10 UTC by Changyuan Yu
Modified: 2010-11-04 12:30 UTC (History)
4 users (show)

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


Attachments
fix to failed applying a2ps-4.14-cleanup.patch. (a2ps-4.14-r1.ebuild,2.84 KB, text/plain)
2010-11-02 00:24 UTC, Ryo Takaishi
Details
If LINGUAS="ja", used to patch. (a2ps-4.14-ja-cleanup.patch,3.13 KB, patch)
2010-11-02 00:36 UTC, Ryo Takaishi
Details | Diff
Fix that don't apply a2ps-4.14-cleanup.patch when LINGUAS="". (a2ps-4.14-r1.ebuild,2.90 KB, text/plain)
2010-11-04 10:43 UTC, Ryo Takaishi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Changyuan Yu 2010-09-03 13:10:09 UTC
I emerge a2ps with LINGUAS='ja'(set in /etc/make.conf), then failed at step of applying a2ps-4.14-cleanup.patch.
Then I test several USE and LINGUAS combinations and find that without LINGUAS='ja', a2ps emerges successfully.


Reproducible: Always

Steps to Reproduce:
1. emerge a2ps with LINGUAS set to 'ja'
2. 
3.

Actual Results:  
emerge failed when apply patch a2ps-4.14-cleanup.patch

Expected Results:  
all patches successfully applied and the package successfully installed.

With LINGUAS set to 'ja', additional patch 'a2ps-4.14-ja_nls.patch.gz' will be applied before apply a2ps-4.14-cleanup.patch.
Comment 1 Ryo Takaishi 2010-11-02 00:24:42 UTC
Created attachment 252839 [details]
fix to failed applying a2ps-4.14-cleanup.patch.

If LINGUAS='ja', epatch a2ps-4.14-ja-cleanup.patch.
Comment 2 Ryo Takaishi 2010-11-02 00:36:40 UTC
Created attachment 252841 [details, diff]
If LINGUAS="ja", used to patch.

If LINGUAS="ja", substitute a2ps-4.14-cleanup.patch for a2ps-4.14-ja-cleanup.
Comment 3 Ryo Takaishi 2010-11-02 00:40:14 UTC
I failed emerge when LINGUAS='ja' and applying a2ps-4.14-ja_nls.patch.gz and a2ps-4.14-cleanup.patch.
I wrote a2ps-4.14-ja-cleanup.patch and fixed a2ps-4.14-r1.ebuild, and uploaded
attachment.

I emerge a2ps with LINGUAS='ja'(set in /etc/make.conf), then failed at step of
applying a2ps-4.14-cleanup.patch.
(In reply to comment #0)
> I emerge a2ps with LINGUAS='ja'(set in /etc/make.conf), then failed at step of
> applying a2ps-4.14-cleanup.patch.
> Then I test several USE and LINGUAS combinations and find that without
> LINGUAS='ja', a2ps emerges successfully.
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge a2ps with LINGUAS set to 'ja'
> 2. 
> 3.
> 
> Actual Results:  
> emerge failed when apply patch a2ps-4.14-cleanup.patch
> 
> Expected Results:  
> all patches successfully applied and the package successfully installed.
> 
> With LINGUAS set to 'ja', additional patch 'a2ps-4.14-ja_nls.patch.gz' will be
> applied before apply a2ps-4.14-cleanup.patch.
> 

Comment 4 Ryo Takaishi 2010-11-04 10:43:32 UTC
Created attachment 253159 [details]
Fix that don't apply a2ps-4.14-cleanup.patch when LINGUAS="".

I missed upload file at http://bugs.gentoo.org/attachment.cgi?id=252839&action=edit.
So, this attachment is collect file.
I fix a2ps-4.14-r1.ebuild following.

- emerge with LINGUAS="ja", use a2ps-ja-cleanup.patch.
- emerge with LINGUAS="", use a2ps-cleanup.patch
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2010-11-04 12:30:12 UTC
Fixed in cvs. thanks