Menu

#20 Unit Test failing on Opensuse 11.1 x86_64

unstable
open
5
2009-01-30
2009-01-30
Joseph Borg
No

Discussion

  • Joseph Borg

    Joseph Borg - 2009-01-30
     
  • KaarPoSoft

    KaarPoSoft - 2009-01-30

    First we have
    unit_test_xpcom.cpp:150:F:XPCOM:test_xpcom_components:0: [@mozilla.org/rdf/rdf-service;1] not registred
    unit_test_abook.cpp:80:F:ABOOK:test_abook_create:0: do_CreateInstance for nsIAddressBook returned [0x080040154]
    and later
    unit_test_abook.cpp:113:F:ABOOK:test_abook_open:0: could not open addressbook: thunderbird-addressbook.cpp(64)Init: [do_GetService @mozilla.org/rdf/rdf-service;1] returned [0x080040154]

    This would indicate, that mozilla libraries where found, but somehow the components where not found. It would seem that somehow Thunderbird is not installed the way we expected.

    You MIGHT try to install
    mozilla-nspr 4.7.1 (Netscape Portable Runtime)
    mozilla-nspr-devel 4.7.1 (Netscape Portable Runtime development files)
    but I am not really sure it will help

    What version of Thunderbird and Sunbird are you using?
    What is the contents of /usr/lib64/thunderbird/components ?

    Later we have
    *** *** blackbox_test_cal_slow_slow: Plugin mozilla-sync is missing *** ***
    please try
    ldd PATH_TO_LIBRARIES/libopensync1/plugins/mozilla-sync.so
    and see if you can resolve any missing dependencies.

    In any case this puzzels me, as the build instructions work fine for 32bit OpenSUSE 11.0.

    If you are able to resolve the missing dependencies, you might try to run blueZync from within Thunderbird.
    http://kaarposoft.dk/bluezync/manual.html#manual_install
    However it will not work unless mozilla-sync.so dependencies are resolved

    I might try to install 64bit OpenSUSE 11.1 in a virtual machine, but I will not have time to look into it until next week.

     
  • KaarPoSoft

    KaarPoSoft - 2009-01-30
    • milestone: --> unstable
    • assigned_to: nobody --> kaarposoft
     
  • Joseph Borg

    Joseph Borg - 2009-01-31

    /usr/lib64/thunderbird/components/

     
  • Joseph Borg

    Joseph Borg - 2009-01-31

    Hi,

    - Thunderbird: v. 2.0.0.19. Firefox: v. 3.0.5

    - The mozille-nspr* packages were already installed.

    - Attached components_dir.txt file lists the contents of /usr/lib64/thunderbird/components/

    - This is the requested output:

    joseph@apollo:/usr/lib64/thunderbird/components> ldd /usr/local/lib/libopensync1/plugins/mozilla-sync.so
    linux-vdso.so.1 => (0x00007fffe51ff000)
    libopensync.so.1 => /usr/local/lib/libopensync.so.1 (0x00007f65dcca2000)
    libxpcom.so => not found
    libplds4.so => /usr/lib64/libplds4.so (0x00007f65dca9d000)
    libplc4.so => /usr/lib64/libplc4.so (0x00007f65dc898000)
    libnspr4.so => /usr/lib64/libnspr4.so (0x00007f65dc659000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f65dc43d000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f65dc239000)
    libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f65dbeda000)
    libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f65dbc15000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f65db909000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f65db6b2000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f65db49a000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f65db141000)
    libgthread-2.0.so.0 => /usr/lib64/libgthread-2.0.so.0 (0x00007f65daf3b000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f65dad32000)
    libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f65dab2e000)
    libxslt.so.1 => /usr/lib64/libxslt.so.1 (0x00007f65da8f2000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f65da6dc000)
    libexslt.so.0 => /usr/lib64/libexslt.so.0 (0x00007f65da4c8000)
    libgcrypt.so.11 => /lib64/libgcrypt.so.11 (0x00007f65da260000)
    libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f65da05c000)
    libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f65d9dca000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f65dd170000)
    libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00007f65d9b99000)

    Two things strike me as odd here:
    - libxpcom.so seems to have a problem.
    - The location of this library is in /usr/local/lib/ (i.e. not /usr/lib64) but I must admit I have no idea how libraries are 'spread' around in the different directories.

    The other question is regarding the sunbird-dev file I downloaded from Ubuntu. This file is named 'i386'. Could that be an issue on a 64-bit platform. Is there some 64-bit equivalent I should download?

    Thanks,
    Joe
    File Added: components_dir.txt

     
  • KaarPoSoft

    KaarPoSoft - 2009-01-31

    Thanks for the info.

    Unfortunately I am at a loss here...

    Although the sunbird-dev file is for 32bit, it should not be a problem, since it mostly contains architecture-independent files (.h and .idl), plus a few architecture-dependent files which we do not use (in /usr/lib/sunbird).

    There might be a problem with the package, though, if the version of sunbird in OpenSUSE 10.1 is different from the version in Ubuntu hardy. You might try to browse the ftp directory ftp://ftp.ubuntu.com/ubuntu/pool/universe/l/lightning-sunbird/ for a more suitable version. However, I do *not* think this is the problem.

    Your list of files in the components dir shows only a few .so files, my dir (32bit kubuntu) has more than 50.
    This, together with the strange location of libxpcom.so is likely the root cause of the problems.

    I have no clue why libxpcom.so has ended up in /usr/local/lib/ instead of /usr/lib64. But in this location blueZync will not find it, and if it is lib instead of lib64 it is likely a 32bit version anyway.

    Did you do anything "strange" to install the mozilla packages?

    Thanks for hanging in there, and helping debugging this!
    Please post info on any further progress.
    Unfortunately, I do not have time to install a 64bit OpenSUSE right now, but if I get time I will try next week...

    /henrik

     
  • Joseph Borg

    Joseph Borg - 2009-02-05

    Hi,
    I decided to try and start afresh. this time round I downloaded the amb64bit version of sunbird dev (on the off chance it makes any difference. I'm now hitting the following error:
    apollo:/home/joseph/BlueZync/utils # ./build-install-prereqs.sh

    =================================================================
    ===== build and install blueZync / OpenSync prerequisites =====
    =================================================================

    Environment:
    DISTRO=[SUSE_LINUX_11.1]
    ARCH=[amd64]
    HOSTNAME=[apollo]
    Directory settings:
    PREFIX=/usr/local
    DESTDIR=
    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
    LD_LIBRARY_PATH=/usr/lib64/mpi/gcc/openmpi/lib64
    BUILD_DIR=/home/joseph/build_SUSE_LINUX_11.1_apollo
    SRC_DIR=/home/joseph/BlueZync
    If you are not happy with the directory settings, export the relevant variables and run again
    /home/joseph/build_SUSE_LINUX_11.1_apollo will be created

    Do you want to continue ./build-install-prereqs.sh with those settings (y/n)? y

    Erasing and creating build directories
    /home/joseph/build_SUSE_LINUX_11.1_apollo/libwbxml2
    /home/joseph/build_SUSE_LINUX_11.1_apollo/libsyncml

    ========================================
    ===== CMAKE libwbxml2

    pwd=/home/joseph/build_SUSE_LINUX_11.1_apollo/libwbxml2
    cmake -G Unix Makefiles -DCMAKE_C_FLAGS=-I/usr/local/include -I/usr/include -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_HTTP=FALSE -DENABLE_TOOLS=FALSE /home/joseph/BlueZync/libwbxml2 -DDESTDIR=
    -- The C compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Looking for include files HAVE_LIMITS_H
    -- Looking for include files HAVE_LIMITS_H - found
    -- Looking for include files HAVE_CTYPE_H
    -- Looking for include files HAVE_CTYPE_H - found
    -- Looking for include files HAVE_STDLIB_H
    -- Looking for include files HAVE_STDLIB_H - found
    -- Looking for include files HAVE_STDIO_H
    -- Looking for include files HAVE_STDIO_H - found
    -- Looking for include files HAVE_STDARG_H
    -- Looking for include files HAVE_STDARG_H - found
    -- Looking for include files HAVE_ASSERT_H
    -- Looking for include files HAVE_ASSERT_H - found
    -- Could NOT find Expat
    -- checking for one of the modules 'check'
    -- found check, version 0.9.5
    -- ==================================================
    -- verbose mode OFF
    -- unit tests ON
    -- perl binary (test generated XML) ON
    -- diff binary (test generated XML) ON
    -- enable string tables ON
    -- enable WML support ON
    -- enable WTA support ON
    -- enable SI support ON
    -- enable SL support ON
    -- enable CO support ON
    -- enable PROV support ON
    -- enable EMN support ON
    -- enable DRMREL support ON
    -- enable OTA_SETTINGS support ON
    -- enable SYNCML support ON
    -- enable WV support ON
    -- enable AIRSYNC support ON
    -- build dynamic documentation OFF
    -- install documentation ON
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    EXPAT_INCLUDE_DIRS (ADVANCED)
    used as include directory in directory /home/joseph/BlueZync/libwbxml2/src
    used as include directory in directory /home/joseph/BlueZync/libwbxml2/tools
    EXPAT_LIBRARIES (ADVANCED)
    linked by target "wbxml2" in directory /home/joseph/BlueZync/libwbxml2/src
    linked by target "wbxml2xml" in directory /home/joseph/BlueZync/libwbxml2/tools
    linked by target "xml2wbxml" in directory /home/joseph/BlueZync/libwbxml2/tools

    -- Configuring incomplete, errors occurred!

    Note that this occurs when trying to install pre-requisites. It's not the actuall bluezync install. Any ideas on what the issue could be?

    Thanks,
    Joe

     

Log in to post a comment.