* any ETA on a fixed xterm-207?
@ 2009-11-08 11:58 Robert P. J. Day
2009-11-08 13:12 ` Philip Balister
0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2009-11-08 11:58 UTC (permalink / raw)
To: OpenEmbedded Development mailing list
i realize i've mentioned this at least a couple times before (on the
angstrom list) but is there any ETA on fixing the unbuildable
xterm-207 package so that i can bitbake beagleboard-demo-image?
the problem with xterm_207 appears to be obvious. the install
script contained therein -- sinstall.sh -- contains the following
snippet:
=====
case ".$cf_mode" in #(vi
.???s??s*) #(vi
PROG_SUID=4000
PROG_SGID=2000
;;
.???s*) #(vi
PROG_SUID=4000
PROG_GRP=
;;
.??????s*)
PROG_SGID=2000
PROG_USR=
;;
esac
PROG_MODE=`echo ".$cf_mode" | sed -e 's/^..//' -e 's/rw./7/g' -e 's/r-./5/g' -e 's/--[sxt]/1/g'`
=====
it seems clear that the point of that snippet is to convert a
symbolic mode to a numeric mode. unfortunately, these days, the
symbolic mode has a trailing period, whereupon the resulting numeric
mode *also* has a trailing period, at which point the subsequent
"chmod" command tries to use a mode of "755." and chokes.
as a quick hack, i snuck in the line:
PROG_MODE=${PROG_MODE%\.}
right after that last line to knock off the trailing period and that
fixed things and allowed xterm to build. a cleaner solution would be
to perhaps whack off that period at the top. either way would work.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any ETA on a fixed xterm-207?
2009-11-08 11:58 any ETA on a fixed xterm-207? Robert P. J. Day
@ 2009-11-08 13:12 ` Philip Balister
2009-11-08 13:16 ` Robert P. J. Day
0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2009-11-08 13:12 UTC (permalink / raw)
To: openembedded-devel
On 11/08/2009 11:58 AM, Robert P. J. Day wrote:
>
> i realize i've mentioned this at least a couple times before (on the
> angstrom list) but is there any ETA on fixing the unbuildable
> xterm-207 package so that i can bitbake beagleboard-demo-image?
I can reproduce the problem, but I cannot implement a fix and test until
Tuesday AM at the earliest.
Philip
>
> the problem with xterm_207 appears to be obvious. the install
> script contained therein -- sinstall.sh -- contains the following
> snippet:
>
> =====
>
> case ".$cf_mode" in #(vi
> .???s??s*) #(vi
> PROG_SUID=4000
> PROG_SGID=2000
> ;;
> .???s*) #(vi
> PROG_SUID=4000
> PROG_GRP=
> ;;
> .??????s*)
> PROG_SGID=2000
> PROG_USR=
> ;;
> esac
> PROG_MODE=`echo ".$cf_mode" | sed -e 's/^..//' -e 's/rw./7/g' -e 's/r-./5/g' -e 's/--[sxt]/1/g'`
>
> =====
>
> it seems clear that the point of that snippet is to convert a
> symbolic mode to a numeric mode. unfortunately, these days, the
> symbolic mode has a trailing period, whereupon the resulting numeric
> mode *also* has a trailing period, at which point the subsequent
> "chmod" command tries to use a mode of "755." and chokes.
>
> as a quick hack, i snuck in the line:
>
> PROG_MODE=${PROG_MODE%\.}
>
> right after that last line to knock off the trailing period and that
> fixed things and allowed xterm to build. a cleaner solution would be
> to perhaps whack off that period at the top. either way would work.
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day Waterloo, Ontario, CANADA
>
> Linux Consulting, Training and Kernel Pedantry.
>
> Web page: http://crashcourse.ca
> Twitter: http://twitter.com/rpjday
> ========================================================================
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: any ETA on a fixed xterm-207?
2009-11-08 13:12 ` Philip Balister
@ 2009-11-08 13:16 ` Robert P. J. Day
0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2009-11-08 13:16 UTC (permalink / raw)
To: openembedded-devel
On Sun, 8 Nov 2009, Philip Balister wrote:
> On 11/08/2009 11:58 AM, Robert P. J. Day wrote:
> >
> > i realize i've mentioned this at least a couple times before
> > (on the angstrom list) but is there any ETA on fixing the
> > unbuildable xterm-207 package so that i can bitbake
> > beagleboard-demo-image?
>
> I can reproduce the problem, but I cannot implement a fix and test until
> Tuesday AM at the earliest.
ok, fair enough, thanks.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-08 13:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-08 11:58 any ETA on a fixed xterm-207? Robert P. J. Day
2009-11-08 13:12 ` Philip Balister
2009-11-08 13:16 ` Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox