pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems building scmgit-base on Solaris 10



Forgot to forward it to the list

On 4/16/08, Gerardo Santana Gómez Garrido <gerardo.santana%gmail.com@localhost> 
wrote:
> Thanks for the tip Blair,
>
> I ran it again with debug level 2 and got something (look for nchars
> and notnull):
>
> stdout---------------------------------------------------
> => Unwrapping files-to-be-installed.
> : commands for target
> /usr/pkgsrc/devel/scmgit-base/work/.subst_unwrap_done; set -x; set -e;
> cd /usr/pkgsrc/devel/scmgit-base/work/git-1.5.
> 4.4;                         files=\    \   \   \   \   \ git-config\
> git-repo-config;               for file in $files; do
>          case $file in /*) ;; *) file="./$file";; esac;
> tmpfile="$file".subst.sav;      if [ ! -f "$file" ]; then
>  /usr/ucb/e
> cho 1>&2 "WARNING:" "[subst.mk:unwrap] Ignoring non-existent file
> \"$file\".";  elif { nchars=`/usr/bin/wc -c < "$file"`;
>      notnull=`LC_ALL=C /usr/bin/tr -d '\\0' < "$file" | /usr/bin/wc
> -c`;     [ "$nchars" = "$notnull" ] || /usr/bin/false ;          };
> the
> n        /usr/bin/mv -f "$file" "$tmpfile" || exit 1;
> /usr/pkg/bin/nbsed -f
> /usr/pkgsrc/devel/scmgit-base/work/.wrapper/tmp/untransform.
> sed          < "$tmpfile"                    > "$file";
>   if test -x "$tmpfile"; then             /usr/bin/chmod +x "$file";
>              fi;                         if /bin/cmp -s "$tmpfile"
> "$file"; then     /usr/ucb/echo "INFO:" "[subst.mk:unwrap] Nothing
> chang
> ed in $file.";  /usr/bin/mv -f "$tmpfile" "$file";       else
>               /usr/bin/rm -f "$tmpfile";      /usr/ucb/echo "$file"
> >> /usr/pkgsrc/devel/scmgit-base/work/.subst_unwrap_done;        fi;
>                       else                            /usr/ucb/echo
> 1>&2 "WARNING:" "[subst.mk:unwrap] Ignoring non-text file \"$file\".";
>  fi;                          done
> *** Error code 255
>
> stderr---------------------------------------------------
> + /usr/ucb/echo => Unwrapping files-to-be-installed.
> + set -e
> + cd /usr/pkgsrc/devel/scmgit-base/work/git-1.5.4.4
> files=                   git-config git-repo-config
> file=./git-config
> tmpfile=./git-config.subst.sav
> + [ ! -f ./git-config ]
> + /usr/bin/wc -c
> nchars=  901088
> + /usr/bin/wc -c
> + /usr/bin/tr -d \0
> LC_ALL=C
> notnull=  731513
> + [   901088 =   731513 ]
> + /usr/bin/false
> exitcode=1
> -----------------------------------------------------------
>
> If I'm interpreting it correctly, nchars and notnull should be the
> same, otherwise an error occurs. I'm at the office right now and can't
> dig more about it for a while. Can anybody shed some light on this?
>
> Thanks
>
> --
> Gerardo Santana
>


Home | Main Index | Thread Index | Old Index