Having issues with configured git-bash

asottile's Avatar

asottile

09 Feb, 2015 06:03 AM

Here's a sample build: https://ci.appveyor.com/project/asottile/pre-commit/build/1.0.3/job/ofiuuffhmvqopm2h

The important bits from this are:

```
bash.exe: warning: could not find /tmp, please create!
```

I've found several things on the internet about this: https://github.com/bungeshea/GitPortable/issues/6 and http://stackoverflow.com/questions/22492715/bash-exe-warning-could-not-find-tmp-please-create seem the most promising.

I've tried creating /tmp and setting TEMP and have had no success.

It's also pretty hard to "just try things" given the turnaround time :/

Thanks in advance!

Anthony

  1. 1 Posted by asottile on 23 Feb, 2015 01:03 AM

    asottile's Avatar

    ping: 2 weeks

  2. Support Staff 2 Posted by Feodor Fitsner on 23 Feb, 2015 02:04 AM

    Feodor Fitsner's Avatar

    I really don't have an idea how to fix that. Maybe someone from community has.

  3. 3 Posted by asottile on 23 Feb, 2015 02:07 AM

    asottile's Avatar

    Is there a possibility I could get my hands on a VM that I can poke around with? I could probably figure it out reasonably quickly without a ~40 minute turnaround :(

  4. Support Staff 4 Posted by Feodor Fitsner on 23 Feb, 2015 02:28 AM

    Feodor Fitsner's Avatar

    You can, on Pro plan: http://help.appveyor.com/discussions/questions/984-remote-to-the-wo...

    I can put you there for day-two.

  5. 5 Posted by asottile on 23 Feb, 2015 03:28 AM

    asottile's Avatar

    That would be cool :)

  6. Support Staff 6 Posted by Feodor Fitsner on 23 Feb, 2015 03:32 AM

    Feodor Fitsner's Avatar

    I've put your account to Pro for 2 days. Hope that helps.

  7. 7 Posted by asottile on 23 Feb, 2015 04:14 AM

    asottile's Avatar

    So I've poked a bit. Here's what I've figured out so far:

    If I have a window of "Git bash" ("C:\Program Files (x86)\Git\bin\sh.exe" -login -i) running in the background I do not get the "bash.exe: warning: could not find /tmp, please create!" thing. (however closing the window causes the tests to go back to failing). Seems to be some side-effect of git bash running (which is odd, because I have the same version installed on my local machine!)

    Trying now to figure out something more-permanent that could be done during VM baking.

  8. 8 Posted by asottile on 23 Feb, 2015 05:02 AM

    asottile's Avatar

    Well, didn't figure out a permanent solution, I guess my crappy workaround is going to be `bash -c tox` instead of `tox`.

  9. Support Staff 9 Posted by Feodor Fitsner on 23 Feb, 2015 05:42 PM

    Feodor Fitsner's Avatar

    Great, thanks for the update!

  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac