Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713836 - www-apps/cgit-1.2.3 : ./git-compat-util.h: error: #error Git requires REG_STARTEND support. Compile with NO_REGEX=NeedsStartEnd
Summary: www-apps/cgit-1.2.3 : ./git-compat-util.h: error: #error Git requires REG_STA...
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: 2020-06-09 16:04 UTC (History)
2 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-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