[MacPorts] #67091: git-devel: failure to build on 10.6 and 10.7 due to "undeclared identifier 'REG_ENHANCED'"

MacPorts noreply at macports.org
Sun Mar 12 18:54:20 UTC 2023


#67091: git-devel: failure to build on 10.6 and 10.7 due to "undeclared identifier
'REG_ENHANCED'"
-------------------------+-------------------------
 Reporter:  herbygillot  |      Owner:  herbygillot
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  git-devel
-------------------------+-------------------------
 Development version of `git` at version 2.40.0-rc2 is failing to build on
 macOS 10.6 and 10.7:

 {{{
 /usr/bin/clang -o compat/fsmonitor/fsm-settings-darwin.o -c -MF
 compat/fsmonitor/.depend/fsm-settings-darwin.o.d -MQ compat/fsmonitor/fsm-
 settings-darwin.o -MMD -MP    -Os -std=gnu99 -arch x86_64 -I.
 -DPRECOMPOSE_UNICODE -DPROTECT_HFS_DEFAULT=1 -DGIT_HOST_CPU="\"x86_64\""
 -DUSE_LIBPCRE2 -I/opt/local/include -I/opt/local/include
 -DUSE_CURL_FOR_IMAP_SEND -DNO_OPENSSL -I/opt/local/include
 -DUSE_ST_TIMESPEC -DSUPPORTS_SIMPLE_IPC -DSHA1_DC
 -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\""
 -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK
 -DHAVE_DEV_TTY -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DHAVE_ARC4RANDOM
 -DHAVE_NS_GET_EXECUTABLE_PATH  -DAPPLE_COMMON_CRYPTO
 -DFREAD_READS_DIRECTORIES -DNO_MEMMEM
 -DUSE_ENHANCED_BASIC_REGULAR_EXPRESSIONS -DHAVE_FSMONITOR_OS_SETTINGS
 -DSHELL_PATH='"/bin/sh"'  compat/fsmonitor/fsm-settings-darwin.c
 compat/regcomp_enhanced.c:7:13: error: use of undeclared identifier
 'REG_ENHANCED'
                 cflags |= REG_ENHANCED;
                           ^
 /usr/bin/clang -o compat/fsmonitor/fsm-path-utils-darwin.o -c -MF
 compat/fsmonitor/.depend/fsm-path-utils-darwin.o.d -MQ compat/fsmonitor
 /fsm-path-utils-darwin.o -MMD -MP    -Os -std=gnu99 -arch x86_64 -I.
 -DPRECOMPOSE_UNICODE -DPROTECT_HFS_DEFAULT=1 -DGIT_HOST_CPU="\"x86_64\""
 -DUSE_LIBPCRE2 -I/opt/local/include -I/opt/local/include
 -DUSE_CURL_FOR_IMAP_SEND -DNO_OPENSSL -I/opt/local/include
 -DUSE_ST_TIMESPEC -DSUPPORTS_SIMPLE_IPC -DSHA1_DC
 -DSHA1DC_NO_STANDARD_INCLUDES -DSHA1DC_INIT_SAFE_HASH_DEFAULT=0
 -DSHA1DC_CUSTOM_INCLUDE_SHA1_C="\"cache.h\""
 -DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C="\"git-compat-util.h\"" -DSHA256_BLK
 -DHAVE_DEV_TTY -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DHAVE_ARC4RANDOM
 -DHAVE_NS_GET_EXECUTABLE_PATH  -DAPPLE_COMMON_CRYPTO
 -DFREAD_READS_DIRECTORIES -DNO_MEMMEM
 -DUSE_ENHANCED_BASIC_REGULAR_EXPRESSIONS -DHAVE_FSMONITOR_OS_SETTINGS
 -DSHELL_PATH='"/bin/sh"'  compat/fsmonitor/fsm-path-utils-darwin.c
 1 error generated.
 make: *** [compat/regcomp_enhanced.o] Error 1
 make: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67091>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list