From owner-svn-src-head@freebsd.org Thu Mar 16 04:50:32 2017 Return-Path: Delivered-To: svn-src-head@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 4C5A1D0D4CD; Thu, 16 Mar 2017 04:50:32 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 175A118DD; Thu, 16 Mar 2017 04:50:32 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id x63so13150578pfx.2; Wed, 15 Mar 2017 21:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=QSuGmoM5MpDYn+ci8DSHps3DSHgn0t1F+sUbPS70NOE=; b=LIKcKlRXvmOogXBrkCGaJypt9SSKqPuPA60YHX5OfhaqcCJpyFioMb/JJTSTnfSxvP ckqkydQTBJajB1wwKct4MyQOXuVtXx3ggQaf1jE+s5Vj5WcqikZN/htrZ0z3N4XoGXQ1 BVZ949iNXQ8eNp/DASBaW4dza6LRIegD+Kxpr68+OjqifUFHIBmdAI5V9ypVk1qmmizC jawIP++gH4fx8vGrL3NMZTIPQyqxrIQuOVPx8Orgj0W0iwsJeNGlYar+qwqbVcfePLzv dupg3jOr7xyM9lJG13+TXSg8IV1DdWPO5/fQS4v6tpld9TA6ufWXDrK80Cj/mGdHkazO MCdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=QSuGmoM5MpDYn+ci8DSHps3DSHgn0t1F+sUbPS70NOE=; b=fGLAD45iHzju750ne/ikJZAHpTo1aui6hp7KqeP+9kim5p+QDhHnq+w6RJUPFmRhQR jsRrFPdRUCG218klEbgMUBNl2hRPV8cEloEmX+7fq1tX8Vya88FkUIOPOKSVRWjtqW8i giO6RnR4w7h6lVZ/v6irJgkXc03qg2CHl7ndrDviSsnhgK/NXoXFd6PuLCgegl7NdawH 2+XIj/Y2PFhXq7w2R092l1OsXFDQG5uimu4B1spbG9VUNaJ6km9H49mObISbDlF2Xju8 bqwmRJtl3kTOVSY8II1yHO+yk9CsChZyrE023987jFBTBG9/9u9zuNuwtjNEurDf44wx 5oiQ== X-Gm-Message-State: AFeK/H3814FAZveq95xILO6crMKi7rh96ceCWwj7EiZCe144wPUNgBxOE6bzMVGf30edMA== X-Received: by 10.84.229.10 with SMTP id b10mr9576313plk.148.1489639831319; Wed, 15 Mar 2017 21:50:31 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id d68sm7137926pfj.92.2017.03.15.21.50.30 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Mar 2017 21:50:30 -0700 (PDT) Subject: Re: svn commit: r315230 - in head: etc/mtree tests/sys/geom tests/sys/geom/class/eli tests/sys/geom/eli Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_49F8D5CF-EAA7-499A-85AA-CD1434105B51"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <54F7AE74-0DD8-445B-A880-28B4BAF4001F@gmail.com> Date: Wed, 15 Mar 2017 21:50:29 -0700 Cc: Ngie Cooper , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <74021F66-E352-4B05-9000-2FA8682E8487@gmail.com> References: <201703140700.v2E70MXc091919@repo.freebsd.org> <20170315052239.GC1072@FreeBSD.org> <54F7AE74-0DD8-445B-A880-28B4BAF4001F@gmail.com> To: Allan Jude X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 04:50:32 -0000 --Apple-Mail=_49F8D5CF-EAA7-499A-85AA-CD1434105B51 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On Mar 15, 2017, at 21:48, Ngie Cooper (yaneurabeya) = wrote: >=20 >>=20 >> On Mar 15, 2017, at 21:25, Allan Jude wrote: >>=20 >> On 2017-03-15 01:22, Gleb Smirnoff wrote: >>> On Tue, Mar 14, 2017 at 07:00:22AM +0000, Ngie Cooper wrote: >>> N> Author: ngie >>> N> Date: Tue Mar 14 07:00:22 2017 >>> N> New Revision: 315230 >>> N> URL: https://svnweb.freebsd.org/changeset/base/315230 >>> N> >>> N> Log: >>> N> Move .../sys/geom/eli/pbkdf2... to .../sys/geom/class/eli/... >>> N> >>> N> This change moves the tests added in r313962 to an existing = directory >>> N> structure used by the geli TAP tests. It also, renames the test = from >>> N> pbkdf2 to pbkdf2_test . >>> N> >>> N> The changes to ObsoleteFiles.inc are being committed separately = as they >>> N> aren't needed for the MFC to ^/stable/11, etc, if the MFC for = the tests >>> N> is done all in one commit. >>> N> >>> N> MFC after: 2 weeks >>> N> X-MFC with: r313962, r313972-r313973 >>> N> Reviewed by: allanjude >>> N> Sponsored by: Dell EMC Isilon >>> N> Differential Revision: D9985 >>>=20 >>> This breaks buildworld for a system that doesn't have SYSDIR defined = in src.conf, >>> and also doesn't have /usr/src/sys. >>>=20 >>> What happens is that include path is /sys. On some systems this is >>> meaningful, on others not. >>>=20 >>> glebius@morannon:/usr/src/head/tests/sys/geom/class/eli:|>make >>> (cd /usr/src/head/tests/sys/geom/class/eli && = DEPENDFILE=3D.depend.pbkdf2_test NO_SUBDIR=3D1 make -f = /usr/src/head/tests/sys/geom/class/eli/Makefile _RECURSING_PROGS=3Dt = PROG=3Dpbkdf2_test ) >>> cc -O2 -pipe -I/sys -g -MD -MF.depend.pbkdf2_test.g_eli_crypto.o = -MTg_eli_crypto.o -std=3Dgnu99 -fstack-protector-strong = -Qunused-arguments -c /usr/src/head/sys/geom/eli/g_eli_crypto.c -o = g_eli_crypto.o >>> In file included from /usr/src/head/sys/geom/eli/g_eli_crypto.c:44: >>> /usr/include/geom/eli/g_eli.h:35:10: fatal error: = 'crypto/sha2/sha256.h' file >>> not found >>> #include >>>=20 >>> This also breaks buildworld. >>>=20 >>=20 >> I think we also need to update the mtree files, as I get this failure = @ >> installworld: >>=20 >> =3D=3D=3D> tests/sys/geom/class/eli (install) >> install -s -o root -g wheel -m 555 pbkdf2_test >> /usr/tests/sys/geom/class/eli/pbkdf2_test >> install: pbkdf2_test: No such file or directory >> *** Error code 71 >=20 > Is everything being built properly? It works for me=85 > Thanks! > -Ngie >=20 > $ sudo rm -Rf /usr/tests/sys/geom/ > $ (cd /usr/src/; sudo make hier) > cd /usr/src/etc; = PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us= r/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/o= bj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin make LOCAL_MTREE=3D = distrib-dirs > for file in /usr/share/doc/usd/10.exref /usr/share/doc/usd/11.edit = /usr/share/doc/usd/12.vi /usr/share/doc/usd/13.viref; do if [ -f = /${file} ]; then rm -f /${file}; fi; done > mtree -deU -i -f /usr/src/etc/mtree/BSD.root.dist -p / > boot/kernel: > type (dir, link) > mtree -deU -i -f /usr/src/etc/mtree/BSD.var.dist -p /var > mtree -deU -i -f /usr/src/etc/mtree/BSD.usr.dist -p /usr > mtree -deU -i -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include > mtree -deU -i -f /usr/src/etc/mtree/BSD.debug.dist -p /usr/lib > mtree -deU -i -f /usr/src/etc/mtree/BSD.groff.dist -p /usr > mtree -deU -i -f /usr/src/etc/mtree/BSD.tests.dist -p /usr/tests > ./sys/geom missing (created) > ./sys/geom/class missing (created) > ./sys/geom/class/concat missing (created) > ./sys/geom/class/eli missing (created) > ./sys/geom/class/gate missing (created) > ./sys/geom/class/gpt missing (created) > ./sys/geom/class/mirror missing (created) > ./sys/geom/class/nop missing (created) > ./sys/geom/class/raid3 missing (created) > ./sys/geom/class/shsec missing (created) > ./sys/geom/class/stripe missing (created) > ./sys/geom/class/uzip missing (created) > ./sys/geom/class/uzip/etalon missing (created) > mtree -deU -i -f /usr/src/etc/mtree/BSD.tests.dist -p = /usr/lib/debug//usr/tests > mtree -deU -i -f /usr/src/etc/mtree/BSD.sendmail.dist -p / > install -l s usr/src/sys /sys > cd /usr/share/man; for mandir in man*; do install -l s ../$mandir = /usr/share/man/en.ISO8859-1/; install -l s ../$mandir = /usr/share/man/en.UTF-8/; done > cd /usr/share/openssl/man; for mandir in man*; do install -l s = ../$mandir /usr/share/openssl/man/en.ISO8859-1/; done > set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; while [ $# -gt 0 ] ; = do install -l s "$2" "/usr/share/man/$1"; if [ "yes" !=3D "no" ]; then = install -l s "$2" "/usr/share/openssl/man/$1"; fi; shift; shift; = done > set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`; while [ $# -gt 0 ] ; = do install -l s "$2" "/usr/share/nls/$1"; shift; shift; done > $ cd tests/sys/geom > $ (cd class/eli/; make -s clean; make -s) > /usr/src/sys/geom/eli/pkcs5v2.c:72:39: warning: passing 'const char *' = to parameter of type 'const uint8_t *' (aka 'const unsigned char *') = converts between pointers to integer types with different sign > [-Wpointer-sign] > g_eli_crypto_hmac_init(&startpoint, passphrase, = passlen); > ^~~~~~~~~~ > /usr/src/sys/geom/eli/g_eli.h:699:66: note: passing argument to = parameter 'hkey' here > void g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const uint8_t *hkey, > ^ > /usr/src/sys/geom/eli/pkcs5v2.c:103:55: warning: passing 'uint8_t = [11]' to parameter of type 'const char *' converts between pointers to = integer types with different sign [-Wpointer-sign] > pkcs5v2_genkey(key, sizeof(key), salt, sizeof(salt), = passphrase, > ^~~~~~~~~~ > /usr/src/sys/geom/eli/pkcs5v2.c:53:34: note: passing argument to = parameter 'passphrase' here > size_t saltsize, const char *passphrase, u_int iterations) > ^ > 2 warnings generated. > $ sudo make -s install > =3D=3D=3D> class (install) > =3D=3D=3D> class/concat (install) > =3D=3D=3D> class/eli (install) > =3D=3D=3D> class/gate (install) > =3D=3D=3D> class/mirror (install) > =3D=3D=3D> class/nop (install) > =3D=3D=3D> class/raid3 (install) > =3D=3D=3D> class/shsec (install) > =3D=3D=3D> class/stripe (install) > =3D=3D=3D> class/uzip (install) > $ echo $? > 0 > $ For reference, here=92s the revision I=92m on: $ svnversion 315340 Thanks! -Ngie --Apple-Mail=_49F8D5CF-EAA7-499A-85AA-CD1434105B51 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJYyhmVAAoJEPWDqSZpMIYV8XkQALQ/QTayrYaQPxBRInT5gsVF EFgD2C8I0IL61RQWCFYRAVryiEKrTHxZHNY663RdufAhLAA0hl3A/CXSyJRu79f6 ipt1HRaTOS0dq3tNsxxX6PszEH8TKlVKXaCpueZeJiaCN+9BlCIGGbI3QzWvdEtt 7xCMgLdGZb6XxgPcLOyGo41xk2QCLcq1QbY3HEDV+n7tpqxBlu2DfwdcgInPo6p9 d7y2+gh6aJz+czsNSmfWB4sch8siseW6U7bElsI4xSzJ2sPoFzRnMOmuza7JUWbU 8L8HC169eqxJZPBCrvxeDZQDoRxq2lfZYiCesLgZTtuxBhz2K+7TQFInFVmuhAhu mHQIRjCD3JX9uO/i7rlwpz011jTamVBmDlNPEah/D+piLWuoFluSJdu3wzk2WviZ 98CROu8sMK9EGtD+2BP5J7Hq7dKZ4s2/Xzcupf0SisXOpSWXxgXqhk7AUMkuUzpu dnWQ7BWZT7nR+WFNuCD2v1O6mZPgvrA6r3g0wbFYnlH2AEThr69cVBT7o9ERbwdp BH2kleouRZ4MxMZg8KOjDFy1yxi/ZSXDInWH7rVHG5rbgMuJD2Br1yUOyfJwnKMR k+3KYyuwRyeFiD3cv0JPIXH4snDEa2CFbGI00ErfweTAU+hjmaGaPdiUyXxiaNL2 EmADWycrkVb3iOl05rXF =/Xq2 -----END PGP SIGNATURE----- --Apple-Mail=_49F8D5CF-EAA7-499A-85AA-CD1434105B51--