Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1904

Compilation error on qpid-dispatch master on Fedora 32

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • Container
    • None

    Description

      [gmurthy@localhost qpid-dispatch]$ gcc --version
      gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6)
      Copyright (C) 2020 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
       

       

      [gmurthy@localhost build]$ make clean
      [gmurthy@localhost build]$ make install
      -- Build type is "RelWithDebInfo" (has debug symbols)
      -- Found Proton: 
      optimized;/opt/qpid-proton/qpid-proton/lib64/libqpid-proton.so;debug;/opt/qpid-proton/qpid-proton/lib64/libqpid-proton.so
       (found version "0.34.0")
      -- Runtime memory checker: gcc/clang address sanitizers
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/gmurthy/opensource/qpid-dispatch/build
      [  1%] Generating schema_enum.h, schema_enum.c
      Scanning dependencies of target qpid-dispatch
      [  1%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/reference_adaptor.c.o
      [  2%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/adaptor_utils.c.o
      [  3%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http_common.c.o
      [  4%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_codec.c.o
      [  4%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_adaptor.c.o
      [  5%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
      [  6%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_server.c.o
      [  7%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_request_info.c.o
      [  7%] Building C object src/CMakeFiles/qpid-dispatch.dir/adaptors/tcp_adaptor.c.o
      [  9%] Building C object src/CMakeFiles/qpid-dispatch.dir/alloc_pool.c.o
      [ 10%] Building C object src/CMakeFiles/qpid-dispatch.dir/amqp.c.o
      [ 11%] Building C object src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o
      [ 11%] Building C object src/CMakeFiles/qpid-dispatch.dir/buffer.c.o
      [ 12%] Building C object src/CMakeFiles/qpid-dispatch.dir/error.c.o
      [ 13%] Building C object src/CMakeFiles/qpid-dispatch.dir/compose.c.o
      [ 14%] Building C object src/CMakeFiles/qpid-dispatch.dir/connection_manager.c.o
      [ 14%] Building C object src/CMakeFiles/qpid-dispatch.dir/container.c.o
      [ 15%] Building C object src/CMakeFiles/qpid-dispatch.dir/discriminator.c.o
      [ 17%] Building C object src/CMakeFiles/qpid-dispatch.dir/dispatch.c.o
      [ 18%] Building C object src/CMakeFiles/qpid-dispatch.dir/entity.c.o
      /home/gmurthy/opensource/qpid-dispatch/src/entity.c: In function ‘qd_entity_set_stringf’:
      /home/gmurthy/opensource/qpid-dispatch/src/entity.c:271:18: error: null format string [-Werror=format-truncation=]
        271 |     size_t len = vsnprintf(dummy, 1, format, ap);
            |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
      make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/build.make:348: src/CMakeFiles/qpid-dispatch.dir/entity.c.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:1073: src/CMakeFiles/qpid-dispatch.dir/all] Error 2
      make: *** [Makefile:161: all] Error 2
       

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            gmurthy Ganesh Murthy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: