From owner-freebsd-ruby@freebsd.org Wed Jun 28 02:16:41 2017 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4ED2FD9577B for ; Wed, 28 Jun 2017 02:16:41 +0000 (UTC) (envelope-from steve@mouf.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4201016 for ; Wed, 28 Jun 2017 02:16:41 +0000 (UTC) (envelope-from steve@mouf.net) Received: by mailman.ysv.freebsd.org (Postfix) id 275CBD9577A; Wed, 28 Jun 2017 02:16:41 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26DA8D95779 for ; Wed, 28 Jun 2017 02:16:41 +0000 (UTC) (envelope-from steve@mouf.net) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EB2F31015; Wed, 28 Jun 2017 02:16:40 +0000 (UTC) (envelope-from steve@mouf.net) Received: from [10.0.1.84] (cpe-071-065-239-148.nc.res.rr.com [71.65.239.148] (may be forged)) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id v5S2EvS0043383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 28 Jun 2017 02:15:05 GMT (envelope-from steve@mouf.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mouf.net; s=mail; t=1498616106; bh=CfdGsKLV+j0l7IDpXDLNBniuByaO0Wyhr/scFtm0Ga0=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=YT8Tmt+DJb0yZhOFKRbr0hnfVPNXyCoKSDwzNUhYcTZdnY4Z/VHeSb01bCjcTyBkA iK3x4zroCWMmMi/+EaznsGH5Gww3hEOuATTnDxyxaBIwlYs1ABVNRbX0qIKSNbROcO rd+WX/z+9nxdja1RJQyChyEkCsapAqfhI7gIPDvs= Subject: Re: Help needed: net/rubygem-grpc To: Torsten Zuehlsdorff , ruby@freebsd.org References: <4474b97e-88ec-ead8-bb13-79e5889bf237@FreeBSD.org> From: Steve Wills Message-ID: Date: Tue, 27 Jun 2017 22:14:57 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <4474b97e-88ec-ead8-bb13-79e5889bf237@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="trKAirUXhwCL0PQImGtK06LgRrPcdTPh8" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Wed, 28 Jun 2017 02:15:05 +0000 (UTC) X-Spam-Status: No, score=-1.0 required=4.5 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2017 02:16:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --trKAirUXhwCL0PQImGtK06LgRrPcdTPh8 Content-Type: multipart/mixed; boundary="4c7t2mW0vfqJoak7twWDC6XbK1ajV84Le"; protected-headers="v1" From: Steve Wills To: Torsten Zuehlsdorff , ruby@freebsd.org Cc: Matthias Fechner Message-ID: Subject: Re: Help needed: net/rubygem-grpc References: <4474b97e-88ec-ead8-bb13-79e5889bf237@FreeBSD.org> In-Reply-To: <4474b97e-88ec-ead8-bb13-79e5889bf237@FreeBSD.org> --4c7t2mW0vfqJoak7twWDC6XbK1ajV84Le Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, I was taking a look at this. It looks like several things are going on. As you noticed, it's going to have to use gmake, you can patch the extconf.rb for that. But then you run into other issues. It's expecting a pkg-config file for openssl, which we don't have for the openssl in base (src). I think this is the only thing in base lacking a .pc file. We will have to patch the Makefile for that. It would be best not to use any of the bundled things and instead use the versions from ports. I noticed there's a newer version, 1.4.0, but it has the same issues. Will the newer gitlab work with the 1.4.0 version of the grpc gem? Steve On 06/19/2017 05:56, Torsten Zuehlsdorff wrote: > Hello, >=20 > in order to bring www/gitlab to its next big version, i need a Gem in > the ports-tree i'm struggling with. Its net/rubygem-rpc, here you find > its details: > https://rubygems.org/gems/grpc > https://github.com/grpc/grpc/tree/master/src/ruby >=20 > I created attached port (and various others), but always the error: >=20 > =3D=3D=3D start =3D=3D=3D > make[1]: illegal argument to -j -- must be positive integer! > *** extconf.rb failed *** > Could not create Makefile due to some reason, probably lack of necessar= y > libraries and/or headers. Check the mkmf.log file for more details. Yo= u > may > need configuration options. >=20 > Provided configuration options: > --with-opt-dir > --without-opt-dir > --with-opt-include > --without-opt-include=3D${opt-dir}/include > --with-opt-lib > --without-opt-lib=3D${opt-dir}/lib > --with-make-prog > --without-make-prog > --srcdir=3D. > --curdir > --ruby=3D/usr/local/bin/$(RUBY_BASE_NAME)23 >=20 > extconf failed, exit code 1 > =3D=3D=3D end =3D=3D=3D >=20 > If i remove usage of "gem" and use gmake instead, it will compile much > more and results in: >=20 > =3D=3D=3D start =3D=3D=3D > [C] Compiling src/core/lib/iomgr/socket_utils_linux.c > src/core/lib/iomgr/socket_utils_common_posix.c:101:39: error: use of > undeclared identifier 'IP_PKTINFO' > if (0 !=3D setsockopt(fd, IPPROTO_IP, IP_PKTINFO, &get_local_ip, > ^ > 1 error generated. > [C] Compiling src/core/lib/iomgr/socket_utils_posix.c > gmake[1]: *** [Makefile:2080: > /usr/ports/net/rubygem-grpc/work/grpc-1.0.0/objs/opt/src/core/lib/iomgr= /socket_utils_common_posix.o] > Error 1 > gmake[1]: *** Waiting for unfinished jobs.... > [C] Compiling src/core/lib/iomgr/socket_windows.c > gmake[1]: Leaving directory '/usr/ports/net/rubygem-grpc/work/grpc-1.0.= 0' > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the fail= ure to > the maintainer. > *** Error code 1 > =3D=3D=3D >=20 > This looks more familiar to typical linux/FreeBSD differences. >=20 > Is there anybody with advise/help out there to get this port run? GitLa= b > has currently security issues and the update is needed to fix them. >=20 > Greetings, > Torsten >=20 >=20 > _______________________________________________ > freebsd-ruby@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ruby > To unsubscribe, send any mail to "freebsd-ruby-unsubscribe@freebsd.org"= >=20 --4c7t2mW0vfqJoak7twWDC6XbK1ajV84Le-- --trKAirUXhwCL0PQImGtK06LgRrPcdTPh8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGjBAEBCgCNFiEEmPpBSlwqDvnP0K0N9c9isyB7G6EFAllTESFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk4 RkE0MTRBNUMyQTBFRjlDRkQwQUQwREY1Q0Y2MkIzMjA3QjFCQTEPHHN0ZXZlQG1v dWYubmV0AAoJEPXPYrMgexuhpMYH/j2nkwUQKDK+MiharjfcZZbngrNa1L2XOmqo Ywg3XAR/ibW7gE/X9UdHUBB0VqFNMgzWbwytSE8rFueROVTvoey/IsFNL4oFHjSh cPwLTi+883+aaSdeF7GrphySMl3eZC3CmZf4PU5jcBzY6jWCQaQsIZJQHCNgvmib DGw8ubr7oCKOnm15VmIYHpcZQf1qBeP9TyKnxAxmI0bYCQTN7KYqeX1DZVdm6hnf 1gnnehJSHxp0zozxG5YnrsnnhcDBK7drQD77GuA5/g0umycEwBJk3uyk6k8UfFFE TGUbPzGgPpHSrBG7OT4MvU6X7W2cVK2a1G3/miVEYy7gDQWWy1s= =b3wC -----END PGP SIGNATURE----- --trKAirUXhwCL0PQImGtK06LgRrPcdTPh8--