Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 17:20:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235327] www/rubygem-passenger creates incorrect symlink
Message-ID:  <bug-235327-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 235327
           Summary: www/rubygem-passenger creates incorrect symlink
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: osa@FreeBSD.org
          Reporter: dvl@FreeBSD.org
          Assignee: osa@FreeBSD.org
             Flags: maintainer-feedback?(osa@FreeBSD.org)

When running a testport based on head:

$ cd /usr/local/libexec/apache24=20
$ ls -l mod_passenger.so=20
lrwxr-xr-x  1 root  wheel  74 Jan  2 11:32 mod_passenger.so ->
../../ruby/gems/2.4/gems/passenger-6.0.0/buildout/apache2/mod_passenger.so

$ ls -l
../../ruby/gems/2.4/gems/passenger-6.0.0/buildout/apache2/mod_passenger.so
ls: ../../ruby/gems/2.4/gems/passenger-6.0.0/buildout/apache2/mod_passenger=
.so:
No such file or directory

$ ls -l
../../lib/ruby/gems/2.4/gems/passenger-6.0.0/buildout/apache2/mod_passenger=
.so
-rw-r--r--  1 root  wheel  1810776 Jan  2 11:32
../../lib/ruby/gems/2.4/gems/passenger-6.0.0/buildout/apache2/mod_passenger=
.so
[dvl@fmd-anacon-01stg:/usr/local/libexec/apache24] $=20

The current solution uses:=20

${INSTALL} -lrs
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_passenger.so

My solution uses:

${LN} -sf ${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_passenger.so


I also tried ${RLN} instead of '${INSTALL} -lrs' but that gets it wrong too.

I think this is also an infrastructure bug, but in the short term, let's fix
the port first?

--=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-235327-7788>