bug-gnucobol
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GnuCOBOL 3.2] testsuite: 3 4 5 ... 1280 1281 1282 failed


From: Kai Wetlesen
Subject: Re: [GnuCOBOL 3.2] testsuite: 3 4 5 ... 1280 1281 1282 failed
Date: Thu, 21 Sep 2023 16:53:19 -0000

Thank you for your reply Simon. You're right, that is something rather bespoke about this linker. It wouldn't surprise me being this is on the Darwin / OSX platform. Apple tends to do "special" things. :)
Given how weird the platform is, I chose to install GnuCOBOL and its dependencies in a dot-directory, so nothing is in its usual place as it would be on a more conventional Unix / Linux platform. I'm going to have a go at (2) by installing, then testing, and see if that resolves the failed tests.
Will keep the group posted.
Thanks again!
Kai

On Sep 20, 2023, at 1:22 AM, Simon Sobisch <simonsobisch@web.de> wrote:


Am 20.09.2023 um 03:16 schrieb Kai Wetlesen:
A large proportion of tests failed while building GnuCOBOL on the MacOS
platform. I have attached both the config and debug log.

Thanks for the note - even when you likely want to inspect the "detailed
failed tests" in the testsuite.log.

I've tried adjusting my library install paths to no avail. All libraries
passed their unit tests prior to compiling GnuCOBOL. What am I doing
wrong here?

On thing is not (necessarily) wrong, but "special": you obviously use a
linker that outputs warnings for directories that don't exist.

testsuite.log is full of entries

+ld: warning: directory not found for option
'-L/Users/kai.wetlesen/.local/gnucobol-3.2/lib'

This entry (library folder for installation) is auto-included during
configure, as "sometimes" you need this also for the test runs, you
definitely will use that in the installed version (where it is created
if it doesn't exist).


You may do one of the following:

1 after running configure manually adjust the generated file
tests/atlocal and remove the warned entry from COB_LIBS.

2 create the folder `mkdir /Users/kai.wetlesen/.local/gnucobol-3.2/lib`
(or run `make install`) then run the tests again

3 disable the linker warning (I don't know how to do that for this warning)

Then re-run "make check" again.

Thanks,
Kai

You're welcome,
Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]