From owner-freebsd-ports@freebsd.org Fri Dec 1 17:42:11 2017 Return-Path: Delivered-To: freebsd-ports@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 A978BE65D5C for ; Fri, 1 Dec 2017 17:42:11 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from smtp.schonrocks.com (smtp.schonrocks.com [109.73.123.240]) (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 5A02469C51 for ; Fri, 1 Dec 2017 17:42:11 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from [192.168.40.60] (home.zaheer.org.uk [81.187.127.171]) by smtp.schonrocks.com (Postfix) with ESMTPA id F3B4A4D9F2E for ; Fri, 1 Dec 2017 17:42:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schonrocks.com; s=default; t=1512150129; bh=TAvskrodbl2l+SXJfUc9RO0YDANJLJc0Dj9mhSve7Js=; h=To:From:Subject:Date; b=LyiDoaO5fQQTcUtiQr19KwjJzvlooEB9SJ+6KdfHpKLCj2mOvRD9VqwC8iiqoZAUX r58dZA8xeKbl6p0MtGbtbcJYKoNz3jQi20wTsvvx5xNCr6nckkCRLpNbVhcyidTtBk RxfLWep1uAwECpPvoHygrF+QUcJoqoVH7ka19egM= To: freebsd-ports@freebsd.org From: Oliver Schonrock Subject: details of beefy12 poudriere jail pkg build environments Message-ID: <6f1ba3c7-142b-b0e9-3922-20b6cf1c08c5@schonrocks.com> Date: Fri, 1 Dec 2017 17:42:07 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NqmsjhRU2psFruUCvEXxBtxLkjuVvfBeT" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 17:42:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NqmsjhRU2psFruUCvEXxBtxLkjuVvfBeT Content-Type: multipart/mixed; boundary="RQ9ETX1JeQ11oFIimj5i29OD5neJF6VmI"; protected-headers="v1" From: Oliver Schonrock To: freebsd-ports@freebsd.org Message-ID: <6f1ba3c7-142b-b0e9-3922-20b6cf1c08c5@schonrocks.com> Subject: details of beefy12 poudriere jail pkg build environments --RQ9ETX1JeQ11oFIimj5i29OD5neJF6VmI Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable I have not dived down this deep into the ports =3D> pkg build system before, so excuse me if I get this wrong. TLDR; ----- I suspect that the package I get from beefy12 in this build: https://pkg-status.freebsd.org/builds/default:default:head-amd64:p455158_= s326378:beefy12 was built in a jail with clang < 4.0.0 (ie FreeBSD 11, not 11.1 or stable). My local machine is FreeBSD 11.1-RELEASE with clang =3D 4.0.0. If I build my port locally from ports, it works, if I install the binary from beefy it breaks. Can anyone confirm what the jail environment is for that build? (I haven't found how to look that up). Longer version: ---------------- I am building www/npm-node8. When I use the resulting node8 binary to do an "npm install node-sass" I get this error: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead Node8 builds "gyp" which is used to build the "node-sass" addon. Gyp source has this: common.gypi:L~424: 'conditions': [ ['llvm_version < "4.0"', { # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial. # Doesn't apply to llvm 4.0 (FreeBSD 11.1) or later. # Refs: https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.h= tml # Refs: https://svnweb.freebsd.org/ports/head/www/node/Makefile?revision=3D444555= &view=3Dmarkup 'cflags': [ '-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=3D1' ], }], if built with clang<4.0.0 it will use that define which breaks the subsequent build of node-sass. If I use the pkg from beefy, the node-sass build breaks. If I build node8 from ports on my local machine (which has clang=3D4.0.0) then that skips the define and the node-sass build works. So: Can anyone confirm what version of clang/llvm we have on the beefy12 jail for the above build? If my suspicion is right, and the beefy12 jail has clang < 4.0.0, then (other than building locally or running my own poudriere server) what options do I have? First time I have had any trouble with the binary packages. Thanks --=20 Oliver Sch=C3=B6nrock email : oliver@schonrocks.com --RQ9ETX1JeQ11oFIimj5i29OD5neJF6VmI-- --NqmsjhRU2psFruUCvEXxBtxLkjuVvfBeT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJaIZRvAAoJEF6SumULDx4Pr/8H/jSNg8ux6blCyYabfzNP9Olv hBmC7UANlN0geyeV2Regcm/Rmqei5rYBK8Gr+srdRs4axwgzE01DJ1J/U+hq6C92 sbao4NAjUEUmkXPmdZzLyjhiydXK8evC57DyrrJybvf7ivUho5V5qTzGqqxWJ6fQ sE6Y2UvrKpC7oPTEab6kTVop1Fm8vLHC+4EPV92mM28foqVXqzmLaMz6M3iX60AE fn9hZ8xo2ARj6C6Aetj61Ipz4dJputwmbearUnzeqe3PxJB4wbvIvwP9PP30rqp/ X4TneIAjJu926t5+n43Z4sg2Fir1E4+Hy9sLjRhBmFDeV4QWKI1JT26UOeVi6gA= =KoXB -----END PGP SIGNATURE----- --NqmsjhRU2psFruUCvEXxBtxLkjuVvfBeT--