Ticket #11989 (closed defect: worksforme)
'make doc-html' failed due to failed gap command
| Reported by: | gostrc | Owned by: | GeorgSWeber |
|---|---|---|---|
| Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
| Component: | build | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Jeroen Demeyer |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by leif) (diff)
I am building sage 4.7.2 in a clean chroot and I am experiencing the following error during make doc-html:
RuntimeError: Unable to start gap because the command 'gap -r -b -p -T -o 9999G /build/src/sage-4.7.2/data//extcode/gap/sage.g' failed.
This is in a clean chroot building on archlinux. I build with the following way: http://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/sage-mathematics
I have attached the full build log.
Attachments
Change History
Changed 19 months ago by gostrc
-
attachment
sage472output.txt.bz2
added
comment:1 follow-up: ↓ 2 Changed 19 months ago by leif
- Description modified (diff)
- Summary changed from make doc-html failed due on to failed gap command to 'make doc-html' failed due to failed gap command
Did you search sage-devel?
For example, take a look at this thread.
comment:3 Changed 19 months ago by gostrc
I took a look at them, my chroot mounts /dev/shm with the following command:
mount -t tmpfs shm "${working_dir}/dev/shm" -o nodev,nosuid,size=128M
/dev/pts with:
mount -t devpts devpts "${working_dir}/dev/pts" -o ptmxmode=666
Does this look like it should work?
comment:4 Changed 19 months ago by gostrc
Ok, so I found out the solution:
mount -t devpts devpts "${working_dir}/dev/pts" -o ptmxmode=666
needs an extra option: newinstance
mount -t devpts devpts "${working_dir}/dev/pts" -o newinstance,ptmxmode=666
I don't know why this is as I'm not very familiar with the inner workings of building sage's documents, but this is a pretty big obstacle for anyone building in a chroot.. perhaps a building sage in a chroot page would be nice to start?

full build log for sage 4.7.2 on archlinux