ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: merch-redmine@jeremyevans.net
To: ruby-core@ruby-lang.org
Subject: [ruby-core:103530] [Ruby master Bug#17777] 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
Date: Tue, 20 Apr 2021 19:13:55 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-91631.20210420191354.772@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17777.20210405171425.772@ruby-lang.org

Issue #17777 has been updated by jeremyevans0 (Jeremy Evans).


tlbra (tycho braams) wrote in #note-13:
> I think it's a bit early to close the issue, as the PR linked by hsbt has not actually been merged in the 2.6 branch yet, so the issue still exists

You must be unfamiliar with how backporting is handled in Ruby.  If the issue doesn't exist in the master branch but needs backporting, the issue is closed and the appropriate backport flag is set.  The branch maintainer will use a view like https://bugs.ruby-lang.org/projects/ruby-master/issues?query_id=171 to determine which tickets need backporting (note that it includes issues marked Closed, including this ticket).


----------------------------------------
Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
https://bugs.ruby-lang.org/issues/17777#change-91631

* Author: Eregon (Benoit Daloze)
* Status: Closed
* Priority: Normal
* ruby -v: 2.6.7
* Backport: 2.6: REQUIRED, 2.7: DONTNEED, 3.0: DONTNEED
----------------------------------------
https://github.com/ruby/ruby-builder/runs/2271346109?check_suite_focus=true#step:14:11253
```
vm.c:2295:9: error: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 
```

There is also a warning below that might be worth solving:
```
vm.c:2489:34: warning: expression does not compute the number of elements in this array; element type is 'const int', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div]
                             sizeof(ec->machine.regs) / sizeof(VALUE));
                                    ~~~~~~~~~~~~~~~~  ^
vm.c:2489:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning
```



-- 
https://bugs.ruby-lang.org/

  parent reply	other threads:[~2021-04-20 19:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 17:14 [ruby-core:103241] [Ruby master Bug#17777] 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 eregontp
2021-04-05 17:17 ` [ruby-core:103242] " chris
2021-04-05 17:19 ` [ruby-core:103243] " eregontp
2021-04-06  2:37 ` [ruby-core:103246] " usa
2021-04-06  6:20 ` [ruby-core:103249] " udzura
2021-04-06  9:46 ` [ruby-core:103252] " xtkoba+ruby
2021-04-06 23:47 ` [ruby-core:103259] " halostatue
2021-04-06 23:58 ` [ruby-core:103260] " halostatue
2021-04-07  0:00 ` [ruby-core:103261] " halostatue
2021-04-15 20:10 ` [ruby-core:103467] " halostatue
2021-04-16  5:25 ` [ruby-core:103471] " hsbt
2021-04-20 18:29 ` [ruby-core:103528] " tycho.braams
2021-04-20 19:13 ` merch-redmine [this message]
2021-04-20 21:16 ` [ruby-core:103533] " tycho.braams
2021-04-21  5:10 ` [ruby-core:103536] " tdehnke
2021-04-21 16:18   ` [ruby-core:103542] " Austin Ziegler
2021-05-09 16:13 ` [ruby-core:103776] " usa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-91631.20210420191354.772@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).