From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 13:03:16 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 859D7CAA for ; Tue, 10 Jun 2014 13:03:16 +0000 (UTC) Received: from nm11-vm8.bullet.mail.ir2.yahoo.com (nm11-vm8.bullet.mail.ir2.yahoo.com [212.82.96.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2464239A for ; Tue, 10 Jun 2014 13:03:15 +0000 (UTC) Received: from [212.82.98.50] by nm11.bullet.mail.ir2.yahoo.com with NNFMP; 10 Jun 2014 13:03:07 -0000 Received: from [212.82.98.78] by tm3.bullet.mail.ir2.yahoo.com with NNFMP; 10 Jun 2014 13:03:07 -0000 Received: from [127.0.0.1] by omp1015.mail.ir2.yahoo.com with NNFMP; 10 Jun 2014 13:03:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 434147.40656.bm@omp1015.mail.ir2.yahoo.com Received: (qmail 95945 invoked by uid 60001); 10 Jun 2014 13:03:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1402405387; bh=MOeQb+cXJs1peOQS37ignm7ls6n/AAEvgtDXfapal9s=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=qBkNYXbnbjPc2vKahC/PVN4gp+tTFQvIIhcHhbqXRqF9kFWpys6asK8wmFjGWa6KXTwvK7OVE7ySNttnOaxj85rOROGXwCUH7vZgiWI7fO+PXpTonjC9qh9/I+1dsXZn/TTrTq71+rdn8d29FdsJgomBOOEW1l5wdeMWfu8ncQU= X-YMail-OSG: yL9x89QVM1mffVZMCgZW.ABqxxhHg_c48_O9z7PhK.wzTqQ 5JQZaNSoYjivNOliUQDDyvKFDA1QhCuSlH61gydnSTmY682DYStJAEXFO43R vrDT4lTp685T8Fu4nt1c_cHcSvFQy.KxJZMt1K8jmL83RQj5o6.TUJ981b.L 2snWcO.6KUDiH4gUUKkB0iw3_sqvPfoSoaKpiaROpa4atDqZk2F12JDkEzXx cjM1LC7A.IgV7A1J97IjOisEg6qwvvSqQjC7dKXD5y1i3IRsE1FcaydZ3mOh Y.hZ9lsf6RvWzipqrVvXbnexWteV_GjDXDFOBWp0a2cp1XGMgiXjl_ECcE1r G0uux06mH7pyEfBTcux8YUZW7NfiFu3HkGj2SagPBT0Eb2YlD5Km6U7__qQz sjOATpjEvTv952vYvFlaB6NJhXodOVsBgCmMKw6OBXK4BvNvt5DXhivWgoBR rPNFjBi7RLv7VLpjP2mGWlZKV1pkAYHUKlEave5Kje3qOMmEOZ1Wdrd9IGEF _kdbtPWtbeM0LG..dwYaCD.J3zrYMzjV9bjPqfjlqyrgRAHiBs5fWvTlqDiv VF4LseSraSdUVZUG5qupnN0PmBo6brSY_ya1p03bP2slsLi07KIXQlA-- Received: from [92.21.207.13] by web171305.mail.ir2.yahoo.com via HTTP; Tue, 10 Jun 2014 14:03:07 BST X-Rocket-MIMEInfo: 002.001, CgpGb3J3YXJkaW5nIHRvIGZyZWVic2QtcG9ydHMgaW4gY2FzZSBzb21lb25lIGVsc2UgZmluZHMgaXQgdXNlZnVsLgoKCk9uIFR1ZXNkYXksIDEwIEp1bmUgMjAxNCwgMTM6MzUsIEtvc3RhcyBQZWxldGlkaXMgPGtwZWxldGlkaXNAeWFob28uY29tPiB3cm90ZToKIAoKPgo.Cj5IaSwKPgo.Cj5UaGUgZm9sbG93aW5nIGlzIGEgc3VtbWFyeSBvZiBhIGxpdHRsZSBhZHZlbnR1cmUgSSBoYWQgcmVjZW50bHkgd2l0aCB0aGUgc3BkeWxheSBwb3J0LiBJIHBvc3QgaXQgaGVyZSBpbiB0aGUgaG9wZSB0aGF0IG90aGUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.190.668 References: <1402403712.12779.YahooMailNeo@web171302.mail.ir2.yahoo.com> Message-ID: <1402405387.12273.YahooMailNeo@web171305.mail.ir2.yahoo.com> Date: Tue, 10 Jun 2014 14:03:07 +0100 (BST) From: Kostas Peletidis Reply-To: Kostas Peletidis Subject: Fw: FYI: devel/libevent can break www/spdylay To: "freebsd-ports@freebsd.org" In-Reply-To: <1402403712.12779.YahooMailNeo@web171302.mail.ir2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 13:03:16 -0000 =0A=0AForwarding to freebsd-ports in case someone else finds it useful.=0A= =0A=0AOn Tuesday, 10 June 2014, 13:35, Kostas Peletidis wrote:=0A =0A=0A>=0A>=0A>Hi,=0A>=0A>=0A>The following is a summary of a= little adventure I had recently with the spdylay port. I post it here in t= he 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 gr= eat.=0A>=0A>=0A>=3D=3D=3D=3D=3D=3D=3D=3D=0A>=0A>PROBLEM:=0A>---------------= -=0A>=0A>Port www/spdylay breaks if devel/libevent is installed.=0A>=0A>=0A= >SOLUTION:=0A>----------------=0A>No clean solution is available yet. A par= tial solution that involves the removal of devel/libevent is described in t= he workaround section.=0A>=0A>=0A>=0A>WORKAROUND:=0A>----------------=0A>De= install devel/libevent (make deinstall) and rebuild www/spdylay (make clean= && make).=0A>=3D=3D=3D=3D=3D=3D=3D=3D=0A>=0A>=0A>DETAILS:=0A>-------------= ---=0A>I noticed that www/spdylay "suddenly" wouldn't build correctly, comp= laining about unknown data types:=0A>=0A>=0A>In file included from shrpx_co= nfig.cc:25:=0A>./shrpx_config.h:151:3: error: unknown type name 'ev_token_b= ucket_cfg'=0A>=A0 ev_token_bucket_cfg *rate_limit_cfg;=0A>=A0 ^=0A>./shrpx_= config.h:153:3: error:=0A unknown type name 'ev_token_bucket_cfg'=0A>=A0 ev= _token_bucket_cfg *worker_rate_limit_cfg;=0A>=A0 ^=0A>In file included from= shrpx_config.cc:42:=0A>./shrpx_ssl.h:50:2: error: unknown type name 'buffe= revent_rate_limit_group'=0A>=A0bufferevent_rate_limit_group *rate_limit_gro= up,=0A>=A0^=0A>./shrpx_ssl.h:52:2: error: unknown type name 'evutil_socket_= t'=0A>=A0evutil_socket_t fd,=0A>=A0^=0A>4 errors generated.=0A>*** [shrpx_c= onfig.o] Error code 1=0A>=0A>=0A>Note that these are libevent data types. S= pdylay depends on devel/libevent2.=0A>=0A>=0A>After digging around I found = that another port, security/stegdetect, installed devel/libevent as a depen= dency and www/spdylay stopped building since then.=0A>=0A>=0A>In my case re= moving devel/libevent and the port that 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 libevent2. Also, I am not sure if my wor= karound broke something else.=0A>=0A>=0A>Any comments on what needs to be f= ixed and how would be appreciated. Thanks.=0A>=0A>=0A>=0A>Regards,=0A>Kosta= s=0A>=0A>=0A> From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 13:06:45 2014 Return-Path: Delivered-To: freebsd-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 BC77FDD3 for ; Tue, 10 Jun 2014 13:06:45 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E20623CF for ; Tue, 10 Jun 2014 13:06:45 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so4551013wgg.34 for ; Tue, 10 Jun 2014 06:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=f1B6O9lmBOjnQFvnrlpBvaDO45nN+q5KrcjYSE6DMsk=; b=kR9pG8e9XZ44fQBW5VnJvh3hMm1UraCw4uT4lzIw2DIx59gkvvtG0QJ835qkjS6F/B 8nZXU2cLBrpYPSrf08PjZhLdy/RakiSfnrXgji6mI+Mjqm/8p1T4cO2eVKESdgI4umtY amY/aYT+SLFwmYgEl90mXZAHn2r0FAgnY4mZtCsRa4uEzhrldk3UozxlZl3YzLrwBW2q eYXboB3bWiQjTZWTBXa+gxg1DoClinbAfXaVjF/iyLgwTa8IkuGV3WcpgYfQmteSkW89 pwSnUNJnWkaiA290e22i969lGk6ad7oaw7B6iAPdMuHme4qABi7qeNa0VoFOhaWe9nZR rPpA== X-Received: by 10.180.105.72 with SMTP id gk8mr37747294wib.32.1402405603313; Tue, 10 Jun 2014 06:06:43 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id l9sm20756096wic.21.2014.06.10.06.06.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jun 2014 06:06:42 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 10 Jun 2014 15:06:39 +0200 From: Baptiste Daroussin To: Kostas Peletidis Subject: Re: Fw: FYI: devel/libevent can break www/spdylay Message-ID: <20140610130639.GA91130@ivaldir.etoilebsd.net> References: <1402403712.12779.YahooMailNeo@web171302.mail.ir2.yahoo.com> <1402405387.12273.YahooMailNeo@web171305.mail.ir2.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <1402405387.12273.YahooMailNeo@web171305.mail.ir2.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 13:06:45 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2014 at 02:03:07PM +0100, Kostas Peletidis via freebsd-port= s wrote: >=20 >=20 > Forwarding to freebsd-ports in case someone else finds it useful. >=20 >=20 > On Tuesday, 10 June 2014, 13:35, Kostas Peletidis = wrote: > =20 >=20 > > > > > >Hi, > > > > > >The following is a summary of a little adventure I had recently with the= spdylay port. I post it here in the hope that other users might find it he= lpful. If any ports experts could help identify the root problem and maybe = the best solution that would be great. > > > > > >=3D=3D=3D=3D=3D=3D=3D=3D > > > >PROBLEM: > >---------------- > > > >Port www/spdylay breaks if devel/libevent is installed. > > > > > >SOLUTION: > >---------------- > >No clean solution is available yet. A partial solution that involves the= removal of devel/libevent is described in the workaround section. > > > > > > > >WORKAROUND: > >---------------- > >Deinstall devel/libevent (make deinstall) and rebuild www/spdylay (make = clean && make). > >=3D=3D=3D=3D=3D=3D=3D=3D > > > > > >DETAILS: > >---------------- > >I noticed that www/spdylay "suddenly" wouldn't build correctly, complain= ing about unknown data types: > > > > > >In file included from shrpx_config.cc:25: > >./shrpx_config.h:151:3: error: unknown type name 'ev_token_bucket_cfg' > >=A0 ev_token_bucket_cfg *rate_limit_cfg; > >=A0 ^ > >./shrpx_config.h:153:3: error: > unknown type name 'ev_token_bucket_cfg' > >=A0 ev_token_bucket_cfg *worker_rate_limit_cfg; > >=A0 ^ > >In file included from shrpx_config.cc:42: > >./shrpx_ssl.h:50:2: error: unknown type name 'bufferevent_rate_limit_gro= up' > >=A0bufferevent_rate_limit_group *rate_limit_group, > >=A0^ > >./shrpx_ssl.h:52:2: error: unknown type name 'evutil_socket_t' > >=A0evutil_socket_t fd, > >=A0^ > >4 errors generated. > >*** [shrpx_config.o] Error code 1 > > > > > >Note that these are libevent data types. Spdylay depends on devel/libeve= nt2. > > > > > >After digging around I found that another port, security/stegdetect, ins= talled devel/libevent as a dependency and www/spdylay stopped building sinc= e then. > > > > > >In my case removing devel/libevent and the port that depended on it was = acceptable since I don't really use it. However, there is still the issue o= f what seems to be a conflict between libevent and libevent2. Also, I am no= t sure if my workaround broke something else. > > > > > >Any comments on what needs to be fixed and how would be appreciated. Tha= nks. > > > > > > > >Regards, > >Kostas > > The real solution would be to kill libevent and replace it totally with libevent2 which has a compatibility layer, if anyone is look for a task to = do, this is highly needed! regards, Bapt --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlOXAt8ACgkQ8kTtMUmk6EyvKACgumueoAxlh1l7Bo2E96ffgOVp Rr4AniB0aUWgPk0vBrNIJ7Z505wdE/C0 =i3Gr -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--