Bug 13146 - libstroke-0.5.1 cast fails due to lack of detection for x86-64 CHOST
: libstroke-0.5.1 cast fails due to lack of detection for x86-64 CHOST
Status: CLOSED FIXED
Product: Codex
Classification: Unclassified
Component: libs
: test grimoire
: x86-64 Linux
: P2 minor
Assigned To: Grimoire Bug List
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-30 14:34 UTC by Elisamuel Resto
Modified: 2007-08-19 07:19 UTC (History)
0 users

See Also:


Attachments
GNU config files patch (365 bytes, patch)
2007-06-06 15:24 UTC, Elisamuel Resto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elisamuel Resto 2006-09-30 14:34:00 UTC
After failing cast, "gaze compile libstroke-0.5.1" reports:
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu':
machine `x86_64-unknown' not recognized

This is the config.sub and config.guess files being outdated, it's relatively
easy to fix... just needs a modification the package itself and update the
files, or, adding a patch lien to the spell to update on cast.
Comment 1 Elisamuel Resto 2007-06-06 15:24:27 UTC
Created attachment 6731 [details]
GNU config files patch

This patch should make this work, updating the config.sub and config.guess with
the ones from libtool, which always reside in /usr/share/libtool.

This fix should be applied to a gamma of other spells that actually PATCH the
config.sub to compensate for the old GNU config files, which should not be done
in case the files actually get updated again, this code should compensate for
future fixes on it's own.

Sorry if it's a tad un-unterstandable, but it's hard for me to express my
thoughts in a language that is not my native one.
Comment 2 David Kowis 2007-08-11 16:27:51 UTC
Need to reverse the goodies
default_pre_build needs to happen before copying the config file. Also should
depends on libtool
Comment 3 Elisamuel Resto 2007-08-13 19:20:48 UTC
Added with 3addf27e428ddbb80c4d62df67afbf2ad064fa9a.

Can you confirm, dkowis?
Comment 4 Elisamuel Resto 2007-08-16 19:56:37 UTC
Should work ok, preliminary tests pass.