Bug 200668 - science/hdf5: Don't upgrading 'hdf5-1.8.14_1' to 'hdf5-1.8.15'
Summary: science/hdf5: Don't upgrading 'hdf5-1.8.14_1' to 'hdf5-1.8.15'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-06 07:40 UTC by Vladimir Omelchuk
Modified: 2015-06-08 14:47 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Omelchuk 2015-06-06 07:40:39 UTC
End of log error:

...
Making all in .
Making all in c++
Making all in src
  CXX      H5Exception.lo
  CXX      H5IdComponent.lo
  CXX      H5Library.lo
  CXX      H5Attribute.lo
  CXX      H5Location.lo
  CXX      H5Object.lo
  CXX      H5PropList.lo
  CXX      H5FaccProp.lo
  CXX      H5FcreatProp.lo
  CXX      H5DcreatProp.lo
  CXX      H5DxferProp.lo
  CXX      H5DataType.lo
  CXX      H5DataSpace.lo
  CXX      H5AbstractDs.lo
  CXX      H5AtomType.lo
  CXX      H5PredType.lo
  CXX      H5EnumType.lo
  CXX      H5IntType.lo
  CXX      H5FloatType.lo
  CXX      H5StrType.lo
  CXX      H5ArrayType.lo
  CXX      H5VarLenType.lo
  CXX      H5CompType.lo
  CXX      H5DataSet.lo
  CXX      H5CommonFG.lo
  CXX      H5Group.lo
  CXX      H5File.lo
  CXXLD    libhdf5_cpp.la
Making all in test
  CXX      testhdf5.o
  CXX      dsets.o
  CXX      tattr.o
  CXX      tcompound.o
  CXX      tdspl.o
  CXX      tfile.o
tfile.cpp: In function 'void test_file_open()':
tfile.cpp:334: error: no matching function for call to 'H5::H5File::H5File(hid_t)'
/usr/local/include/H5File.h:99: note: candidates are: H5::H5File::H5File(const H5::H5File&)
/usr/local/include/H5File.h:96: note:                 H5::H5File::H5File()
/usr/local/include/H5File.h:37: note:                 H5::H5File::H5File(const std::string&, unsigned int, const H5::FileCreatPropList&, const H5::FileAccPropList&)
/usr/local/include/H5File.h:34: note:                 H5::H5File::H5File(const char*, unsigned int, const H5::FileCreatPropList&, const H5::FileAccPropList&)
tfile.cpp: In function 'void test_libver_bounds_real(H5F_libver_t, unsigned int, H5F_libver_t, unsigned int)':
tfile.cpp:662: error: 'class H5::FileAccPropList' has no member named 'setLibverBounds'
tfile.cpp:668: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:676: error: 'class H5::FileAccPropList' has no member named 'setLibverBounds'
tfile.cpp:680: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:689: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:700: error: 'class H5::Group' has no member named 'childObjVersion'
tfile.cpp:708: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp: In function 'void test_libver_bounds()':
tfile.cpp:740: error: 'H5O_VERSION_1' was not declared in this scope
tfile.cpp:740: error: 'H5O_VERSION_2' was not declared in this scope
*** [tfile.o] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15/c++/test.
*** [all-recursive] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15/c++.
*** [all-recursive] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15.
*** [do-build] Error code 1

Stop in /usr/ports/science/hdf5.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20150606-86363-t37aon env UPGRADE_TOOL=portupgrade UPGRADE_PORT=hdf5-1.8.14_1 UPGRADE_PORT_VER=1.8.14_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! science/hdf5 (hdf5-1.8.14_1)	(new compiler error)
root@vladiom:/root # 


# uname -srm
FreeBSD 9.3-RELEASE-p13 amd64


# less make.conf 
BATCH=YES
CPUTYPE?=core2
OPTIONS_SET=CUPS
WITHOUT_LPR=YES
WITH_PKGNG=YES
NO_WARNING_PKG_INSTALL_EOL=yes
DEFAULT_VERSIONS+=apache=2.2
QT4_OPTIONS=CUPS NAS QGTKSTYLE
Comment 1 Vladimir Omelchuk 2015-06-07 21:51:53 UTC
With hdf5-1.8.15-patch1.tar.bz2 (port version 'hdf5-1.8.15_1') still same error:

...
tfile.cpp: In function 'void test_libver_bounds_real(H5F_libver_t, unsigned int, H5F_libver_t, unsigned int)':
tfile.cpp:662: error: 'class H5::FileAccPropList' has no member named 'setLibverBounds'
tfile.cpp:668: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:676: error: 'class H5::FileAccPropList' has no member named 'setLibverBounds'
tfile.cpp:680: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:689: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp:700: error: 'class H5::Group' has no member named 'childObjVersion'
tfile.cpp:708: error: 'class H5::H5File' has no member named 'childObjVersion'
tfile.cpp: In function 'void test_libver_bounds()':
tfile.cpp:740: error: 'H5O_VERSION_1' was not declared in this scope
tfile.cpp:740: error: 'H5O_VERSION_2' was not declared in this scope
*** [tfile.o] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15-patch1/c++/test.
*** [all-recursive] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15-patch1/c++.
*** [all-recursive] Error code 1

Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15-patch1.
*** [do-build] Error code 1

Stop in /usr/ports/science/hdf5.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20150608-56194-1tvzdvv env UPGRADE_TOOL=portupgrade UPGRADE_PORT=hdf5-1.8.14_1 UPGRADE_PORT_VER=1.8.14_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! science/hdf5 (hdf5-1.8.14_1)	(new compiler error)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-06-08 11:21:42 UTC
It seems you have old version installed while building the new version. I'll try to fix this problem. In the meantime, please deinstall old one and try again. Thanks!
Comment 3 Vladimir Omelchuk 2015-06-08 14:44:17 UTC
1. Deinstall old version.
2. Try install new - building is fine, without errors.
Thanks!

Bug report can be close.