GithubHelp home page GithubHelp logo

Build failure with Boost 1.63 about stdair HOT 5 CLOSED

airsim avatar airsim commented on June 18, 2024
Build failure with Boost 1.63

from stdair.

Comments (5)

rosset avatar rosset commented on June 18, 2024 1

[ 94%] Building CXX object stdair/CMakeFiles/stdairlib.dir/service/ServiceAbstract.cpp.o
cd /builddir/build/BUILD/stdair-1.00.5/stdair && /usr/lib64/ccache/c++ -Dstdairlib_EXPORTS -I/builddir/build/BUILD/stdair-1.00.5 -I/usr/include/python2.7 -I/usr/include/mysql -I/usr/include/soci -I/usr/include/soci/mysql -I/usr/include/soci/sqlite3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DBOOST_VERSION=106400 -g -fPIC -o CMakeFiles/stdairlib.dir/service/ServiceAbstract.cpp.o -c /builddir/build/BUILD/stdair-1.00.5/stdair/service/ServiceAbstract.cpp
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_text_iarchive.hpp:30,
from /usr/include/boost/archive/text_iarchive.hpp:24,
from /builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:8:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of 'static void boost::archive::detail::heap_allocation::doesnt_have_new_operator::invoke_delete(T*) [with T = stdair::FlightDate]':
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from 'static void boost::archive::detail::heap_allocation::invoke_delete(T*) [with T = stdair::FlightDate]'
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from 'boost::archive::detail::heap_allocation::~heap_allocation() [with T = stdair::FlightDate]'
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from 'void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::text_iarchive; T = stdair::FlightDate]'
/builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:259:1: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: 'virtual stdair::FlightDate::~FlightDate()' is protected within this context
delete t;
^~~~~~
In file included from /builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:18:0:
/builddir/build/BUILD/stdair-1.00.5/stdair/bom/FlightDate.hpp:201:13: note: declared protected here
virtual ~FlightDate();
^
In file included from /usr/include/boost/archive/detail/interface_iarchive.hpp:22:0,
from /usr/include/boost/archive/detail/common_iarchive.hpp:23,
from /usr/include/boost/archive/basic_text_iarchive.hpp:30,
from /usr/include/boost/archive/text_iarchive.hpp:24,
from /builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:8:
/usr/include/boost/archive/detail/iserializer.hpp: In instantiation of 'static void boost::archive::detail::heap_allocation::doesnt_have_new_operator::invoke_delete(T*) [with T = stdair::Inventory]':
/usr/include/boost/archive/detail/iserializer.hpp:265:33: required from 'static void boost::archive::detail::heap_allocation::invoke_delete(T*) [with T = stdair::Inventory]'
/usr/include/boost/archive/detail/iserializer.hpp:273:26: required from 'boost::archive::detail::heap_allocation::~heap_allocation() [with T = stdair::Inventory]'
/usr/include/boost/archive/detail/iserializer.hpp:294:36: required from 'void* boost::archive::detail::pointer_iserializer<Archive, T>::heap_allocation() const [with Archive = boost::archive::text_iarchive; T = stdair::Inventory]'
/builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:259:1: required from here
/usr/include/boost/archive/detail/iserializer.hpp:246:17: error: 'virtual stdair::Inventory::~Inventory()' is protected within this context
delete t;
^~~~~~
In file included from /builddir/build/BUILD/stdair-1.00.5/stdair/command/CmdBomSerialiser.cpp:17:0:
/builddir/build/BUILD/stdair-1.00.5/stdair/bom/Inventory.hpp:191:13: note: declared protected here
virtual ~Inventory();
^
make[2]: *** [stdair/CMakeFiles/stdairlib.dir/build.make:2586: stdair/CMakeFiles/stdairlib.dir/command/CmdBomSerialiser.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/builddir/build/BUILD/stdair-1.00.5'
make[1]: Leaving directory '/builddir/build/BUILD/stdair-1.00.5'
make[1]: *** [CMakeFiles/Makefile2:368: stdair/CMakeFiles/stdairlib.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

from stdair.

da115115 avatar da115115 commented on June 18, 2024 1

Build on Fedora Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=21078603

from stdair.

rosset avatar rosset commented on June 18, 2024

still happening with boost-1.64

https://kojipkgs.fedoraproject.org//work/tasks/5238/20875238/build.log

from stdair.

da115115 avatar da115115 commented on June 18, 2024

Similar to freeorion/freeorion#1289

With the -std=c++1z option, passed to C++, the project compiles correctly. So, I guess that Boost developers have dropped support for older C++ compilers.
A directive should be added for CMake:
set_property(TARGET tgt PROPERTY CXX_STANDARD 11)

from stdair.

rosset avatar rosset commented on June 18, 2024

great, thanks!

from stdair.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.