HDF5 1.8.13 with shared libraries failed to test in Cygwin 6.1

Dear all,

I am trying to build HDF5 (1.8.13) in Cygwin (CYGWIN_NT-6.1-WOW64 WIN-2H562Q5TUPG 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin) with —enable-shared configure option. I have modified the ‘*_la_LDFLAGS’ by appending ‘-no-undefined’ and add ‘--enable-unsupported' so the shared libraries can be built. The ‘make’ command succeeded, but ‘make check’ failed with the following error:

Testing MDC/FAPL related API calls PASSED
Testing MDC/FILE related API calls *FAILED*
check_file_mdc_api_calls(): failure_mssg = "Unexpected internal config #3.".
Testing MDC API smoke check -SKIP-
     Long tests disabled.
Testing MDC/FAPL related API input errors PASSED
Testing MDC/FILE related API input errors HDF5-DIAG: Error detected in HDF5 (1.8.13) thread 0:
  #000: H5F.c line 1512 in H5Fcreate(): unable to create file
    major: File accessibilty
    minor: Unable to open file
  #001: H5F.c line 1322 in H5F_open(): unable to truncate a file which is already open
    major: File accessibilty
    minor: Unable to open file
*FAILED*
check_file_mdc_api_errs(): failure_mssg = "H5Fcreate() failed.
".
...
Testing non-aligned conversions (ALIGNMENT=1)....
Testing query functions of compiler conversion *FAILED*
Can't query conversion function

This error has already been mentioned in http://mail.lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/2011-November/005295.html, but it seems to persists in 1.8.13.

I tried to print the elements in struct H5C_auto_size_ctl_t (int_config and cache_ptr->resize_ctl), but there are so many, so I just printed ‘version’ and ‘rpt_fcn’. The rpt_fnc seems to be different:

rpt_fcn: 0x415770 - 0x67ef69e0

Best regards,

Li

···

-----------------------------------------
Dr. Li Dong (董理)
LASG, Institute of Atmospheric Physics
Chinese Academy of Sciences
P.O. Box 9804
Beijing 100029, China
Phone: 8610-8299 5143
Website: http://dongli.github.io/dongli

Dear all,

I am trying to build HDF5 (1.8.13) in Cygwin (CYGWIN_NT-6.1-WOW64
WIN-2H562Q5TUPG 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin) with
—enable-shared configure option. I have modified the ‘*_la_LDFLAGS’ by
appending ‘-no-undefined’ and add ‘--enable-unsupported' so the shared
libraries can be built. The ‘make’ command succeeded, but ‘make check’
failed with the following error:

Cygwin is not version 6.1, that is
     Windows NT 6.1 = Windows 7 or Server 2008 R2

Cygwin dll version is 1.7.32 , i686 = 32 bit

Testing MDC/FAPL related API calls
   PASSED
Testing MDC/FILE related API calls
   *FAILED*
check_file_mdc_api_calls(): failure_mssg = "Unexpected internal config #3.".
Testing MDC API smoke check
   -SKIP-
      Long tests disabled.
Testing MDC/FAPL related API input errors
   PASSED
Testing MDC/FILE related API input errors
   HDF5-DIAG: Error detected in HDF5 (1.8.13) thread 0:
   #000: H5F.c line 1512 in H5Fcreate(): unable to create file
     major: File accessibilty
     minor: Unable to open file
   #001: H5F.c line 1322 in H5F_open(): unable to truncate a file which
is already open
     major: File accessibilty
     minor: Unable to open file
*FAILED*
check_file_mdc_api_errs(): failure_mssg = "H5Fcreate() failed.
".
...
Testing non-aligned conversions (ALIGNMENT=1)....
Testing query functions of compiler conversion
   *FAILED*
Can't query conversion function

This error has already been mentioned in
http://mail.lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/2011-November/005295.html,
but it seems to persists in 1.8.13.

that error is always present, both in 32bit and 64bit versions.
Never had time to look on details, but as no user complained
it can be a red herring.

Run "make -i check" to complete the tests.

I tried to print the elements in struct H5C_auto_size_ctl_t (int_config
and cache_ptr->resize_ctl), but there are so many, so I just printed
‘version’ and ‘rpt_fcn’. The rpt_fnc seems to be different:

rpt_fcn: 0x415770 - 0x67ef69e0
q
Best regards,

Li

please note that the package is already available on cygwin

$ cygcheck -cd |grep hdf5
hdf5 1.8.13-1
libhdf5-devel 1.8.13-1
libhdf5_8 1.8.13-1

Regards
Marco

···

On 30/09/2014 04:54, Li Dong wrote: