bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [Bug-GnuCOBOL] [GnuCOBOL 2.2] testsuite: 14 15 failed


From: Simon Sobisch
Subject: Re: [Bug-GnuCOBOL] [GnuCOBOL 2.2] testsuite: 14 15 failed
Date: Thu, 8 Feb 2018 19:11:33 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

If you check the actual error in the testsuite.log you'll see:

$COMPILE -jd prog.cob
dyld: Library not loaded: /usr/local/lib/libcob.4.dylib
  Referenced from:
/usr/local/Cellar/gnucobol-2.2/tests/testsuite.dir/014/./prog
  Reason: image not found

and

$COMPILE -jd prog.cob
dyld: Library not loaded: /usr/local/lib/libcob.4.dylib
  Referenced from:
/usr/local/Cellar/gnucobol-2.2/tests/testsuite.dir/015/./prog
  Reason: image not found


The problem is that the local build library is not used and only the
library from the later build path is checked, which seems strange as
configure finds everything working:

| configure:12650: checking if libtool supports shared libraries
| configure:12652: result: yes
| configure:12655: checking whether to build shared libraries
| configure:12680: result: yes

therefore atlocal has:

| export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs:$LD_LIBRARY_PATH"
| export
DYLD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs:$DYLD_LIBRARY_PATH"


And as all programs actually work after being tested I'm a little bit
puzzled...

On your system (and libcob.4.dylib not installed)

The following works:

cobc -x prog.cob
./prog

while this doesn't work:

cobc -x prog.cob
        called from cobc: ./prog

Any ideas welcome,
Simon


Am 08.02.2018 um 10:44 schrieb Dirk Van Damme:
> Many thanks Simon,
> 
> the compilation and the second check afterwards worked without any error!!
> 
> as I am learning here - why did the second check run without any error?
> Has that something to do with the compilation I run before?
> 
> many thanks 
> 
> very best 
> 
> Dirk
> 
> ------------------------------------------------------------------------
> *Van:* Simon Sobisch <address@hidden>
> *Verzonden:* donderdag 8 februari 2018 6:35:50
> *Aan:* Dirk Van Damme; address@hidden
> *Onderwerp:* Re: [Bug-GnuCOBOL] [GnuCOBOL 2.2] testsuite: 14 15 failed
>  
> The two failing tests say that a single step compile and run didn't work
> during the tests, I'd have no objections in using the compiler.
> Question: does it work if you compile a program without linkage with
> "cobc -x -j prog.cob" with the installed compiler or so you get the same
> error?
> If you don't get the error I assume a second run of "make check" passes?
> 
> Simon
> 
> Am 7. Februar 2018 20:46:56 MEZ schrieb Dirk Van Damme
> <address@hidden>:
> 
>     Hi,
> 
>     I have installed GnuCobol 2.2 - gnucobol-2.2.tar.gz
> 
>     I run it on a Mac 16Gb RAM
> 
>     I have installed Berkeley DB with brew
> 
>     During the ‘make test’ i encounter 8 failures – 2 unexpected – I am
>     not sure whether they are serious failures or if they can be ignored.
> 
>      
> 
>     ## ------------- ##
> 
>     ## Test results. ##
> 
>     ## ------------- ##
> 
>      
> 
>     ERROR: 762 tests were run,
> 
>     8 failed (6 expected failures).
> 
>     4 tests were skipped.
> 
>     ## -------------------------- ##
> 
>     ## testsuite.log was created. ##
> 
>     ## -------------------------- ##
> 
>      
> 
>     After the install the cobc command is working
> 
>     I am not sure that the installation run properly  – I hope yu can
>     help me on this.
> 
>      
> 
>     Many thanks for the cobol compiler
> 
>      
> 
>     Very best and many thanks upfront
> 
>     Dirk Van Damme
> 
>     address@hidden/be <mailto:address@hidden/be>
> 
>     Belgium
> 
>      
> 
>      
> 
>      
> 
>      
> 
>      
> 



reply via email to

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