bug-bison
[Top][All Lists]
Advanced

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

Re: "make check" failure in public-submodule-commit


From: Stefano Lattarini
Subject: Re: "make check" failure in public-submodule-commit
Date: Mon, 19 Nov 2012 23:27:47 +0100

Hi Akim.

On 11/19/2012 08:37 PM, Akim Demaille wrote:
>
> Hi Stefano,
> 
> But we still don't have enough data to try to guess what is wrong.
> Could you try to run git-submodule with -x?
>
Sure, here is the output.

Thanks, and HTH,
  Stefano

-*-*-

$ git submodule --quiet foreach test '$(git rev-parse $sha1)'  = '$(git 
merge-base origin $sha1)'

++ basename /usr/local/bleeding/libexec/git-core/git-submodule
++ sed -e 's/-/ /'
+ dashless='git submodule'
+ USAGE='[--quiet] add [-b branch] [-f|--force] [--name <name>] [--reference 
<repository>] [--] <repository> [<path>]
   or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] init [--] [<path>...]
   or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] 
[--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] 
[commit] [--] [<path>...]
   or: git submodule [--quiet] foreach [--recursive] <command>
   or: git submodule [--quiet] sync [--recursive] [--] [<path>...]'
+ OPTIONS_SPEC=
+ . git-sh-setup
++ unset CDPATH
++ unset IFS
++ GIT_QUIET=
++ test -n ''
+++ basename /usr/local/bleeding/libexec/git-core/git-submodule
+++ sed -e 's/-/ /'
++ dashless='git submodule'
++ '[' -z '' ']'
++ LONG_USAGE='Usage: git submodule [--quiet] add [-b branch] [-f|--force] 
[--name <name>] [--reference <repository>] [--] <repository> [<path>]
   or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] init [--] [<path>...]
   or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] 
[--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] 
[commit] [--] [<path>...]
   or: git submodule [--quiet] foreach [--recursive] <command>
   or: git submodule [--quiet] sync [--recursive] [--] [<path>...]'
++ case "$1" in
++ case $(uname -s) in
+++ uname -s
++ test -z ''
+++ git rev-parse --git-dir
++ GIT_DIR=.git
++ '[' -z '' ']'
+++ git rev-parse --show-cdup
++ test -z ''
++ test -n .git
+++ cd .git
+++ pwd
++ GIT_DIR=/devel/bleeding/src/bison/.git
++ : /devel/bleeding/src/bison/.git/objects
+ . git-sh-i18n
++ TEXTDOMAIN=git
++ export TEXTDOMAIN
++ test -z ''
++ TEXTDOMAINDIR=/usr/local/bleeding/share/locale
++ export TEXTDOMAINDIR
++ GIT_INTERNAL_GETTEXT_SH_SCHEME=fallthrough
++ test -n ''
++ test -n ''
++ test -n ''
++ type gettext.sh
++ GIT_INTERNAL_GETTEXT_SH_SCHEME=gnu
++ export GIT_INTERNAL_GETTEXT_SH_SCHEME
++ case "$GIT_INTERNAL_GETTEXT_SH_SCHEME" in
++ . gettext.sh
+++ test 'X\t' = 'X\t'
+++ echo=echo
+++ test -z ''
+++ case "$0" in
+ . git-parse-remote
+++ git rev-parse -q --git-dir
++ GIT_DIR=.git
+ require_work_tree
++ git rev-parse --is-inside-work-tree
+ test true = true
+ command=
+ branch=
+ force=
+ reference=
+ cached=
+ recursive=
+ init=
+ files=
+ nofetch=
+ update=
+ prefix=
+ custom_name=
+ test 6 '!=' 0
+ test -z ''
+ case "$1" in
+ GIT_QUIET=1
+ shift
+ test 5 '!=' 0
+ test -z ''
+ case "$1" in
+ command=foreach
+ shift
+ test 4 '!=' 0
+ test -z foreach
+ test -z foreach
+ test -n ''
+ test -n ''
+ cmd_foreach test '$(git rev-parse $sha1)' = '$(git merge-base origin $sha1)'
+ test 4 -ne 0
+ case "$1" in
+ break
++ pwd
+ toplevel=/devel/bleeding/src/bison
+ exec
+ module_list
+ git ls-files --error-unmatch --stage --
+ perl -e '
        my %unmerged = ();
        my ($null_sha1) = ("0" x 40);
        my @out = ();
        my $unmatched = 0;
        while (<STDIN>) {
                if (/^unmatched pathspec/) {
                        $unmatched = 1;
                        next;
                }
                chomp;
                my ($mode, $sha1, $stage, $path) =
                        /^([0-7]+) ([0-9a-f]{40}) ([0-3])\t(.*)$/;
                next unless $mode eq "160000";
                if ($stage ne "0") {
                        if (!$unmerged{$path}++) {
                                push @out, "$mode $null_sha1 U\t$path\n";
                        }
                        next;
                }
                push @out, "$_\n";
        }
        if ($unmatched) {
                print "#unmatched\n";
        } else {
                print for (@out);
        }
        '
+ read mode sha1 stage sm_path
+ die_if_unmatched 160000
+ test 160000 = '#unmatched'
+ test -e gnulib/.git
++ eval_gettext 'Entering '\''$prefix$sm_path'\'''
++ gettext 'Entering '\''$prefix$sm_path'\'''
+++ envsubst --variables 'Entering '\''$prefix$sm_path'\'''
++ export PATH prefix sm_path
++ envsubst 'Entering '\''$prefix$sm_path'\'''
+ say 'Entering '\''gnulib'\'''
+ test -z 1
++ module_name gnulib
++ sm_path=gnulib
+++ printf '%s\n' gnulib
+++ sed -e 's/[].[^$\\*]/\\&/g'
++ re=gnulib
+++ git config -f .gitmodules --get-regexp '^submodule\..*\.path$'
+++ sed -n -e 's|^submodule\.\(.*\)\.path gnulib$|\1|p'
++ name=gnulib
++ test -z gnulib
++ echo gnulib
+ name=gnulib
+ prefix=gnulib/
+ clear_local_git_env
++ git rev-parse --local-env-vars
+ unset GIT_ALTERNATE_OBJECT_DIRECTORIES GIT_CONFIG GIT_CONFIG_PARAMETERS 
GIT_OBJECT_DIRECTORY GIT_DIR GIT_WORK_TREE GIT_GRAFT_FILE GIT_INDEX_FILE 
GIT_NO_REPLACE_OBJECTS
+ path=gnulib
+ cd gnulib
+ eval test '$(git rev-parse $sha1)' = '$(git merge-base origin $sha1)'
+++ git rev-parse daf7f8c02242c535d596231e2f655109b97fa2bc
+++ git merge-base origin daf7f8c02242c535d596231e2f655109b97fa2bc
fatal: Not a valid object name origin
++ test daf7f8c02242c535d596231e2f655109b97fa2bc =
/usr/local/bleeding/libexec/git-core/git-submodule: line 445: test: 
daf7f8c02242c535d596231e2f655109b97fa2bc: unary operator expected
++ eval_gettext 'Stopping at '\''$sm_path'\''; script returned non-zero status.'
++ gettext 'Stopping at '\''$sm_path'\''; script returned non-zero status.'
+++ envsubst --variables 'Stopping at '\''$sm_path'\''; script returned 
non-zero status.'
++ export PATH sm_path
++ envsubst 'Stopping at '\''$sm_path'\''; script returned non-zero status.'
+ die 'Stopping at '\''gnulib'\''; script returned non-zero status.'
+ die_with_status 1 'Stopping at '\''gnulib'\''; script returned non-zero 
status.'
+ status=1
+ shift
+ echo 'Stopping at '\''gnulib'\''; script returned non-zero status.'
Stopping at 'gnulib'; script returned non-zero status.
+ exit 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]