Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Erik Forsberg

>-- Original Message --
>
>Vid Fre, 18 Sep 2015 kl. 15.21.14, skrev ya...@sdf.org:
>> > jumping in here... could you show us the content of
>> > test/test_rehash.log ?
>> >
>> > In the mean time, I'll have a go on a FreeBSD system to see if I can
>> > trigger this fault.
>>
>> # more test_rehash.log
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> #
>
>Ok, I'm having trouble reproducing
>
>What that last test really does is the equivalent of this:
>
>mkdir rehash.$$; (cd rehash.$$; chmod 0500 . ; ../util/shlib_wrap.sh
>../apps/openssl rehash . ; echo $?; chmod 0700 . ); rmdir rehash.$$
>
>with the current source (I have assume you're pull is absolutely up to date),
>that should print an error message and the echo of $? should print 1. I cannot
>understand why that fails for you...

Maybe running test as root ?

___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
On 2015-09-17 16:49, Salz, Rich via RT wrote:
> Since email re-opens the ticket, let's use this one :)
> 
> What's the output of this command:
> HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test

# HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test
testing...
making all in apps...
TOP=.. PERL=/usr/pkg/bin/perl /usr/pkg/bin/perl run_tests.pl test_rehash
../test/recipes/40-test_rehash.t ..
1..4
ok 1 - Testing normal rehash operations
ok 2 - Testing rehash operations on readonly files
ok 3 - Testing rehash operations on empty directory
not ok 4 - Testing rehash operations on readonly directory

#   Failed test 'Testing rehash operations on readonly directory'
#   at ../test/recipes/40-test_rehash.t line 35.
#  got: '1'
# expected: anything else
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Test Summary Report
---
../test/recipes/40-test_rehash.t (Wstat: 256 Tests: 4 Failed: 1)
   Failed test:  4
   Non-zero exit status: 1
Files=1, Tests=4,  0 wallclock secs ( 0.08 usr  0.01 sys +  0.26 cusr  
0.18 csys =  0.53 CPU)
Result: FAIL
Failed 1/1 test programs. 1/4 subtests failed.
*** Error code 1

Stop.
make: stopped in /usr/local/src/openssl/test
*** Error code 1

Stop.
make: stopped in /usr/local/src/openssl


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Erik Forsberg via RT

>-- Original Message --
>
>Vid Fre, 18 Sep 2015 kl. 15.21.14, skrev ya...@sdf.org:
>> > jumping in here... could you show us the content of
>> > test/test_rehash.log ?
>> >
>> > In the mean time, I'll have a go on a FreeBSD system to see if I can
>> > trigger this fault.
>>
>> # more test_rehash.log
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> ../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
>> #
>
>Ok, I'm having trouble reproducing
>
>What that last test really does is the equivalent of this:
>
>mkdir rehash.$$; (cd rehash.$$; chmod 0500 . ; ../util/shlib_wrap.sh
>../apps/openssl rehash . ; echo $?; chmod 0700 . ); rmdir rehash.$$
>
>with the current source (I have assume you're pull is absolutely up to date),
>that should print an error message and the echo of $? should print 1. I cannot
>understand why that fails for you...

Maybe running test as root ?


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
>>Ok, I'm having trouble reproducing
[...]
>>that should print an error message and the echo of $?
>>should print 1. I cannot understand why that fails for you...
>
> Maybe running test as root ?

YES!  It's a one user box that I regularly update and install on,
so rarely run as reduced/un-privileged user.

If I switch to non-root, this passes.

Sorry to take your bandwidth.

--gene


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread Salz, Rich via RT
> YES!  It's a one user box that I regularly update and install on, so rarely 
> run as
> reduced/un-privileged user.
> 
> If I switch to non-root, this passes.

Glad we got it figured out.  Perhaps we can add a warning to the test (running 
as root, expect to fail) or some such.


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
> Ok, I'm having trouble reproducing
>
> with the current source (I have assume you're pull is absolutely up to
> date),

Yes, to the best of my understanding I am fully in sync with the master
branch.

> that should print an error message and the echo of $?
> should print 1. I cannot understand why that fails for you...

Yes, this is odd since it returns *zero* if I execute this command string
- no error message...  maybe a problem with the test perl code?

Here's my output:
# mkdir rehash.$$ ; ( cd rehash.$$ ; chmod 0500 . ; ../util/shlib_wrap.sh
../apps/openssl rehash . ; echo $? ; chmod 0700 . ) ; rmdir rehash.$$
0
#

--gene


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-18 Thread yancm via RT
> jumping in here... could you show us the content of
> test/test_rehash.log ?
>
> In the mean time, I'll have a go on a FreeBSD system to see if I can
> trigger this fault.

# more test_rehash.log
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
../../util/shlib_wrap.sh ../../apps/openssl rehash . => 0
#



___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-17 Thread yancm via RT
> the real fix is to use OPENSSL_SYS_UNIX as the test.
> Done in commit 568b80

That seems to work!

I am still failing the rehash.t test:
../test/recipes/40-test_rehash.t .. 1/4
#   Failed test 'Testing rehash operations on readonly directory'
#   at ../test/recipes/40-test_rehash.t line 35.
#  got: '1'
# expected: anything else
# Looks like you failed 1 test of 4.
../test/recipes/40-test_rehash.t .. Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/4 subtests

Should I turn in a new ticket for that or is there an old ticket number I
should be using?

thanks,
gene




___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-17 Thread Salz, Rich via RT
Since email re-opens the ticket, let's use this one :)

What's the output of this command:
HARNESS_VERBOSE=yes make 'TESTS=test_rehash' test


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-11 Thread yancm via RT
On 2015-09-10 21:40, Salz, Rich via RT wrote:
> Please do "grep rehash Makefile" at the toplevel.

To which I get:
clarity 153 # grep rehash Makefile
 rm -f */*/*.o */*.o *.o core a.out fluff rehash.time testlog 
make.log cctest cctest.c
rehash: rehash.time
rehash.time: certs apps
 $$OPENSSL rehash certs/demo) && \
 touch rehash.time; \
tests: rehash



___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-10 Thread Salz, Rich via RT
Please do "grep rehash Makefile" at the toplevel.



___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-10 Thread Salz, Rich
Please do "grep rehash Makefile" at the toplevel.


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

2015-09-10 Thread yancm via RT
On 2015-09-10 06:48, Rich Salz via RT wrote:
> yes it was broken for a bit. fixed now; re-sync. (one test still fails, 
> but
> that will be fixed today)

Hi Rich, indeed it builds now, but it takes two tries.

The first pass stops with:

  gmake[2]: Entering directory '/usr/local/src/openssl'
  Not available; use c_rehash script
  Makefile:428: recipe for target 'rehash.time' failed
  gmake[2]: *** [rehash.time] Error 1
  gmake[2]: Leaving directory '/usr/local/src/openssl'
  Makefile:139: recipe for target 'openssl' failed
  gmake[1]: *** [openssl] Error 2
  gmake[1]: Leaving directory '/usr/local/src/openssl/apps'
  Makefile:290: recipe for target 'build_apps' failed
  gmake: *** [build_apps] Error 1

the second pass finishes cleanly

but at present I am unable to make the test target at all:

  clarity 144 # gmake test
  Not available; use c_rehash script
  Makefile:428: recipe for target 'rehash.time' failed
  gmake: *** [rehash.time] Error 1
  clarity 145 # date
  Thu Sep 10 21:23:31 EDT 2015

thanks, gene


___
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev