BIND 10 #2661: handle space in "-L /path/to/lib" output from python-config

BIND 10 Development do-not-reply at isc.org
Thu Jan 24 23:22:10 UTC 2013


#2661: handle space in "-L /path/to/lib" output from python-config
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:         |              Keywords:
  medium                             |             Sensitive:  0
                  Component:  build  |           Sub-Project:  Core
  system                             |  Estimated Difficulty:  0
               CVSS Scoring:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 On some instance of Solaris (and probably with a particular package
 system), `python(3)-config --ldflags` inserts a space between '-L'
 and its argument like this:
 {{{
 -lresolv -lsocket -lnsl -lintl -ldl -lrt -L /usr/pkg/lib
 /usr/pkg/lib/libssl.a -lm -lpython3.2
 }}}
 This confuses our configure.ac and subsequently causes build failure.

 I'm not sure if we should consider it a bug of python-config, but the
 attached patch works as a workaround.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2661>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list