Date: Mon, 19 Jun 2017 11:56:23 +0200 From: Torsten Zuehlsdorff <tz@FreeBSD.org> To: ruby@freebsd.org Cc: Matthias Fechner <idefix@fechner.net> Subject: Help needed: net/rubygem-grpc Message-ID: <4474b97e-88ec-ead8-bb13-79e5889bf237@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------AB9C8094AE66F7AC7851175B Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, 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 I created attached port (and various others), but always the error: === start === make[1]: illegal argument to -j -- must be positive integer! *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/bin/$(RUBY_BASE_NAME)23 extconf failed, exit code 1 === end === If i remove usage of "gem" and use gmake instead, it will compile much more and results in: === start === [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 != 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' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 === This looks more familiar to typical linux/FreeBSD differences. Is there anybody with advise/help out there to get this port run? GitLab has currently security issues and the update is needed to fix them. Greetings, Torsten --------------AB9C8094AE66F7AC7851175B Content-Type: text/plain; charset=UTF-8; name="rubygem-grpc.shar" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="rubygem-grpc.shar" IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUg YW55dGhpbmcgYmVmb3JlCiMgdGhpcyBsaW5lLCBhbmQgdGhlbiB1bnBhY2sgaXQgYnkgZW50 ZXJpbmcgInNoIGZpbGUiLiAgTm90ZSwgaXQgbWF5CiMgY3JlYXRlIGRpcmVjdG9yaWVzOyBm aWxlcyBhbmQgZGlyZWN0b3JpZXMgd2lsbCBiZSBvd25lZCBieSB5b3UgYW5kCiMgaGF2ZSBk ZWZhdWx0IHBlcm1pc3Npb25zLgojCiMgVGhpcyBhcmNoaXZlIGNvbnRhaW5zOgojCiMJcnVi eWdlbS1ncnBjLwojCXJ1YnlnZW0tZ3JwYy9kaXN0aW5mbwojCXJ1YnlnZW0tZ3JwYy9NYWtl ZmlsZQojCXJ1YnlnZW0tZ3JwYy9wa2ctZGVzY3IKIwplY2hvIGMgLSBydWJ5Z2VtLWdycGMv Cm1rZGlyIC1wIHJ1YnlnZW0tZ3JwYy8gPiAvZGV2L251bGwgMj4mMQplY2hvIHggLSBydWJ5 Z2VtLWdycGMvZGlzdGluZm8Kc2VkICdzL15YLy8nID5ydWJ5Z2VtLWdycGMvZGlzdGluZm8g PDwgJzJkNTMyZjE3MDlmOGYzNzhhOWE0YTMzNGIwNzY2NjY4JwpYVElNRVNUQU1QID0gMTQ5 NzQzOTcyNQpYU0hBMjU2IChydWJ5Z2VtL2dycGMtMS4wLjAuZ2VtKSA9IGM0ZjkwOGJkZDE2 MjliYjU2ZmE1MTZiYjVlZDQ0MjE4Nzc1ODg1M2YyODVmMzFhODA1YjJ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1lbnRhdGlvbiBvZiBnUlBDLgpYClhXV1c6IGh0dHBzOi8vZ2l0aHVi LmNvbS9ncnBjL2dycGMvdHJlZS9tYXN0ZXIvc3JjL3J1YnkKYzA1OThiYTJkNWVjYTI1OTRk MjNjYWY3ODgyZTdlZmEKZXhpdAoK --------------AB9C8094AE66F7AC7851175B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4474b97e-88ec-ead8-bb13-79e5889bf237>