#17352 closed defect (fixed)
scalc tries to install for wrong user ("bin")
Reported by: | vakuumfluktuation@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | scalc, calc | Cc: | |
Port: | scalc |
Description
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.
Attachments (1)
Change History (6)
Changed 16 years ago by vakuumfluktuation@…
Attachment: | output.txt added |
---|
comment:1 Changed 16 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 16 years ago 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!
comment:3 follow-up: 4 Changed 16 years ago by blb@…
Replying to vakuumfluktuation@…:
It does get smake as a dependency now, though it says:
$ port deps scalc
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
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.
comment:4 Changed 16 years ago 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!
debug build output of scalc