From owner-freebsd-ports-bugs@freebsd.org Sat May 15 06:54:08 2021 Return-Path: Delivered-To: freebsd-ports-bugs@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 2FCA363B7FC for ; Sat, 15 May 2021 06:54:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fhx2S0VsDz4pnn for ; Sat, 15 May 2021 06:54:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 114CE63B96E; Sat, 15 May 2021 06:54:08 +0000 (UTC) Delivered-To: ports-bugs@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 1110463B7FB for ; Sat, 15 May 2021 06:54:08 +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 4Fhx2R6vzCz4ptg for ; Sat, 15 May 2021 06:54:07 +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 D5D5221222 for ; Sat, 15 May 2021 06:54:07 +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 14F6s7do052488 for ; Sat, 15 May 2021 06:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14F6s7Q5052487 for ports-bugs@FreeBSD.org; Sat, 15 May 2021 06:54:07 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: ports-bugs@FreeBSD.org Subject: [Bug 255895] rubygems, in turn ruby-asciidoctor, fails when PREFIX is set during building a port Date: Sat, 15 May 2021 06:54:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: parv.0zero9+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2021 06:54:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255895 Bug ID: 255895 Summary: rubygems, in turn ruby-asciidoctor, fails when PREFIX is set during building a port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: parv.0zero9+freebsd@gmail.com Created attachment 224959 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224959&action= =3Dedit /etc/make.conf I was trying to develop a port (x11-wm/fvwm3-devel for bleeding edge) based= on an existing one (x11-wm/fvwm3 uses released versions). The updated fvwm3 so= urce code relies on ruby-asciidoctor to convert documentation to manual pages. The port-in-development successfully builds (as in all the manual pages are produced) when PREFIX (during port building) is not set in /etc/make.conf (= same as default LOCALBSE of /usr/local). Otherwise, manual page conversion fails= ... ... gmake[3]: Leaving directory '/src-build/ports-build/src-build/ports/x11-wm/fvwm3-devel/work/fvwm3-32c9a= bcc/perllib' Making all in doc gmake[3]: Entering directory '/src-build/ports-build/src-build/ports/x11-wm/fvwm3-devel/work/fvwm3-32c9a= bcc/doc' DOC fvwm3/fvwm3.1 /root2/system-local/lib/ruby/site_ruby/2.7/rubygems.rb:284:in `find_spec_for_exe': can't find gem asciidoctor (>=3D 0.a) with executable asciidoctor (Gem::GemNotFoundException) from /root2/system-local/lib/ruby/site_ruby/2.7/rubygems.rb:303:in `activate_bin_path' from /usr/local/bin/asciidoctor:23:in `
' gmake[3]: *** [Makefile:538: fvwm3/fvwm3.1] Error 1 gmake[3]: Leaving directory '/src-build/ports-build/src-build/ports/x11-wm/fvwm3-devel/work/fvwm3-32c9a= bcc/doc' ... For clarification, /usr/local/ is a symbolic link to /root2/system-local. In /etc/make.conf (attached)... PORTSDIR=3D /src-build/ports WRKDIRPREFIX=3D /src-build/ports-build PACKAGES=3D /src-build/pkg-save # Setting $LOCALBASE causes pkg to croak or be confused when it encouters t= he # symbolic link to /usr/local. #LOCALBASE=3D /root2/system-local # LOCALBASE: path where ports generally install. # PREFIX : path to install of a port being installed. Default is $LOCALBA= SE. PREFIX=3D /tmp/test-install ... --=20 You are receiving this mail because: You are the assignee for the bug.=