ports/158698: graphics/vigra upgrade breaks libreoffice build
Bruce Albrecht
bruce at freebsd.zuhause.org
Thu Jul 7 03:50:08 UTC 2011
>Number: 158698
>Category: ports
>Synopsis: graphics/vigra upgrade breaks libreoffice build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 07 03:50:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Bruce Albrecht
>Release: FreeBSD 8.2
>Organization:
>Environment:
FreeBSD elite 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sun Mar 13 19:44:08 CDT 2011 toor at elite:/usr/obj/usr/src/sys/elite amd64
>Description:
The graphics/vigra port version 1.6 created a static library, libvigraimpex.a, but the 1.7.1 version of the port created on July 1 only creates a dynamic library, libvigraimpex.so. The libreoffice dependencies list the libvigraimpex.a file, and it doesn't find it, so it attempts to rebuild the graphics/vigra port and fails.
>How-To-Repeat:
Install graphics/vigra 1.7.1 and then attempt to build libreoffice.
>Fix:
Change the Makefile to look for libvigraimpex.so instead of libvigraimpex.a
Patch attached with submission follows:
*** Makefile.orig Wed Jul 6 22:38:18 2011
--- Makefile Wed Jul 6 22:37:57 2011
*************** BUILD_DEPENDS= zip:${PORTSDIR}/archivers
*** 104,110 ****
${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit \
${LOCALBASE}/lib/libmdbsql.a:${PORTSDIR}/databases/mdbtools \
${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs \
! ${LOCALBASE}/lib/libvigraimpex.a:${PORTSDIR}/graphics/vigra
USE_BDB= yes
USE_PERL5_BUILD= yes
--- 104,110 ----
${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit \
${LOCALBASE}/lib/libmdbsql.a:${PORTSDIR}/databases/mdbtools \
${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs \
! ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra
USE_BDB= yes
USE_PERL5_BUILD= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list