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

error with autoconf 2.70 #1197

Closed
mr-c opened this issue Jan 2, 2021 · 4 comments
Closed

error with autoconf 2.70 #1197

mr-c opened this issue Jan 2, 2021 · 4 comments

Comments

@mr-c
Copy link

mr-c commented Jan 2, 2021

Hello,

As you may know, there has been a new release of autoconf for the first time in 8 years. Alas, building htslib with autoconf 2.70 currently fails.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978835
Full build log is at http://qa-logs.debian.net/2020/09/26.ac270/htslib_1.10.2-5_unstable_ac270.log

@jmarshall
Copy link
Member

Yes, I saw Matthias's bug report. It is a byproduct of this (from autoconf 2.70's NEWS):

*** More macros use config.sub and config.guess internally.

As a consequence of improved support for cross compilation [snip]

and the basic fix is to rename a variable. A fix is gestating.

@jmarshall
Copy link
Member

Fixed by PR #1198; see also PR #1199.

@davmlaw
Copy link

davmlaw commented May 4, 2023

If anyone needs a work around for an old version, I found this helped me

https://www.gnu.org/software/gettext/manual/html_node/config_002eguess.html

wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'

@jkbonfield
Copy link
Contributor

jkbonfield commented May 4, 2023

Or just install a new version which fixes this. Generally there should be no requirement for sticking with old releases of samtools/htslib if you're compiling from source. If there are issues with backwards compatibility, then it would be interesting to know.

(Thanks though for the pointers on how to obtain a working config.guess.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants