Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658492 - media-libs/freetype-9999 fails with freetype-2.7-enable-valid.patch
Summary: media-libs/freetype-9999 fails with freetype-2.7-enable-valid.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-19 14:55 UTC by N. Andrew Walsh
Modified: 2018-11-19 10:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2018-06-19 14:55:06 UTC
emerge freetype-9999 fails at the patch stage:

 * Running autoconf -I . --force ...
 [ ok ]
 * Running elibtoolize in: freetype-9999/builds/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Applying freetype-2.7-enable-valid.patch ...
2 out of 2 hunks FAILED -- saving rejects to file modules.cfg.rej

The file modules.cfg.rej returns:

--- modules.cfg
+++ modules.cfg
@@ -120,7 +120,7 @@
 # TrueType GX/AAT table validation.  Needs ftgxval.c below.
 #
 # No FT_CONFIG_OPTION_PIC support.
-# AUX_MODULES += gxvalid
+AUX_MODULES += gxvalid
 
 # Support for streams compressed with gzip (files with suffix .gz).
 #
@@ -143,7 +143,7 @@
 # OpenType table validation.  Needs ftotval.c below.
 #
 # No FT_CONFIG_OPTION_PIC support.
-# AUX_MODULES += otvalid
+AUX_MODULES += otvalid
 
 # Auxiliary PostScript driver component to share common code.

I assume this is probably some mismatch between what previous freetype versions needed, and the current "live" ebuild has, yes?

Cheers,

EE
Comment 1 anthorx 2018-11-10 07:58:54 UTC
Is there any progress on this bug? Is there a way to mask freetype-9999 and related dependent packages?
Comment 2 Larry the Git Cow gentoo-dev 2018-11-19 10:50:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab134be298c122ab86b0c743e47d151c48185f8

commit 3ab134be298c122ab86b0c743e47d151c48185f8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-11-19 10:47:32 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-11-19 10:49:57 +0000

    media-libs/freetype: Replaced failing patch with sed statement.
    
    Closes: https://bugs.gentoo.org/658492
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 media-libs/freetype/freetype-9999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)