can't upgrade py27-zmq
I have today run across a failure to update py27-zmq. The output seems non-instructive so I am hoping to get some help. I paste the output of my attempt here: comermacpro:MarkFiniteDiffDerivativs comerduncan$ sudo port upgrade py27-zmq --- Scanning binaries for linking errors: 100.0% --- Found 12 broken file(s), matching files to ports --- Found 1 broken port(s), determining rebuild order --- Rebuilding in order py27-zmq @14.1.1 --- Computing dependencies for py27-zmq --- Cleaning py27-zmq --- Scanning binaries for linking errors: 100.0% --- Found 12 broken file(s), matching files to ports --- Found 1 broken port(s), determining rebuild order --- Rebuilding in order py27-zmq @14.1.1 --- Computing dependencies for py27-zmq --- Fetching distfiles for py27-zmq --- Verifying checksums for py27-zmq --- Extracting py27-zmq --- Configuring py27-zmq --- Building py27-zmq Error: org.macports.build for port py27-zmq returned: command execution failed Please see the log file for port py27-zmq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log Error: Unable to upgrade port: 1 Error rebuilding py27-zmq while executing error Error rebuilding $portname (procedure revupgrade_scanandrebuild line 382) invoked from within revupgrade_scanandrebuild broken_port_counts $opts (procedure macports::revupgrade line 5) invoked from within macports::revupgrade $opts (procedure action_revupgrade line 2) invoked from within action_revupgrade $action $portlist $opts (procedure action_upgrade line 25) invoked from within $action_proc $action $portlist [array get global_options] (procedure process_cmd line 93) invoked from within process_cmd $remaining_args invoked from within if { [llength $remaining_args] 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining... (file /opt/local/bin/port line 4857) Thanks for your help!! Comer ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
On Mon, Apr 14, 2014 at 2:52 PM, Comer Duncan comer.dun...@gmail.comwrote: Please see the log file for port py27-zmq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log Without this file, nobody can tell what is going on. (I will note that it looks like it believed nothing needed to be upgraded; it was the post-action sanity check that failed and tried to force a rebuild.) -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
The important bit was: At 2:52 PM -0400 4/14/14, Comer Duncan wrote: Please see the log file for port py27-zmq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log You might try sudo port clean py27-zmq sudo port install py27-zmq and see if it was a temporary glitch. If not, attach the log file so someone can help. Craig ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
Attach the log to a ticket, assuming there isn’t already one. On Apr 14, 2014, at 14:52, Comer Duncan comer.dun...@gmail.com wrote: --- Building py27-zmq Error: org.macports.build for port py27-zmq returned: command execution failed Please see the log file for port py27-zmq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-zmq/py27-zmq/main.log ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
Comer Duncan comer.dun...@gmail.com writes: I have today run across a failure to update py27-zmq. The output seems non-instructive so I am hoping to get some help. I paste the output of my attempt here: comermacpro:MarkFiniteDiffDerivativs comerduncan$ sudo port upgrade py27-zmq Ah, there's your problem: finite difference. All the cool kids use finite elements! ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
Please keep discussion on the list. On Mon, Apr 14, 2014 at 3:08 PM, Comer Duncan comer.dun...@gmail.comwrote: Ok, am attaching the main.log file. :info:build stream = open(path, 'rb') :info:build IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_dateutil-2.2-py2.7.egg-info/top_level.txt' Somehow the named file is not readable. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Fwd: can't upgrade py27-zmq
Sorry, I forgot to include the list when replying to Brandon. Here is what I sent. -- Forwarded message -- From: Comer Duncan comer.dun...@gmail.com Date: Mon, Apr 14, 2014 at 3:30 PM Subject: Re: can't upgrade py27-zmq To: Brandon Allbery allber...@gmail.com Thanks Brandon. Here is what I see: comermacpro:site-packages comerduncan$ cd python_dateutil-2.2-py2.7.egg-info/ comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ ls total 48 -rw--- 1 root wheel 970 Mar 27 18:21 PKG-INFO -rw--- 1 root wheel 563 Mar 27 18:21 SOURCES.txt -rw--- 1 root wheel1 Mar 27 18:21 dependency_links.txt -rw--- 1 root wheel3 Mar 27 18:21 requires.txt -rw--- 1 root wheel9 Mar 27 18:21 top_level.txt -rw--- 1 root wheel1 Nov 1 04:29 not-zip-safe comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ cat top_level.txt cat: top_level.txt: Permission denied comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ sudo cat top_level.txt Password: dateutil So, how come root rw is not enough for sudo?? If that is not the likely thing, then what might I do next? Thanks. Comer On Mon, Apr 14, 2014 at 3:17 PM, Brandon Allbery allber...@gmail.comwrote: Please keep discussion on the list. On Mon, Apr 14, 2014 at 3:08 PM, Comer Duncan comer.dun...@gmail.comwrote: Ok, am attaching the main.log file. :info:build stream = open(path, 'rb') :info:build IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_dateutil-2.2-py2.7.egg-info/top_level.txt' Somehow the named file is not readable. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
On Mon, Apr 14, 2014 at 3:31 PM, Comer Duncan comer.dun...@gmail.comwrote: comermacpro:site-packages comerduncan$ cd python_dateutil-2.2-py2.7.egg-info/ comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ ls total 48 -rw--- 1 root wheel 970 Mar 27 18:21 PKG-INFO -rw--- 1 root wheel 563 Mar 27 18:21 SOURCES.txt -rw--- 1 root wheel1 Mar 27 18:21 dependency_links.txt -rw--- 1 root wheel3 Mar 27 18:21 requires.txt -rw--- 1 root wheel9 Mar 27 18:21 top_level.txt -rw--- 1 root wheel1 Nov 1 04:29 not-zip-safe comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ cat top_level.txt cat: top_level.txt: Permission denied comermacpro:python_dateutil-2.2-py2.7.egg-info comerduncan$ sudo cat top_level.txt Password: dateutil So, how come root rw is not enough for sudo?? If that is not the likely thing, then what might I do next? 1. It needs to be readable by everyone, not just root. 2. MacPorts does not do actual build operations as root, but as an unprivileged user, for sandboxing reasons. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: can't upgrade py27-zmq
On Mon, Apr 14, 2014 at 3:59 PM, Comer Duncan comer.dun...@gmail.comwrote: Ok, I did chmod a+r while in the subdirectory where the permissions complaint occurred and then did sudo clean py27-zmq and then sudo install py27-zmq. This time all went fine, apparently. Thanks for the help!! I'd still be worried about how they got that way to start with. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users