https://bz.apache.org/ooo/show_bug.cgi?id=128114

          Issue ID: 128114
        Issue Type: DEFECT
           Summary: googletesting isn't picked up by configure process,
                    linking of some modules fails
           Product: Build Tools
           Version: 4.3.0-dev
          Hardware: All
                OS: Linux 64-bit
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: configure
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I have googletesting 1.8.1 installed on my system.

Checked out the source from zero, as advised in the building guide, configured
the build with these options:

  $ ./configure
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
--with-epm-url=https://sou
rceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz --without-junit
--with-jdk-home=/usr/lib64/java --with-package-format=inst
alled --disable-pam --disable-category-b --with-system-libs=no --enable-hyphen
--enable-hunspell --enable-graphite --with-system-lucen
e=no --with-system-hsqldb=no --with-system-beanshell=no --with-system-saxon=no
--disable-nss-module --with-system-redland=no --with-sy
stem-mythes=no --disable-bundled-dictionaries

Reconfiguring with --with-system-libs=yes makes no difference.

The libgtest.so is actually present in the build tree (after trying
--with-system-libs=yes):

./solver/450/unxlngx6.pro/workdir/Headers/Library/libgtest.so
./solver/450/unxlngx6.pro/lib/libgtest.so.0
./solver/450/unxlngx6.pro/lib/libgtest.so.0.0.0
./solver/450/unxlngx6.pro/lib/libgtest.so

Several modules fail: o3tl, salhelper, cppuhelper, and others.

*** messages for salhelper:
Entering /home/ty/c/+ooo/aoo45/trunk/main/salhelper/prj

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build ALL ] top level modules: salhelper
[ build ALL ] loaded modules: salhelper
[ build LNK ] GoogleTest/salhelper__test
/usr/bin/ld:
/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/workdir/CxxObject/salhelper/qa/test_api.o:
in function `(anonymous
namespace)::Test_testConditionModifier_Test::TestBody()':
test_api.cxx:(.text+0x52f): undefined reference to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)'
/usr/bin/ld: test_api.cxx:(.text+0x5c0): undefined reference to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)'
/usr/bin/ld: test_api.cxx:(.text+0x64d): undefined reference to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)'
/usr/bin/ld: test_api.cxx:(.text+0x6da): undefined reference to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)'
/usr/bin/ld: test_api.cxx:(.text+0x76a): undefined reference to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)'
/usr/bin/ld:
/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/workdir/CxxObject/salhelper/qa/test_api.o:test_api.cxx:(.text+0x89d):
more undefined references to
`testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult
const&, char const*, char const*, char const*)' follow
collect2: error: ld returned 1 exit status
make: *** [/d/home/ty/c/+ooo/aoo45/trunk/main/solenv/gbuild/LinkTarget.mk:330:
/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/workdir/LinkTarget/GoogleTest/salhelper__test]
Error 1
dmake:  Error code 2, while making 'all'
ERROR: error 65280 occurred while making
/home/ty/c/+ooo/aoo45/trunk/main/salhelper/prj

*** messages for cpphelper:
Entering /home/ty/c/+ooo/aoo45/trunk/main/cppuhelper/prj

cd .. && make -s -r -j1   && make -s -r deliverlog
[ build PVTIDL ] 
[ build PVTUNOTYPES ] 
/d/home/ty/c/+ooo/aoo45/trunk/main/cppuhelper/Library_cppuhelper.mk:53:
warning: overriding recipe for target
'/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/workdir/Clean/LinkTarget/Library/libuno_cppuhelpergcc3.so'
/d/home/ty/c/+ooo/aoo45/trunk/main/cppuhelper/Library_cppuhelper.mk:48:
warning: ignoring old recipe for target
'/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/workdir/Clean/LinkTarget/Library/libuno_cppuhelpergcc3.so'
/d/home/ty/c/+ooo/aoo45/trunk/main/solenv/gbuild/Package.mk:28: ***
gb_Deliver_deliver: file does not exist in solver, and cannot be delivered:
/d/home/ty/c/+ooo/aoo45/trunk/main/solver/450/unxlngx6.pro/bin/types.rdb. 
Stop.
dmake:  Error code 2, while making 'all'
ERROR: error 65280 occurred while making
/home/ty/c/+ooo/aoo45/trunk/main/cppuhelper/prj

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to