From patchwork Fri Sep 22 17:57:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 114071 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3574068qgf; Fri, 22 Sep 2017 10:58:10 -0700 (PDT) X-Received: by 10.98.58.16 with SMTP id h16mr10115550pfa.153.1506103089969; Fri, 22 Sep 2017 10:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506103089; cv=none; d=google.com; s=arc-20160816; b=N6Te+561Bj94C7935aRLvakvrGWkXaIerdWJ2DAqf00t3ErpCvFo8pv4bZ4bcxYnK0 RKCMmK4VEalbqYqClFSAlK39mniozqvcuHHWu3HuB3AYsefEaBuCcj0JAHvBZi2N7Rm6 cvem/UTH5EQ4BNK5Q+9vahtvH4KWpeJXaeIgcG+U5c/llNF9Jda4nYF7ktQqHlFYdUOd Uch/z6MJ/6pi/Two56ChvXbXOUUxEOCuhWSTI272O9gmCPxZDbvMllC2DfaD2v7UNEcY Q9cqsSOuAND0YIR7EaCbh9n5733ZEuz8Sp+SShyLrsgrrg+31yDXIQITSujSVwIfJOxM okow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=3rPS9vt8iWWFnRn2zjl+KfK9BtYPbYrUctrHnLG7In8=; b=FXzD/cohGIPcu7XLdAyF8+1TeaDLBTf800b+pUu8XIFweCuy238wKdWD4nQAhUs8KL 3I48NMhqoQtSsflLWCHJu+aefjvtlUoB/VNd4YL3kTL6PRzYyoOEN5FqsXVgmQNk8Qx+ NVVREAEyCqZw+DdpVLHo9i4fWJ5Ta5skXnhKL3mtij86Bh1pQxbjc+q/eCrN9JFOoA8x rFPMmguwhmiguLp6V6GeWg6WkVlSLLmUK/CrF7dohLZ5k+JQ3Vfp4pA/ffjkg+2vdOuT lx4mbsM3mgDTQc47FZ/eBtJvuzlBTarZzCVqUW/9/qmTGzh1qHH65DgqtGfqPoezBXsB 72iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=c1kNN1cJ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k70si192544pga.497.2017.09.22.10.58.09; Fri, 22 Sep 2017 10:58:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=c1kNN1cJ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D00978414; Fri, 22 Sep 2017 17:58:06 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 6653B783A0 for ; Fri, 22 Sep 2017 17:58:04 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id i130so1019970pgc.0 for ; Fri, 22 Sep 2017 10:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=c6Vv3BC0u0rRvjSwevF/zm0QPawyLhDoEfW2OvQYCgk=; b=c1kNN1cJOK/JCXkPluCIo29X0UQaEzvcpQjZFng7jDicIxLlJSjhEhOMFjwt8zevwJ iIMu3lLx5jPCfZy9UrWE8ULgSti3h/o+a+/erLq86h56U9O1msdjSQOrNPxoKwqX4GRg Fmh4PEQM3cXS0dQ+o1ACu8UJWb9/Ftl6ijlt4cgWKK+b8mB1IjazTSpPRUF6lgrdf+Ut MH3a6RgL97p4UrzYsjRYHexKj2qmkG0yeEMHVdcTGRZEhKsJvOtTfzgmQvjk3JGZYukm 1GPkXHVHiaLMlAA3YA1vivJfhFG/dYKPQx5C1njL6RCx9tIJahgKpf+JY6GPBrITk+NW mTKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=c6Vv3BC0u0rRvjSwevF/zm0QPawyLhDoEfW2OvQYCgk=; b=RqQz+y240b7PHQz+SZ8ChsMQxE2TzhoeZgT9bUbh49J97ipfnZxqQ9nVpHEjdb/gxE nwkENG/lFUQ4eJoSTjwlMLPKQ0GrodAG4XNh8c3CiZRhHlDvzHvTxceAvs28Tm5NgOhD jTzVHPZlQ9ZwnTlouJepN1LpmX2RQ04/VvzUucItv6kyFW0EyATaPSpi0mZYgfI+tnVa 2jEjVRTUVJIfEKKghih+WCMN6Y00TH7HD3xk8AtrivGDNesWIZCyoBxVT1Pjp3/6Y3hD UxZZWjEyHwu4kN3u7QFnVjHy5DiipZj0qMOmTgeiKVqTcmRD0+1o95evGiI3fyZoid9T 0Ljg== X-Gm-Message-State: AHPjjUiRlztr7WV5c6SLuiziI6e/kRYdg+Eky+FCJRbcZmUTxH2w2dQk Nmv4qA6M1GYtns0xMRrSQNnBlg== X-Google-Smtp-Source: AOwi7QAx2ePsWCynrv46uW8Bph2rIyX9buIA2vE4lvbofKgyc8ffq2uSyRY8v7vGQaE6Y3uVhdOhsA== X-Received: by 10.98.5.4 with SMTP id 4mr9870178pff.175.1506103085573; Fri, 22 Sep 2017 10:58:05 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::e57f]) by smtp.gmail.com with ESMTPSA id s86sm487003pfi.74.2017.09.22.10.58.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Sep 2017 10:58:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Sep 2017 10:57:55 -0700 Message-Id: <20170922175756.34609-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-oe][PATCH 1/2] mongodb: Pass computed endian variable X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org If not passed to SCon, it will try to guess it and do it by poking at build host, which wont work in cross environment Signed-off-by: Khem Raj --- meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 + 1 file changed, 1 insertion(+) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb index d44d8d3c7..13ebd23f6 100644 --- a/meta-oe/recipes-support/mongodb/mongodb_git.bb +++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb @@ -58,6 +58,7 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \ --use-system-zlib \ --js-engine=none \ --nostrip \ + --endian='${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'big', 'little', d)}' \ ${PACKAGECONFIG_CONFARGS} \ mongod mongos" From patchwork Fri Sep 22 17:57:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 114072 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3574210qgf; Fri, 22 Sep 2017 10:58:18 -0700 (PDT) X-Received: by 10.98.220.66 with SMTP id t63mr10264267pfg.328.1506103098457; Fri, 22 Sep 2017 10:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506103098; cv=none; d=google.com; s=arc-20160816; b=wIJfRCAbuyD95pWNWHemvJMTzK/CG6NlTAV1xqRL+x1dWIAHh732DSrFLiHJ3Ivn57 WwhOJmY6ku0btCMCrr/bM55QrTVecOsD6AaYaIvYxKZPw6kO0+oH6tS4Nd0KWvSCZJvu 0FhF8mmN3NsZkGHTJIfjvu8IYmVygNB/V8OP2tUu0fhEmpTRhSP/VMUqueMxC2jEBG6E d80d/24E406+OT1QaWV15bZFEx0nP4xPx6LZ/sExOIHtMmF6p69y7urF/549L85m3jr7 egd+wQjbbBo6jajKtA3fvL1AFErMimcN9aCnHjSLSV1xB4P3ZHDXfEfZfqoT45gHcLRT lWgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=eO/T/jNBzPP3/EmgtUYauvHirfuIGZTAqwSxzOvvx3A=; b=EISAWmuN3IDv0rpYj3Ld4ekLVrEQDkUSIfIa3MuMsRUa0qtjGeomveCgVimODEUNmH 9jlJH6SI+pPccDz4VcqHZCZYBkECjpTzw0LDTby7Dgcb9SCaIZYREgcfOk89Ly4HZMs+ 7VC5aXF+A6MOupIIVpivHesOug9TxLSjquGKUMOOqlz4IxXqpXLY4s+vtWy+U7yLQ+jB 8aLqxOIyDQcc9eICfkfpV8KNKZwa3tJa9S8Ugvj14XJ40BbhchLYJFV6BOxL5VZlJqk8 Cky5Tz4JZS9TFJmViZTzJP729zv0LHnWf8LPExkC0fN17INidP4maVunXnmO3lIp/KiT GHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qUieuymr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y5si193160pgs.580.2017.09.22.10.58.18; Fri, 22 Sep 2017 10:58:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qUieuymr; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 70BD878415; Fri, 22 Sep 2017 17:58:14 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 2E4ED783A0 for ; Fri, 22 Sep 2017 17:58:05 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id i23so739986pfi.2 for ; Fri, 22 Sep 2017 10:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iO4ly2BRfT3y/IQiY2W4CECAYvYGu0XyOFJKGUt+jJA=; b=qUieuymrB4j665gU7KDTcqkEGj4bwF23ipFay8v/Q1fQySmBzpv7GakjFsyhBMLO0E mI1tyDukWep7p2XlLd6qDTZtK5aDwiG28bJsH93qIUGj9yvYWxlp9WPfzLQiIaPxVaEv ucsRuFTEzmSz8lcxdxcyxfq0O5ma2ItT5ge5SVRClh27ZBha+UcOBIBlWB0bPqTRCDcQ yDG4CaCJJbLNeAWJVD94iFkS67SOvdHgyKl9r1JilVyW7KgorUC8zmPHWXVJZvwcZHIa V1DP1iUu38oUzog3V6cWPYPhBdOimVGT2+5E6S+y7L+1EdvKYmxGGSWiEcMn5sDH4hRb LCrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iO4ly2BRfT3y/IQiY2W4CECAYvYGu0XyOFJKGUt+jJA=; b=ie4xmjCBSNjTI+aFGLbrtkeS9TPOXJp6WWoXmyu8wGR0WbgiEC9UhRt3UNmfLOrC/C /mca62StG/jC9QcJsWNJwtp3jDB4TySPXuNQvggcD+D49a9x1CtdLpTTStobbHXuZzk9 qxrRqpDy0Yb0O6CsWO0DpGGxjzWaXBhBl+O631N8seUl4jGI6OqRShTcZKoR0zCttxik YbEcNiXB8ZTK4KUrh2Nwk/vNIq2DPg8udz5qeLcq6eZEA2MMmyb3vNt8+NwjwnEaRrY/ GyOgDWSDoz0cxaXlTMjKZh4FAcj34u/PoOWqUF2nI/Fm351VSMjHlRGCdnfriV3V+3Eq KziA== X-Gm-Message-State: AHPjjUi5CjxNaRqxyVgMR8ufz0EFgaUb/gyJ4mJLDzD16b+CbK22jRNt En3MBn7di91Duz+eT3E9Ww07Mw== X-Google-Smtp-Source: AOwi7QDj1fmuW6WXfyNz19hzlcVbG0VguK/qLr8CNPhwzRp5GuAMBgorBdyN2Kj+IoTWiBxESC2aWw== X-Received: by 10.99.95.71 with SMTP id t68mr10052477pgb.432.1506103086482; Fri, 22 Sep 2017 10:58:06 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::e57f]) by smtp.gmail.com with ESMTPSA id s86sm487003pfi.74.2017.09.22.10.58.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Sep 2017 10:58:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Sep 2017 10:57:56 -0700 Message-Id: <20170922175756.34609-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170922175756.34609-1-raj.khem@gmail.com> References: <20170922175756.34609-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/2] rcmd: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | 2 + ...ne-__THROW-to-avoid-build-issue-with-musl.patch | 47 ++++++++++++++++++++++ .../0002-Do-not-use-rcmd-on-build-with-musl.patch | 31 ++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 meta-oe/recipes-multimedia/cdrkit/files/0001-define-__THROW-to-avoid-build-issue-with-musl.patch create mode 100644 meta-oe/recipes-multimedia/cdrkit/files/0002-Do-not-use-rcmd-on-build-with-musl.patch -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb index f0efc51e1..c0f220fa6 100644 --- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb +++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb @@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b30d3b2750b668133fc17b401e1b98f8" SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \ file://0001-genisoimage-Fix-fprintf-format-errors.patch \ + file://0001-define-__THROW-to-avoid-build-issue-with-musl.patch \ + file://0002-Do-not-use-rcmd-on-build-with-musl.patch \ " SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0001-define-__THROW-to-avoid-build-issue-with-musl.patch b/meta-oe/recipes-multimedia/cdrkit/files/0001-define-__THROW-to-avoid-build-issue-with-musl.patch new file mode 100644 index 000000000..b3beb069e --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/files/0001-define-__THROW-to-avoid-build-issue-with-musl.patch @@ -0,0 +1,47 @@ +From 7c3036609494296f7c29413bf3acba829c81f62c Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sat, 8 Aug 2015 22:58:57 +0200 +Subject: [PATCH 1/2] define __THROW to avoid build issue with musl + +Fixes: +http://autobuild.buildroot.net/results/d27/d2781e70b04a207e2e9397d888032294c7285034/build-end.log + +Signed-off-by: Romain Naour +--- + genisoimage/sha256.h | 4 ++++ + genisoimage/sha512.h | 4 ++++ + 2 files changed, 8 insertions(+) + +diff --git a/genisoimage/sha256.h b/genisoimage/sha256.h +index e7f4cb9..bcae7ef 100644 +--- a/genisoimage/sha256.h ++++ b/genisoimage/sha256.h +@@ -29,6 +29,10 @@ + #include + #include + ++/* define __THROW to avoid build issue when it's not available from the libc */ ++#ifndef __THROW ++# define __THROW ++#endif + + /* Structure to save state of computation between the single steps. */ + struct sha256_ctx +diff --git a/genisoimage/sha512.h b/genisoimage/sha512.h +index 7298355..8cee8b0 100644 +--- a/genisoimage/sha512.h ++++ b/genisoimage/sha512.h +@@ -29,6 +29,10 @@ + #include + #include + ++/* define __THROW to avoid build issue when it's not available from the libc */ ++#ifndef __THROW ++# define __THROW ++#endif + + /* Structure to save state of computation between the single steps. */ + struct sha512_ctx +-- +2.14.1 + diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0002-Do-not-use-rcmd-on-build-with-musl.patch b/meta-oe/recipes-multimedia/cdrkit/files/0002-Do-not-use-rcmd-on-build-with-musl.patch new file mode 100644 index 000000000..547a21c67 --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/files/0002-Do-not-use-rcmd-on-build-with-musl.patch @@ -0,0 +1,31 @@ +From 510838b2c96a9b097b3ee2694cba1c3623b0bac7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Sep 2017 22:38:05 -0700 +Subject: [PATCH 2/2] Do not use rcmd on build with musl + +cdrkit unconditionally enables code using rcmd(3), which isn't available +on musl. + +Signed-off-by: Khem Raj +--- + include/xconfig.h.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/include/xconfig.h.in b/include/xconfig.h.in +index 476c00b..6b4b298 100644 +--- a/include/xconfig.h.in ++++ b/include/xconfig.h.in +@@ -186,8 +186,9 @@ + * Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure + * they are placed before the large file tests. + */ +- ++#ifdef __GLIBC__ + #define HAVE_RCMD 1 /* rcmd() is present in libc/libsocket */ ++#endif + #define HAVE_SOCKET 1 /* socket() is present in libc/libsocket */ + #define HAVE_SOCKETPAIR 1 /* socketpair() is present in libc/libsocket */ + #define HAVE_GETSERVBYNAME 1 /* getservbyname() is present in libc/libsocket */ +-- +2.14.1 +