#16274: include system pkgconfig path
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.2
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Leif Leonhardy
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/include_system_pkgconfig_path|  
4067e95b238af02153264658e848ef8f630e0932
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by leif):

 * status:  needs_work => needs_review


Comment:

 Replying to [comment:36 git]:
 > Branch pushed to git repo; I updated commit sha1. New commits:
 >
 
||[http://git.sagemath.org/sage.git/commit/?id=4067e95b238af02153264658e848ef8f630e0932
 4067e95]||{{{avoid potential race when creating pkg-config}}}||

 Works for me:
 {{{
 ...
 M4, shell:
 /usr/bin/pkg-config

 M4, bash:
 /usr/bin/pkg-config

 Generated script:
 =================
 #!/usr/bin/env bash

 if [ -z "$SAGE_LOCAL" ]; then
     echo >&2 "This script requires that SAGE_LOCAL is set."
     exit 1
 fi

 if [ -z "$PKG_CONFIG_PATH" ]; then
     export
 PKG_CONFIG_PATH="$SAGE_LOCAL/lib/pkgconfig:$SAGE_LOCAL/share/pkgconfig"
 else
     export
 
PKG_CONFIG_PATH="$SAGE_LOCAL/lib/pkgconfig:$SAGE_LOCAL/share/pkgconfig:$PKG_CONFIG_PATH"
 fi



 exec /usr/bin/pkg-config "$@"
 =================

 real    0m3.969s
 user    0m1.660s
 sys     0m0.572s
 Successfully installed pkgconf-0.9.4
 Running the test suite for pkgconf-0.9.4...
 +-- /usr/lib/pkgconfig found, using it for the pkg-config test.
     +-- fontconfig found, using it for the pkg-config test.
    +-- gtk+-3.0 not found, ignoring.
    +-- harfbuzz not found, ignoring.
     +-- x11 found, using it for the pkg-config test.
 +-- /usr/lib64/pkgconfig found, using it for the pkg-config test.
     +-- fontconfig found, using it for the pkg-config test.
    +-- gtk+-3.0 not found, ignoring.
    +-- harfbuzz not found, ignoring.
     +-- x11 found, using it for the pkg-config test.
 +-- /usr/share/pkgconfig found, using it for the pkg-config test.
    +-- fontconfig not found, ignoring.
    +-- gtk+-3.0 not found, ignoring.
    +-- harfbuzz not found, ignoring.
    +-- x11 not found, ignoring.

 real    0m0.018s
 user    0m0.000s
 sys     0m0.000s
 }}}

 [[BR]]

 I still don't get what goes wrong or who's to blame otherwise.

 [[BR]]

 Varying indentation of found vs. ignored `.pc` files is presumably not
 intentional... ;-)

--
Ticket URL: <http://trac.sagemath.org/ticket/16274#comment:38>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to