Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288444 - media-gfx/fontforge-20090923 compile breaks due to bad regex in configure
Summary: media-gfx/fontforge-20090923 compile breaks due to bad regex in configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 15:46 UTC by Mikael Magnusson
Modified: 2009-10-10 18:30 UTC (History)
0 users

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


Attachments
fontforge-20090923-configure.patch (fontforge-20090923-configure.patch,1.00 KB, patch)
2009-10-10 17:50 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Magnusson 2009-10-10 15:46:48 UTC
configure(.in)? has this line
CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`

This obviosuly fails for other flags than -O2.
i686-pc-linux-gnu-gcc: 3: No such file or directory

It seems to only be used for splinerefigure.c so it takes a while to fail.

Reproducible: Always

Steps to Reproduce:
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-10-10 17:50:05 UTC
Created attachment 206695 [details, diff]
fontforge-20090923-configure.patch

(sent upstream)
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-10-10 17:54:38 UTC
Fixed.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-10-10 18:30:17 UTC
Brr, my build was longer, but I've sent fix upstream too. :) And my sed is twice faster! :P

-CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`
+CFLAGS_NOOPT=`echo $CFLAGS | sed 's/-O.\?//'`