Date: Sun, 8 Jul 2007 02:56:03 GMT From: Kjell Tore Ullavik <ktullavik@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114394: ktorrent and ktorrent-devel: dependency on libgmp not working Message-ID: <200707080256.l682u3e9084704@www.freebsd.org> Resent-Message-ID: <200707080300.l6830A5V077416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114394 >Category: ports >Synopsis: ktorrent and ktorrent-devel: dependency on libgmp not working >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 08 03:00:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Kjell Tore Ullavik >Release: CURRENT >Organization: >Environment: FreeBSD gauss.lan 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Mon Jul 2 00:50:56 CEST 2007 root@gauss.lan:/usr/obj/usr/src/sys/GAUSS i386 >Description: # cd /usr/ports/net-p2p/ktorrent && make install clean <snip> /usr/local/bin/moc ./peermanager.h -o peermanager.moc source='peermanager.cpp' object='peermanager.lo' libtool=yes \ depfile='.deps/peermanager.Plo' tmpdepfile='.deps/peermanager.TPlo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ /bin/sh /usr/local/bin/libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../ktorrent/libktorrent -I../../libktorrent -I./.. -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O1 -pipe -march=prescott -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o peermanager.lo `test -f 'peermanager.cpp' || echo './'`peermanager.cpp In file included from ../../libktorrent/mse/encryptedauthenticate.h:25, from peermanager.cpp:36: ./../libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory In file included from ../../libktorrent/mse/encryptedauthenticate.h:25, from peermanager.cpp:36: ./../libktorrent/mse/bigint.h:93: error: 'mpz_t' does not name a type gmake[4]: *** [peermanager.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.1.4/libktorrent/torrent' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.1.4/libktorrent' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.1.4/libktorrent' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net-p2p/ktorrent/work/ktorrent-2.1.4' gmake: *** [all] Error 2 *** Error code 2 >How-To-Repeat: pkg_delete libgmp-* (if installed) cd /usr/ports/net-p2p/ktorrent && make install >Fix: Build math/libgmp4 before ktorrent or apply patch. Sorry if the patch is incorrect, never done this before. Patch attached with submission follows: diff -ruN net-p2p.orig/ktorrent/Makefile net-p2p/ktorrent/Makefile --- net-p2p.orig/ktorrent/Makefile 2007-07-08 04:22:21.000000000 +0200 +++ net-p2p/ktorrent/Makefile 2007-07-08 04:22:58.000000000 +0200 @@ -15,7 +15,7 @@ MAINTAINER= markus@FreeBSD.org COMMENT= BitTorrent client for KDE -LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 CONFLICTS= ktorrent-devel-[0-9]* diff -ruN net-p2p.orig/ktorrent-devel/Makefile net-p2p/ktorrent-devel/Makefile --- net-p2p.orig/ktorrent-devel/Makefile 2007-07-08 04:22:21.000000000 +0200 +++ net-p2p/ktorrent-devel/Makefile 2007-07-08 04:23:23.000000000 +0200 @@ -15,7 +15,7 @@ MAINTAINER= markus@FreeBSD.org COMMENT= BitTorrent client for KDE -LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 +LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 CONFLICTS= ktorrent-[0.9]* >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707080256.l682u3e9084704>