devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: gBopHuk_alt <gbophuk_alt@mail.ru>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] Gear-sprmimport : Not a valid source rpm package
Date: Sat, 24 Nov 2012 13:12:05 +0400
Message-ID: <1353748325.11213.2.camel@localhost.localdomain> (raw)
In-Reply-To: <20121123204326.GB23817@altlinux.org>

В Сбт, 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?




  reply	other threads:[~2012-11-24  9:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 12:58 gBopHuk_alt
2012-11-23 17:30   ` gBopHuk_alt
2012-11-23 20:36     ` Michael Shigorin
2012-11-23 20:43       ` Dmitry V. Levin
2012-11-24  9:12         ` gBopHuk_alt [this message]
2012-11-24 10:19           ` Dmitry V. Levin
2012-11-25 14:37   ` gBopHuk_alt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1353748325.11213.2.camel@localhost.localdomain \
    --to=gbophuk_alt@mail.ru \
    --cc=devel-newbies@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git