On Thu, Feb 22, 2018 at 7:44 AM, Muminul Islam Russell <misla011@xxxxxxx> wrote: > Hello, > > I was trying to build ceph-12.2.3 from source rpm and got the following error. > > [ 2%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o > [ 2%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o > [ 2%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.c.o > CMake Error at Boost-stamp/download-Boost.cmake:9 (file): > file DOWNLOAD HASH mismatch > > for file: [/root/rpmbuild/BUILD/ceph-12.2.3/build/boost/src/boost_1_66_0.tar.bz2] > expected hash: [b2dfbd6c717be4a7bb2d88018eaccf75] > actual hash: [d41d8cd98f00b204e9800998ecf8427e] That's odd. This is the code involved. 31 # NOTE: If you change this version number make sure the package is available 32 # at the three URLs below (may involve uploading to download.ceph.com) 33 set(boost_version 1.66.0) 34 set(boost_md5 b2dfbd6c717be4a7bb2d88018eaccf75) 35 string(REPLACE "." "_" boost_version_underscore ${boost_version} ) 36 set(boost_url· 37 https://dl.bintray.com/boostorg/release/${boost_version}/source/boost_${boost_version_underscore}.tar.bz2) 38 if(CMAKE_VERSION VERSION_GREATER 3.7) 39 set(boost_url 40 "${boost_url} http://downloads.sourceforge.net/project/boost/boost/${boost_version}/boost_${boost_version_underscore}.tar.bz2") 41 set(boost_url 42 "${boost_url} https://download.ceph.com/qa/boost_${boost_version_underscore}.tar.bz2") 43 endif() I just downloaded the package from all three locations and I get the correct md5sum (b2dfbd6c717be4a7bb2d88018eaccf75). > > Could anyone help me how to resolve this issue? Try rpmdev-wipetree and then re-install the srpm and try again? Maybe you were the victim of a bad download? HTH. > > Thanks, > Muminul > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Cheers, Brad -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html