Re: Troubles installing rc

2014-01-19 Thread Harald Hanche-Olsen
[Joshua Root j...@macports.org (2014-01-19 06:47:31 UTC)]

  destroot fails for rc:
  
  /usr/bin/install -c history /opt/local/bin/- ;\
  rm -f /opt/local/bin/--;  ln /opt/local/bin/- /opt/local/bin/-- ;\
  rm -f /opt/local/bin/-p;  ln /opt/local/bin/- /opt/local/bin/-p ;\
  rm -f /opt/local/bin/--p; ln /opt/local/bin/- /opt/local/bin/--p
  install: /opt/local/bin/-: Operation not permitted
 
 It's installing into ${prefix} directly instead of into
 ${destroot}${prefix} as it should.

Ah, of course. I should have realized. Not used to squinting so hard
at the destroot phase, as it usually succeeds.

 Fixed in r116136.

Thanks. And now there is a binary package too, excellent.

[Davor Cubranic cubra...@stat.ubc.ca (2014-01-19 00:28:33 UTC)]

 You can use “Ticket Query” with “port is” set to “rc”.

Again, I should have realized. The difference between search and query
may not be blindingly obvious, but they are there, next to each other,
so it should have been obvious that if one fails the other might work.
Thanks for your patience.

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


Re: Troubles installing rc

2014-01-19 Thread Eric Gallager
On Sun, Jan 19, 2014 at 3:51 AM, Harald Hanche-Olsen han...@math.ntnu.nowrote:

 [Joshua Root j...@macports.org (2014-01-19 06:47:31 UTC)]

   destroot fails for rc:
  
   /usr/bin/install -c history /opt/local/bin/- ;\
   rm -f /opt/local/bin/--;  ln /opt/local/bin/-
 /opt/local/bin/-- ;\
   rm -f /opt/local/bin/-p;  ln /opt/local/bin/-
 /opt/local/bin/-p ;\
   rm -f /opt/local/bin/--p; ln /opt/local/bin/-
 /opt/local/bin/--p
   install: /opt/local/bin/-: Operation not permitted


Ah, so *that's* where those files were coming from... does anyone who uses
the rc port know why they have to have such weird names? With names like
that, I worry that my shell could possibly misinterpret them...

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

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


Re: Troubles installing rc

2014-01-19 Thread Brandon Allbery
On Sun, Jan 19, 2014 at 9:11 PM, Eric Gallager eg...@gwmail.gwu.edu wrote:

 Ah, so *that's* where those files were coming from... does anyone who
 uses the rc port know why they have to have such weird names? With names
 like that, I worry that my shell could possibly misinterpret them...


Because `rc` is the Plan 9 shell and Plan 9 did not build anything into the
shell that could be done outside of the shell. Heck, `rc` had to have stuff
*added* to its Unix port, because on Plan 9 you don't need to build e.g.
environment setting into the shell.

And those names really aren't even very special even on Unixlikes. People
have a tendency to forget that (and Plan 9 was something of a reaction to
that; as Unix was minimalist compared to its forebears, Plan 9 was a
minimalist reaction to what Unix was turning into).

In any case, there's not much chance of those files interfering with
anything. They may confuse you if you're operating on them without path
prefixes, but that's something you should be aware of anyway.

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


Troubles installing rc

2014-01-18 Thread Harald Hanche-Olsen
Before I get to the main point: How do I search for tickets regarding
the rc port? The search string is too short, and obviously I don't
want all tickets with the letter pair rc appearing in the ticket
description anyway.

destroot fails for rc:

/usr/bin/install -c history /opt/local/bin/- ;\
rm -f /opt/local/bin/--;  ln /opt/local/bin/- /opt/local/bin/-- ;\
rm -f /opt/local/bin/-p;  ln /opt/local/bin/- /opt/local/bin/-p ;\
rm -f /opt/local/bin/--p; ln /opt/local/bin/- /opt/local/bin/--p
install: /opt/local/bin/-: Operation not permitted

Before you ask: Yes, I am running as root. But I'm intrigued by these
lines in the log file:

:notice:destroot ---  Staging rc into destroot
:debug:destroot Can't run destroot under sudo without elevated privileges (due 
to mtree).
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.

It seems like these operations may have failed to work as expected.
Or maybe it's some other newfangled security device misfiring.
I can certainly run the install command by hand without problem.

OS version: 10.9.1
Port version: 2.2.1
Xcode version: 5.0.2

I'd file a ticket, except for my inability to search for relevant
tickets already in the system.

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


Re: Troubles installing rc

2014-01-18 Thread Davor Cubranic
You can use “Ticket Query” with “port is” set to “rc”. Or just use this URL: 
https://trac.macports.org/query?port=rc

Davor

On Jan 18, 2014, at 5:08 AM, Harald Hanche-Olsen han...@math.ntnu.no wrote:

 Before I get to the main point: How do I search for tickets regarding
 the rc port? The search string is too short, and obviously I don't
 want all tickets with the letter pair rc appearing in the ticket
 description anyway.
 
 destroot fails for rc:
 
 /usr/bin/install -c history /opt/local/bin/- ;\
rm -f /opt/local/bin/--;  ln /opt/local/bin/- /opt/local/bin/-- ;\
rm -f /opt/local/bin/-p;  ln /opt/local/bin/- /opt/local/bin/-p ;\
rm -f /opt/local/bin/--p; ln /opt/local/bin/- /opt/local/bin/--p
 install: /opt/local/bin/-: Operation not permitted
 
 Before you ask: Yes, I am running as root. But I'm intrigued by these
 lines in the log file:
 
 :notice:destroot ---  Staging rc into destroot
 :debug:destroot Can't run destroot under sudo without elevated privileges 
 (due to mtree).
 :debug:destroot Run destroot without sudo to avoid root privileges.
 :debug:destroot Going to escalate privileges back to root.
 :debug:destroot euid changed to: 0. egid changed to: 0.
 
 It seems like these operations may have failed to work as expected.
 Or maybe it's some other newfangled security device misfiring.
 I can certainly run the install command by hand without problem.
 
 OS version: 10.9.1
 Port version: 2.2.1
 Xcode version: 5.0.2
 
 I'd file a ticket, except for my inability to search for relevant
 tickets already in the system.
 
 – Harald
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users

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