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

Installed header file include/proton/version.h has the install prefix embedded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • proton-c-0.34.0
    • None
    • proton-c
    • None

    Description

      The <proton/version.h> include file generated by the Proton C build embeds the install prefix which is not something that should be exported by one of the installed Proton header files. If an installation needs it then installed pkgconfig or cmake data should be queried. This was noticed because the python bindings package the core Proton C code:

      The python packaged prepared during the build embeds the install prefix in the file include/proton/version.h file along with the lib versions.

      For example, the package created in the GHA CI build has has:

      #define PN_INSTALL_PREFIX "/Users/runner/work/qpid-proton/qpid-proton/INSTALL"
      

      in file python-qpid-proton-0.34.0/include/proton/version.h

       

      ^ Raised as requested astitcher

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: