Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2009 07:08:57 +1000 (EST)
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        peter@vk2pj.dyndns.org
Subject:   ports/133386: [patch] Building lang/clisp fails with pari enabled
Message-ID:  <200904042108.n34L8viQ005072@server.vk2pj.dyndns.org>
Resent-Message-ID: <200904042110.n34LA2wG001540@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133386
>Category:       ports
>Synopsis:       [patch] Building lang/clisp fails with pari enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 04 21:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Feb 15 21:09:05 EST 2009 root@server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64

>Description:
	When the WITH_PARI option is enabled on lang/clisp, it adds a
	LIB_DEPENDS on pari.2, however math/pari installs libpari-gmp.so.2
	causing the ports dependency check to fail.

>How-To-Repeat:
	$ cd /usr/ports/lang/clisp
	$ make config
	enable "Build PARI (math and calc lib) module"
	$ make
	fails after installing pari:
===>   Registering installation for pari-2.3.4_1
===>  Returning to user credentials
===>   Returning to build of clisp-2.47
Error: shared library "pari.2" does not exist
*** Error code 1

Stop in /usr/ports/lang/clisp.
*** Error code 1

Stop in /usr/ports/lang/clisp.

>Fix:
	Change LIB_DEPENDS to check for pari-gmp.2 instead of pari.2
	A similar fix was made to math/asir2000 (the only other port
	with a dependency on pari) shortly after the latest pari update.
Index: /usr/ports/lang/clisp/Makefile
===================================================================
RCS file: /usr/ncvs/ports/lang/clisp/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- /usr/ports/lang/clisp/Makefile	27 Feb 2009 11:17:16 -0000	1.58
+++ /usr/ports/lang/clisp/Makefile	4 Apr 2009 21:07:36 -0000
@@ -121,7 +121,7 @@
 .endif
 
 .if defined(WITH_PARI)
-LIB_DEPENDS+=	pari.2:${PORTSDIR}/math/pari
+LIB_DEPENDS+=	pari-gmp.2:${PORTSDIR}/math/pari
 CONFIGURE_ARGS+=--with-module=pari
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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