Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

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

output.txt (38.3 KB) - added by vakuumfluktuation@… 15 years ago.
debug build output of scalc

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by vakuumfluktuation@…

Attachment: output.txt added

debug build output of scalc

comment:1 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Should be fixed in r42491 and r42492.

comment:2 Changed 15 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 in reply to:  2 ; Changed 15 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 in reply to:  3 Changed 15 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!

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.