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

package autotools: '$SAGE_LOCAL/automake-1.11.6/share/aclocal': No such file or directory #21526

Closed
mkoeppe opened this issue Sep 18, 2016 · 12 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Sep 18, 2016

I get this when installing ecm.

A workaround is:

cd automake-1.11.6/share/ && ln -s aclocal-1.11/ aclocal

Unclear if this a bug of a specific automake version, or a general shortcoming of the installation scheme of our autotools. This needs investigating.

Component: packages: optional

Author: Erik Bray

Branch/Commit: 099da4f

Reviewer: Matthias Koeppe

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

@embray
Copy link
Contributor

embray commented Jul 17, 2017

comment:1

I'm seeing this too when trying to build giac.

@embray
Copy link
Contributor

embray commented Jul 17, 2017

comment:2

The directory it's complaining about is a path that aclocal searches for "system-wide" m4 macros (which since we install a bunch of automake versions ends up localized to local/automake-<version>). Some newer automake versions are creating this directory by default (empty, except for a README file) whereas older versions, it seems, do not create it by default.

For older versions we may have to create it.

aclocal has a function that scans this directory for m4 macros, but the function errors out if the directory does not exist (which itself seems a bit unnecessary...)

@embray
Copy link
Contributor

embray commented Jul 17, 2017

Author: Erik Bray

@embray
Copy link
Contributor

embray commented Jul 17, 2017

Branch: u/embray/build/ticket-21526

@embray
Copy link
Contributor

embray commented Jul 17, 2017

comment:3

This fixes the issue. The question remains why building giac is invoking autoconf in the first place--it shouldn't be. But that's a separate issue.


New commits:

2f2ea87Fixes #21526 by simply creating the empty directory if it doesn't exist.

@embray
Copy link
Contributor

embray commented Jul 17, 2017

Commit: 2f2ea87

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 30, 2017

comment:4

Looks good to me.

It seems to be recommended though that the patch level is increased when there is a change to the package like this.

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 30, 2017

Reviewer: Matthias Koeppe

@embray
Copy link
Contributor

embray commented Aug 30, 2017

comment:6

You are right, it should probably bump the patch level.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 30, 2017

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

099da4fBump autotools package version so it will reinstall with this fix

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 30, 2017

Changed commit from 2f2ea87 to 099da4f

@vbraun
Copy link
Member

vbraun commented Sep 4, 2017

Changed branch from u/embray/build/ticket-21526 to 099da4f

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