bugReproducible paper template - Bugs: bug #60282, Git installation crashes in macOS...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60282: Git installation crashes in macOS after upgrading to Big Sur

Submitted by:  Raul Infante-Sainz <infantesainz>
Submitted on:  Tue 23 Mar 2021 10:52:04 PM UTC  
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Tue 23 Mar 2021 10:52:04 PM UTC, original submission:  

After the upgrade of macOS to Big Sur 11.2.3 with Xcode 12.4 there are many problems during the installation of a number of programs. I had to remove zip and unzip from the prerequisites of tar (so they are not installed). After that I was able to fix several of the problems by just upgrading the version of those programs. In particular, I had to upgrade:

bash  5.0.18 -> 5.1
perl  5.32.0 -> 5.32.1
less  563    -> 580 (this is a beta release!)

But then, when it goes to install Git, it crashes. Even after upgrading it to the latest version:

git 2.28.0 -> 2.31.0

The last and relevant lines of the crash are:

In file included from compat/regex/regex.c:70:
compat/regex/regex_internal.h:394:3: error: unknown type name 'RE_TRANSLATE_TYPE'
  RE_TRANSLATE_TYPE trans;
  ^
compat/regex/regex_internal.h:422:8: error: unknown type name 'reg_errcode_t'
static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr,
       ^
compat/regex/regex_internal.h:691:3: error: unknown type name 'reg_syntax_t'
  reg_syntax_t syntax;
  ^
In file included from compat/regex/regex.c:72:
compat/regex/regex_internal.c:22:6: error: unknown type name 'RE_TRANSLATE_TYPE'
                                        RE_TRANSLATE_TYPE trans, int icase,
                                        ^
compat/regex/regex_internal.c:46:8: error: unknown type name 'reg_errcode_t'
static reg_errcode_t
       ^
compat/regex/regex_internal.c:49:7: error: unknown type name 'RE_TRANSLATE_TYPE'
                    RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa)
                    ^
compat/regex/regex_internal.c:51:3: error: use of undeclared identifier 'reg_errcode_t'
  reg_errcode_t ret;
  ^
compat/regex/regex_internal.c:60:3: error: use of undeclared identifier 'ret'
  ret = re_string_realloc_buffers (pstr, init_buf_len);
  ^
compat/regex/regex_internal.c:61:11: error: use of undeclared identifier 'ret'
  if (BE (ret != REG_NOERROR, 0))
          ^
compat/regex/regex_internal.c:61:18: error: use of undeclared identifier 'REG_NOERROR'
  if (BE (ret != REG_NOERROR, 0))
                 ^
compat/regex/regex_internal.c:62:12: error: use of undeclared identifier 'ret'
    return ret;
           ^
compat/regex/regex_internal.c:69:10: error: use of undeclared identifier 'REG_NOERROR'
  return REG_NOERROR;
         ^
compat/regex/regex_internal.c:74:8: error: unknown type name 'reg_errcode_t'
static reg_errcode_t
       ^
compat/regex/regex_internal.c:77:8: error: unknown type name 'RE_TRANSLATE_TYPE'
                     RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa)
                     ^
compat/regex/regex_internal.c:79:3: error: use of undeclared identifier 'reg_errcode_t'
  reg_errcode_t ret;
  ^
compat/regex/regex_internal.c:85:7: error: use of undeclared identifier 'ret'
      ret = re_string_realloc_buffers (pstr, len + 1);
      ^
compat/regex/regex_internal.c:86:15: error: use of undeclared identifier 'ret'
      if (BE (ret != REG_NOERROR, 0))
              ^
compat/regex/regex_internal.c:86:22: error: use of undeclared identifier 'REG_NOERROR'
      if (BE (ret != REG_NOERROR, 0))
                     ^
compat/regex/regex_internal.c:87:9: error: use of undeclared identifier 'ret'
        return ret;
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [Makefile:2431: compat/regex/regex.o] Error 1
make[1]: Leaving directory '/BDIR/software/build-tmp/git-2.31.0'
make: *** [reproduce/software/make/basic.mk:956: /BDIR/software/installed/version-info/proglib/git-2.31.0] Error 2

Attached in this post there is the full log. Thanks a lot for the help.

Raul Infante-Sainz <infantesainz>
Project Member

 

Attached Files
file #51125:  git-crash.tar.gz added by infantesainz (14KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by infantesainz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-23 infantesainz Attached File- => Added git-crash.tar.gz, #51125

    Back to the top


    Powered by Savane 3.6