Bug #23353
when compile Luminous 12.2.4, miss boost files
0%
Description
Linking CXX executable ../../../bin/unittest_rgw_iam_policy
In file included from /root/rpmbuild/BUILD/ceph-12.2.4/src/rgw/rgw_asio_frontend.cc:12:0:
/root/rpmbuild/BUILD/ceph-12.2.4/src/rgw/rgw_asio_client.h:7:32: fatal error: boost/beast/core.hpp: No such file or directory
#include <boost/beast/core.hpp>
^
compilation terminated.
In file included from /root/rpmbuild/BUILD/ceph-12.2.4/src/rgw/rgw_asio_client.cc:7:0:
/root/rpmbuild/BUILD/ceph-12.2.4/src/rgw/rgw_asio_client.h:7:32: fatal error: boost/beast/core.hpp: No such file or directory
#include <boost/beast/core.hpp>
History
#1 Updated by Amine Liu about 6 years ago
diff --git a/make-dist b/make-dist
index 11224cb..d292d9b 100755
--- a/make-dist
++ b/make-dist@ -57,8 +57,12
@ download_boost() {
--exclude="$boost_version_underscore/tools/auto_index" \
--exclude='doc' --exclude='more' --exclude='status'
mv src/boost_${boost_version_underscore} src/boost
echo "begin: mv src/boost_${boost_version_underscore} src/boost "
tar cf ${outfile}.boost.tar ${outfile}/src/boost
- rm -rf src/boost
+ if [ $? -eq 0 ];then
+ echo "begin: tar cf ${outfile}.boost.tar ${outfile}/src/boost"
+ fi
+ #rm -rf src/boost
}
- clean out old cruft...
I don't think it's necessary to execute `rm -rf src/boost`.
#2 Updated by Kefu Chai about 6 years ago
- Assignee set to Kefu Chai
#3 Updated by Kefu Chai about 6 years ago
- Category set to build
- Assignee deleted (
Kefu Chai) - Target version deleted (
v12.2.4)
it's necessary to "clean out old cruft". as the existing boost is not necessarily new enough. and it's not worthwhile to check its version in make-dist.
i am not sure regarding to the reason why you failed to build the rpm, could you attach the full output of rpmbuild instead a snippet of it?
#4 Updated by Kefu Chai about 6 years ago
- Assignee set to Kefu Chai
#5 Updated by Amine Liu about 6 years ago
Kefu Chai wrote:
it's necessary to "clean out old cruft". as the existing boost is not necessarily new enough. and it's not worthwhile to check its version in make-dist.
i am not sure regarding to the reason why you failed to build the rpm, could you attach the full output of rpmbuild instead a snippet of it?
my rpmbuild be able to execute successfully until I removed 'rm -rf src/boost '.
#6 Updated by Kefu Chai about 6 years ago
- Status changed from New to Need More Info
sorry Tave, i can hardly help without more details. both cmake script and "make-dist" download boost, if you could provide the log message, i'd like to look into it.
#7 Updated by Brad Hubbard over 5 years ago
Strangely enough I hit this and the solution was to "rm -rf src/boost", run cmake again and build again.
#8 Updated by Kefu Chai over 5 years ago
- Status changed from Need More Info to Can't reproduce
please reopen this issue if it bites you again.