From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 66BC71F4B4 for ; Tue, 20 Apr 2021 18:29:45 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id E48DE121099; Wed, 21 Apr 2021 03:28:41 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id F2628121099 for ; Wed, 21 Apr 2021 03:28:38 +0900 (JST) Received: by filterdrecv-6b8b466b66-wfph2 with SMTP id filterdrecv-6b8b466b66-wfph2-14-607F1D8E-1 2021-04-20 18:29:34.049658517 +0000 UTC m=+425177.959549899 Received: from herokuapp.com (unknown) by ismtpd0198p1mdw1.sendgrid.net (SG) with ESMTP id mXhqwaIoRBufhBJ-h_iFPA for ; Tue, 20 Apr 2021 18:29:33.924 +0000 (UTC) Date: Tue, 20 Apr 2021 18:29:34 +0000 (UTC) From: tycho.braams@alten.nl Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17777 X-Redmine-Issue-Author: Eregon X-Redmine-Sender: tlbra X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 79577 X-SG-EID: =?us-ascii?Q?bVnrwXmvfwvtN9LIE49KtujyFzdm1To3YmbI3d9GmJ6Eh32FFDe9tveUb2uVAX?= =?us-ascii?Q?EX5kaP69OhckvEhr7SMqM5OTRPjHIghKZJ+mzXL?= =?us-ascii?Q?WFPHXEA9IYme3LzzVuByifcbgWwVpMNR9l9OmH3?= =?us-ascii?Q?YyRWsMApd4JPdujthV0J970wp5yXtXw6SjeU9T8?= =?us-ascii?Q?dYfRbJXmXkFR6a48DFqOD++uyoxBjyXORig=3D=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 103528 Subject: [ruby-core:103528] [Ruby master Bug#17777] 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #17777 has been updated by tlbra (tycho braams). 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 ---------------------------------------- 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-91629 * 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/