From owner-freebsd-ports@FreeBSD.ORG Sun Mar 6 17:41:18 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E37B1065680 for ; Sun, 6 Mar 2011 17:41:18 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E46DA8FC1A for ; Sun, 6 Mar 2011 17:41:17 +0000 (UTC) Received: by fxm19 with SMTP id 19so3937980fxm.13 for ; Sun, 06 Mar 2011 09:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YKj3LDxgmpd4ViFSxecJQcF/Er/ehXfYAHVvqYX8jG4=; b=pO2Y/zsrZxKSW4/aTB7RAR7WNA7qQMq9EJhS+0HXlh7tRS+DBl9ozeGgG7VHOShlGx 1HAeyZzRY7XgCAcDYjoErXDQLu1gxY0oHdm4xhitnUB+/Oi02vSMQDePNdBjg2QG3j46 2HOBnzEsyN3zLBej6lP2WabQa4N74WI0jTjqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CS3AYhVni4746H6CZR+IyvzHPlvdA5qWbNj2DYm+TnAkCGyeIfsVjBHG7LcbCzj23S obp65qNFkfgDNvzrLV11uCof17pMMiyhJlddODcrH77R/FwOXylB4s46xa9Rss3aH/BB h+o26fRyEqzPMHV7D6mH+fz5jSAMiBe5XkDuc= MIME-Version: 1.0 Received: by 10.223.102.129 with SMTP id g1mr1418556fao.3.1299431422659; Sun, 06 Mar 2011 09:10:22 -0800 (PST) Received: by 10.223.83.136 with HTTP; Sun, 6 Mar 2011 09:10:22 -0800 (PST) In-Reply-To: <4D725EE1.3020007@yandex.ru> References: <4D721E31.9020801@yandex.ru> <864o7hskrj.fsf@gmail.com> <4D725EE1.3020007@yandex.ru> Date: Sun, 6 Mar 2011 11:10:22 -0600 Message-ID: From: Jeremy Messenger To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: Anonymous , FreeBSD Ports Mailing List Subject: Re: net-p2p/transmission-gtk2 fails to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 17:41:18 -0000 On Sat, Mar 5, 2011 at 10:03 AM, Ruslan Mahmatkhanov wr= ote: > 05.03.2011 17:29, Anonymous =D0=C9=DB=C5=D4: >> >> Ruslan Mahmatkhanov =9Awrites: >> >>> Hi! >>> >>> I'm trying to update transmission 2.13 -> =9A2.22 on 8-stable. >>> >>> Errors like this: >>> ../libtransmission/libtransmission.a(handshake.o)(.text+0x167d): In >>> function `canRead': >>> >>> /usr/ports/net-p2p/transmission-gtk2/work/transmission-2.22/libtransmis= sion/handshake.c:789: >>> undefined reference to `evbuffer_search' >>> >>> ../libtransmission/libtransmission.a(handshake.o)(.text+0x16d4):/usr/po= rts/net-p2p/transmission-gtk2/work/transmission-2.22/libtransmission/handsh= ake.c:761: >>> undefined reference to `evbuffer_get_length' >>> >>> Full build log is here: >>> http://pastebin.com/k0ZWLj3J >> >> Probably a remnant from before libevent used PKG_CHECK_MODULES(). >> -L${LOCALBASE}/lib precedes -L${LOCALBASE}/lib/event2 during linking, >> build with V=3D1 or -Wl,--verbose to see. >> >> %% >> Index: net-p2p/transmission-cli/Makefile >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> RCS file: /a/.cvsup/ports/net-p2p/transmission-cli/Makefile,v >> retrieving revision 1.74 >> diff -u -p -r1.74 Makefile >> --- net-p2p/transmission-cli/Makefile =9A 5 Mar 2011 04:17:28 -0000 >> 1.74 >> +++ net-p2p/transmission-cli/Makefile =9A 5 Mar 2011 14:09:06 -0000 >> @@ -28,8 +28,6 @@ USE_GMAKE=3D =9A =9Ayes >> =9AUSE_GNOME?=3D =9A pkgconfig >> =9AUSE_OPENSSL=3D =9Ayes >> =9AGNU_CONFIGURE=3D =9A =9A =9A =9Ayes >> -CPPFLAGS=3D =9A =9A =9A-I${LOCALBASE}/include >> -LDFLAGS=3D =9A =9A =9A -L${LOCALBASE}/lib >> =9ACONFIGURE_ENV=3D =9A =9A =9A =9ACPPFLAGS=3D"${CPPFLAGS}" >> =9ACONFIGURE_ARGS=3D--with-zlib=3D/usr \ >> =9A =9A =9A =9A =9A =9A =9A =9A--disable-libappindicator \ >> %% > > No, this patch doesn't help. But removing libevent-1.4.14b_2 does, while > keeping libevent2-2.0.10. There is bug in libevent2's libevent*.pc. I have submitted a patch in PR to fix it. http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/155315 Cheers, Mezz > There is also discussion about that in gnome@. Thanks. > > -- > Regards, > Ruslan --=20 mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org