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

[Teamserver-Client--Bug]: make file clean may be add rm -rf /tmp/mingw-musl.tgz. #312

Open
1 task done
Ericxu833 opened this issue Apr 24, 2023 · 2 comments
Open
1 task done
Labels
clientside/teamserver Clientside problem, not implantrelated

Comments

@Ericxu833
Copy link

Contact Details

No response

What happened?

A bug happened!
When a build teamserver, the error happens, although I make clean,
$ make ts-build
[*] building teamserver

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
make: *** [makefile:11: ts-build] Error 2

I realize my net speed was poor, so I cancel the build.
So I suggest make file clean add rm -rf /tmp/mingw-musl.tgz and remove -q option in wget.

Did You Do a Pull First?

Latest (You performed a pull first)

Relevant log output

No response

Did You Read Over Your Issue First?

  • I declare I made an effort and provided the necessary information for replication of the issue.
@Ericxu833 Ericxu833 added the clientside/teamserver Clientside problem, not implantrelated label Apr 24, 2023
@kris56275
Copy link

kris56275 commented Jul 1, 2023

I think what OP is trying to say is that he cancelled his make ts-build operation and when you subsequently try re-running make ts-build it uses the previous (but incomplete/corrupted /tmp/mingw-musl.tgz) file and so is suggesting you add the removal of this file within the tmp folder to your cleanup operation within the makefile(so the script doesnt try to use an incomplete /tmp/mingw-musl.tgz and run in to eof errors)

client-cleanup:
@ echo "[] client cleanup"
@ rm -rf ./client/Build
@ rm -rf ./client/Bin/

@ rm -rf ./client/Data/database.db
@ rm -rf ./client/.idea
@ rm -rf ./client/cmake-build-debug
@ rm -rf ./client/Havoc
@ rm -rf ./client/Modules
@ rm -rf /tmp/mingw-musl.tgz // <----- suggested addition

@WilliamL71Oi
Copy link

" rm -rf /tmp/mingw-musl.tgz" change to "rm -rf /tmp/mingw-musl*".
There are "mingw-musl-32.tgz" and "mingw-musl-64.tgz" in /tmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clientside/teamserver Clientside problem, not implantrelated
Projects
None yet
Development

No branches or pull requests

3 participants