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: X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id EBEA91F601 for ; Sun, 4 Dec 2022 23:33:02 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.b="cdsRhe0o"; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 86DF57E79D; Sun, 4 Dec 2022 23:32:56 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=cdsRhe0o; dkim-atps=neutral Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by nue.mailmanlists.eu (Postfix) with ESMTPS id B2A497E773 for ; Sun, 4 Dec 2022 23:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=gSqiGSdqcgpYdb7S5fM5kVEHz6jMOn2lnL7qrQxLW9Q=; b=cdsRhe0oMa2CJ3iYCCPGbSN9ERKXbPdGj5mtbc2IX5lQWkAnvRihnTWRR+EekEAzAr/2 8NgQrjVfxqUj84wFNE1V2niMHd8pwdoS/rXicdeTXSUN8M7IuxSaA0A+ym4ASMYKIhZ6mG fgcvBpTHndFTP68XXqsaLu1RAbpW/BmJ8ZAn0a7NdhilSrBpOar8VUTOa6q6iCY66Tzb9U fnIq7+tP0+B17f1WpRiwxpbJj8uF+NarpkcGkI2cCPaLYEavwtG8riq74rZImXUAz54eor n2KxJt5OeUB6ByjNTuDv27miWSRzAJmAWrNuqkaOjbbaAXP7ilr1trI7LVtyko0g== Received: by filterdrecv-6b9548745c-gplqn with SMTP id filterdrecv-6b9548745c-gplqn-1-638D2E23-7 2022-12-04 23:32:51.154935645 +0000 UTC m=+1470282.686422672 Received: from herokuapp.com (unknown) by geopod-ismtpd-3-5 (SG) with ESMTP id EW3sgNzsTUiN7upSf3ijIg for ; Sun, 04 Dec 2022 23:32:51.144 +0000 (UTC) Date: Sun, 04 Dec 2022 23:32:51 +0000 (UTC) From: duerst Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 18623 X-Redmine-Issue-Author: duerst X-Redmine-Issue-Assignee: nobu X-Redmine-Sender: duerst 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: 87557 X-SG-EID: =?us-ascii?Q?sZFLhNnqjcW9Ht8ByfkgOQbWPVETXXFxLuf0UPwpQ=2FbXrx066LnwciY0taRhC1?= =?us-ascii?Q?++A6DTJJ4lt=2FzJkwBQUmmbJXhB+C4nQ033MjSGj?= =?us-ascii?Q?je1hQu+OcvXkAIHOMMkHD0L1Y8g3jqNGWIkX+Lv?= =?us-ascii?Q?rNfzMdn4l7e7uOHsff4Dtm7ZULztw=2FXaJqeNOoB?= =?us-ascii?Q?MFxhdpPxGint2X6EV6TLizlM2rtgMYVfFK+ADfT?= =?us-ascii?Q?3jz=2F1FXRXXvYFlxs0phbPBlDol92tD3RS4qLikz?= =?us-ascii?Q?mSazMbIzZsStueie5XB+Q=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: TIZV4WIBUEHCLZMEL3SLNEOIWKFKNIJV X-Message-ID-Hash: TIZV4WIBUEHCLZMEL3SLNEOIWKFKNIJV X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:111202] [Ruby master Bug#18623] `make runnable` does not work List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Issue #18623 has been updated by duerst (Martin D=FCrst). @nakada: I again hit this. I found out that the solution is easy, just do `= make goruby` before using `make runnable`. I propose to add `goruby` to the= targets necessary when creating `runnable`, to avoid additional steps and = unnecessary confusion. ---------------------------------------- Bug #18623: `make runnable` does not work https://bugs.ruby-lang.org/issues/18623#change-100494 * Author: duerst (Martin D=FCrst) * Status: Open * Priority: Normal * Assignee: nobu (Nobuyoshi Nakada) * ruby -v: ruby 3.1.0dev (2021-06-03T06:59:33Z master 7e14762159) [x86_64-l= inux] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- When I try `make runnable` to be able to run individual tests with `.\ruby = test/runner.rb ...`, I get the error below. It is important to solve this s= o I can make progress on Feature #18037. Except for the problem reported at= Bug #18614, comprehensive tests such as `make check` work fine. ``` duerst@Kloentalersee:~/14ruby$ make runnable BASERUBY =3D /usr/local/bin/ruby --disable=3Dgems CC =3D gcc LD =3D ld LDSHARED =3D gcc -shared CFLAGS =3D -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Werror=3Ddeprec= ated-declarations -Werror=3Ddiv-by-zero -Werror=3Dduplicated-cond -Werror= =3Dimplicit-function-declaration -Werror=3Dimplicit-int -Werror=3Dmisleadin= g-indentation -Werror=3Dpointer-arith -Werror=3Dwrite-strings -Werror=3Dold= -style-definition -Wimplicit-fallthrough=3D0 -Wmissing-noreturn -Wno-cast-f= unction-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-fiel= d-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-par= entheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-pa= rameter -Wno-unused-value -Wsuggest-attribute=3Dformat -Wsuggest-attribute= =3Dnoreturn -Wunused-variable -Werror=3Dundef -std=3Dgnu99 XCFLAGS =3D -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -fno-str= ict-overflow -DRUBY_DEVEL=3D1 -fvisibility=3Dhidden -fexcess-precision=3Dst= andard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux -I./include -I. = -I./enc/unicode/14.0.0 CPPFLAGS =3D DLDFLAGS =3D -Wl,--compress-debug-sections=3Dzlib -fstack-protector= -strong -pie SOLIBS =3D -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm LANG =3D C.UTF-8 LC_ALL =3D LC_CTYPE =3D MFLAGS =3D gcc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ln -f goruby ./bin/goruby /home/duerst/14ruby/lib/fileutils.rb:301:in `link': No such file or directo= ry @ rb_file_s_link - (goruby, ./bin/goruby) (Errno::ENOENT) from /home/duerst/14ruby/lib/fileutils.rb:301:in `block in ln' from /home/duerst/14ruby/lib/fileutils.rb:1593:in `fu_each_src_dest= 0' from /home/duerst/14ruby/lib/fileutils.rb:299:in `ln' from /home/duerst/14ruby/lib/fileutils.rb:1695:in `ln' from ./tool/mkrunnable.rb:59:in `ln_exe' from ./tool/mkrunnable.rb:96:in `ln_relative' from ./tool/mkrunnable.rb:131:in `block in
' from ./tool/mkrunnable.rb:128:in `map' from ./tool/mkrunnable.rb:128:in `
' make: *** [uncommon.mk:872: runnable] Error 1 duerst@Kloentalersee:~/14ruby$ ``` --=20 https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-c= ore.ml.ruby-lang.org/