From nobody Wed Dec 8 13:03:43 2021 X-Original-To: ruby@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4D88A18CED42 for ; Wed, 8 Dec 2021 13:03:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J8HRM74P0z3k0y for ; Wed, 8 Dec 2021 13:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D2CE913CB9 for ; Wed, 8 Dec 2021 13:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B8D3hlD002199 for ; Wed, 8 Dec 2021 13:03:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B8D3hIJ002198 for ruby@FreeBSD.org; Wed, 8 Dec 2021 13:03:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 258108] [exp-run] devel/ruby-gems: Update to 3.2.30 (Fixes for Ruby 3.0) Date: Wed, 08 Dec 2021 13:03:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tj+freebsd_ports@a13.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run+ X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Ruby discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ruby List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638968624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bhfb/odyxYgE02vTiAX9UcKHe4nmnCcPyMEMr4JR6TI=; b=OcP4MF3m4wQG2sPhtmQ3Pcn9EwBM/AzsQh35UF/53+x0k9Ks/5tYbUbRkwMefwvFKdxugq BTq+EpNaTjzSpppps3H0VA5INcSFeJPOO/Svm1VT4kmiqWL4U513eChwSXnSPmZHKKM34E uLsiDZG9cHfj1yYuAAM4gElVrszMaGxLCP7ZSA5KhGVAdkdOs8aOn6cTwQ95zftWZVeuz6 HovbZ45gfdJRaJIW/EQTrKonVOuxD50+Zvfu7yenL0b3DgpAUrpx4DgU5O355h9MUYoOEu 4PSmUacRnNj/Cy2J7Tc5Tc9WYrUhMgzaBJhaj95VW0b4d7LMqS/W/pyADgd8Ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638968624; a=rsa-sha256; cv=none; b=KM9IZkS++FM/5sFF4NJUfFkIqBj/O6YWakamZJ4iTYsOZl41H0VvnWlQdgmuEh0tvtggLU utVDjICUTynCYhPDqVv0b8Ux55DVwuuc3cBThOxPxkTr5u8DPO1KxpfbBRGf/FXTQzDuPq GXsxXtyg2HsFaxRQF5utKxys+4t1os9DGy08sv3dr9zdhaEoM+gr+0cg6Yq2ZF9GpEhNL3 6WMjvBZvUm7b1Rid0R4HhSxOGyORBragJdUvWWW5lyA0DvghynCl8Edw99dmCDWhtw5tP/ VPidbv1MKxTefx+52I9OnssdvESWhA9vHNCRcu7QKKd4OB1d2QHpvqCFZ/e9zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258108 --- Comment #47 from Thibault Jouan --- Created attachment 229977 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229977&action= =3Dedit potential fix for patching issue (In reply to Dan Langille from comment #44) > ERROR: While executing gem ... (Errno::ENOENT) > No such file or directory @ dir_chdir - bundler/lib > *** Error code 1 I think that the patch for devel/ruby-gems (which is included in the patch for the update) did not apply. The only issue I see is that I made this patch with git, not with `make makepatch`. If I `rm devel/ruby-gems/files/patch-bundler-remove.patch`, I get the same error output. My guess is that the error is from following chdir: class Gem::Commands::SetupCommand < Gem::Command [=E2=80=A6] def install_lib(lib_dir) libs =3D { 'RubyGems' =3D> 'lib' } libs['Bundler'] =3D 'bundler/lib' # patch should remove this line libs.each do |tool, path| [=E2=80=A6] Dir.chdir path do [=E2=80=A6] end end end end It can be checked by modifying `RUBY_SETUP_OPTIONS' in `devel/ruby-gems/Makefile' by adding two arguments: --backtrace --verbose ERROR: While executing gem ... (Errno::ENOENT) No such file or directory @ dir_chdir - bundler/lib =20=20=20=20=20 /wrkdirs/usr/ports/devel/ruby-gems/work/rubygems-3.2.30/lib/rubygems/comman= ds/setup_command.rb:490:in `chdir' [=E2=80=A6] =20=20=20=20=20 /wrkdirs/usr/ports/devel/ruby-gems/work/rubygems-3.2.30/lib/rubygems/comman= ds/setup_command.rb:321:in `install_lib' While I can obtain the same error, I don't know how to fully reproduce it (if the patch embedded in the patch does not apply, I don't know why). I'd be interested to see the `patch' target in poudriere testport output. In the meantime, I'm attaching a patch that convert the "git" patch to a `make makepatch` one. It need to be applied after the "main" patch (to avoid being huge). --=20 You are receiving this mail because: You are the assignee for the bug.=