app-xcalc 1.0.4: install-sh fails on "install-strip" target - Was:Re: [ANNOUNCE] xcalc 1.0.4

Gaetan Nadon memsize at videotron.ca
Fri Nov 26 12:04:41 PST 2010


On Fri, 2010-11-26 at 22:00 +0700, Somchai Smythe wrote:

> Hello list,
> 
> Am I doing something wrong?  The install-sh seems to be broken now:

I can reproduce the problem. Simply invoking "make install-strip" will
do it.
I don't know the root cause of the problem, but a workaround is to
"autoreconf -vfi" and then "./configure --prefix ... "
This will re-create the configuration using your version of automake.
That fixed it for me.

The tarball was created from Automake 2.68, I have 2.63.
Further investigation is required, it could be the level of automake
or just some accident on disk.


> 
> make install-strip DESTDIR=/tmp/package-xcalc V=1
> make  INSTALL_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s" \
>           install_sh_PROGRAM="/bin/sh /tmp/xcalc-1.0.4/install-sh -c
> -s" INSTALL_STRIP_FLAG=-s \
>           `test -z '' || \
>             echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
> make[1]: Entering directory `/tmp/xcalc-1.0.4'
> make[2]: Entering directory `/tmp/xcalc-1.0.4'
> test -z "/usr/X11R7/bin" || /bin/mkdir -p
> "/tmp/package-xcalc/usr/X11R7/bin"
>   /bin/sh /tmp/xcalc-1.0.4/install-sh -c -s xcalc
> '/tmp/package-xcalc/usr/X11R7/bin'
> /tmp/xcalc-1.0.4/install-sh: line 139: syntax error near unexpected
> token `;;'
> /tmp/xcalc-1.0.4/install-sh: line 139: `        shift;;'
> make[2]: *** [install-binPROGRAMS] Error 2
> make[2]: Leaving directory `/tmp/xcalc-1.0.4'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/tmp/xcalc-1.0.4'
> make: *** [install-strip] Error 2
> 
> I compared it to the install-sh in xcalc-1.0.3 and it seems random
> lines were deleted from the case statement.  I'm using bash 4.1.9 if
> it matters.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101126/390ff58e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101126/390ff58e/attachment.pgp>


More information about the xorg-devel mailing list