dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

mktemp: mkdtemp failed on -p: File exists

Open poma opened this issue 3 years ago • 2 comments

$ seth debug 0xf6302f3d2cbc1bae874becfb8342802dcda981eaef55f5df0c22c6a737bd78c2
mktemp: mkdtemp failed on -p: File exists
mktemp: mkdtemp failed on /tmp: File exists

Looks like it's caused by https://github.com/dapphub/dapptools/blob/master/src/seth/libexec/seth/seth-debug#L12 and https://github.com/dapphub/dapptools/blob/master/src/seth/libexec/seth/seth-debug#L33

Mac version of mktemp doesn't seem to have -p option and it's marked as deprecated here https://linux.die.net/man/1/mktemp

poma avatar Nov 25 '21 10:11 poma

one solution would be to make sure seth uses gnu mktemp, as we already do with sed for example

MrChico avatar Dec 07 '21 15:12 MrChico

how would we do that?

d-xo avatar Jan 10 '22 17:01 d-xo