From owner-freebsd-ruby@freebsd.org Thu Sep 3 17:30:47 2020 Return-Path: Delivered-To: freebsd-ruby@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04BBF3C502E for ; Thu, 3 Sep 2020 17:30:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bj7BG6N0Tz3VS5 for ; Thu, 3 Sep 2020 17:30:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DABE03C4E58; Thu, 3 Sep 2020 17:30:46 +0000 (UTC) Delivered-To: ruby@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA84B3C4C52 for ; Thu, 3 Sep 2020 17:30:46 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bj7BG5Nwpz3W0d for ; Thu, 3 Sep 2020 17:30:46 +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 9D9251F3AB for ; Thu, 3 Sep 2020 17:30:46 +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 083HUkVA001402 for ; Thu, 3 Sep 2020 17:30:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 083HUk7H001401 for ruby@FreeBSD.org; Thu, 3 Sep 2020 17:30:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: maintainer-feedback requested: [Bug 249083] devel/ruby-gems Date: Thu, 03 Sep 2020 17:30:46 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 17:30:47 -0000 Bugzilla Automation has asked freebsd-ruby (Nobody) for maintainer-feedback: Bug 249083: devel/ruby-gems https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249083 --- Description --- If one has moved /usr/local to a separate file system and symlink'ed it to = it's original location (e.g.: /usr/ports - > /u1/usr-local ), then during install the commands: /bin/mkdir -p /usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems= /2.6 cd /usr/ports/devel/ruby-gems/work/rubygems-3.0.6/ && /usr/bin/env DONT_USE_BUNDLER_FOR_GEMDEPS=3Dtrue G EM_HOME=3D/usr/ports/devel/ruby-gems/work/stage/usr/local/lib/ruby/gems/2.6 /usr/local/bin/ruby26 setup. rb --destdir=3D/usr/ports/devel/ruby-gems/work/stage --no-regenerate-binstu= bs --no-ri --no-rdoc causes the creation of two trees in ./stage: ./stage/u1/usr-local/bin/gem26 ./stage/usr/local... [everything else] Only the script gem26 appears in the path ./u1/usr-local/.., but that's sufficient for the install to fail with: pkg-static: Unable to access file /usr/ports/devel/ruby-gems/work/stage/usr/local/bin/gem26:No such fi le or directory My work-around was to "make" "mv u1/usr-local/bin/gem26 usr/local/bin/" "ma= ke install" I believe this is a bug in the ruby script 'setup,' but I have never learned ruby.