Opened 10 years ago

Closed 10 years ago

#47692 closed defect (fixed)

q @7.11: build fails with readline 6.3+

Reported by: elencolombi@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: q

Description (last modified by larryv (Lawrence Velázquez))

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
--->  Building q
Error: org.macports.build for port q returned: command execution failed
Please see the log file for port q for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_q/q/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port q failed

Attachments (1)

main.log (101.2 KB) - added by elencolombi@… 10 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…

Please clean, try installing again, and attach that log if it fails

% sudo port clean q
% sudo port install q

comment:2 Changed 10 years ago by elencolombi@…

I did it, still error

it060432:~ $ sudo port clean q
--->  Cleaning q
it060432:~ $ sudo port install q
--->  Computing dependencies for q
--->  Fetching archive for q
--->  Attempting to fetch q-7.11_3.darwin_14.i386.tbz2 from http://packages.macports.org/q
--->  Attempting to fetch q-7.11_3.darwin_14.i386.tbz2 from http://lil.fr.packages.macports.org/q
--->  Attempting to fetch q-7.11_3.darwin_14.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/q
--->  Fetching distfiles for q
--->  Verifying checksums for q
--->  Extracting q
--->  Applying patches to q
--->  Configuring q
--->  Building q
Error: org.macports.build for port q returned: command execution failed
Please see the log file for port q for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_q/q/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port q failed
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 in reply to:  2 ; Changed 10 years ago by larryv (Lawrence Velázquez)

And you still have not attached the log. The log is the file mentioned in the error message.

Changed 10 years ago by elencolombi@…

Attachment: main.log added

comment:4 in reply to:  3 Changed 10 years ago by elencolombi@…

added.

comment:5 Changed 10 years ago by elencolombi@…

also tried

$ sudo port clean q
$ sudo port selfupdate
$ sudo port install q

but still the same error message....

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Processing of port q failedq @7.11: build fails with readline 6.3+

Thank you for the report. The errors in the log have to do with CPPFunction, which is a readline function which was renamed to rl_completion_func_t a long time ago, and in readline 6.3, the old CPPFunction name was finally removed. I'll see if I can patch q to fix this.

comment:7 in reply to:  description ; Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to 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 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

comment:8 in reply to:  7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

Replying to elencolombi@…:

need to install these [ * python26 * py26-numpy * py26-scipy * py26-pyqt4 * py26-mysql * py26-lxml] to use ETE

Note that the best way to install ETE in MacPorts is to just run:

sudo port install py27-ete2

This is recommended on the ETE project's download page.

Note that this will use Python 2.7, not 2.6. We used to have py26-ete2 in MacPorts but removed it, because we are in the process of removing all Python modules for Python versions earlier than 2.7 (and for Python 3 versions earlier than 3.4).

comment:9 in reply to:  6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

The errors in the log have to do with CPPFunction, which is a readline function which was renamed to rl_completion_func_t a long time ago, and in readline 6.3, the old CPPFunction name was finally removed. I'll see if I can patch q to fix this.

r136030

Note: See TracTickets for help on using tickets.