Re: Time Machine restore

2016-03-05 Thread Brandon Allbery
On Sat, Mar 5, 2016 at 8:47 PM, Mark Brethen  wrote:
>
> > On Mar 5, 2016, at 7:38 PM, Brandon Allbery  wrote:
> >
> > On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen 
> wrote:
> > I had my hard drive wiped with a clean install of El Capitan. I noticed
> in the Time Machine checklist a MacPorts item with a message that MacPorts
> Home would moved to my user (size was zero kb). What is this and do I need
> to re-install macports? port command seems to work fine and I did not
> change operating systems.
> >
> > MacPorts sets up a non-GUI user that it does builds under (instead of
> doing them as root). Apparently Time Machine doesn't like this and wants to
> make it match your user,
> >
> > I would skip that part of it and reinstall MacPorts to make sure the
> user is set up properly. I don't know offhand if TM will restore things
> like launchd plists properly, or if you should follow Migration to make
> sure installed ports haven't lost anything.
>
> Does that include all of the ports I have installed?
>

Just reinstalling MacPorts would not affect installed ports. The Migration
stuff (https://trac.macports.org/wiki/Migration) would involve removing and
reinstalling ports.

I suppose you could just reinstall the MacPorts base and then verify that
all active ports have all their files. Reinstall any ports that report
missing files.

oIFS="$IFS"
# note that this is a single newline in single quotes
IFS='
'
for port in $(port -q echo active); do
  for file in $(port -q contents "$port" | sed -n 's/^  //p'); do
test -e "$file" || echo "MISSING from $port: $file"
  done
done
IFS="$oIFS"

-- 
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: Time Machine restore

2016-03-05 Thread Mark Brethen

> On Mar 5, 2016, at 7:38 PM, Brandon Allbery  wrote:
> 
> On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen  wrote:
> I had my hard drive wiped with a clean install of El Capitan. I noticed in 
> the Time Machine checklist a MacPorts item with a message that MacPorts Home 
> would moved to my user (size was zero kb). What is this and do I need to 
> re-install macports? port command seems to work fine and I did not change 
> operating systems.
> 
> MacPorts sets up a non-GUI user that it does builds under (instead of doing 
> them as root). Apparently Time Machine doesn't like this and wants to make it 
> match your user,
> 
> I would skip that part of it and reinstall MacPorts to make sure the user is 
> set up properly. I don't know offhand if TM will restore things like launchd 
> plists properly, or if you should follow Migration to make sure installed 
> ports haven't lost anything.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

Does that include all of the ports I have installed?

Mark




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Time Machine restore

2016-03-05 Thread Brandon Allbery
On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen  wrote:

> I had my hard drive wiped with a clean install of El Capitan. I noticed in
> the Time Machine checklist a MacPorts item with a message that MacPorts
> Home would moved to my user (size was zero kb). What is this and do I need
> to re-install macports? port command seems to work fine and I did not
> change operating systems.


MacPorts sets up a non-GUI user that it does builds under (instead of doing
them as root). Apparently Time Machine doesn't like this and wants to make
it match your user,

I would skip that part of it and reinstall MacPorts to make sure the user
is set up properly. I don't know offhand if TM will restore things like
launchd plists properly, or if you should follow Migration to make sure
installed ports haven't lost anything.

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


Time Machine restore

2016-03-05 Thread Mark Brethen
I had my hard drive wiped with a clean install of El Capitan. I noticed in the 
Time Machine checklist a MacPorts item with a message that MacPorts Home would 
moved to my user (size was zero kb). What is this and do I need to re-install 
macports? port command seems to work fine and I did not change operating 
systems.


Mark




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Creating the macports user

2016-03-05 Thread Kendall Shaw
If anyone reading this in the future wants to know the answer to the question 
about the macports user, this is the output of dscl . -read /Users/macports:

sAttrTypeNative:accountPolicyData:
 
http://www.apple.com/DTDs/PropertyList-1.0.dtd;>


creationTime
1457041233.9760699
passwordLastSetTime
1457041234.3294621



AppleMetaNodeLocation: /Local/Default
GeneratedUID: CE14C598-53A5-41B1-999B-5FC21845FE3E
NFSHomeDirectory: /opt/local/var/macports/home
Password: *
PrimaryGroupID: 502
RealName: MacPorts
RecordName: macports
RecordType: dsRecTypeStandard:Users
UniqueID: 501
UserShell: /usr/bin/false

Kendall

From: 
>
 on behalf of Kendall Shaw 
>
Date: Thursday, March 3, 2016 at 2:15 PM
To: 
"macports-users@lists.macosforge.org"
 
>
Subject: Re: Creating the macports user

Thanks. I have rerun the installer and run upgrade outdated and it is not 
complaining about the user. So, perhaps  the installation is sane now.

From: Brandon Allbery >
Date: Thursday, March 3, 2016 at 1:30 PM
To: Kendall Shaw >
Cc: 
"macports-users@lists.macosforge.org"
 
>
Subject: Re: Creating the macports user

On Thu, Mar 3, 2016 at 4:16 PM, Kendall Shaw 
> wrote:
Actually, I would still like to know what information is needed to create the 
macports user since I have to wait until an appropriate time to go through the 
migration steps.

Just installing macports via the installer dmg will do it, without disrupting 
installed ports (but again, you will have disrupted some of those anyway 
through missing their startupitems etc.).

--
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: dolfin and vtk

2016-03-05 Thread Marius Schamschula
Gideon,

I created a vtk6 variant, see https://trac.macports.org/ticket/50815

It will be up to the maintainer to commit this. You might want to add yourself 
to the CCs.

On Mar 5, 2016, at 8:32 AM, Gideon Simpson  wrote:

> dolfin appears to be broken on el capitan because it depends on vtk5, which 
> has a built error in 10.11 (see https://trac.macports.org/ticket/49418).  vtk 
> 6, on the other hand, installs without a problem.  is there a way to get 
> dolfin to use the vtk that does work in place of the one that doesn’t?
> 
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

Marius
--
Marius Schamschula




___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


dolfin and vtk

2016-03-05 Thread Gideon Simpson
dolfin appears to be broken on el capitan because it depends on vtk5, which has 
a built error in 10.11 (see https://trac.macports.org/ticket/49418).  vtk 6, on 
the other hand, installs without a problem.  is there a way to get dolfin to 
use the vtk that does work in place of the one that doesn’t?

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users