Ticket #11989 (closed defect: worksforme)

Opened 19 months ago

Last modified 5 days ago

'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

sage472output.txt.bz2 Download (1.1 MB) - added by gostrc 19 months ago.
full build log for sage 4.7.2 on archlinux

Change History

Changed 19 months ago by gostrc

full build log for sage 4.7.2 on archlinux

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:2 in reply to: ↑ 1 Changed 19 months ago by leif

Replying to leif:

For example, take a look at  this thread.

I.e., see also #5965.

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?

comment:5 Changed 7 days ago by jdemeyer

  • Status changed from new to needs_review
  • Reviewers set to Jeroen Demeyer
  • Milestone changed from sage-5.10 to sage-duplicate/invalid/wontfix

User error, nothing to do with Sage.

comment:6 Changed 7 days ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:7 Changed 5 days ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.