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

Gap install error "Text file busy" #22272

Closed
vbraun opened this issue Jan 29, 2017 · 14 comments
Closed

Gap install error "Text file busy" #22272

vbraun opened this issue Jan 29, 2017 · 14 comments

Comments

@vbraun
Copy link
Member

vbraun commented Jan 29, 2017

I haven't seen this one before:

[gap-4.8.3] Installing (copying) files...
[gap-4.8.3] cp: cannot create regular file '/home/buildbot/slave/sage_git/build/local/gap/gap-4.8.3/bin/x86_64-unknown-linux-gnu-gcc-default64/gap': Text file busy
[gap-4.8.3] Error copying built GAP files.

Appears only randomly. The "text file busy" error means that we are trying to modify a currently-running executable (the text segment, nothing to do with plain text). Presumably thats a parallel build dependency error.

CC: @dimpase

Component: build

Keywords: random_fail

Author: Jeroen Demeyer

Branch/Commit: 573afa5

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/22272

@vbraun vbraun added this to the sage-7.6 milestone Jan 29, 2017
@dimpase
Copy link
Member

dimpase commented Jan 29, 2017

comment:1

I have seen this quite a bit, and yes, killing GAP processes helps.
No idea how to fix this nicely, though.

@jdemeyer
Copy link

@dimpase
Copy link
Member

dimpase commented Jan 29, 2017

Commit: dc8c742

@dimpase
Copy link
Member

dimpase commented Jan 29, 2017

comment:3

makes sense!


New commits:

dc8c742Clean GAP installation directory before re-installing

@jdemeyer
Copy link

Author: Jeroen Demeyer

@dimpase
Copy link
Member

dimpase commented Jan 29, 2017

Reviewer: Dima Pasechnik

@vbraun
Copy link
Member Author

vbraun commented Jan 31, 2017

Changed branch from u/jdemeyer/gap_install_error__text_file_busy_ to dc8c742

@vbraun
Copy link
Member Author

vbraun commented Jan 31, 2017

Changed branch from dc8c742 to u/jdemeyer/gap_install_error__text_file_busy_

@vbraun
Copy link
Member Author

vbraun commented Jan 31, 2017

comment:7

I'm getting

[gap-4.8.3] Removing previous installation of GAP...
[gap-4.8.3] Installing (copying) files...
[gap-4.8.3] mkdir: cannot create directory '/home/buildslave-sage/slave/sage_git/build/local/gap/gap-4.8.3': No such file or directory
[gap-4.8.3] Error copying built GAP files.

The mkdir -p was important after all...


New commits:

dc8c742Clean GAP installation directory before re-installing

@vbraun vbraun reopened this Jan 31, 2017
@jdemeyer
Copy link

jdemeyer commented Feb 1, 2017

comment:8

Of course the -p is important. I will confused because -p does two things:

  1. It will create any non-existing parent directories.

  2. It will not complain if the directory already exists.

I thought that the -p was only needed for 2. but it is obviously also needed for 1.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 1, 2017

Branch pushed to git repo; I updated commit sha1. New commits:

573afa5Make sure that we create $SAGE_LOCAL/gap

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 1, 2017

Changed commit from dc8c742 to 573afa5

@dimpase
Copy link
Member

dimpase commented Feb 1, 2017

comment:11

OK.

@vbraun
Copy link
Member Author

vbraun commented Feb 2, 2017

Changed branch from u/jdemeyer/gap_install_error__text_file_busy_ to 573afa5

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

No branches or pull requests

3 participants