ports/108560: liblua*.a is stripped for lua50

Richard S. Conto rsc at umich.edu
Tue Jan 30 17:10:24 UTC 2007


>Number:         108560
>Category:       ports
>Synopsis:       liblua*.a is stripped for lua50
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 30 17:10:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Richard S. Conto
>Release:        FreeBSD 6.2-STABLE
>Organization:
Merit Network Inc., & University of Michigan
>Environment:
FreeBSD brambles 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jan 16 20:06:00 EST 2007     rsc at brambles:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When trying to build a software package (StepMania, not ported yet) that depends on "liblua" and "liblualib", I discovered that there were no symbols in "liblua.a" and "liblualib.a"
>How-To-Repeat:
(1) (cd /usr/ports/lang/lua50; make install)
(2) nm /usr/local/lib/lua50/lib*.a 


>Fix:
Change /usr/ports/lang/lua50/Makefile as follows & remake/reinstall:

diff -c -b -w -r1.26 Makefile
*** Makefile    16 Sep 2006 22:01:36 -0000      1.26
--- Makefile    30 Jan 2007 16:52:23 -0000
***************
*** 66,73 ****
  # Libraries.
        ${MKDIR} ${LUA_LIBDIR}
  .for f in ${LUA_LIB}
!       ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${f}.a ${LUA_LIBDIR}
!       ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${f}.so \
                ${LUA_LIBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH}
        @${LN} -sf lib${f}-${LUA_VER}.so.${LUA_VER_SH} ${LUA_LIBDIR}/lib${f}.so
        @${LN} -sf ${LUA_SUBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH} \
--- 66,73 ----
  # Libraries.
        ${MKDIR} ${LUA_LIBDIR}
  .for f in ${LUA_LIB}
!       ${INSTALL_DATA} ${WRKSRC}/lib/lib${f}.a ${LUA_LIBDIR}
!       ${INSTALL_DATA} ${WRKSRC}/lib/lib${f}.so \
                ${LUA_LIBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH}
        @${LN} -sf lib${f}-${LUA_VER}.so.${LUA_VER_SH} ${LUA_LIBDIR}/lib${f}.so
        @${LN} -sf ${LUA_SUBDIR}/lib${f}-${LUA_VER}.so.${LUA_VER_SH} \

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list