Date: Tue, 10 Jun 2014 13:35:12 +0100 (BST) From: Kostas Peletidis <kpeletidis@yahoo.com> To: "ports@freebsd.org" <ports@freebsd.org> Cc: "sunpoet@FreeBSD.org" <sunpoet@FreeBSD.org>, "mm@FreeBSD.org" <mm@FreeBSD.org> Subject: FYI: devel/libevent can break www/spdylay Message-ID: <1402403712.12779.YahooMailNeo@web171302.mail.ir2.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi,=0A=0AThe following is a summary of a little adventure I had recently wi= th the spdylay port. I post it here in the hope that other users might find= it helpful. If any ports experts could help identify the root problem and = maybe the best solution that would be great.=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D= =0A=0APROBLEM:=0A----------------=0A=0APort www/spdylay breaks if devel/lib= event is installed.=0A=0ASOLUTION:=0A----------------=0ANo clean solution i= s available yet. A partial solution that involves the removal of devel/libe= vent is described in the workaround section.=0A=0A=0AWORKAROUND:=0A--------= --------=0ADeinstall devel/libevent (make deinstall) and rebuild www/spdyla= y (make clean && make).=0A=3D=3D=3D=3D=3D=3D=3D=3D=0A=0ADETAILS:=0A--------= --------=0AI noticed that www/spdylay "suddenly" wouldn't build correctly, = complaining about unknown data types:=0A=0AIn file included from shrpx_conf= ig.cc:25:=0A./shrpx_config.h:151:3: error: unknown type name 'ev_token_buck= et_cfg'=0A=A0 ev_token_bucket_cfg *rate_limit_cfg;=0A=A0 ^=0A./shrpx_config= .h:153:3: error: unknown type name 'ev_token_bucket_cfg'=0A=A0 ev_token_buc= ket_cfg *worker_rate_limit_cfg;=0A=A0 ^=0AIn file included from shrpx_confi= g.cc:42:=0A./shrpx_ssl.h:50:2: error: unknown type name 'bufferevent_rate_l= imit_group'=0A=A0bufferevent_rate_limit_group *rate_limit_group,=0A=A0^=0A.= /shrpx_ssl.h:52:2: error: unknown type name 'evutil_socket_t'=0A=A0evutil_s= ocket_t fd,=0A=A0^=0A4 errors generated.=0A*** [shrpx_config.o] Error code = 1=0A=0ANote that these are libevent data types. Spdylay depends on devel/li= bevent2.=0A=0AAfter digging around I found that another port, security/steg= detect, installed devel/libevent as a dependency and www/spdylay stopped bu= ilding since then.=0A=0AIn my case removing devel/libevent and the port tha= t depended on it was acceptable since I don't really use it. However, there= is still the issue of what seems to be a conflict between libevent and lib= event2. Also, I am not sure if my workaround broke something else.=0A=0AAny= comments on what needs to be fixed and how would be appreciated. Thanks.= =0A=0A=0ARegards,=0AKostas=0A From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 12:55:36 2014 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68A11998 for <ports@freebsd.org>; Tue, 10 Jun 2014 12:55:36 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBC6622E2 for <ports@freebsd.org>; Tue, 10 Jun 2014 12:55:34 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBC951.dip0.t-ipconnect.de [93.203.201.81]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id s5ACsAXO076859; Tue, 10 Jun 2014 12:54:11 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s5ACtHYk035581; Tue, 10 Jun 2014 14:55:17 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s5ACt0WN010742; Tue, 10 Jun 2014 14:55:12 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201406101255.s5ACt0WN010742@fire.js.berklix.net> To: ports@freebsd.org Subject: how to set proxy after building textproc/gnome-translate ? From: "Julian H. Stacey" <jhs@berklix.com> Organization: http://berklix.com BSD Linux Unix Consultants, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Tue, 10 Jun 2014 14:55:00 +0200 Cc: jhs@berklix.com, Jean-Yves Lefort <jylefort@brutele.be> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 10 Jun 2014 12:55:36 -0000 Hi ports@ textproc/gnome-translate/Makefile MAINTAINER=ports Anyone know how to set gnome-translate to talk to the proxy ? (I'm not running gnome as wm but fvwm2, so rather reluctant to need to dig for some gnome proxy manager) (my proxy works fine for various clients inc. firefox, epiphany & others) I have: printenv | grep -i prox FTP_PROXY=ftp://gate http_proxy=http://gate.js.berklix.net:80 all_proxy=http://gate.js.berklix.net no_proxy=localhost,js.berklix.net I tried unsetenv no_proxy (idea from https://plus.google.com/+DirkHohndel/posts/CiZSHe3apx3 ) Now I'm looking at work/gnome-translate-0.99/src/gt-shell.c It should not be this hard, Anyone knows the answer ? Maybe we could put a simple hint in the ports Makefile ? Cheers, Julian -- Julian Stacey, BSD Linux Unix'78 C Sys Eng Consultant Munich http://berklix.com Interleave replies Below, like a play script.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1402403712.12779.YahooMailNeo>