# Test failure of HDF5 1.8.6-pre3 on Solaris x86

**URL:** <https://forum.hdfgroup.org/t/test-failure-of-hdf5-1-8-6-pre3-on-solaris-x86/2048>\
**Category:** Hdf-forum archives\
**Created:** [February 7, 2011, 8:25pm UTC](https://forum.hdfgroup.org/t/test-failure-of-hdf5-1-8-6-pre3-on-solaris-x86/2048 "2011-02-07T20:25:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernd\_Rinn1](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@Bernd\_Rinn1](https://forum.hdfgroup.org/u/Bernd_Rinn1)\
**Post date:** [February 7, 2011, 8:25pm UTC](https://forum.hdfgroup.org/t/test-failure-of-hdf5-1-8-6-pre3-on-solaris-x86/2048/1 "2011-02-07T20:25:59Z")

</div>

Hi,

Just compiled HDF5 1.8.6-pre3 on a Solaris x86 box and got a test  
failure in testh5mkgrp.

The test report says:  
"""  
Verifying h5ls file structure ../testfiles/h5mkgrp\_single\_latest.h5  
\*FAILED\*  
&nbsp;&nbsp;&nbsp;&nbsp;Expected result (\*.ls) differs from actual result (\*.out)  
&nbsp;&nbsp;&nbsp;&nbsp;\*\*\* ./../testfiles/h5mkgrp\_single\_latest.ls Thu Feb 3 16:13:05 2011  
&nbsp;&nbsp;&nbsp;&nbsp;--- ../testfiles/h5mkgrp\_single\_latest.out Mon Feb 7 19:25:46 2011

[testh5mkgrp.sh.chklog](https://hdf-discourse-1.s3.amazonaws.com/original/1X/60bcd7439486bbf882c13ca1fd52a737edfd7f1d.chklog) (3.4 KB)

> **···**
>
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> &nbsp;&nbsp;&nbsp;&nbsp;\*\*\* 5,12 \*\*\*\*  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ Group  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:48  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> &nbsp;&nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/latest Group  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:195  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> &nbsp;&nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> &nbsp;&nbsp;&nbsp;&nbsp;--- 5,10 ----  
> FILEOUT= ../testfiles/h5mkgrp\_single\_latest.h5  
> """
> 
> Machine: Solaris 10 10/09 s10x\_u8wos\_08a X86"  
> Compiler: cc: Sun Ceres C 5.10 SunOS\_i386 2008/10/22  
> Configure:  
> CPPFLAGS='-D\_FILE\_OFFSET\_BITS=64 -D\_LARGEFILE64\_SOURCE  
> -D\_LARGEFILE\_SOURCE' CFLAGS='-KPIC' ./configure  
> --prefix=/opt/hdf5-1.8.6-pre3-32 --enable-shared --enable-debug=none
> 
> I've attached the full test report of the test failing.
> 
> Cheers,
> 
> Bernd

---

<div class="post-metadata">

**Author:** ![epourmal](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/e/c67d28/32.png) [@epourmal](https://forum.hdfgroup.org/u/epourmal)\
**Post date:** [February 8, 2011, 4:29am UTC](https://forum.hdfgroup.org/t/test-failure-of-hdf5-1-8-6-pre3-on-solaris-x86/2048/2 "2011-02-08T04:29:18Z")

</div>

Hi Bern,

Thank you for testing! We do not have access to Solaris x86, not sure what could be wrong there. It looks like address of a group object is different from expected.

Two things to try if you have time:

1) Could you please try "make check" with the -i flag to make sure other tests pass?  
Also, I don't know if CPPFLAGS could harm, but you should get support for 64-bit files automatically, i.e., CPPFLAGS setting shouldn't be needed.

2) Could you please try to reconfigure with just

CFLAGS='-KPIC' ./configure --prefix=...

Shared libraries are ON by default, therefore --enable-shared is not needed. Also --enable-debug=none doesn't have any effect.

Thanks again!

Elena

> **···**
>
> On Feb 7, 2011, at 2:25 PM, Bernd Rinn wrote:
> 
> > Hi,
> > 
> > Just compiled HDF5 1.8.6-pre3 on a Solaris x86 box and got a test  
> > failure in testh5mkgrp.
> > 
> > The test report says:  
> > """  
> > Verifying h5ls file structure ../testfiles/h5mkgrp\_single\_latest.h5  
> > \*FAILED\*  
> > &nbsp;&nbsp;&nbsp;Expected result (\*.ls) differs from actual result (\*.out)  
> > &nbsp;&nbsp;&nbsp;\*\*\* ./../testfiles/h5mkgrp\_single\_latest.ls Thu Feb 3 16:13:05 2011  
> > &nbsp;&nbsp;&nbsp;--- ../testfiles/h5mkgrp\_single\_latest.out Mon Feb 7 19:25:46 2011  
> > &nbsp;&nbsp;&nbsp;\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> > &nbsp;&nbsp;&nbsp;\*\*\* 5,12 \*\*\*\*  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ Group  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:48  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> > &nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/latest Group  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:195  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> > &nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> > &nbsp;&nbsp;&nbsp;--- 5,10 ----  
> > FILEOUT= ../testfiles/h5mkgrp\_single\_latest.h5  
> > """
> > 
> > Machine: Solaris 10 10/09 s10x\_u8wos\_08a X86"  
> > Compiler: cc: Sun Ceres C 5.10 SunOS\_i386 2008/10/22  
> > Configure:  
> > CPPFLAGS='-D\_FILE\_OFFSET\_BITS=64 -D\_LARGEFILE64\_SOURCE  
> > -D\_LARGEFILE\_SOURCE' CFLAGS='-KPIC' ./configure  
> > --prefix=/opt/hdf5-1.8.6-pre3-32 --enable-shared --enable-debug=none
> > 
> > I've attached the full test report of the test failing.
> > 
> > Cheers,
> > 
> > Bernd  
> > \<testh5mkgrp.sh.chklog\>\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)

---

<div class="post-metadata">

**Author:** ![Bernd\_Rinn1](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/b/8c91f0/32.png) [@Bernd\_Rinn1](https://forum.hdfgroup.org/u/Bernd_Rinn1)\
**Post date:** [February 14, 2011, 9:37am UTC](https://forum.hdfgroup.org/t/test-failure-of-hdf5-1-8-6-pre3-on-solaris-x86/2048/3 "2011-02-14T09:37:03Z")

</div>

Hi Elena,

All the other tests passed ('make -i check' showed no further errors).

I was actually not able to repeat the failure, regardless of what  
CPPFLAGS or CFLAGS I've set. Not really sure what that means.

Best regards,

Bernd

> **···**
>
> On 11-02-08 5:29, Elena Pourmal wrote:
> 
> > Hi Bern,
> > 
> > Thank you for testing! We do not have access to Solaris x86, not sure what could be wrong there. It looks like address of a group object is different from expected.
> > 
> > Two things to try if you have time:
> > 
> > 1) Could you please try "make check" with the -i flag to make sure other tests pass?  
> > Also, I don't know if CPPFLAGS could harm, but you should get support for 64-bit files automatically, i.e., CPPFLAGS setting shouldn't be needed.
> > 
> > 2) Could you please try to reconfigure with just
> > 
> > CFLAGS='-KPIC' ./configure --prefix=...
> > 
> > Shared libraries are ON by default, therefore --enable-shared is not needed. Also --enable-debug=none doesn't have any effect.
> > 
> > Thanks again!
> > 
> > Elena  
> > On Feb 7, 2011, at 2:25 PM, Bernd Rinn wrote:
> > 
> > > Hi,
> > > 
> > > Just compiled HDF5 1.8.6-pre3 on a Solaris x86 box and got a test  
> > > failure in testh5mkgrp.
> > > 
> > > The test report says:  
> > > """  
> > > Verifying h5ls file structure ../testfiles/h5mkgrp\_single\_latest.h5  
> > > \*FAILED\*  
> > > &nbsp;&nbsp;&nbsp;Expected result (\*.ls) differs from actual result (\*.out)  
> > > &nbsp;&nbsp;&nbsp;\*\*\* ./../testfiles/h5mkgrp\_single\_latest.ls Thu Feb 3 16:13:05 2011  
> > > &nbsp;&nbsp;&nbsp;--- ../testfiles/h5mkgrp\_single\_latest.out Mon Feb 7 19:25:46 2011  
> > > &nbsp;&nbsp;&nbsp;\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> > > &nbsp;&nbsp;&nbsp;\*\*\* 5,12 \*\*\*\*  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ Group  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:48  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> > > &nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/latest Group  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location: 1:195  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Links: 1  
> > > &nbsp;&nbsp;&nbsp;- Modified: XXXX-XX-XX XX:XX:XX XXX  
> > > &nbsp;&nbsp;&nbsp;--- 5,10 ----  
> > > FILEOUT= ../testfiles/h5mkgrp\_single\_latest.h5  
> > > """
> > > 
> > > Machine: Solaris 10 10/09 s10x\_u8wos\_08a X86"  
> > > Compiler: cc: Sun Ceres C 5.10 SunOS\_i386 2008/10/22  
> > > Configure:  
> > > CPPFLAGS='-D\_FILE\_OFFSET\_BITS=64 -D\_LARGEFILE64\_SOURCE  
> > > -D\_LARGEFILE\_SOURCE' CFLAGS='-KPIC' ./configure  
> > > --prefix=/opt/hdf5-1.8.6-pre3-32 --enable-shared --enable-debug=none
> > > 
> > > I've attached the full test report of the test failing.
> > > 
> > > Cheers,
> > > 
> > > Bernd  
> > > \<testh5mkgrp.sh.chklog\>\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > Hdf-forum is for HDF software users discussion.  
> > > Hdf-forum@hdfgroup.org  
> > > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Hdf-forum is for HDF software users discussion.  
> > Hdf-forum@hdfgroup.org  
> > [http://mail.hdfgroup.org/mailman/listinfo/hdf-forum\_hdfgroup.org](http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org)
