Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mktemp: mkdtemp failed on -p: File exists #872

Open
poma opened this issue Nov 25, 2021 · 2 comments
Open

mktemp: mkdtemp failed on -p: File exists #872

poma opened this issue Nov 25, 2021 · 2 comments

Comments

@poma
Copy link

poma commented Nov 25, 2021

$ 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

@MrChico
Copy link
Member

MrChico commented Dec 7, 2021

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

@d-xo
Copy link
Contributor

d-xo commented Jan 10, 2022

how would we do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants