Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713836 - www-apps/cgit-1.2.3-r200 : ./git-compat-util.h: error: #error Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd
Summary: www-apps/cgit-1.2.3-r200 : ./git-compat-util.h: error: #error Git requires RE...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: NeedPatch, PullRequest
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-21 18:45 UTC by Toralf Förster
Modified: 2023-04-09 03:42 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2020-03-21 18:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,240.48 KB, text/plain)
2020-03-21 18:45 UTC, Toralf Förster
Details
environment (environment,110.76 KB, text/plain)
2020-03-21 18:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.36 KB, application/x-bzip)
2020-03-21 18:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.37 KB, application/x-bzip)
2020-03-21 18:46 UTC, Toralf Förster
Details
www-apps:cgit-1.2.3:20200321-175957.log (www-apps:cgit-1.2.3:20200321-175957.log,3.89 KB, text/plain)
2020-03-21 18:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-21 18:45:53 UTC
In file included from ../cgit.h:5,
                 from ../cgit.c:9:
./git-compat-util.h:1108:2: error: #error Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd
 1108 | #error Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd
      |  ^~~~~
./git-compat-util.h: In function regexec_buf:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 21 16:44:20 UTC 2020
/var/db/repos/musl	Sat Mar 21 03:09:12 UTC 2020

emerge -qpvO www-apps/cgit
[ebuild  N    ] www-apps/cgit-1.2.3  USE="highlight jit lua -doc -libressl -vhosts"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 18:45:56 UTC
Created attachment 623952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 18:45:59 UTC
Created attachment 623954 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-21 18:46:02 UTC
Created attachment 623956 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-21 18:46:05 UTC
Created attachment 623958 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-21 18:46:08 UTC
Created attachment 623960 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 18:46:11 UTC
Created attachment 623962 [details]
www-apps:cgit-1.2.3:20200321-175957.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-31 19:32:41 UTC
no patch: https://git.alpinelinux.org/aports/tree/main/cgit/APKBUILD

we just need this:
>	NO_REGEX=NeedsStartEnd
in compile options it seems
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-09 16:19:03 UTC
tinderbox_musl has reproduced this issue with version 1.2.3-r200 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2023-04-09 03:42:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e696f0e18c7874c6bf07431a8f4aec315279104

commit 0e696f0e18c7874c6bf07431a8f4aec315279104
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-09 03:41:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-09 03:41:39 +0000

    dev-vcs/git: fix musl build
    
    Bug: https://bugs.gentoo.org/713836
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-vcs/git/git-2.39.1.ebuild  | 2 +-
 dev-vcs/git/git-2.39.2.ebuild  | 2 +-
 dev-vcs/git/git-2.40.0.ebuild  | 2 +-
 dev-vcs/git/git-9999-r1.ebuild | 2 +-
 dev-vcs/git/git-9999-r2.ebuild | 2 +-
 dev-vcs/git/git-9999-r3.ebuild | 2 +-
 dev-vcs/git/git-9999.ebuild    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)