[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    app-xcalc 1.0.4: install-sh fails on "install-strip" target - Was:Re:
From:       Gaetan Nadon <memsize () videotron ! ca>
Date:       2010-11-26 20:04:41
Message-ID: 1290801881.3874.742.camel () ubuntu
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


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.
> 

[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Fri, 2010-11-26 at 22:00 +0700, Somchai Smythe wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <TT><FONT COLOR="#1a1a1a">Hello list,</FONT></TT><BR>
    <BR>
    <TT><FONT COLOR="#1a1a1a">Am I doing something wrong?&nbsp; The install-sh seems \
to be broken now:</FONT></TT><BR> </BLOCKQUOTE>
I can reproduce the problem. Simply invoking &quot;make install-strip&quot; will do \
it.<BR> I don't know the root cause of the problem, but a workaround is to<BR>
&quot;autoreconf -vfi&quot; and then &quot;./configure --prefix ... &quot;<BR>
This will re-create the configuration using your version of automake.<BR>
That fixed it for me.<BR>
<BR>
The tarball was created from Automake 2.68, I have 2.63.<BR>
Further investigation is required, it could be the level of automake<BR>
or just some accident on disk.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <TT><FONT COLOR="#1a1a1a">make install-strip DESTDIR=/tmp/package-xcalc \
V=1</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">make&nbsp; \
INSTALL_PROGRAM=&quot;/bin/sh /tmp/xcalc-1.0.4/install-sh -c -s&quot; \
\</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
install_sh_PROGRAM=&quot;/bin/sh /tmp/xcalc-1.0.4/install-sh -c</FONT></TT><BR>  \
<TT><FONT COLOR="#1a1a1a">-s&quot; INSTALL_STRIP_FLAG=-s \</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `test -z '' || \
\</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
echo &quot;INSTALL_PROGRAM_ENV=STRIPPROG=''&quot;` install</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">make[1]: Entering directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>  \
<TT><FONT COLOR="#1a1a1a">make[2]: Entering directory \
`/tmp/xcalc-1.0.4'</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">test -z \
&quot;/usr/X11R7/bin&quot; || /bin/mkdir -p \
&quot;/tmp/package-xcalc/usr/X11R7/bin&quot;</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">&nbsp; /bin/sh /tmp/xcalc-1.0.4/install-sh -c -s \
xcalc</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">'/tmp/package-xcalc/usr/X11R7/bin'</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">/tmp/xcalc-1.0.4/install-sh: line 139: syntax error near unexpected \
token `;;'</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">/tmp/xcalc-1.0.4/install-sh: \
line 139: `&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shift;;'</FONT></TT><BR>  \
<TT><FONT COLOR="#1a1a1a">make[2]: *** [install-binPROGRAMS] Error 2</FONT></TT><BR>  \
<TT><FONT COLOR="#1a1a1a">make[2]: Leaving directory \
`/tmp/xcalc-1.0.4'</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">make[1]: *** \
[install-am] Error 2</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">make[1]: Leaving \
directory `/tmp/xcalc-1.0.4'</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">make: *** \
[install-strip] Error 2</FONT></TT><BR>  <BR>
    <TT><FONT COLOR="#1a1a1a">I compared it to the install-sh in xcalc-1.0.3 and it \
seems random</FONT></TT><BR>  <TT><FONT COLOR="#1a1a1a">lines were deleted from the \
case statement.&nbsp; I'm using bash 4.1.9 if</FONT></TT><BR>  <TT><FONT \
COLOR="#1a1a1a">it matters.</FONT></TT><BR>  <BR>
</BLOCKQUOTE>
</BODY>
</HTML>


["signature.asc" (application/pgp-signature)]

_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic