<div dir="ltr">Hi, Matt,<div><br></div><div>Thank you so much for your comments!!  Yes, I took option 2.  I changed owner for binary directory and run with normal user account.  Also, I did "sudo make install" .</div><div>It worked finally!!!  </div><div><br></div><div>Cheers!</div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-15 20:21 GMT+09:00 Matt Caswell <span dir="ltr"><<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 15/02/18 08:52, Sakuma, Koshiro wrote:<br>
> Hi, Rich,<br>
><br>
> Here is the result.  However, I tried to do the "config" with normal<br>
> user and I got an error like you don't have permission.  <br>
> You have any ideas??  <br>
><br>
> #   Failed test 'Testing that we aren't running as a privileged user,<br>
> such as root'<br>
<br>
</span>So this confirms that the issue is due to you running the test as root.<br>
<br>
You have a few options:<br>
<br>
1) Ignore this test failure. If this is the only test failure showing up<br>
then it is harmless. It is a known issue in the test code (not in<br>
OpenSSL itself)<br>
<br>
2) Don't build as root. The build process doesn't need any special<br>
privileges, other than obviously it needs to be able to read the source<br>
files and write out object, executables, libraries etc. If you are<br>
building as a user other than root make sure all the source files and<br>
directories are owned by that user (or at least that the user has the<br>
appropriate privs for read/write). You will probably still need to be<br>
root to do the final "make install".<br>
<br>
3) If you must build as root, and don't want to just ignore the failure<br>
then you can apply the patch available here:<br>
<a href="https://github.com/openssl/openssl/pull/5184/files" rel="noreferrer" target="_blank">https://github.com/openssl/<wbr>openssl/pull/5184/files</a><br>
<br>
I'd go with option 1.<br>
<br>
Matt<br>
<span class=""><br>
<br>
<br>
> #   at ../test/recipes/40-test_<wbr>rehash.t line 49.<br>
> ok 5 # skip It's pointless to run the next test as root<br>
> # Looks like you failed 1 test of 5.<br>
> Dubious, test returned 1 (wstat 256, 0x100)<br>
> Failed 1/5 subtests<br>
>         (less 1 skipped subtest: 3 okay)<br>
><br>
> Test Summary Report<br>
> -------------------<br>
> ../test/recipes/40-test_<wbr>rehash.t (Wstat: 256 Tests: 5 Failed: 1)<br>
>   Failed test:  4<br>
>   Non-zero exit status: 1<br>
> Files=1, Tests=5,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.05 cusr <br>
> 0.03 csys =  0.10 CPU)<br>
> Result: FAIL<br>
> make[1]: *** [_tests] Error 1<br>
> make[1]: Leaving directory `/usr/local/src/openssl-1.1.<wbr>0g'<br>
><br>
><br>
><br>
> 2018-02-15 7:28 GMT+09:00 Salz, Rich <<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a><br>
</span>> <mailto:<a href="mailto:rsalz@akamai.com">rsalz@akamai.com</a>>>:<br>
><br>
>     For the failing test, try this____<br>
><br>
>                     make TESTS=test_rehash V=1 tests____<br>
><br>
>     __ __<br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
><br>
--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br></div></div>