The 'unset' on line 7 of GetRecipe is preventing Compile from working  
correctly on Rootless, both in my half-done Cygwin Rootless, and in a  
real Linux, formerly-working rootless.

Because goboPrefix gets unset, the results you get when you try to  
Compile something are kinda funny:

[EMAIL PROTECTED] ~/System/Settings/Scripts> Compile Mtail
Compile: Locating a recipe for Mtail ...
Compile: Found recipe for Mtail
Compile: Recipe placed in Missing import: Log
Compile: Missing import: Log/Recipe not found

I'm not familiar with cross compilation at all, so I don't really  
feel qualified to work around this. I don't understand what the unset  
line is for, but I'm sure Lucas had an excellent reason for putting  
it there.



> CVSROOT:      /sources/goboscripts
> Module name:  tools
> Changes by:   Lucas C. Villa Real <lucasvr>   06/07/25 19:10:49
>
> Modified files:
>       Compile/bin    : GetRecipe
>
> Log message:
>       Ensuring to execute this script with paths relative to the host  
> and not the target when cross-compiling.
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/tools/Compile/bin/GetRecipe? 
> cvsroot=goboscripts&r1=1.8&r2=1.9
>
> Patches:
> Index: GetRecipe
> ===================================================================
> RCS file: /sources/goboscripts/tools/Compile/bin/GetRecipe,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -b -r1.8 -r1.9
> --- GetRecipe 22 Jun 2006 21:21:35 -0000      1.8
> +++ GetRecipe 25 Jul 2006 19:10:48 -0000      1.9
> @@ -4,6 +4,7 @@
>  # Imports
>  ##################################################
>
> +unset goboCrossCompiling goboPrefix
>  . ScriptFunctions
>  Import OptionParser
>  Import File
> @@ -24,20 +25,21 @@
>  #"recipe or an uncompressed one] is received, and the recipe is  
> placed in" \
>  #"$getRecipeRecipeDir"
>  #Add_Option_Boolean "C" "nocvs" "Do not find CVS based recipes  
> (TODO)"
> +
>  Parse_Options "$@"
>  shift $parsedArguments
>
> -if Is_Writable "$getRecipeRecipeDir" || [ "$compileDisableSudo" =  
> "yes" ]
> -then sudo=
> -else sudo="sudo -u #0"
> -fi
> -
>  ##################################################
>  # Prepare Environment
>  ##################################################
>
>  assert_dir "$getRecipeRecipeDir"
>
> +if Is_Writable "$getRecipeRecipeDir" || [ "$compileDisableSudo" =  
> "yes" ]
> +then sudo=
> +else sudo="sudo -u #0"
> +fi
> +
>  if ! Is_URL "$1" && ! { echo "$1" | Quiet grep "/" ;} && ! [ -f  
> "$1" ]
>  then
>     url=`FindPackage --type=recipe [EMAIL PROTECTED]
> _______________________________________________
> gobolinux-commits mailing list
> [EMAIL PROTECTED]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to