Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597248 - =dev-vcs/git-2.10.1 - missing flag for NO_REGEX configure option
Summary: =dev-vcs/git-2.10.1 - missing flag for NO_REGEX configure option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-16 08:39 UTC by James Taylor
Modified: 2019-04-29 08:04 UTC (History)
1 user (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 James Taylor 2016-10-16 08:39:47 UTC
dev-vcs/git-2.10.1+ introduced a check to make sure REGSTARTEND is available on the system, and builds appear to fail without it on a system where this isn't supported.

In my case, builds are failing when compiled against musl-libc without the NO_REGEX=YesPlease flag being passed to portage. I have temporarily added an environment file to make sure this is always set.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-29 08:04:48 UTC
commit 076cafffdbbb06c50da7ab174fbee4c6be05bcb0
Author: Aric Belsito <lluixhi@gmail.com>
Date:   Sun Dec 25 18:47:52 2016

    dev-vcs/git: Fix build on musl
    
    2.10.1+ introduce a configuration option which enables non-posix compatible
    regex by default, which breaks compilation on musl.
    
    Gentoo-Bug: https://bugs.gentoo.org/603710
    Closes: https://github.com/gentoo/gentoo/pull/3237