Build Error with Sage9.rc2 on Ubuntu 20.04

86 views
Skip to first unread message

Michael Jung

unread,
Apr 25, 2020, 7:12:47 PM4/25/20
to sage-devel
Dear Developers,
Today, I have managed a clean installation of the new Ubuntu version 20.04 LTS on my machine. Now, I try to build Sage from the source files and my build always stops at two packages:

* package: ecl-16.1.2.p5
  log file
: /home/michi/sage-devel/logs/pkgs/ecl-16.1.2.p5.log
  build directory
: /home/michi/sage-devel/local/var/tmp/sage/build/ecl-16.1.2.p5

* package: pillow-5.3.0.p0
  log file
: /home/michi/sage-devel/logs/pkgs/pillow-5.3.0.p0.log
  build directory
: /home/michi/sage-devel/local/var/tmp/sage/build/pillow-5.3.0.p0

Someone posted a new list of all packages that have to be preinstalled on the system som time ago, but I cannot found it again. Could this be the issue here?

Thank you and best regards
Michael
ecl-16.1.2.p5.log
pillow-5.3.0.p0.log

Matthias Koeppe

unread,
Apr 25, 2020, 7:17:44 PM4/25/20
to sage-devel
On Saturday, April 25, 2020 at 4:12:47 PM UTC-7, Michael Jung wrote:
Today, I have managed a clean installation of the new Ubuntu version 20.04 LTS on my machine. Now, I try to build Sage from the source files and my build always stops at two packages:

* package: ecl-16.1.2.p5
  log file
: /home/michi/sage-devel/logs/pkgs/ecl-16.1.2.p5.log
  build directory
: /home/michi/sage-devel/local/var/tmp/sage/build/ecl-16.1.2.p5

* package: pillow-5.3.0.p0
  log file
: /home/michi/sage-devel/logs/pkgs/pillow-5.3.0.p0.log
  build directory
: /home/michi/sage-devel/local/var/tmp/sage/build/pillow-5.3.0.p0


Please also post config.log

 
Someone posted a new list of all packages that have to be preinstalled on the system som time ago, but I cannot found it again. Could this be the issue here?


If you type ./configure, Sage will inform you about the system packages.



 

Matthias Koeppe

unread,
Apr 25, 2020, 9:47:39 PM4/25/20
to sage-devel
On Saturday, April 25, 2020 at 4:12:47 PM UTC-7, Michael Jung wrote:
Today, I have managed a clean installation of the new Ubuntu version 20.04 LTS on my machine. Now, I try to build Sage from the source files and my build always stops at 
* package: pillow-5.3.0.p0

  log file
: /home/michi/sage-devel/logs/pkgs/pillow-5.3.0.p0.log
  build directory
: /home/michi/sage-devel/local/var/tmp/sage/build/pillow-5.3.0.p0

Eric Gourgoulhon

unread,
Apr 26, 2020, 5:26:06 AM4/26/20
to sage-devel

Someone posted a new list of all packages that have to be preinstalled on the system som time ago, but I cannot found it again. Could this be the issue here?

 
Is https://wiki.sagemath.org/prerequisites/Ubuntu the list you are looking for?
Maybe it should be updated for Ubuntu 20.04.
Best regards,

Eric.

Michael Jung

unread,
Apr 26, 2020, 5:55:51 AM4/26/20
to sage-devel
Yes, exactly. Thank you Eric.

I could compile pillow now, but still, ecl won't work.
config.log

Matthias Koeppe

unread,
Apr 26, 2020, 11:59:54 AM4/26/20
to sage-devel
On Sunday, April 26, 2020 at 2:55:51 AM UTC-7, Michael Jung wrote:
<config.log>

configure:3693: checking for root user
configure:3698: result: yes
configure:3700: error: You cannot build Sage as root, switch to an unpriviledged user

This is not the right configure file

Michael Jung

unread,
Apr 26, 2020, 12:08:08 PM4/26/20
to sage-devel
Obviously. I am sorry. This should be the correct one.
config.log

Matthias Koeppe

unread,
Apr 26, 2020, 1:34:11 PM4/26/20
to sage-devel
On Sunday, April 26, 2020 at 2:55:51 AM UTC-7, Michael Jung wrote:
 still, ecl won't work.

From your ecl log:
Setting up build directory for ecl-16.1.2.p5
Finished extraction
Applying patches from ../patches...
Applying ../patches/16.1.2-getcwd.patch
patching file src/c/unixfsys.d
Applying ../patches/cygwin-uname.patch
patching file src/lsp/config.lsp.in
Applying ../patches/fix-cc.patch
patching file src/cmp/cmpos-run.lsp
Applying ../patches/flisten-bug.patch
patching file src/c/file.d
Applying ../patches/format-directive-limit.patch
patching file src/lsp/format.lsp
Applying ../patches/windows-fixes.patch
patching file src/cmp/cmpmain.lsp
Applying ../patches/write_error.patch
patching file src/c/file.d
****************************************************

Somehow your worktree seems to be missing the file ffi_abi_libffi33.patch
added in #21811.

So I don't think this is from a test of 9.1.rc2

Michael Jung

unread,
Apr 26, 2020, 3:20:46 PM4/26/20
to sage-...@googlegroups.com

Oh yes. You are right. For some reason, my git repo changed back to `master`. The build has finished now. Thanks for your foresight, Matthias.

Best
Michael

Am 26.04.20 um 19:34 schrieb Matthias Koeppe:
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/3j5LF0NQDPU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/879af35f-cc67-4c96-bd09-51b8b07372e1%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages