Giter Club home page Giter Club logo

atlas-cpp's Introduction

DEPRECATED

This code has been moved to the Worldforge repository.

Atlas-C++

Join us on Gitter! Appveyor build status Travis build Status Github build status

Welcome to Atlas-C++, the C++ reference implementation of the Atlas protocol. The Atlas protocol is the primary protocol by which servers and clients in the WorldForge system communicate.

Installation

If you intend to build this as a prerequisite for the Ember client or the Cyphesis server we strongly suggest that you use the Hammer tool to compile it. This is script provided by the Worldforge project which will download and install all of the required libraries and components used by Worldforge.

Alternatively you can use Conan to install all dependencies.

conan remote add worldforge https://artifactory.ogenvik.org/artifactory/api/conan/conan
conan install tools/conan --build missing
cmake --preset conan-release
cmake --build --preset conan-release

Otherwise the library can most easily be built through the following commands.

mkdir build && cd build
cmake ..
make -j all install

Tests

The test suite can be built and run using the check target. For example:

make check

or

cmake --build --preset conan-release --target check

API documentation

If Doxygen is available API documentation can be generated using the dox target. For example:

make dox

or

cmake --build --preset conan-release --target dox

Version

This is Atlas-C++ 0.7.x, the latest development version of Atlas-C++. The 0.6.x branch will contain NO API CHANGES. The 0.7.x branch is completely experimental and may not be easy to track. Any changes affecting the API should go into 0.7.x, as should any features which are not completely stable.

Documentation

To generate the documentation, simply configure the tree then execute the "docs" target (for example make docs). This will use doxygen to generate the documentation, which will then reside in doc/.

Please read the file HACKING.md carefully before working on Atlas-C++.

The specification

The actual Atlas specification can be found under protocol/spec as a series of filed ending in the ".def" suffix. These files represent the canonical Atlas definition.

In order to generate the C++ code these files are translated into a protocol/spec/xml/atlas.xml file through the use of the protocol/spec/tools/def2xml.py file, which requires Python. Normally this would be performed by the CMake build script.

This file (protocol/spec/xml/atlas.xml) in turn gets translated into C++ files through the use of the Atlas/Objects/gen_cpp.py Python script (which requires Python).This would also normally be performed by the CMake build script.

Thus, in order to change the protocol one would perform these steps:

  • Update any of the files in protocol/spec
  • Rebuild the project (through the builder used with CMake)

You shouldn't touch the protocol/spec/xml/atlas.xml file, nor any of the C++ files generated (these are identified by having "Automatically generated using gen_cpp.py." added to the top of them).

There are some areas of improvements here. Chief amongst them would be

  • Don't use two different formats: either standardize on only using "atlas.xml", or standardize on only using the .def files

Licensing

Atlas-C++ is licensed under the GNU Lesser General Public License. Please see the file COPYING for details as to its distribution.

Atlas-C++ is provided AS IS with ABSOLUTELY NO WARRANTY. Please see the file COPYING for details.

Contact

Please see the AUTHORS file for contact information.

How to help

If you're interested in helping out with development you should check out these resources:

atlas-cpp's People

Contributors

aloril avatar alriddoch avatar atorkhov avatar bregma avatar erikogenvik avatar olekw avatar sajty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atlas-cpp's Issues

0.6.3 fails to built with gcc7

f[filiperosset@raw atlascpp]$ fedpkg local
/usr/lib/python2.7/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead.
DeprecationWarning)

Executando (%prep): /bin/sh -e /var/tmp/rpm-tmp.KGstCq

  • umask 022
  • cd /home/filiperosset/rpmbuild/extras/atlascpp
  • cd /home/filiperosset/rpmbuild/extras/atlascpp
  • rm -rf Atlas-C++-0.6.3
  • /usr/bin/bzip2 -dc /home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3.tar.bz2
  • /usr/bin/tar -xof -
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd Atlas-C++-0.6.3
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • exit 0
    Executando (%build): /bin/sh -e /var/tmp/rpm-tmp.v85Py4
  • umask 022
  • cd /home/filiperosset/rpmbuild/extras/atlascpp
  • cd Atlas-C++-0.6.3
  • CFLAGS='-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'
  • export CFLAGS
  • CXXFLAGS='-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'
  • export CXXFLAGS
  • FFLAGS='-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 -I/usr/lib64/gfortran/modules'
  • export FFLAGS
  • FCFLAGS='-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 -I/usr/lib64/gfortran/modules'
  • export FCFLAGS
  • LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
  • export LDFLAGS
  • '[' 1 = 1 ']'
    +++ dirname ./configure
    ++ find . -name config.guess -o -name config.sub
  • for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
    ++ basename ./config.sub
  • '[' -f /usr/lib/rpm/redhat/config.sub ']'
  • /usr/bin/rm -f ./config.sub
    ++ basename ./config.sub
  • /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
    '/usr/lib/rpm/redhat/config.sub' -> './config.sub'
  • for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
    ++ basename ./config.guess
  • '[' -f /usr/lib/rpm/redhat/config.guess ']'
  • /usr/bin/rm -f ./config.guess
    ++ basename ./config.guess
  • /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
    '/usr/lib/rpm/redhat/config.guess' -> './config.guess'
  • '[' 1 = 1 ']'
  • '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
    ++ find . -name ltmain.sh
  • for i in $(find . -name ltmain.sh)
  • /usr/bin/sed -i.backup -e 's~compiler_flags=$compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"' ./ltmain.sh
  • ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
    checking build system type... x86_64-redhat-linux-gnu
    checking host system type... x86_64-redhat-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for x86_64-redhat-linux-gnu-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... none
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for x86_64-redhat-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for x86_64-redhat-linux-gnu-dlltool... no
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for x86_64-redhat-linux-gnu-ar... no
    checking for ar... ar
    checking for archiver @file support... @
    checking for x86_64-redhat-linux-gnu-strip... no
    checking for strip... strip
    checking for x86_64-redhat-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for x86_64-redhat-linux-gnu-mt... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for x86_64-redhat-linux-gnu-g++... no
    checking for x86_64-redhat-linux-gnu-c++... no
    checking for x86_64-redhat-linux-gnu-gpp... no
    checking for x86_64-redhat-linux-gnu-aCC... no
    checking for x86_64-redhat-linux-gnu-CC... no
    checking for x86_64-redhat-linux-gnu-cxx... no
    checking for x86_64-redhat-linux-gnu-cc++... no
    checking for x86_64-redhat-linux-gnu-cl.exe... no
    checking for x86_64-redhat-linux-gnu-FCC... no
    checking for x86_64-redhat-linux-gnu-KCC... no
    checking for x86_64-redhat-linux-gnu-RCC... no
    checking for x86_64-redhat-linux-gnu-xlC_r... no
    checking for x86_64-redhat-linux-gnu-xlC... no
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... none
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether g++ supports C++11 features by default... yes
    checking for inflate in -lz... yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for BZ2_bzDecompressInit in -lbz2... yes
    checking bzlib.h usability... yes
    checking bzlib.h presence... yes
    checking for bzlib.h... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating Atlas/Makefile
    config.status: creating Atlas/Codecs/Makefile
    config.status: creating Atlas/Filters/Makefile
    config.status: creating Atlas/Funky/Makefile
    config.status: creating Atlas/Message/Makefile
    config.status: creating Atlas/Net/Makefile
    config.status: creating Atlas/Objects/Makefile
    config.status: creating tests/Makefile
    config.status: creating tests/Objects/Makefile
    config.status: creating tests/Codecs/Makefile
    config.status: creating tools/Makefile
    config.status: creating benchmark/Makefile
    config.status: creating tutorial/Makefile
    config.status: creating atlas-cpp.spec
    config.status: creating mingw32-atlas-cpp.spec
    config.status: creating atlascpp-0.6.pc
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
  • sed -i -e 's#-Werror(=[^ ]*)?##' benchmark/Makefile
  • sed -i -e 's#-Werror(=[^ ]*)?##' tests/Objects/Makefile
  • make -j8
    make all-recursive
    make[1]: Entering directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3'
    Making all in Atlas
    make[2]: Entering directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas'
    Making all in .
    make[3]: Entering directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas'
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Bridge.lo Bridge.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Codec.lo Codec.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Negotiate.lo Negotiate.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o EncoderBase.lo EncoderBase.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Exception.lo Exception.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Filter.lo Filter.cpp
    /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c -o Formatter.lo Formatter.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Negotiate.cpp -fPIC -DPIC -o .libs/Negotiate.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Bridge.cpp -fPIC -DPIC -o .libs/Bridge.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Exception.cpp -fPIC -DPIC -o .libs/Exception.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c EncoderBase.cpp -fPIC -DPIC -o .libs/EncoderBase.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Formatter.cpp -fPIC -DPIC -o .libs/Formatter.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Codec.cpp -fPIC -DPIC -o .libs/Codec.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -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 -Wall -Werror -DNDEBUG -c Filter.cpp -fPIC -DPIC -o .libs/Filter.o
    /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wall -Werror -DNDEBUG -version-info 2:0:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libAtlas-0.6.la -rpath /usr/lib64 Bridge.lo Codec.lo Negotiate.lo EncoderBase.lo Exception.lo Filter.lo Formatter.lo
    libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/7/crtbeginS.o .libs/Bridge.o .libs/Codec.o .libs/Negotiate.o .libs/EncoderBase.o .libs/Exception.o .libs/Filter.o .libs/Formatter.o -L/usr/lib/gcc/x86_64-redhat-linux/7 -L/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/7/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,libAtlas-0.6.so.2 -o .libs/libAtlas-0.6.so.2.0.0
    libtool: link: (cd ".libs" && rm -f "libAtlas-0.6.so.2" && ln -s "libAtlas-0.6.so.2.0.0" "libAtlas-0.6.so.2")
    libtool: link: (cd ".libs" && rm -f "libAtlas-0.6.so" && ln -s "libAtlas-0.6.so.2.0.0" "libAtlas-0.6.so")
    libtool: link: ( cd ".libs" && rm -f "libAtlas-0.6.la" && ln -s "../libAtlas-0.6.la" "libAtlas-0.6.la" )
    make[3]: Leaving directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas'
    Making all in Message
    make[3]: Entering directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas/Message'
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c -o Element.lo Element.cpp
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c -o MEncoder.lo MEncoder.cpp
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c -o DecoderBase.lo DecoderBase.cpp
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c -o QueuedDecoder.lo QueuedDecoder.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c Element.cpp -fPIC -DPIC -o .libs/Element.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c DecoderBase.cpp -fPIC -DPIC -o .libs/DecoderBase.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c MEncoder.cpp -fPIC -DPIC -o .libs/MEncoder.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -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 -Wall -Werror -DNDEBUG -c QueuedDecoder.cpp -fPIC -DPIC -o .libs/QueuedDecoder.o
    In file included from Element.cpp:7:0:
    ../../Atlas/Message/Element.h:364:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    IntType asInt() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:374:31: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asFloat() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:384:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    PtrType asPtr() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:394:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asNum() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:401:41: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const std::string& asString() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:407:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    std::string& asString() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:421:34: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const MapType& asMap() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:427:22: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    MapType& asMap() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:441:36: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const ListType& asList() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:447:24: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    ListType& asList() throw (WrongTypeException)
    ^~~~~
    cc1plus: all warnings being treated as errors
    make[3]: *** [Makefile:367: Element.lo] Error 1
    make[3]: *** Waiting for unfinished jobs....
    In file included from MEncoder.cpp:9:0:
    ../../Atlas/Message/Element.h:364:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    IntType asInt() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:374:31: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asFloat() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:384:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    PtrType asPtr() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:394:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asNum() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:401:41: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const std::string& asString() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:407:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    std::string& asString() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:421:34: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const MapType& asMap() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:427:22: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    MapType& asMap() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:441:36: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const ListType& asList() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:447:24: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    ListType& asList() throw (WrongTypeException)
    ^~~~~
    cc1plus: all warnings being treated as errors
    make[3]: *** [Makefile:367: MEncoder.lo] Error 1
    In file included from ../../Atlas/Message/QueuedDecoder.h:11:0,
    from QueuedDecoder.cpp:7:
    ../../Atlas/Message/Element.h:364:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    IntType asInt() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:374:31: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asFloat() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:384:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    PtrType asPtr() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:394:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asNum() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:401:41: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const std::string& asString() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:407:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    std::string& asString() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:421:34: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const MapType& asMap() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:427:22: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    MapType& asMap() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:441:36: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const ListType& asList() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:447:24: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    ListType& asList() throw (WrongTypeException)
    ^~~~~
    cc1plus: all warnings being treated as errors
    make[3]: *** [Makefile:367: QueuedDecoder.lo] Error 1
    In file included from DecoderBase.cpp:9:0:
    ../../Atlas/Message/Element.h:364:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    IntType asInt() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:374:31: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asFloat() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:384:27: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    PtrType asPtr() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:394:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    FloatType asNum() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:401:41: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const std::string& asString() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:407:29: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    std::string& asString() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:421:34: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const MapType& asMap() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:427:22: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    MapType& asMap() throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:441:36: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    const ListType& asList() const throw (WrongTypeException)
    ^~~~~
    ../../Atlas/Message/Element.h:447:24: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]
    ListType& asList() throw (WrongTypeException)
    ^~~~~
    cc1plus: all warnings being treated as errors
    make[3]: *** [Makefile:367: DecoderBase.lo] Error 1
    make[3]: Leaving directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas/Message'
    make[2]: *** [Makefile:445: all-recursive] Error 1
    make[2]: Leaving directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3/Atlas'
    make[1]: *** [Makefile:394: all-recursive] Error 1
    make[1]: Leaving directory '/home/filiperosset/rpmbuild/extras/atlascpp/Atlas-C++-0.6.3'
    make: *** [Makefile:298: all] Error 2
    erro: Status de saída de /var/tmp/rpm-tmp.v85Py4 inválido (%build)

Erros na construção do RPM:
Status de saída de /var/tmp/rpm-tmp.v85Py4 inválido (%build)
[filiperosset@raw atlascpp]$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.1.1 20170526 (Red Hat 7.1.1-2) (GCC)
[filiperosset@raw atlascpp]$

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.