Hi Ralph,

Change your current directory to the cmake build directory (the directory
with CMakeCache.txt) before running ctest.

On Thu, Jul 16, 2020 at 1:33 AM Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> I found ctest at target/dependency/cmake/bin but when I run it I get
>
> No tests were found!!!
>
> I don’t see a directory named “package” so I am assuming you meant
> something else.
>
> Ralph
>
> > On Jul 14, 2020, at 11:56 PM, Stephen Webb <swebb2...@gmail.com> wrote:
> >
> > Could you re-run that test by typing
> >
> > ctest -R streamtestcase --output-on-failure
> >
> > in the build directory (in package if you used maven to build)
> >
> > On Wed, Jul 15, 2020 at 4:37 PM Ralph Goers <ralph.go...@dslextreme.com>
> > wrote:
> >
> >> I should add that the while there is nothing that mandates the PMC
> require
> >> builds to pass to approve a release, it would be unusual to approve one
> >> where building on supported platforms fail without understanding whether
> >> the test failures are critical or not. That said, I don’t see anyplace
> on
> >> the log4cxx web site that even states what platforms it supports. I
> guess I
> >> would assume it would be expected to run any place apr is supported?
> >>
> >> Ralph
> >>
> >>> On Jul 14, 2020, at 11:31 PM, Ralph Goers <ralph.go...@dslextreme.com>
> >> wrote:
> >>>
> >>> After adding that directory to the path as well as the corresponding
> >> apr-util directory I was able to get the build to run. Everything
> >> successfully compiled but I got 1 test failure.
> >>>
> >>>     Start 19: streamtestcase
> >>> 19/60 Test #19: streamtestcase .........................***Exception:
> >> SegFault  2.00 sec
> >>>
> >>>
> >>> Ralph
> >>>
> >>>> On Jul 14, 2020, at 11:22 PM, Ralph Goers <ralph.go...@dslextreme.com
> >
> >> wrote:
> >>>>
> >>>> Yes, it is at /usr/local/Cellar/apr/1.7.0/libexec/bin/.
> >>>>
> >>>> Ralph
> >>>>
> >>>>> On Jul 14, 2020, at 11:14 PM, Stephen Webb <swebb2...@gmail.com>
> >> wrote:
> >>>>>
> >>>>> Hi Ralph,
> >>>>>
> >>>>> Could you tell me if your Mac has the script "apr-1-config"
> installed?
> >>>>>
> >>>>> The src/cmake/FindApr.cmake in log4cxx expects the apr installation
> to
> >>>>> create that script and it calls it (passing --includedir) to
> >>>>> set APR_INCLUDE_DIR with the output
> >>>>>
> >>>>> On Wed, Jul 15, 2020 at 3:57 PM Ralph Goers <
> >> ralph.go...@dslextreme.com>
> >>>>> wrote:
> >>>>>
> >>>>>> I don’t see anything wrong with those files. They are the same two
> >>>>>> archives provided in the last release.
> >>>>>>
> >>>>>> I tried building them on my Mac but it gets an error
> >>>>>>
> >>>>>> CMake Error at
> >>>>>>
> >>
> target/dependency/cmake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
> >>>>>> (message):
> >>>>>> APR_INCLUDE_DIR (missing: APR_LIBRARIES)
> >>>>>>
> >>>>>> I have previous done a brew install apr and brew install apr-util
> but
> >> I
> >>>>>> don’t have an APR_INCLUDE_DIR environment variable set and I
> wouldn’t
> >> know
> >>>>>> where to point it to.
> >>>>>>
> >>>>>> Ralph
> >>>>>>
> >>>>>>> On Jul 14, 2020, at 7:16 PM, Robert Middleton <osfan6...@gmail.com
> >
> >>>>>> wrote:
> >>>>>>>
> >>>>>>> I went and tested the current version of log4cxx, and at least on
> >> Linux I
> >>>>>>> don't have any failures.  There are a bunch of failures on the
> >> Windows
> >>>>>>> side, but I don't know enough about windows to know where to start
> to
> >>>>>> debug
> >>>>>>> those.
> >>>>>>>
> >>>>>>> The tests that failed:
> >>>>>>>
> >>>>>>> 90% tests passed, 6 tests failed out of 60
> >>>>>>> Total Test time (real) = 528.17 sec
> >>>>>>> The following tests FAILED:
> >>>>>>> 14 - minimumtestcase (Failed)
> >>>>>>> 16 - patternlayouttest (Failed)
> >>>>>>> 54 - sizebasedrollingtest (Failed)
> >>>>>>> 55 - timebasedrollingtest (Failed)
> >>>>>>> 57 - errorhandlertestcase (Failed)
> >>>>>>> 60 - xmltests (Failed)
> >>>>>>>
> >>>>>>> Regardless, I've uploaded the zip and tar.gz here:
> >>>>>>> https://rm5248.com/log4cxx/
> >>>>>>>
> >>>>>>> As of this point, do the zip/tar.gz files contain everything
> >> required for
> >>>>>>> release?  Is there anything that needs to be added?  I want to try
> >> and
> >>>>>> help
> >>>>>>> if there's something that's missing.
> >>>>>>>
> >>>>>>> -Robert Middleton
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >>
> >>
>
>
>

Reply via email to