[jira] [Commented] (SVN-4654) configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with POSIX backticks on HP-UX

2016-09-19 Thread Daniel Shahaf (JIRA)

[ 
https://issues.apache.org/jira/browse/SVN-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502719#comment-15502719
 ] 

Daniel Shahaf commented on SVN-4654:


It's trying to execute "/lib64" with arguments "/usr/lib" and
"/usr/lib64".

I think your shell parses the code

LDFLAGS="$LDFLAGS ` input_flags="$apr_ldflags" output_flags="" 
filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"

as a pre-command assignment «LDFLAGS="…" /lib64 /usr/lib /usr/lib64»,
i.e., an instance of the "set an environment variable for one command"
syntax.


> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> POSIX backticks on HP-UX
> 
>
> Key: SVN-4654
> URL: https://issues.apache.org/jira/browse/SVN-4654
> Project: Subversion
>  Issue Type: Bug
>  Components: compile, install
>Affects Versions: 1.9.4, trunk
> Environment: $ uname -a
> HP-UX blnn724x B.11.31 U ia64 HP-UX
>Reporter: Michael Osipov
> Attachments: SVN-4654.patch, configure-reduced.tar.gz, 
> configure.err.tar.gz
>
>
> When running {{configure}} on HP-UX, you see several times 
> {{./configure\[4880\]: : Execute permission denied.}} and 
> {{./configure\[4880\]: /lib64:  not found.}}.
> This is caused by having the command substitution perfomed by backticks 
> {{LDFLAGS="`SVN_REMOVE_STANDARD_LIB_DIR(...)`"}} and not with standard POSIX 
> {{$()}}.
> See attached trace output w/o patch and with patch applied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SVN-4654) configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with POSIX backticks on HP-UX

2016-09-19 Thread Michael Osipov (JIRA)

[ 
https://issues.apache.org/jira/browse/SVN-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502576#comment-15502576
 ] 

Michael Osipov commented on SVN-4654:
-

Daniel, the problems aren't the for loops but solely {{filtered_dirs}}. I will 
create a recuded macro with that error and upload the generated {{configure}} 
script along with the trace.

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> POSIX backticks on HP-UX
> 
>
> Key: SVN-4654
> URL: https://issues.apache.org/jira/browse/SVN-4654
> Project: Subversion
>  Issue Type: Bug
>  Components: compile, install
>Affects Versions: 1.9.4, trunk
> Environment: $ uname -a
> HP-UX blnn724x B.11.31 U ia64 HP-UX
>Reporter: Michael Osipov
> Attachments: SVN-4654.patch, configure.err.tar.gz
>
>
> When running {{configure}} on HP-UX, you see several times 
> {{./configure\[4880\]: : Execute permission denied.}} and 
> {{./configure\[4880\]: /lib64:  not found.}}.
> This is caused by having the command substitution perfomed by backticks 
> {{LDFLAGS="`SVN_REMOVE_STANDARD_LIB_DIR(...)`"}} and not with standard POSIX 
> {{$()}}.
> See attached trace output w/o patch and with patch applied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)