Opened 13 years ago

Closed 12 years ago

#31711 closed defect (fixed)

py26-twisted build fails on Lion / Xcode 4.2

Reported by: dizel@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: mcmcguirl@…, chris@…, larryv (Lawrence Velázquez), glenngukild@…
Port: py26-twisted

Description

sudo port install py26-twisted
--->  Computing dependencies for py26-twisted
--->  Building py26-twisted
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for py26-twisted is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-twisted/py26-twisted/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (4)

main.log (24.4 KB) - added by dizel@… 13 years ago.
main.2.log (116.9 KB) - added by mcmcguirl@… 13 years ago.
main.3.log (22.4 KB) - added by chris@… 13 years ago.
Portfile-py26-twisted.diff (1.1 KB) - added by larryv (Lawrence Velázquez) 13 years ago.
fix, update to Twisted 11.1.0

Download all attachments as: .zip

Change History (18)

Changed 13 years ago by dizel@…

Attachment: main.log added

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to mcalhoun@…

comment:2 Changed 13 years ago by mcmcguirl@…

I get the same error. I'm trying to install deluge on lion and it gets stuck there.

--->  Computing dependencies for boost
--->  Cleaning boost
--->  Computing dependencies for deluge
--->  Dependencies to be installed: py26-twisted py26-twisted py26-twisted-web2 py26-xdg py26-numeric
--->  Building py26-twisted
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install py26-twisted
Log for py26-twisted is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-twisted/py26-twisted/main.log
Error: The following dependencies were not installed: py26-twisted py26-twisted py26-twisted-web2 py26-xdg py26-numeric
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Can anybody help?

Changed 13 years ago by mcmcguirl@…

Attachment: main.2.log added

comment:3 Changed 13 years ago by mcmcguirl@…

Cc: mcmcguirl@… added

Cc Me!

comment:4 Changed 13 years ago by chris@…

Cc: chris@… added

Cc Me!

comment:5 Changed 13 years ago by chris@…

I have same issue, trying to install hellanzb.

Changed 13 years ago by chris@…

Attachment: main.3.log added

comment:6 Changed 13 years ago by larryv (Lawrence Velázquez)

Upgrading the port to v11.1.0 fixes Twisted on Lion for me.

Changed 13 years ago by larryv (Lawrence Velázquez)

Attachment: Portfile-py26-twisted.diff added

fix, update to Twisted 11.1.0

comment:7 Changed 13 years ago by larryv (Lawrence Velázquez)

Cc: larry.velazquez@… added

Cc Me!

comment:8 Changed 13 years ago by glenngukild@…

This might be somewhat of a newbie-question, but how do I upgrade to Twisted v. 11.1.0 ? I am trying to run Hellanzb. It was running just fine till I did a 'port upgrade outdated'. The upgrade fails with the same error as the OP, and Hellanzb has stopped working.

comment:9 Changed 13 years ago by glenngukild@…

Cc: glenngukild@… added

Cc Me!

comment:10 Changed 13 years ago by daverz@…

"how do I upgrade to Twisted v. 11.1.0 ?"

You need to apply the patch that Larry posted:

cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py26-twisted/ cat ~/Downloads/Portfile-py26-twisted.diff | sudo patch

Then you can install hellanzb. (I used the find command to find the py26-twisted Portfile.)

comment:11 Changed 13 years ago by daverz@…

Formatting got hosed.

cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py26-twisted/ 
cat ~/Downloads/Portfile-py26-twisted.diff | sudo patch

comment:12 Changed 13 years ago by glenngukild@…

Thanks! Still can't get Hellanzb to work, but at least the error message is different now and the py26-twisted build seems to be fine.

comment:13 Changed 12 years ago by jmroot (Joshua Root)

This should be taken care of via #32645.

comment:14 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.