Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6279] cast on a cvs download fails to ask for additional OPTS

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6279] cast on a cvs download fails to ask for additional OPTS
  • Date: Fri, 9 Apr 2004 01:28:48 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6279

acedit AT armory.com changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|sm-sorcery- |rcook AT wyrms.net
|bugs AT lists.ibiblio.org |
Component|Cast |libs
Product|Sorcery |Codex
Version|Devel |unspecified



------- Additional Comments From acedit AT armory.com 2004-04-09 01:28 -------
In a nutshell sorcery isn't finding a configure script because
the spell makes it in BUILD, which is run after sorcery looks.

So you can move

patch -p1 < $SCRIPT_DIRECTORY/build.diff &&
if ! [ -x configure ]; then
./buildconf
fi &&
into PRE_BUILD to ensure that there is a configure script when
sorcery goes looking.

in more detail:
If you look at the run_build function (in cast or libcast,
for stable or devel sorcery)
You'll notice the following code:

<snip>
message -n "Installing in dir: "
pwd
message "$SPELL $VERSION"
if [ -x ./configure ] || [ -x ./src/configure ] ; then

if [[ $CONFIG_LOC == on ]]; then
<snipage>
fi
fi

if [ -x $SCRIPT_DIRECTORY/BUILD ]; then
. $SCRIPT_DIRECTORY/BUILD
else
default_build
fi &&
<snip>

so as you can see, $SOURCE_DIRECTORY/configure or
$SOURCE_DIRECTORY/src/configure must exist before BUILD is executed.

This probably effects several spells, but theres not really any
easy way for sorcery to work around it transparently. Perhaps from
a philosophical point of view PRE_BUILD is to unpack a tarball so it
is ready to build, if we are downloading from cvs some extra work has
to be done (buildconf) to make it look like a real release tarball.

(reassigned and categorizing as i dont think this is a sorcery problem)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 6279] cast on a cvs download fails to ask for additional OPTS, bugzilla-daemon, 04/09/2004

Archive powered by MHonArc 2.6.24.

Top of Page