Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-949

proton doesn't build with ccache swig

    XMLWordPrintableJSON

Details

    Description

      Thanks to aconway for finding this and saving me a day of madness and horror.

      On freshly-downloaded proton tree, if I use this swig:

      /usr/lib64/ccache/swig

      the build fails this way:
      qpid-proton/build/proton-c/bindings/python/cprotonPYTHON_wrap.c:4993:25: error: 'PN_HANDLE' undeclared (first use in this function)
      PNI_PYTRACER = *((PN_HANDLE *)(argp));

      ----------

      but if I delete that swig executable, and use the one in /bin/swig ,
      then everything works.

      yikes.

      aconway believes the bug is in ccache-swig, not in proton, but I want to put this here in case this bites someone else in Proton Land.

      Attachments

        Issue Links

          Activity

            People

              aconway Alan Conway
              mgoulish Michael Goulish
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: