[ 
https://issues.apache.org/jira/browse/PROTON-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135200#comment-16135200
 ] 

Irina Boverman commented on PROTON-1477:
----------------------------------------

Still failing in rawhide:
[ 44%] Building CXX object 
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/byte_array.cpp.o
cd /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/cpp && 
/usr/bin/c++  -Dqpid_proton_cpp_EXPORTS 
-I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/src 
-I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/include 
-I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/cpp/include 
-I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/cpp/src/include  
-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 -std=c++11 
-fvisibility=hidden -O2 -g -DNDEBUG -fPIC   -Werror -Wall -pedantic-errors 
-Wno-format -Wno-variadic-macros -o 
CMakeFiles/qpid-proton-cpp.dir/src/byte_array.cpp.o -c 
/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/cpp/src/byte_array.cpp
cc1plus: error: -Wformat-security ignored without -Wformat 
[-Werror=format-security]
cc1plus: all warnings being treated as errors
make[2]: *** 
[proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/build.make:66: 
proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/binary.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Please try with the same CXX flags:

+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG 
-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG 
-DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON 
-DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include 
-DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc 
-DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 
-DBUILD_SHARED_LIBS:BOOL=ON -DPROTON_DISABLE_RPATH=true '-DCMAKE_CXX_FLAGS=-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 -std=c++11' 
-DSYSINSTALL_PYTHON=1 -DSYSINSTALL_PERL=1 .

> Problem building qpid-proton 0.17.0 in Fedora rawhide
> -----------------------------------------------------
>
>                 Key: PROTON-1477
>                 URL: https://issues.apache.org/jira/browse/PROTON-1477
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build
>         Environment: x86_64
>            Reporter: Irina Boverman
>            Assignee: Justin Ross
>             Fix For: proton-c-0.19.0
>
>
> [ 39%] Swig source
> cd /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl && 
> /usr/bin/cmake -E make_directory 
> /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl
> make[2]: Leaving directory '/builddir/build/BUILD/qpid-proton-0.17.0'
> cd /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl && 
> /usr/bin/swig -perl -outdir 
> /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl -shadow 
> -I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/src 
> -I/builddir/build/BUILD/qpid-proton-0.17.0/proton-c/include -I/usr/include 
> -I/usr/lib64/perl5/CORE -o 
> /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl/perlPERL_wrap.c
>  /builddir/build/BUILD/qpid-proton-0.17.0/proton-c/bindings/perl/perl.i
> make[2]: Leaving directory '/builddir/build/BUILD/qpid-proton-0.17.0'
> cc1plus: error: -Wformat-security ignored without -Wformat 
> [-Werror=format-security]
> cc1plus: all warnings being treated as errors
> make[2]: *** 
> [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/build.make:66: 
> proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/src/binary.cpp.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to