qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Kohtala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7709) Problem building on Fedora rawhide
Date Wed, 07 Aug 2019 08:05:00 GMT

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

Marko Kohtala commented on QPID-7709:
-------------------------------------

I tried compiling qpid-cpp 1.39.0 in Docker buildpack-deps:buster that has g++-8 8.3.0-6.
It gives these same errors. [~iboverma] did not tell what was the compiler and rawhide does
not tell much, but looking at the date it may not have been yet even g++ 7. I used to be able
to compile qpid-cpp on Debian stretch that had g++ 6.3.0. So this may be something that has
come with g++ 7.

Here the build output just dropping some boring lines of success:
{noformat}
Step 8/47 : FROM buildpack-deps:buster AS build
...
+ git clone --depth 1 -b 1.37.0 https://github.com/apache/qpid-python.git
...
+ git clone --depth 1 -b 0.28.0 https://github.com/apache/qpid-proton.git
...
+ git clone --depth 1 -b 1.39.0 https://github.com/apache/qpid-cpp.git
...
+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cmake uuid-dev
libboost-program-options-dev libboost-system-dev libdb++-dev libaio-dev ruby libnss3-dev libsasl2-dev
libxqilla-dev libibverbs-dev librdmacm-dev swig libjsoncpp-dev python-dev
Reading package lists...
Building dependency tree...
Reading state information...
uuid-dev is already the newest version (2.33.1-0.1).
uuid-dev set to manually installed.
The following additional packages will be installed:
  cmake-data ibverbs-providers libaio1 libarchive13
  libboost-program-options1.67-dev libboost-program-options1.67.0
  libboost-system1.67-dev libboost-system1.67.0 libboost1.67-dev libdb5.3++
  libdb5.3++-dev libibverbs1 libjsoncpp1 libnl-3-200 libnl-3-dev
  libnl-route-3-200 libnl-route-3-dev libnspr4 libnspr4-dev libnss3
  libpython-dev libpython2-dev libpython2.7 libpython2.7-dev librdmacm1
  librhash0 libruby2.5 libuv1 libxerces-c-dev libxerces-c3.2 libxqilla6v5
  python2-dev python2.7-dev rake ruby-did-you-mean ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc ruby2.5
  rubygems-integration swig3.0
Suggested packages:
  cmake-doc ninja-build lrzip libboost1.67-doc libboost-atomic1.67-dev
  libboost-chrono1.67-dev libboost-container1.67-dev libboost-context1.67-dev
  libboost-coroutine1.67-dev libboost-date-time1.67-dev
  libboost-exception1.67-dev libboost-fiber1.67-dev
  libboost-filesystem1.67-dev libboost-graph1.67-dev
  libboost-graph-parallel1.67-dev libboost-iostreams1.67-dev
  libboost-locale1.67-dev libboost-log1.67-dev libboost-math1.67-dev
  libboost-mpi1.67-dev libboost-mpi-python1.67-dev libboost-numpy1.67-dev
  libboost-python1.67-dev libboost-random1.67-dev libboost-regex1.67-dev
  libboost-serialization1.67-dev libboost-signals1.67-dev
  libboost-stacktrace1.67-dev libboost-test1.67-dev libboost-thread1.67-dev
  libboost-timer1.67-dev libboost-type-erasure1.67-dev libboost-wave1.67-dev
  libboost1.67-tools-dev libmpfrc++-dev libntl-dev libxerces-c-doc ri ruby-dev
  bundler swig-doc swig-examples swig3.0-examples swig3.0-doc
Recommended packages:
  zip fonts-lato libjs-jquery
The following NEW packages will be installed:
  cmake cmake-data ibverbs-providers libaio-dev libaio1 libarchive13
  libboost-program-options-dev libboost-program-options1.67-dev
  libboost-program-options1.67.0 libboost-system-dev libboost-system1.67-dev
  libboost-system1.67.0 libboost1.67-dev libdb++-dev libdb5.3++ libdb5.3++-dev
  libibverbs-dev libibverbs1 libjsoncpp-dev libjsoncpp1 libnl-3-200
  libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnspr4 libnspr4-dev
  libnss3 libnss3-dev libpython-dev libpython2-dev libpython2.7
  libpython2.7-dev librdmacm-dev librdmacm1 librhash0 libruby2.5 libsasl2-dev
  libuv1 libxerces-c-dev libxerces-c3.2 libxqilla-dev libxqilla6v5 python-dev
  python2-dev python2.7-dev rake ruby ruby-did-you-mean ruby-minitest
  ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc ruby2.5
  rubygems-integration swig swig3.0
