[GNC-dev] Building 3.5 package for Disco

John Ralls jralls at ceridwen.us
Fri May 3 15:24:05 EDT 2019



> On May 3, 2019, at 8:37 AM, Stephen M. Butler <kg7je at arrl.net> wrote:
> 
> On 5/2/19 10:14 PM, John Ralls wrote:
>> 
>>> On May 2, 2019, at 6:38 PM, Stephen M. Butler <kg7je at arrl.net> wrote:
>>> 
>>> /usr/bin/ld:
>>> /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libgtest_main.a(gtest_main.cc.o):
>> It's linking a system file instead of the one that GnuCash should have built. Is it linking that libgtest_main.a when you do a regular build?
>> 
>> Regards,
>> John Ralls
>> 
>> 
> Yes, it appears to have done that.  I see this line in the
> CMakeCache.txt file in my local build directory from the test yesterday
> (not the directory where dpkg_buildpackage worked)
> 
> //Path to a library.
> GTEST_MAIN_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libgtest_main.a
> 
> 
> I have attached the CMakeCache.txt file if that helps.

The CMakeCache.txt shows what looks like a typo: GTEST_ROOT:UNINITIALIZED=/usr/src/googletest/googletesti

What does the GTEST section of the debian-build CMakeCache.txt look like?

Regards
John Ralls



More information about the gnucash-devel mailing list