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

2016-09-18 Thread Michael Osipov (JIRA)

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

Michael Osipov commented on SVN-4654:
-

The funny thing is that if I executy this backtick block in the shell directly, 
no error is issued.

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread JIRA

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

Branko Čibej commented on SVN-4654:
---

Weird ...

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread Michael Osipov (JIRA)

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

Michael Osipov commented on SVN-4654:
-

bq. You mentioned nine-year-old OS ... anyway, do you actually have a 
POSIX-compatible shell that accepts $() on HP-UX 10.20? When I used that back 
in the day, I'm pretty sure the default Korn-like shell only handled backticks.

Just to make sure, I do not intend to run Subversion on such old machines OSes. 
My goal is HP-UX 11.31 on IA64, everything is pretty much unsupported or 
deprecated by HP.

bq. Our configure scripts are supposed to be platform independent, but 
Linux-specific stuff has probably crept in in places, since most people don't 
have access to HP-UX or Solaris or AIX.

I am just trying to make everyone happy.

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread JIRA

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

Branko Čibej commented on SVN-4654:
---

Can you try this patch please:

{noformat}
--- build/ac-macros/svn-macros.m4   (revision 1761332)
+++ build/ac-macros/svn-macros.m4   (working copy)
@@ -103,12 +103,10 @@
 dnl potentially placed in standard library search directories.
 AC_DEFUN([SVN_REMOVE_STANDARD_LIB_DIRS],
 [
-  input_flags="$1"
   output_flags=""
-  filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
-  for flag in $input_flags; do
+  for flag in $1; do
 filter="no"
-for dir in $filtered_dirs; do
+for dir in /lib /lib64 /usr/lib /usr/lib64; do
   if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
 filter="yes"
 break
{noformat}


> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread Michael Osipov (JIRA)

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

Michael Osipov commented on SVN-4654:
-

I highly doubt that, we even have 20 years old HP-UX 10.20 machines. Which is 
is older than Subversion. There is of course an alternative to this: you can 
skip this macro altogether on HP-UX. There is no {{/lib64}} or {{/usr/lib64}}. 
{{/lib}} links to {{/usr/lib}} which does only contain links. System-supplied 
libs are in {{/usr/lib/hpux32}} everyhing else, manually or from port lands 
either in {{/opt}} or in {{/usr/local}}. This is not Linux where base and 
packages are mixed. Especially, all of those affected libs are in 
{{/usr/local}} from the [HP Porting Archive|http://hpux.connect.org.uk/]. How 
does that sound?

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread JIRA

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

Branko Čibej commented on SVN-4654:
---

I don't have access to an HP-UX machine so I have no idea where to even start 
looking for a different fix.

Subversion and the backticks in configure.ac are quite a bit older than your 
OS, FWIW. :)

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)


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

2016-09-18 Thread JIRA

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

Branko Čibej commented on SVN-4654:
---

We use backticks because some older OSes (notably some versions of Solaris) 
don't have a shell that can use {{$()}}. Backticks are still "standard POSIX". 
It would be more interesting to understand why they don't work in your 
particular environment instead of just blindly replacing them and possibly 
breaking the build on some other platform.

> configure: command substitution for SVN_REMOVE_STANDARD_LIB_DIRS fails with 
> non-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)