[newbies] Gear-sprmimport : Not a valid source rpm package
gBopHuk_alt
gbophuk_alt на mail.ru
Сб Ноя 24 13:12:05 MSK 2012
В Сбт, 24/11/2012 в 00:43 +0400, Dmitry V. Levin пишет:
> sh -efux gear-srpmimport lxpanelx-0.5.6-2.src.rpm
sh -efux gear-srpmimport ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ . gear-sh-functions
++ . shell-error
+++ '[' -z '' ']'
+++ __included_shell_error=1
+++ PROG=gear-srpmimport
+++ quiet=
+++ verbose=
++ . shell-quote
+++ '[' -z '' ']'
+++ __included_shell_quote=1
+++ . shell-version
++++ '[' -z '' ']'
++++ __included_shell_version=1
++++ libshell_version=2
++++ __export_compatibility_string_quote_remove=1
+++ '[' -n 1 ']'
++ . shell-args
+++ '[' -z '' ']'
+++ __included_shell_args=1
+++ . shell-error
++++ '[' -z 1 ']'
+++ readonly getopt_common_opts=q,v,V,h
+++ getopt_common_opts=q,v,V,h
+++ readonly getopt_common_longopts=quiet,verbose,version,help
+++ getopt_common_longopts=quiet,verbose,version,help
++ PROG=gear-srpmimport
++ PROG_VERSION=1.7.3.1
++ gear_short_options=r:,t:,h,q,v,V
++
gear_long_options=no-compress,commit,bzip2,gzip,command,hasher,rpmbuild,update-spec,export-dir:,describe,rules:,tree-ish:,help,quiet,verbose,version
++ __cleanup_handler_name=
++ lineno=
++ rules=
++ : __gear_exported_vars
++ export __gear_exported_vars
++ workdir=
++ main_tree_id=
++ spec_name=
++ spec_version=
++ spec_release=
++ specfile=
++ pkg_name=
++ pkg_version=
++ pkg_release=
++ tag_dir=
++ tag_dir_default=
++ tag_list_lineno=
++ main_commit_sha1=
++ def_spec_pattern='*.spec'
++ spec_pattern='*.spec'
++ gear_config_option verbose verbose ''
++ local var_name=verbose opt_name=verbose def_val=
++ local subcmd val
++ subcmd=.srpmimport
++ '[' .srpmimport '!=' .gear ']'
+++ git config --get gear.srpmimport.verbose
++ val=
++ val=
+++ quote_shell ''
+++ local result
+++ quote_shell_variable result ''
+++ local __quote_shell_variable_var __quote_shell_variable_out
+++ __quote_shell_variable_var=result
+++ shift
+++ __quote_shell_variable_out=
+++ '[' -z '' ']'
++++ printf %s ''
++++ sed -e 's/[\"$\`\\]/\\&/g'
+++ __quote_shell_variable_out=
+++ eval 'result="$__quote_shell_variable_out"'
++++ result=
+++ printf %s ''
++ eval 'verbose=""'
+++ verbose=
++ '[' -z '' ']'
++ gear_config_option quiet quiet ''
++ local var_name=quiet opt_name=quiet def_val=
++ local subcmd val
++ subcmd=.srpmimport
++ '[' .srpmimport '!=' .gear ']'
+++ git config --get gear.srpmimport.quiet
++ val=
++ val=
+++ quote_shell ''
+++ local result
+++ quote_shell_variable result ''
+++ local __quote_shell_variable_var __quote_shell_variable_out
+++ __quote_shell_variable_var=result
+++ shift
+++ __quote_shell_variable_out=
+++ '[' -z '' ']'
++++ printf %s ''
++++ sed -e 's/[\"$\`\\]/\\&/g'
+++ __quote_shell_variable_out=
+++ eval 'result="$__quote_shell_variable_out"'
++++ result=
+++ printf %s ''
++ eval 'quiet=""'
+++ quiet=
++ '[' -z '' ']'
+ tmpdir=
+ spec_version=
+ git_commit_fast=
++ getopt -n gear-srpmimport -o h,q,v,V -l
branch:,import-only,no-unpack,no-untar,rules:,spec-pattern:,stdin,help,quiet,verbose,version -- ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ TEMP=' -- '\''../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm'\'''
+ eval set -- ' -- '\''../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm'\'''
++ set -- -- ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ branch_import=srpms
+ import_only=
+ no_unpack=
+ read_from_stdin=
+ gear_rules=.gear/rules
+ :
+ case "$1" in
+ shift
+ break
+ '[' -n '' ']'
+ '[' 1 -ge 1 ']'
++ git rev-parse --git-dir
+ GIT_DIR=.git
++ readlink -ev -- .git
+ GIT_DIR=/home/gbophuk/linux/git/lxpanelx/.git
+ export GIT_DIR
++ git symbolic-ref HEAD
+ branch_orig=refs/heads/master
++ git rev-parse --verify HEAD
++ :
+ head_orig=
+ unset GIT_INDEX_FILE
+ index_orig=/home/gbophuk/linux/git/lxpanelx/.git/index
+ index_already_recovered=
+ chdir_to_toplevel
+ local cdup
++ git rev-parse --show-cdup
+ cdup=
+ '[' -z '' ']'
++ /bin/pwd
+ saved_cwd=/home/gbophuk/linux/git/lxpanelx
+ install_cleanup_handler cleanup_handler
+ __cleanup_handler_name=cleanup_handler
+ trap __exit_handler EXIT
+ trap __signal_handler HUP PIPE INT QUIT TERM
++ mktemp -dt gear-srpmimport.XXXXXXXX
+ tmpdir=/tmp/.private/gbophuk/gear-srpmimport.1w6TvIuS
+ workdir=/tmp/.private/gbophuk/gear-srpmimport.1w6TvIuS/work
+ '[' '!' -f /home/gbophuk/linux/git/lxpanelx/.git/index ']'
+ git symbolic-ref HEAD refs/heads/srpms
+ '[' -n '' ']'
+ for REPLY in '"$@"'
+ import ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ local srpm=../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ shift
+ cd /home/gbophuk/linux/git/lxpanelx
+ verbose 'Processing ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm'
+ '[' -n '' ']'
+ return 0
++ readlink -ev -- ../../rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ srpm=/home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ local header name verrel buildtime filelist changelogname changelog
author_name author_email
++ od -A n -N 8 -t x1
-- /home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm
+ header=' ed ab ee db 03 00 00 00'
+ '[' -n ' ed ab ee db 03 00 00 00' -a -z ' ed ab ee db 03 00 00 00' ']'
+ fatal '/home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm: Not
a valid source rpm package'
+ message '/home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm:
Not a valid source rpm package'
+ printf '%s\n'
'gear-srpmimport: /home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm: Not a valid source rpm package'
gear-srpmimport: /home/gbophuk/linux/rpms/src.rpm/lxpanelx-0.5.6-2.src.rpm: Not a valid source rpm package
+ exit 1
+ __exit_handler
+ __cleanup_handler 1
+ trap - EXIT
+ '[' -z cleanup_handler ']'
+ cleanup_handler 1
+ '[' -n /tmp/.private/gbophuk/gear-srpmimport.1w6TvIuS ']'
+ cd /home/gbophuk/linux/git/lxpanelx
+ '[' -z '' ']'
+ '[' -f /tmp/.private/gbophuk/gear-srpmimport.1w6TvIuS/index ']'
+ rm -f /home/gbophuk/linux/git/lxpanelx/.git/index
+ rm -rf -- /tmp/.private/gbophuk/gear-srpmimport.1w6TvIuS
+ '[' refs/heads/master = refs/heads/srpms ']'
+ git symbolic-ref HEAD refs/heads/master
+ exit 1
Как я понял как раз на HEAD ругается. Его теперь вручную распаковывать ?
А вроде ж на wiki было писано что gear-srmpimport должён упростить
разворачивание gear-репа для не родных src.rpm?
Подробная информация о списке рассылки devel-newbies