Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 2020 13:53:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 251667] devel/ruby-gems fails to install in jail
Message-ID:  <bug-251667-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251667

            Bug ID: 251667
           Summary: devel/ruby-gems fails to install in jail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: alexander@polyvizor.com
             Flags: maintainer-feedback?(ruby@FreeBSD.org)
          Assignee: ruby@FreeBSD.org

I have template based jails as described in
https://www.freebsd.org/doc/handbook/jails-application.html and /usr/local/=
 is
a link to /rw/usr-local

In jail's /etc/make.conf I have WRKDIRPREFIX?=3D/rw/portbuild

All ports installs in my jails just fine except devel/ruby-gems.
While building this port installs target gem file in
/rw/portbuild/usr/ports/devel/ruby-gems/work/stage/rw/usr-local/bin/gem27 w=
hile
all other files go to the
/rw/portbuild/usr/ports/devel/ruby-gems/work/stage/usr/local

So when I try to make install I get the following error:
pkg-static: Unable to access file
/rw/portbuild/usr/ports/devel/ruby-gems/work/stage/usr/local/bin/gem27:No s=
uch
file or directory
If I copy gem27 to required directory install goes fine.

I think this problem has the same source as
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249083
devel/ruby-gems somehow uses the real path to /usr/local directory instead =
of
symlink when build staging

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251667-21402>