Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.6
    • Component/s: proton-c
    • Labels:
      None

      Description

      Description of problem:

      From /usr/lib64/pkgconfig/libqpid-proton.pc -

      prefix=/usr
      exec_prefix=/usr
      libdir=/usr/usr/lib64
      includedir=/usr/usr/include

      Note that prefix and exec_prefix are correct but libdir and includedir don't make any sense.

      This might be an issue with the upstream package or the rpm packaging process. It looks like there is an extraneous /usr/ in the way that libdir and indlucedir are constructed.

      Version-Release number of selected component (if applicable):
      0.4-3

      How reproducible:
      100%

      Steps to Reproduce:
      1. yum install qpid-proton-c-devel
      2.
      3.

      Actual results:
      As description

      Expected results:
      File extract above should be:

      prefix=/usr
      exec_prefix=/usr
      libdir=/usr/lib64
      includedir=/usr/include

      Additional info:

        Activity

        Darryl L. Pierce made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Darryl L. Pierce [ mcpierce ]
        Fix Version/s 0.6 [ 12324883 ]
        Resolution Fixed [ 1 ]
        Hide
        ASF subversion and git services added a comment -

        Commit 1517673 from Darryl L. Pierce in branch 'proton/trunk'
        [ https://svn.apache.org/r1517673 ]

        PROTON-412: Fix the include and lib directories in libqpid-proton.pc

        If the paths aren't passed in from the command line as absolute then
        prepends them with CMAKE_INSTALL_PREFIX before generated the package
        config file.

        Show
        ASF subversion and git services added a comment - Commit 1517673 from Darryl L. Pierce in branch 'proton/trunk' [ https://svn.apache.org/r1517673 ] PROTON-412 : Fix the include and lib directories in libqpid-proton.pc If the paths aren't passed in from the command line as absolute then prepends them with CMAKE_INSTALL_PREFIX before generated the package config file.
        Hide
        Darryl L. Pierce added a comment -

        The way Fedora's packaging system, koji, invokes it is with:

        /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 .

        Show
        Darryl L. Pierce added a comment - The way Fedora's packaging system, koji, invokes it is with: /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 .
        Hide
        Rafael H. Schloming added a comment -

        I wasn't able to reproduce this issue on trunk or 0.5. Can you post the exact way that rpm is invoking cmake and make?

        Show
        Rafael H. Schloming added a comment - I wasn't able to reproduce this issue on trunk or 0.5. Can you post the exact way that rpm is invoking cmake and make?
        Darryl L. Pierce created issue -

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development