[MacPorts] #17352: scalc tries to install for wrong user ("bin")
#17352: scalc tries to install for wrong user ("bin") ------------------------------------------------+--------------------------- Reporter: vakuumfluktuation@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: scalc, calc | Port: scalc ------------------------------------------------+--------------------------- Hi, I just tried building "scalc" out of curiosity. It through several errors like that: {{{ chown: bin: Invalid argument }}} ...seems it tries to set the user to '''bin''' before installing. Which doesn't exist!? - should it be there? I did some grep'ing and then went through some files I thought relevant and changed the variables '''INSUSR_DEF''' and '''DEFINSUSR''' from '''bin''' to '''root''' (and did similar with the groups setting - from '''bin''' to '''admin'''). That allowed finishing the install. Though I had another problem with already having a '''calc''' executable installed from the '''calc'''-port. Is that intended? Shouldn't/Couldn't the '''scalc'''-executable be named '''scalc''' instead of '''calc''' to avoid that? Regards, Sven PS: Full debug output of the build without changes is attached. -- Ticket URL: <http://trac.macports.org/ticket/17352> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17352: scalc tries to install for wrong user ("bin") -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: scalc, calc Port: scalc | -------------------------------------------------+-------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r42491 and r42492. -- Ticket URL: <http://trac.macports.org/ticket/17352#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17352: scalc tries to install for wrong user ("bin") -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: scalc, calc Port: scalc | -------------------------------------------------+-------------------------- Comment(by vakuumfluktuation@…): Wow that was fast... It installs cleanly now. Thanks! It does get '''smake''' as a dependency now, though it says: {{{ $ port deps scalc scalc has no dependencies $ port dependents smake smake has no dependents! }}} ...strange! -- Ticket URL: <http://trac.macports.org/ticket/17352#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17352: scalc tries to install for wrong user ("bin") -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: scalc, calc Port: scalc | -------------------------------------------------+-------------------------- Comment(by blb@…): Replying to [comment:2 vakuumfluktuation@…]:
It does get '''smake''' as a dependency now, though it says: [[BR]] $ port deps scalc[[BR]] scalc has no dependencies
The PortIndex probably wasn't updated yet when you ran selfupdate/sync; if you do that again, then try deps, it should show up.
$ port dependents smake[[BR]] smake has no dependents!
It's only a build-time dependency, so once scalc is installed, smake is no longer needed, hence there being no dependents. -- Ticket URL: <http://trac.macports.org/ticket/17352#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17352: scalc tries to install for wrong user ("bin") -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: scalc, calc Port: scalc | -------------------------------------------------+-------------------------- Comment(by vakuumfluktuation@…):
The PortIndex probably wasn't updated yet when you ran selfupdate/sync; if you do that again, then try deps, it should show up.
Right!
It's only a build-time dependency, so once scalc is installed, smake is no longer needed, hence there being no dependents.
I should have thought about that... Thanks and best regards! -- Ticket URL: <http://trac.macports.org/ticket/17352#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts