[openssl-users] error (openssl-1.1.0g)

Sakuma, Koshiro bravo.echo.one at gmail.com
Thu Feb 15 12:07:29 UTC 2018


Hi, Matt,

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" .
It worked finally!!!

Cheers!

2018-02-15 20:21 GMT+09:00 Matt Caswell <matt at openssl.org>:

>
>
> On 15/02/18 08:52, Sakuma, Koshiro wrote:
> > Hi, Rich,
> >
> > Here is the result.  However, I tried to do the "config" with normal
> > user and I got an error like you don't have permission.
> > You have any ideas??
> >
> > #   Failed test 'Testing that we aren't running as a privileged user,
> > such as root'
>
> So this confirms that the issue is due to you running the test as root.
>
> You have a few options:
>
> 1) Ignore this test failure. If this is the only test failure showing up
> then it is harmless. It is a known issue in the test code (not in
> OpenSSL itself)
>
> 2) Don't build as root. The build process doesn't need any special
> privileges, other than obviously it needs to be able to read the source
> files and write out object, executables, libraries etc. If you are
> building as a user other than root make sure all the source files and
> directories are owned by that user (or at least that the user has the
> appropriate privs for read/write). You will probably still need to be
> root to do the final "make install".
>
> 3) If you must build as root, and don't want to just ignore the failure
> then you can apply the patch available here:
> https://github.com/openssl/openssl/pull/5184/files
>
> I'd go with option 1.
>
> Matt
>
>
>
> > #   at ../test/recipes/40-test_rehash.t line 49.
> > ok 5 # skip It's pointless to run the next test as root
> > # Looks like you failed 1 test of 5.
> > Dubious, test returned 1 (wstat 256, 0x100)
> > Failed 1/5 subtests
> >         (less 1 skipped subtest: 3 okay)
> >
> > Test Summary Report
> > -------------------
> > ../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 5 Failed: 1)
> >   Failed test:  4
> >   Non-zero exit status: 1
> > Files=1, Tests=5,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.05 cusr
> > 0.03 csys =  0.10 CPU)
> > Result: FAIL
> > make[1]: *** [_tests] Error 1
> > make[1]: Leaving directory `/usr/local/src/openssl-1.1.0g'
> >
> >
> >
> > 2018-02-15 7:28 GMT+09:00 Salz, Rich <rsalz at akamai.com
> > <mailto:rsalz at akamai.com>>:
> >
> >     For the failing test, try this____
> >
> >                     make TESTS=test_rehash V=1 tests____
> >
> >     __ __
> >
> >
> >
> >
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180215/736c2e98/attachment.html>


More information about the openssl-users mailing list