the first two commands also hang.  the last command hangs after the sed
(last) command.  I have attached my console output.


On Fri, 2004-03-19 at 03:21, Ralf S. Engelschall wrote:
> On Thu, Mar 18, 2004, Doug Henry wrote:
> 
> > Has anyone experienced a problem under solaris (I'm using 8) where rpm
> > will hang when doing a rpm --rebuild package?  If I remove the lines
> > that use {platform_t} from the spec file I can build it.  The first
> > package in the build sequence that I experience this is binutils.  It
> > happens using openpkg versions 1.3 and 2.0.  Any info on
> > debugging/fixing this problem would be appreciated.
> 
> If %{l_platform -t} hangs, what does also hang the following commands?
> 
> $ <prefix>/bin/openpkg rpm --eval '%{l_platform -t}'
> $ <prefix>/lib/openpkg/shtool platform -n -L -S "" -C "+" -F "%<at>-%<st>"
> 
> And if yes, try to execute
> 
> $ sh -x <prefix>/lib/openpkg/shtool platform -n -L -S "" -C "+" -F "%<at>-%<st>"
> 
> and tell us the output, please.
> 
>                                        Ralf S. Engelschall
>                                        [EMAIL PROTECTED]
>                                        www.engelschall.com
> 
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> User Communication List                      [EMAIL PROTECTED]

Script started on Fri 19 Mar 2004 07:53:50 AM EST
$ openpkg rpm --eval '%{l_platform -t}'
^C$ 

$ /home/losradar/tools/SunOS-5.8/lib/openpkg/shtool platform -n -L -S "" -C "+" -F 
"%<at>-%<st>"
^C
$ 
$ sh -x /home/losradar/tools/SunOS-5.8/lib/openpkg/shtool platform -n -L -S "" -C "+" 
-F "%<at>-%<st>"
+ [ 9 -eq 0 ] 
+ [ .platform = .-h ] 
+ [ .platform = .--help ] 
+ [ .platform = .-v ] 
+ [ .platform = .--version ] 
+ [ .platform = .-r ] 
+ [ .platform = .--recreate ] 
+ [ .platform = .-d ] 
+ [ .platform = .--debug ] 
+ echo /home/losradar/tools/SunOS-5.8/lib/openpkg/shtool 
+ sed -e s;.*/\([^/]*\)$;\1; -e s;-sh$;; -e s;\.sh$;; 
name=shtool
tool=platform
+ shift 
arg_spec=
opt_spec=
gen_tmpfile=no
str_tool=platform
str_usage=[-F|--format <format>] [-S|--sep <string>] [-C|--conc <string>] [-L|--lower] 
[-U|--upper] [-v|--verbose] [-c|--concise] [-n|--no-newline] [-t|--type <type>] 
[-V|--version] [-h|--help]
arg_spec=0=
opt_spec=F:S:C:L.U.v.c.n.t:d.V.h.
opt_alias=F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help
opt_F=%{sp} (%{ap})
opt_S= 
opt_C=/
opt_L=no
opt_U=no
opt_t=
opt_v=no
opt_c=no
opt_n=no
opt_V=no
opt_h=no
ASC_TAB=        
ASC_NL=

+ [ .platform != . ] 
toolcmd=/home/losradar/tools/SunOS-5.8/lib/openpkg/shtool platform
toolcmdhelp=shtool platform
msgprefix=shtool:platform
+ echo 0= 
+ sed -e s/^\([0-9]*\)\([+=]\)/arg_NUMS=\1; arg_MODE=\2/ 
+ eval arg_NUMS=0; arg_MODE== 
arg_NUMS=0
arg_MODE==
+ echo h.F:S:C:L.U.v.c.n.t:d.V.h. 
+ sed -e s/\([a-zA-Z0-9]\)\([.:+]\)/opt_MODE_\1=\2;/g 
+ eval 
opt_MODE_h=.;opt_MODE_F=:;opt_MODE_S=:;opt_MODE_C=:;opt_MODE_L=.;opt_MODE_U=.;opt_MODE_v=.;opt_MODE_c=.;opt_MODE_n=.;opt_MODE_t=:;opt_MODE_d=.;opt_MODE_V=.;opt_MODE_h=.;
 
opt_MODE_h=.
opt_MODE_F=:
opt_MODE_S=:
opt_MODE_C=:
opt_MODE_L=.
opt_MODE_U=.
opt_MODE_v=.
opt_MODE_c=.
opt_MODE_n=.
opt_MODE_t=:
opt_MODE_d=.
opt_MODE_V=.
opt_MODE_h=.
+ echo 
h:help,F:format,S:sep,C:conc,L:lower,U:upper,v:verbose,c:consise,t:type,n:no-newline,V:version,h:help
 
+ tr x- x_ 
+ sed -e s/\([a-zA-Z0-9]\):\([^,]*\),*/opt_ALIAS_\2=\1;/g 
^C
$ 
$ exit

script done on Fri 19 Mar 2004 07:55:05 AM EST

Reply via email to