Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477940 - dev-libs/icu-51.2 - icu-4.8.1-fix_binformat_fonts.patch fails
Summary: dev-libs/icu-51.2 - icu-4.8.1-fix_binformat_fonts.patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-23 20:01 UTC by Ionuț Leonte
Modified: 2013-07-24 07:18 UTC (History)
8 users (show)

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


Attachments
icu-4.8.1-fix_binformat_fonts.patch for icu-51.2 (icu-4.8.1-fix_binformat_fonts.patch,599 bytes, patch)
2013-07-23 23:22 UTC, Iván Atienza
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ionuț Leonte 2013-07-23 20:01:37 UTC
Emerging dev-libs/icu-51.2 fails when trying to apply "icu-4.8.1-fix_binformat_fonts.patch"

Reproducible: Always

Steps to Reproduce:
1. emerge --sync && emerge @world -vuDN

Actual Results:  
Build fails

Expected Results:  
Updated system

# cat /var/tmp/portage/dev-libs/icu-51.2/temp/icu-4.8.1-fix_binformat_fonts.patch.out
***** icu-4.8.1-fix_binformat_fonts.patch *****
PWD: /var/tmp/portage/dev-libs/icu-51.2/work/icu/source

===============================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch'

===============================================
checking file layout/LookupProcessor.cpp
Hunk #1 FAILED at 201.
1 out of 1 hunk FAILED

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch'

===============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://ssl.icu-project.org/trac/ticket/8800
|--- layout/LookupProcessor.cpp
|+++ layout/LookupProcessor.cpp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch'

===============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://ssl.icu-project.org/trac/ticket/8800
|--- layout/LookupProcessor.cpp
|+++ layout/LookupProcessor.cpp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch'

===============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://ssl.icu-project.org/trac/ticket/8800
|--- layout/LookupProcessor.cpp
|+++ layout/LookupProcessor.cpp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===============================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch'

===============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://ssl.icu-project.org/trac/ticket/8800
|--- layout/LookupProcessor.cpp
|+++ layout/LookupProcessor.cpp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1

# sha256sum /usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch 
17eae8386e720cc86c4305d29dca8e393111fbc899cc550ae9eb2db91b810bfe  /usr/portage/dev-libs/icu/files/icu-4.8.1-fix_binformat_fonts.patch
Comment 2 Ionuț Leonte 2013-07-23 21:13:33 UTC
(In reply to Alphat-PC from comment #1)
> http://pkgs.fedoraproject.org/cgit/icu.git/diff/icu.8800.freeserif.crash.
> patch?id=fa01eb34f9e115dac751acf788089fc05ea02068

I modified the ebuild to use the patch above and it built fine.
Comment 3 Iván Atienza 2013-07-23 23:22:20 UTC
Created attachment 354044 [details, diff]
icu-4.8.1-fix_binformat_fonts.patch for icu-51.2
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2013-07-24 06:47:40 UTC
(In reply to Iván Atienza from comment #3)
> Created attachment 354044 [details, diff] [details, diff]
> icu-4.8.1-fix_binformat_fonts.patch for icu-51.2

Damn, I removed it in the testing overlay but seems i didn't propagate it to the ebuild and just fixed the subslot.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2013-07-24 07:18:48 UTC
Damn, those patches are now useless as nothing uses icule for it nowdays, I removed them in the testing pc but forgot to do so when i did the commit on the other one.

Just removed them now properly in cvs too. Sorry for the fuzz.