Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] strange sorcery error

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] strange sorcery error
  • Date: Sat, 4 Mar 2006 15:40:58 -0800

<obligatory>
As always, the best place to report bugs is bugzilla :-)
If you think it might be a bug, it probably is.
</obligatory>

As far as why its looking in the tablet, its because of several
persistent_read calls in g++/BUILD. What they do is query information from
another spell, in this case its trying to figure out what optimizations
gcc used and use the same so the two compilers are compatible.

At some point, probably in october 2005, a tablet entry got mysteriously
corrupted, this is bug 8826. Unfortunatly we dont have much information
to go on, and have been unable to reliably reproduce it. Looking at
the output, the persistent_read's look like they succeeded, the tablet
library tries all the entries before giving up, but it complains when
it finds something it doesnt like.

As far as why g++ failed in that instance, I really dont know the spell
well enough to tell, looks like HOST wasn't set properly somehow.

You can make the tablet error go away by running cleanse --tablet. I
should probably just make that part of system-update, although in doing
so we'd just be ignoring the problem, which bothers me.

-Andrew


On Fri, Mar 03, 2006 at 08:43:43PM +0100, Treeve Jelbert wrote:
> when I updated gcc from 4.0.2 to 4.1.0, the triggered cast of g++ reported
> the following errors and failed.
>
> A manual cast of g++ reported the same errors, apart from the configure
> error,
> and succeeded.
>
> This may be related to the fact that I had previously failed to install
> gcc-4.1.0, and had to resurrect gcc-4.0.2 several times. However, since
> the
> current gcc at this point is 4.1.0, why is it looking at an obsolete tablet?
>
> Both gcc and g++ are now installed correctly.
> -------------
>
> Creating MD5 log /var/log/sorcery/md5sum/gcc-4.1.0
> Creating cache file /var/cache/sorcery/gcc-4.1.0-i686-pc-linux-gnu.tar.bz2
> Queued cast_self on g++.
> Found source file gcc-core-4.1.0.tar.bz2 for spell g++ in /var/spool/sorcery
> Found source file gcc-g++-4.1.0.tar.bz2 for spell g++ in /var/spool/sorcery
> Waiting for any Solo casts to complete...
> Waiting for all other spells to complete... done.
> Building g++
> hash checking source file gcc-core-4.1.0.tar.bz2...
> Algorithm used: sha512
> Allowing new hashsha512
> Checking spell level WORKS_FOR_ME
> Spell level is a new allowed level
> hash verification succeeded
> Unpacking source file gcc-core-4.1.0.tar.bz2 for spell g++.
> hash checking source file gcc-g++-4.1.0.tar.bz2...
> Algorithm used: sha512
> Allowing new hashsha512
> Checking spell level WORKS_FOR_ME
> Spell level is a new allowed level
> hash verification succeeded
> Unpacking source file gcc-g++-4.1.0.tar.bz2 for spell g++.
> Using gcc version: 4.1.0
> Installing in dir: /usr/src/gcc-4.1.0
> g++ 4.1.0
> Corrupt spell dir in tablet, this shouldnt happen.
> It'd be good to recast the spell now.
> Error repairing tablet at /var/state/sorcery/tablet/gcc/20051003092727
> Corrupt spell dir in tablet, this shouldnt happen.
> It'd be good to recast the spell now.
> Error repairing tablet at /var/state/sorcery/tablet/gcc/20051003092727
> Corrupt spell dir in tablet, this shouldnt happen.
> It'd be good to recast the spell now.
> Error repairing tablet at /var/state/sorcery/tablet/gcc/20051003092727
> Corrupt spell dir in tablet, this shouldnt happen.
> It'd be good to recast the spell now.
>
> configure: warning: <null>: invalid host type
> configure: error: can only configure for one host and one target at a time
> ! Problem Detected !
> Creating compile log /var/log/sorcery/compile/g++-4.1.0.bz2
> mv: missing destination file operand after
> `/var/state/sorcery/abandoned/g++'
> Try `mv --help' for more information.
> Finished processing install requests.
>
> Spells installed successfully:
> ------------------------------
> gcc
>
>
> Spells that have been dropped:
> ------------------------------
> g++
>
>
> Spells that encountered problems:
> ---------------------------------
> g++
>
>
>
>
> --
> Regards, Treeve
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

--
_________________________________________________________________________
| Andrew D. Stitt | acedit at armory.com | astitt at sourcemage.org |
| irc: afrayedknot | Sorcery Team Lead | ftp://t.armory.com/ |
| 1024D/D39B096C | 76E4 728A 04EE 62B2 A09A 96D7 4D9E 239B D39B 096C |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page