Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Peng Yu
Hi, I have the following crontab entry /tmp$ sudo crontab -l 0 1 * * * sudo nice /opt/local/bin/bash -c set -v; ((echo '== port selfupdate =='; /opt/local/bin/port selfupdate) (echo '== port upgrade outdated =='; /opt/local/bin/port upgrade outdated)) /tmp/portupdate.log 21 But I always see the

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Ryan Schmidt
On Apr 27, 2013, at 08:10, Peng Yu wrote: I have the following crontab entry /tmp$ sudo crontab -l 0 1 * * * sudo nice /opt/local/bin/bash -c set -v; ((echo '== port selfupdate =='; /opt/local/bin/port selfupdate) (echo '== port upgrade outdated =='; /opt/local/bin/port upgrade outdated))

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Stephen Rasku
On Sat, Apr 27, 2013 at 11:29 AM, Ryan Schmidt ryandes...@macports.org wrote: On Apr 27, 2013, at 08:10, Peng Yu wrote: I have the following crontab entry /tmp$ sudo crontab -l 0 1 * * * sudo nice /opt/local/bin/bash -c set -v; ((echo '== port selfupdate =='; /opt/local/bin/port selfupdate)

R Fails to Build

2013-04-27 Thread Rodolfo Aramayo
Hi, I am having trouble upgrading R and I am having trouble determining if a ticket has already been reported Is anyone having the same problem? Should I file a ticket? Thanks --R ___ macports-users mailing list macports-users@lists.macosforge.org

Re: R Fails to Build

2013-04-27 Thread Chris Jones
On 27 Apr 2013, at 08:49 PM, Rodolfo Aramayo raram...@gmail.com wrote: Hi, I am having trouble upgrading R and I am having trouble determining if a ticket has already been reported Is anyone having the same problem? Might help if you bothered to post the exact error you are getting ...

Re: R Fails to Build

2013-04-27 Thread Michael Davis
My attempt failed at the same place (when accessing devQuartz.c in the build). Michael From: Rodolfo Aramayo raram...@gmail.com Date: Saturday, April 27, 2013 2:51 PM To: Chris Jones jon...@hep.phy.cam.ac.uk Cc: Rodolfo Aramayo raram...@gmail.com, MacPorts Users

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Ryan Schmidt
On Apr 27, 2013, at 13:39, Stephen Rasku wrote: Can you even run sudo inside a cron entry? You won't be able to automatically enter the password. There would have to be an entry in /etc/sudoers negating the need for typing a password for this command. You might have to put the entry into

Re: R Fails to Build

2013-04-27 Thread Aljaž Srebrnič
Interesting! I build R just fine on a macbook with 10.8.3. However, R-app needs to be fixed, and I have a patch, I just need the OK by the maintainer. On 27/apr/2013, at 23:15, Michael Davis volcda...@yahoo.com wrote: My attempt failed at the same place (when accessing devQuartz.c in the

Re: R Fails to Build

2013-04-27 Thread Chris Jones
Hi, On 27 Apr 2013, at 09:51 PM, Rodolfo Aramayo raram...@gmail.com wrote: Apologies, My first email (with entire log attached) was put on hold Here I am attaching the last 500 lines of the log file There is always bzip2 ... Thanks --R On Sat, Apr 27, 2013 at 3:23 PM, Chris

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Clemens Lang
On Sat, Apr 27, 2013 at 04:16:50PM -0500, Ryan Schmidt wrote: And running MacPorts via root instead of via sudo will currently cause some problems: http://trac.macports.org/ticket/34221 You could use the workaround I proposed in

Re: R Fails to Build

2013-04-27 Thread Rodolfo Aramayo
On Sat, Apr 27, 2013 at 4:50 PM, Chris Jones jon...@hep.phy.cam.ac.ukwrote: Hi, On 27 Apr 2013, at 09:51 PM, Rodolfo Aramayo raram...@gmail.com wrote: Apologies, My first email (with entire log attached) was put on hold Here I am attaching the last 500 lines of the log file There is

Re: R Fails to Build

2013-04-27 Thread Michael Davis
I'm running 10.6.8. From: Aljaž Srebrnič g...@macports.org Date: Saturday, April 27, 2013 3:44 PM To: Michael Davis volcda...@yahoo.com Cc: Rodolfo Aramayo raram...@gmail.com, Chris Jones jon...@hep.phy.cam.ac.uk, MacPorts Users macports-users@lists.macosforge.org Subject: Re: R Fails to

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Peng Yu
Hi, Where should I put these files and what commands shall be used to load them? On Sat, Apr 27, 2013 at 8:55 PM, Arno Hautala a...@alum.wpi.edu wrote: I use the following launchd task [1] and shell script [2] to automate weekly updates. You can remove the reference to portsign.sh, unless

Re: Correct crontab entry for port selfupdate port upgrade outdated

2013-04-27 Thread Arno Hautala
The basics are that the shell script goes in /usr/local/bin (or anywhere else really, just make sure you edit the plist to point to where the script is). The plist goes in `/Library/LaunchDaemons/`, should be owned by root:admin and have 644 permissions. You can then load the service with: