[Bug 235327] www/rubygem-passenger creates incorrect symlink

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 30 17:20:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235327

            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 at FreeBSD.org
          Reporter: dvl at FreeBSD.org
          Assignee: osa at FreeBSD.org
             Flags: maintainer-feedback?(osa at FreeBSD.org)

When running a testport based on head:

$ cd /usr/local/libexec/apache24 
$ ls -l mod_passenger.so 
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 at fmd-anacon-01stg:/usr/local/libexec/apache24] $ 

The current solution uses: 

${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?

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


More information about the freebsd-ports-bugs mailing list