[MacPorts] #47692: q @7.11: build fails with readline 6.3+

MacPorts noreply at macports.org
Sun May 10 00:09:08 PDT 2015


#47692: q @7.11: build fails with readline 6.3+
----------------------------+--------------------------
  Reporter:  elencolombi@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  q              |
----------------------------+--------------------------

Comment (by ryandesign@…):

 Replying to [ticket:47692 elencolombi@…]:
 > need to install these [ * python26 * py26-numpy * py26-scipy *
 py26-pyqt4 * py26-mysql * py26-lxml] to use ETE
 >
 > this is what I get
 >
 > {{{
 > it060432:~ $ sudo port install [py26-scipy]
 > Password:
 > --->  Cleaning e
 > --->  Computing dependencies for q
 > }}}

 Note that you don't actually need q. MacPorts only tried to install it
 because you used square brackets in your command. You should instead have
 typed:

 {{{
 sudo port install py26-scipy
 }}}

 Run this now; it should work fine and will not require q.

 To explain why MacPorts tried to install q: When you typed `sudo port
 install [py26-scipy]`, with the square brackets around the name, that was
 interpreted as a character set. MacPorts uses the Tcl function
 [http://wiki.tcl.tk/4385 string match] to process your input, which
 handles square brackets in the following way:

 > '''['''''chars''''']'''
 >  Matches any character in the set given by ''chars''. If a sequence of
 the form ''x-y'' appears in ''chars'', then any character between ''x''
 and ''y'', inclusive, will match.

 So when you typed `[py26-scipy]` that was expanded to the following list
 of ports:

  * p
  * y
  * 2
  * all characters between 6 and s inclusive: 6 7 8 9 : ; < = > ? @ A B C D
 E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] !^ _ ` a b c d e f g h i
 j k l m n o p q r s
  * c
  * i
  * p
  * y

 We don't have ports by most of those names; the only ports we do have are
 e, q and R, so MacPorts tried to install those. Your transcript above
 shows that e was successfully installed, and then you got the error on q.
 You don't need them for what you're trying to do. You can clean q and
 uninstall e.

 {{{
 sudo port clean q
 sudo port uninstall e
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47692#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list