After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551715 - libxml2-2.7.1 "make tests" failed in HP-UX 11.23 Itanium (.sl / .so)
libxml2-2.7.1 "make tests" failed in HP-UX 11.23 Itanium (.sl / .so)
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other HP-UX
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-10 19:42 UTC by Tippa
Modified: 2017-09-07 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tippa 2008-09-10 19:42:57 UTC
Please describe the problem:
Hi,

when running "make tests", "Module tests" failed, because it tried to open "testdso.sl" which do not exist. There is anyway "testdso.so". So, somewhere in the code is wrong suffix for this shared object.


--- --- ---

itanium> uname -rmsv
HP-UX B.11.23 U ia64
itanium> 
itanium> make tests

<...>

Parsing took 2299 ms
100 iterations took 2440 ms
100 iterations took 7000 ms
## Module tests
module error : failed to open .libs/testdso.sl
make[1]: Entering directory `/temp/packages/libxml2-2.7.1/doc/examples'
## examples regression tests

<...>

itanium> ls -al .libs/testdso.*
-rw-rw-r--   1 AAAAAAA    BBBBBB        3724 Sep 10 19:28 .libs/testdso.a
lrwxrwxr-x   1 AAAAAAA    BBBBBB          13 Sep 10 19:28 .libs/testdso.la -> ../testdso.la
-rw-rw-r--   1 AAAAAAA    BBBBBB         844 Sep 10 19:28 .libs/testdso.lai
-rw-rw-r--   1 AAAAAAA    BBBBBB        3576 Sep 10 19:28 .libs/testdso.o
lrwxrwxr-x   1 AAAAAAA    BBBBBB          14 Sep 10 19:28 .libs/testdso.so -> testdso.so.0.0
lrwxrwxr-x   1 AAAAAAA    BBBBBB          14 Sep 10 19:28 .libs/testdso.so.0 -> testdso.so.0.0
-rwxrwxr-x   1 AAAAAAA    BBBBBB       70584 Sep 10 19:28 .libs/testdso.so.0.0


Steps to reproduce:
1. Build libxml2 2.7.1 in HP-UX 11.23 Itanium
2. make tests
3. 


Actual results:
## Module tests
module error : failed to open .libs/testdso.sl

Expected results:
Successful test

Does this happen every time?
Yes

Other information:
Configured (gcc version 4.1.2):
CC="gcc -mlp64" ./configure --prefix=/foo/bar --enable-shared --with-zlib=/foo/bar --without-iconv --without-python
Comment 1 Tippa 2008-09-10 19:45:18 UTC
Note that "Version: CVS (head)" because I can not select 2.7.1 (not exist) when entering this report.
Comment 2 William M. Brack 2008-09-11 01:06:16 UTC
1) Entries for 2.7.0 and 2.7.1 have now been added, but since the problem is also present in CVS Head I've left the version entry alone.

2) It seems this problem starts from the autoconfig generation, where the following lines are present in configure.in:

  if test "${libxml_have_dlopen}" = "yes"; then
    case "${host}" in
      *-*-hpux* )
        MODULE_EXTENSION=".sl"
        ;;
      * )
        MODULE_EXTENSION=".so"
        ;;
    esac

Unfortunately, I'm not familiar enough with HP to know whether the problem is
a) because the libxml2 code is (correctly) trying to use the ".sl" extension,
   but (incorrectly) generating a ".so" file
or,
b) because the ".sl" extension shouldn't be used for HP.

If you can tell me which of these (a or b) is correct, I'll attempt to fix it.
Comment 3 Tippa 2008-09-11 04:24:34 UTC
HP-UX shared libraries have suffix ".sl", however on Itanium systems (ia64) the suffix is ".so".