0 upgraded, 57 newly installed, 0 to remove and 4 not upgraded.
Need to get 62.6 MB of archives.
After this operation, 296 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1476 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4 [314 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3480 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libnl-3-200 amd64 3.4.0-1 [63.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libnl-route-3-200 amd64 3.4.0-1 [162
kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libibverbs1 amd64 22.1-1 [51.2 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 ibverbs-providers amd64 22.1-1 [187
kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libaio1 amd64 0.3.112-3 [11.2 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libaio-dev amd64 0.3.112-3 [20.1 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libboost1.67-dev amd64 1.67.0-13 [8386
kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libboost-program-options1.67.0 amd64
1.67.0-13 [355 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libboost-program-options1.67-dev amd64
1.67.0-13 [383 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libboost-program-options-dev amd64 1.67.0.1
[3656 B]
Get:17 http://deb.debian.org/debian buster/main amd64 libboost-system1.67.0 amd64 1.67.0-13
[229 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libboost-system1.67-dev amd64 1.67.0-13
[231 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libboost-system-dev amd64 1.67.0.1 [3788
B]
Get:20 http://deb.debian.org/debian buster/main amd64 libdb5.3++ amd64 5.3.28+dfsg1-0.5 [707
kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libdb5.3++-dev amd64 5.3.28+dfsg1-0.5
[778 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libdb++-dev amd64 5.3.1+nmu1 [2548 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libnl-3-dev amd64 3.4.0-1 [102 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 libnl-route-3-dev amd64 3.4.0-1 [177
kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libibverbs-dev amd64 22.1-1 [362 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libjsoncpp-dev amd64 1.7.4-3 [86.2 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libnspr4 amd64 2:4.20-1 [112 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libnspr4-dev amd64 2:4.20-1 [213 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libnss3 amd64 2:3.42.1-1 [1159 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 libnss3-dev amd64 2:3.42.1-1 [236 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 libpython2.7 amd64 2.7.16-2 [1036 kB]
Get:32 http://deb.debian.org/debian buster/main amd64 libpython2.7-dev amd64 2.7.16-2 [31.6
MB]
Get:33 http://deb.debian.org/debian buster/main amd64 libpython2-dev amd64 2.7.16-1 [20.9
kB]
Get:34 http://deb.debian.org/debian buster/main amd64 libpython-dev amd64 2.7.16-1 [20.9 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 librdmacm1 amd64 22.1-1 [65.3 kB]
Get:36 http://deb.debian.org/debian buster/main amd64 librdmacm-dev amd64 22.1-1 [119 kB]
Get:37 http://deb.debian.org/debian buster/main amd64 rubygems-integration all 1.11 [4994
B]
Get:38 http://deb.debian.org/debian buster/main amd64 ruby2.5 amd64 2.5.5-3 [400 kB]
Get:39 http://deb.debian.org/debian buster/main amd64 ruby amd64 1:2.5.1 [11.3 kB]
Get:40 http://deb.debian.org/debian buster/main amd64 rake all 12.3.1-3 [66.9 kB]
Get:41 http://deb.debian.org/debian buster/main amd64 ruby-did-you-mean all 1.2.1-1 [14.4
kB]
Get:42 http://deb.debian.org/debian buster/main amd64 ruby-minitest all 5.11.3-1 [54.8 kB]
Get:43 http://deb.debian.org/debian buster/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:44 http://deb.debian.org/debian buster/main amd64 ruby-power-assert all 1.1.1-1 [10.9
kB]
Get:45 http://deb.debian.org/debian buster/main amd64 ruby-test-unit all 3.2.8-1 [72.4 kB]
Get:46 http://deb.debian.org/debian buster/main amd64 ruby-xmlrpc all 0.3.0-2 [23.7 kB]
Get:47 http://deb.debian.org/debian buster/main amd64 libruby2.5 amd64 2.5.5-3 [3438 kB]
Get:48 http://deb.debian.org/debian buster/main amd64 libsasl2-dev amd64 2.1.27+dfsg-1 [282
kB]
Get:49 http://deb.debian.org/debian buster/main amd64 libxerces-c3.2 amd64 3.2.2+debian-1+b1
[886 kB]
Get:50 http://deb.debian.org/debian buster/main amd64 libxerces-c-dev amd64 3.2.2+debian-1+b1
[1695 kB]
Get:51 http://deb.debian.org/debian buster/main amd64 libxqilla6v5 amd64 2.3.4-1+b1 [1083
kB]
Get:52 http://deb.debian.org/debian buster/main amd64 libxqilla-dev amd64 2.3.4-1+b1 [117
kB]
Get:53 http://deb.debian.org/debian buster/main amd64 python2.7-dev amd64 2.7.16-2 [296 kB]
Get:54 http://deb.debian.org/debian buster/main amd64 python2-dev amd64 2.7.16-1 [1212 B]
Get:55 http://deb.debian.org/debian buster/main amd64 python-dev amd64 2.7.16-1 [1192 B]
Get:56 http://deb.debian.org/debian buster/main amd64 swig3.0 amd64 3.0.12-2 [1397 kB]
Get:57 http://deb.debian.org/debian buster/main amd64 swig amd64 3.0.12-2 [310 kB]
...
+ cd qpid-python
+ python setup.py install
...
+ cd qpid-proton
+ mkdir bld
+ cd bld
+ cmake -DINCLUDE_INSTALL_DIR=/usr/include -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP=OFF -DBUILD_TESTING=OFF
-DSYSINSTALL_BINDINGS=ON ..
...
+ cd qpid-cpp
+ mkdir bld
+ cd bld
+ cmake -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_BUILD_TYPE=Release -DBUILD_BINDING_PERL=OFF -DBUILD_DOCS=OFF
-DBUILD_TESTING=OFF ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type is "Release"
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.16", minimum required
is "2.7")
CMake Deprecation Warning at CMakeLists.txt:138 (cmake_policy):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.16")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found
version "2.5.5")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE)
-- Found CyrusSASL: /usr/lib/x86_64-linux-gnu/libsasl2.so  
-- Regenerating AMQP protocol sources
-- /usr/src/qpid-cpp/src/qpid/broker/management-schema.xml is newer
-- /usr/src/qpid-cpp/src/qpid/acl/management-schema.xml is newer
-- /usr/src/qpid-cpp/src/qpid/ha/management-schema.xml is newer
-- /usr/src/qpid-cpp/src/qpid/legacystore/management-schema.xml is newer
-- /usr/src/qpid-cpp/src/qpid/linearstore/management-schema.xml is newer
-- Regenerating Qpid Management Framework sources
-- Can't locate the doxygen command; user documentation cannot be generated
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   program_options
--   system
-- Looking for uuid_generate
-- Looking for uuid_generate - not found
-- Looking for uuid_generate in uuid
-- Looking for uuid_generate in uuid - found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for include file sys/sdt.h
-- Looking for include file sys/sdt.h - not found
-- Looking for include file sys/poll.h
-- Looking for include file sys/poll.h - found
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - found
-- Check for size_t
-- Check for size_t -- distinct type
-- Checking for module 'nss'
--   Found nss, version 3.42.1
-- Looking for _init in xerces-c
-- Looking for _init in xerces-c - found
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - found
-- Looking for C++ include xqilla/xqilla-simple.hpp
-- Looking for C++ include xqilla/xqilla-simple.hpp - found
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - found
-- Looking for ibv_create_qp in ibverbs
-- Looking for ibv_create_qp in ibverbs - found
-- Looking for rdma_create_id in rdmacm
-- Looking for rdma_create_id in rdmacm - found
-- Looking for include file infiniband/verbs.h
-- Looking for include file infiniband/verbs.h - found
-- Looking for include file rdma/rdma_cma.h
-- Looking for include file rdma/rdma_cma.h - found
-- Found Proton: optimized;/usr/local/lib/libqpid-proton-core.so;debug;/usr/local/lib/libqpid-proton-core.so
(found version "0.28.0")
-- Qpid proton found, amqp 1.0 support enabled
-- Looking for LOG_AUTHPRIV
-- Looking for LOG_AUTHPRIV - found
-- Looking for LOG_FTP
-- Looking for LOG_FTP - found
-- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Looking for io_queue_init in aio
-- Looking for io_queue_init in aio - found
-- Looking for include file libaio.h
-- Looking for include file libaio.h - found
-- BerkeleyDB for C++ and libaio found, Legacystore support disabled by default (deprecated,
use linearstore instead).
-- Legacystore is excluded from build.
-- Found BerkeleyDB: /usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- BerkeleyDB for C++ and libaio found, Linearstore support enabled.
-- Including BDB from /usr/include/db_cxx.h
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12")
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found
version "2.5.5")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.16")
-- Found Perl: /usr/bin/perl (found version "5.28.1")
-- Found PerlLibs: /usr/lib/x86_64-linux-gnu/libperl.so.5.28 (found version "5.28.1")
-- Building Python bindings
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
  Policy CMP0078 is not set.  Run "cmake --help-policy CMP0078" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  bindings/qpid/python/CMakeLists.txt:35 (swig_add_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/qpid-cpp/bld
+ make all
Scanning dependencies of target management_python_build
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build
running build_py
creating /usr/src/qpid-cpp/bld/management/python/lib
creating /usr/src/qpid-cpp/bld/management/python/lib/qpidtoollibs
copying lib/qpidtoollibs/broker.py -> /usr/src/qpid-cpp/bld/management/python/lib/qpidtoollibs
copying lib/qpidtoollibs/disp.py -> /usr/src/qpid-cpp/bld/management/python/lib/qpidtoollibs
copying lib/qpidtoollibs/__init__.py -> /usr/src/qpid-cpp/bld/management/python/lib/qpidtoollibs
copying lib/qpidtoollibs/config.py -> /usr/src/qpid-cpp/bld/management/python/lib/qpidtoollibs
creating /usr/src/qpid-cpp/bld/management/python/lib/qmf
copying lib/qmf/client.py -> /usr/src/qpid-cpp/bld/management/python/lib/qmf
copying lib/qmf/console.py -> /usr/src/qpid-cpp/bld/management/python/lib/qmf
copying lib/qmf/__init__.py -> /usr/src/qpid-cpp/bld/management/python/lib/qmf
running build_scripts
creating /usr/src/qpid-cpp/bld/management/python/bin
copying and adjusting bin/qpid-config -> /usr/src/qpid-cpp/bld/management/python/bin
...
changing mode of /usr/src/qpid-cpp/bld/management/python/bin/qpid-tool.bat from 644 to 755
[  0%] Built target management_python_build
Scanning dependencies of target qpidtypes
[  0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Exception.cpp.o
[  0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Uuid.cpp.o
[  0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Variant.cpp.o
[  0%] Linking CXX shared library libqpidtypes.so
[  0%] Built target qpidtypes
Scanning dependencies of target qpidcommon
[  0%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/framing/reply_exceptions.cpp.o
...
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/SaslFactory.cpp.o
/usr/src/qpid-cpp/src/qpid/SaslFactory.cpp: In constructor 'qpid::CyrusSasl::CyrusSasl(const
string&, const string&, const string&, const string&, int, int, bool)':
/usr/src/qpid-cpp/src/qpid/SaslFactory.cpp:215:46: warning: cast between incompatible function
types from 'int (*)(void*, int, const char**, unsigned int*)' to 'int (*)()' [-Wcast-function-type]
         callbacks[i].proc = (CallbackProc*) &getUserFromSettings;
                                             
^~~~~~~~~~~~~~~~~~~
/usr/src/qpid-cpp/src/qpid/SaslFactory.cpp:223:50: warning: cast between incompatible function
types from 'int (*)(sasl_conn_t*, void*, int, sasl_secret_t**)' {aka 'int (*)(sasl_conn*,
void*, int, sasl_secret**)'} to 'int (*)()' [-Wcast-function-type]
             callbacks[i].proc = (CallbackProc*) &getPasswordFromSettings;
                                                 
^~~~~~~~~~~~~~~~~~~~~~~
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/posix/SystemInfo.cpp.o
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/epoll/EpollPoller.cpp.o
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/cyrus/CyrusSecurityLayer.cpp.o
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/ssl/check.cpp.o
[ 21%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/ssl/util.cpp.o
[ 22%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/ssl/SslSocket.cpp.o
In file included from /usr/src/qpid-cpp/src/qpid/sys/ssl/SslSocket.cpp:47:
/usr/include/nss/key.h:9:71: note: #pragma message: key.h is deprecated. Please include keyhi.h
instead.
 #pragma message("key.h is deprecated. Please include keyhi.h instead.")
                                                                      
^
[ 22%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/assert.cpp.o
...
[ 34%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/posix/MemStat.cpp.o
[ 34%] Linking CXX shared library libqpidcommon.so
[ 34%] Built target qpidcommon
Scanning dependencies of target qpidbroker
[ 34%] Building CXX object src/CMakeFiles/qpidbroker.dir/qmf/org/apache/qpid/broker/System.cpp.o
...
[ 44%] Building CXX object src/CMakeFiles/qpidbroker.dir/qpid/broker/SaslAuthenticator.cpp.o
/usr/src/qpid-cpp/src/qpid/broker/SaslAuthenticator.cpp:128:52: warning: cast between incompatible
function types from 'int (*)(void*, const char*, sasl_verify_type_t)' to 'qpid::broker::sasl_callback_ft'
{aka 'int (*)()'} [-Wcast-function-type]
         {   SASL_CB_VERIFYFILE, (sasl_callback_ft)&_sasl_verifyfile_callback,
NULL },
                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~
[ 44%] Building CXX object src/CMakeFiles/qpidbroker.dir/qpid/broker/SignalHandler.cpp.o
...
[ 55%] Building CXX object src/CMakeFiles/qpidbroker.dir/qpid/broker/SelectorExpression.cpp.o
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp: In member function 'qpid::broker::Expression*
qpid::broker::Parse::parseExactNumeric(const qpid::broker::Token&, bool)':
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp: In member function 'qpid::broker::Expression*
qpid::broker::Parse::orExpression(qpid::broker::Tokeniser&)':
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp: In member function 'qpid::broker::Expression*
qpid::broker::Parse::unaryArithExpression(qpid::broker::Tokeniser&)':
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
/usr/src/qpid-cpp/src/qpid/broker/SelectorExpression.cpp:1041:13: error: '*((void*)& s
+17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (s[1]=='b' || s[1]=='B') {
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:1792: src/CMakeFiles/qpidbroker.dir/qpid/broker/SelectorExpression.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:848: src/CMakeFiles/qpidbroker.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
{noformat}

> Problem building on Fedora rawhide
> ----------------------------------
>
>                 Key: QPID-7709
>                 URL: https://issues.apache.org/jira/browse/QPID-7709
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: qpid-python-1.35.0
>         Environment: Fedora rawhide
>            Reporter: Irina Boverman
>            Priority: Major
>
> Fails to build in Fedora rawhide:
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/Selector.cpp: In member function
'const qpid::broker::Value qpid::broker::MessageSelectorEnv::specialValue(const string&)
const':
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/Selector.cpp:169:11: error: 'v'
may be used uninitialized in this function [-Werror=maybe-uninitialized]
>          v = Value();
>          ~~^~~~~~~~~
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp: In member
function 'qpid::broker::Expression* qpid::broker::Parse::orExpression(qpid::broker::Tokeniser&)':
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3234: src/CMakeFiles/qpidbroker.dir/qpid/broker/Selector.cpp.o]
Error 1
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp: In member
function 'qpid::broker::Expression* qpid::broker::Parse::unaryArithExpression(qpid::broker::Tokeniser&)':
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> /builddir/build/BUILD/qpid-cpp-1.35.0/src/qpid/broker/SelectorExpression.cpp:1041:13:
error: '*((void*)& s +17)' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>      if (s[1]=='b' || s[1]=='B') {
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/qpidbroker.dir/build.make:3258: src/CMakeFiles/qpidbroker.dir/qpid/broker/SelectorExpression.cpp.o]
Error 1



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message