Bugzilla – Bug 13146
libstroke-0.5.1 cast fails due to lack of detection for x86-64 CHOST
Last modified: 2007-08-19 07:19:42 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.
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.
Need to reverse the goodies default_pre_build needs to happen before copying the config file. Also should depends on libtool
Added with 3addf27e428ddbb80c4d62df67afbf2ad064fa9a. Can you confirm, dkowis?
Should work ok, preliminary tests pass.