Skip to content

Instantly share code, notes, and snippets.

@larsbergstrom
Last active December 29, 2015 05:29
Show Gist options
  • Save larsbergstrom/7621689 to your computer and use it in GitHub Desktop.
Save larsbergstrom/7621689 to your computer and use it in GitHub Desktop.
new tup
lbergstrom@WIN-2AU2FAC46IO ~/rust-png2
$ tup upd
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.031s] Reading in new environment variables...
[ tup ] [0.031s] Parsing Tupfiles...
1) [0.858s] .
[ ] 100%
[ tup ] [0.905s] No files to delete.
[ tup ] [0.905s] Generating .gitignore files...
[ tup ] [0.905s] Executing Commands...
[ ] 0%tup error: file_set_mtime() fstatat failed.
C:\MinGW\msys\1.0\home\lbergstrom\rust-png2\lib.o: No such file or directory
* 1) rustc -Llibpng -Llibpng/zlib --lib lib.rs
error: linking with `g++` failed: exit code: 1
note: g++ arguments: -LC:\MinGW\msys\1.0\local\bin\rustc\i686-pc-mingw32\bin -m3
2 -o rust-png-2b2f91da-0.1.dll lib.o -LC:\MinGW\msys\1.0\local\bin\rustc\i686-pc
-mingw32\bin -lstd-9ee0eb35-0.9-pre -L. -lpng -lz -lshim -Llibpng -Llibpng\zlib
-LC:\MinGW\msys\1.0\home\lbergstrom\rust-png2\.rust -LC:\MinGW\msys\1.0\home\lbe
rgstrom\rust-png2 -shared -lmorestack -lrustrt
note: lib.o:fake:(.text+0x15d3e): undefined reference to `setjmp'
lib.o:fake:(.text+0x187de): undefined reference to `setjmp'
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: lib.o: bad
reloc address 0x4 in section `.data'
collect2.exe: error: ld returned 1 exit status
error: aborting due to previous error
task 'rustc' failed at 'explicit failure', C:\MinGW\msys\1.0\home\lbergstrom\rus
t\src\libsyntax\diagnostic.rs:101
task '<main>' failed at 'explicit failure', C:\MinGW\msys\1.0\home\lbergstrom\ru
st\src\librustc\lib.rs:399
*** tup errors ***
*** Command ID=695 failed with return value 101
tup error: Unspecified output files - A command is writing to files that you did
n't specify in the Tupfile. You should add them so tup knows what to expect.
-- Delete: lib.s at dir 1
-- Delete: lib.o at dir 1
tup error: Expected to write to file 'librust-png-2b2f91da-0.1.dylib' from cmd 6
95 but didn't
*** Additionally, command 695 failed to process input dependencies. These shoul
d probably be fixed before addressing the command failure.
[ ] 100%
*** tup: 1 job failed.
lbergstrom@WIN-2AU2FAC46IO ~/rust-png2
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment