Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#72740 closed defect (fixed)

smake: Failed to open statefile for smake: permission denied

Reported by: mrkapqa Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.11.4
Component: base Version: 2.11.3
Keywords: Cc: jmroot (Joshua Root)
Port: smake

Description

Hello ,

would like to use cdrtools for backup dvd

however this time i got error;

please this maybe an error on my side, but have not seen what went wrong.

this should probably be post in userforum.

Attachments (1)

smake.log (7.2 KB) - added by mrkapqa 10 months ago.

Download all attachments as: .zip

Change History (9)

Changed 10 months ago by mrkapqa

Attachment: smake.log added

comment:1 Changed 10 months ago by jmroot (Joshua Root)

Component: portsbase
Keywords: cdrtools removed
Port: smake added
Summary: (10.14)(cdrtools) Failed to open statefile for smake: permission deniedsmake: Failed to open statefile for smake: permission denied

Could you please attach the output of the following command?

ls -lR /opt/local/var/macports/build/*smake*

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Cc: jmroot added

comment:3 Changed 10 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In bc9bfca6eb00b440e796bc02563b7a130a771d80/macports-base (master):

create_workpath: rework to handle more cases

This may previously have not handled some paths created by older
base versions correctly.

Closes: #72740

comment:4 Changed 10 months ago by jmroot (Joshua Root)

Milestone: MacPorts 2.11.4

It's hard to be certain without a reproduction recipe that this change fixed the specific issue in this ticket, but it should at least be handling some cases correctly that it didn't before.

comment:5 Changed 10 months ago by mrkapqa

ls -lR /opt/local/var/macports/build/*smake*
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake:
total 0
lrwxr-xr-x  1 macports  wheel  40 Jul 29 21:08 smake -> /opt/local/var/macports/build/smakf664FE

/opt/local/var/macports/build/smake-30d7d72a:
total 0
drwxr-xr-x  4 root  wheel  128 Jul 29 21:33 work

/opt/local/var/macports/build/smake-30d7d72a/work:

comment:6 Changed 10 months ago by jmroot (Joshua Root)

Thanks, that confirms that there was an older build directory with a different naming convention, which wasn't handled correctly. Does the problem go away after updating to MacPorts 2.11.4?

comment:7 Changed 10 months ago by mrkapqa

yes , problem is solved; installing now, thanks very much.

comment:8 Changed 10 months ago by jmroot (Joshua Root)

Great, thanks for confirming.

Note: See TracTickets for help on using tickets.