reproduce-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60282] Git installation crashes in macOS after upgrading to Big Su


From: Raul Infante-Sainz
Subject: [bug #60282] Git installation crashes in macOS after upgrading to Big Sur
Date: Tue, 23 Mar 2021 18:52:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0

URL:
  <https://savannah.nongnu.org/bugs/?60282>

                 Summary: Git installation crashes in macOS after upgrading to
Big Sur
                 Project: Reproducible paper template
            Submitted by: 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
         Discussion Lock: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 23 Mar 2021 10:52:04 PM UTC  Name: git-crash.tar.gz  Size: 14KiB  
By: infantesainz

<http://savannah.nongnu.org/bugs/download.php?file_id=51125>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?60282>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]