Skip to content

on Arch make+guile is broken #24575

@videlec

Description

@videlec

Guile plugin in make under certain not completely clear conditions, likely to do with a version misconfiguration of system libraries,
may fail to build a number of Sage packages. For example, while building Sage 8.2.beta3 on latest archlinux one gets

make: symbol lookup error: /usr/lib/libguile-2.2.so.1: undefined symbol: 
GC_move_disappearing_link

as libguile looks at the LD_LIBRARY_PATH containing a different version of libgc.so than the one it needs.

See also this report on sage-devel.

After deactivating the gc package, the compilation went fine.

However, this cannot be reproduced on other Linux systems.

The workaround in the branch consists in declaring the environment variable LD_PRELOAD so that make uses the system gc. The workaround has to be applied to the 2 standard packages R and rpy2.

The three other packges flint/arb/deformation fail to build for the same reason and we apply a small patch to avoid them redefining LD_LIBRARY_PATH.

Upstream issues

Depends on #24885

Upstream: Reported upstream. No feedback yet.

CC: @embray @vbraun @EmmanuelCharpentier @defeo @jpflori

Component: packages: standard

Author: Erik Bray, Vincent Delecroix

Branch/Commit: u/vdelecroix/24575 @ 0d8a4a9

Reviewer: Erik Bray, Vincent Delecroix

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions