RE: FW: Error running make for subversion

2017-06-15 Thread Joseph, Anselm
Hi Daniel,
Davautocheck failed to start httpd. (see below). When I start apache (apachectl 
-k start), and enter the url in chrome, it displays "It works".
Any feedback on the failed tests below?
Thank you.
-Original Message-----
From: Joseph, Anselm 
Sent: Wednesday, June 14, 2017 4:22 PM
To: 'Daniel Shahaf'
Cc: users@subversion.apache.org; Philip Martin
Subject: RE: FW: Error running make for subversion

Thanks Daniel.
Ran the tests manually as suggested:
<-- ~:/opt/eai/ci/subversion/subversion/tests/cmdline --> $  ./basic_tests.py 
--bin=/usr/local/bin ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was 
not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was 
not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was 
not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512 Traceback (most recent call last):
  File "./basic_tests.py", line 3148, in 
svntest.main.run_tests(test_list)
  File "/opt/eai/ci/subversion/subversion/tests/cmdline/svntest/main.py", line 
2062, in run_tests
sys.exit(execute_tests(test_list, serial_only))
  File "/opt/eai/ci/subversion/subversion/tests/cmdline/svntest/main.py", line 
2175, in execute_tests
raise Exception('Logging occurred before configuration. Some code'
Exception: Logging occurred before configuration. Some code path needs to be 
fixed. Examine the log output to find what/where logged something.

$ APACHE_MPM=▒^▒▒ ./davautocheck.sh
davautocheck.sh: Using '/opt/eai/ci/httpd-2.4.25/apache/bin/apxs'...
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
davautocheck.sh: HTTPD '/opt/eai/ci/httpd-2.4.25/apache/bin/httpd' doesn't 
start properly HTTPD stopped.

-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name]
Sent: Wednesday, June 14, 2017 3:34 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org; Philip Martin
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Wed, 14 Jun 2017 18:54 +:
> Thanks for the reply, Daniel.
> Update:
> I pointed the install to the older gcc 4.2.0 with same results:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0
> $ ls
> include  install-tools  libgcc.a  libgcc_eh.a  libgcc_s.a  libgcov.a
> libsupc++.a  ppc64  pthread
>
> Below, I ran 'make check' to test the results of make (since I could not find 
> a significant error in make output) and got the following:
> $ make > make.log 2>&1
> <-- ~:/opt/eai/ci/subversion -->

RE: FW: Error running make for subversion

2017-06-14 Thread Joseph, Anselm
Thanks Daniel.
Ran the tests manually as suggested:
<-- ~:/opt/eai/ci/subversion/subversion/tests/cmdline -->
$  ./basic_tests.py --bin=/usr/local/bin
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "./basic_tests.py", line 3148, in 
svntest.main.run_tests(test_list)
  File "/opt/eai/ci/subversion/subversion/tests/cmdline/svntest/main.py", line 
2062, in run_tests
sys.exit(execute_tests(test_list, serial_only))
  File "/opt/eai/ci/subversion/subversion/tests/cmdline/svntest/main.py", line 
2175, in execute_tests
raise Exception('Logging occurred before configuration. Some code'
Exception: Logging occurred before configuration. Some code path needs to be 
fixed. Examine the log output to find what/where logged something.

$ APACHE_MPM=▒^▒▒ ./davautocheck.sh
davautocheck.sh: Using '/opt/eai/ci/httpd-2.4.25/apache/bin/apxs'...
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
Use of uninitialized value in concatenation (.) or string at 
/opt/eai/ci/httpd-2.4.25/apache/bin/apxs line 222.
davautocheck.sh: HTTPD '/opt/eai/ci/httpd-2.4.25/apache/bin/httpd' doesn't 
start properly
HTTPD stopped.

-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Wednesday, June 14, 2017 3:34 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org; Philip Martin
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Wed, 14 Jun 2017 18:54 +:
> Thanks for the reply, Daniel.
> Update:
> I pointed the install to the older gcc 4.2.0 with same results:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0
> $ ls
> include  install-tools  libgcc.a  libgcc_eh.a  libgcc_s.a  libgcov.a  
> libsupc++.a  ppc64  pthread
>
> Below, I ran 'make check' to test the results of make (since I could not find 
> a significant error in make output) and got the following:
> $ make > make.log 2>&1
> <-- ~:/opt/eai/ci/subversion -->
> $ make check
> ERROR:root:code for hash md5 was not found.
> [053/109] 
> x509-test.
> ..FAILURE
> [054/109] authz_tests.pymake: 1254-004 The error code from the last command 
> is 1.
>
>
> Stop.
>
> Any incidence on the result I see with 'make install'?
> Thanks,
> Anselm

Thi

RE: FW: Error running make for subversion

2017-06-14 Thread Joseph, Anselm
FAILURE
[053/109] 
x509-test...FAILURE
[054/109] authz_tests.pymake: 1254-004 The error code from the last command is 
1.


Stop.

Any incidence on the result I see with 'make install'?
Thanks,
Anselm
-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, June 13, 2017 9:45 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org; Philip Martin
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Wed, 14 Jun 2017 01:30 +:
> Hello all,
> For linking to shared libraries, is "libstdc++.so" required in gcc.

Both svn and httpd are written in C, not in C++.  I would expect C++ stdlibs to 
not be required for C projects. (but perhaps on your system svn gets compiled 
as C++ code, for some reason)

> My install path only shows :
> ~:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.8.3 --> $ ls include  
> libstdc++.a  libstdc++.a-gdb.py  ppc64  pthread just the static 
> library.
> Could this be why mod_dav_svn.so cannot be built?

If this is the problem, it would affect all httpd modules, not just mod_*_svn.  
Are you able to compile, link, and load (with LoadModule) a Hello World httpd 
module in your environment?

Cheers,

Daniel



RE: FW: Error running make for subversion

2017-06-13 Thread Joseph, Anselm
Hello all,
For linking to shared libraries, is "libstdc++.so" required in gcc. 
My install path only shows :
~:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.8.3 -->
$ ls
include  libstdc++.a  libstdc++.a-gdb.py  ppc64  pthread
just the static library. 
Could this be why mod_dav_svn.so cannot be built?
Thanks,
Anselm

-Original Message-
From: Philip Martin [mailto:phi...@codematters.co.uk] 
Sent: Thursday, June 08, 2017 8:23 PM
To: Joseph, Anselm
Cc: Philip Martin; users@subversion.apache.org; Daniel Shahaf
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



"Joseph, Anselm" <anselm.jos...@fpl.com> writes:

> FYI,
> I upgraded to httpd-2.4.25, but still getting the same error.
> Are your other Apache modules .so or .a? All .so under 
> ../httpd-2.4.25/apache/modules
>
> There are older versions of mod_authz_svn.so mod_dav_svn.so from a 
> previous/older subversion install in the system (separate directory). 
> I am tempted to copy them into the directory and give it a try.
> Thank you for the suggestions.

Here is an old email that suggests which linker flags are needed to create .so, 
rather than .a, shared libraries:

https://gcc.gnu.org/ml/gcc-help/2002-05/msg00065.html

Perhaps edit your Makefile and add -Wl,-G to the end of the LINK_APACHE_MOD 
line.

--
Philip



RE: FW: Error running make for subversion

2017-06-09 Thread Joseph, Anselm
Thanks for all the answers. They are helping me learn more.
I looked in the config.log for linker to shared libraries:
configure:11966: checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries
configure:12589: gcc -o conftest -g -O2   -O2 -pg -pthread   -U__STR__ 
-D_THREAD_SAFE -D_LARGEFILE64_SOURCE -L/opt/freeware/lib conftest.c
>&5
configure:12589: $? = 0
configure:13225: result: yes
configure:13465: checking dynamic linker characteristics
configure:14283: result: AIX lib.a(lib.so.V)
configure:14405: checking how to hardcode library paths into programs
configure:14430: result: immediate
configure:14978: checking whether stripping libraries is possible
configure:15000: result: no
configure:15018: checking if libtool supports shared libraries
configure:15020: result: yes
configure:15023: checking whether to build shared libraries
configure:15048: result: yes
configure:15051: checking whether to build static libraries
configure:15055: result: no
configure:15340: checking for ld used by g++
configure:15407: result: /usr/bin/ld
configure:15414: checking if the linker (/usr/bin/ld) is GNU ld
configure:15429: result: no
configure:15484: checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries
configure:15691: g++ -o conftest -g -O2   -U__STR__ -D_THREAD_SAFE 
-D_LARGEFILE64_SOURCE -L/opt/freeware/lib conftest.cpp  >&5
ld: 0711-224 WARNING: Duplicate symbol: .__divdi3
ld: 0711-224 WARNING: Duplicate symbol: .__moddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivdi3
ld: 0711-224 WARNING: Duplicate symbol: .__umoddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivmoddi4
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:15691: $? = 0
configure:16557: result: yes
.
configure:17319: checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries
configure:17359: result: yes
configure:17500: checking dynamic linker characteristics
configure:18245: result: AIX lib.a(lib.so.V)
configure:18310: checking how to hardcode library paths into programs
configure:18335: result: immediate
configure:18447: building shared libraries only
configure:18495: checking whether libtool needs -no-undefined
configure:18504: result: no
.
So, linker (usr/bin/ld) is not GNU ld
g++ linker (usr/bin/ld)supports shared libraries (warnings?)
gcc linker (usr/bin/ld)supports shared libraries
libtool supports share libraries
Yes to building shared libraries
No to building static libraries.

Is there anything here that is not quite right?
Thanks for your help.
-Original Message-
From: Joseph, Anselm 
Sent: Thursday, June 08, 2017 10:35 PM
To: 'Philip Martin'
Cc: users@subversion.apache.org; Daniel Shahaf
Subject: RE: FW: Error running make for subversion

That didn't work either. It does not appear to pick up the flag.
I will get back at it tomorrow morning.
Thank you for your help


-Original Message-
From: Philip Martin [mailto:phi...@codematters.co.uk]
Sent: Thursday, June 08, 2017 8:23 PM
To: Joseph, Anselm
Cc: Philip Martin; users@subversion.apache.org; Daniel Shahaf
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



"Joseph, Anselm" <anselm.jos...@fpl.com> writes:

> FYI,
> I upgraded to httpd-2.4.25, but still getting the same error.
> Are your other Apache modules .so or .a? All .so under 
> ../httpd-2.4.25/apache/modules
>
> There are older versions of mod_authz_svn.so mod_dav_svn.so from a 
> previous/older subversion install in the system (separate directory).
> I am tempted to copy them into the directory and give it a try.
> Thank you for the suggestions.

Here is an old email that suggests which linker flags are needed to create .so, 
rather than .a, shared libraries:

https://gcc.gnu.org/ml/gcc-help/2002-05/msg00065.html

Perhaps edit your Makefile and add -Wl,-G to the end of the LINK_APACHE_MOD 
line.

--
Philip



RE: FW: Error running make for subversion

2017-06-08 Thread Joseph, Anselm
That didn't work either. It does not appear to pick up the flag.
I will get back at it tomorrow morning.
Thank you for your help


-Original Message-
From: Philip Martin [mailto:phi...@codematters.co.uk] 
Sent: Thursday, June 08, 2017 8:23 PM
To: Joseph, Anselm
Cc: Philip Martin; users@subversion.apache.org; Daniel Shahaf
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



"Joseph, Anselm" <anselm.jos...@fpl.com> writes:

> FYI,
> I upgraded to httpd-2.4.25, but still getting the same error.
> Are your other Apache modules .so or .a? All .so under 
> ../httpd-2.4.25/apache/modules
>
> There are older versions of mod_authz_svn.so mod_dav_svn.so from a 
> previous/older subversion install in the system (separate directory). 
> I am tempted to copy them into the directory and give it a try.
> Thank you for the suggestions.

Here is an old email that suggests which linker flags are needed to create .so, 
rather than .a, shared libraries:

https://gcc.gnu.org/ml/gcc-help/2002-05/msg00065.html

Perhaps edit your Makefile and add -Wl,-G to the end of the LINK_APACHE_MOD 
line.

--
Philip



RE: FW: Error running make for subversion

2017-06-08 Thread Joseph, Anselm
FYI,
I upgraded to httpd-2.4.25, but still getting the same error.
Are your other Apache modules .so or .a? All .so under 
../httpd-2.4.25/apache/modules

There are older versions of mod_authz_svn.so  mod_dav_svn.so from a 
previous/older subversion install in the system (separate directory). I am 
tempted to copy them into the directory and give it a try.
Thank you for the suggestions.

-Original Message-
From: Philip Martin [mailto:phi...@codematters.co.uk] 
Sent: Thursday, June 08, 2017 5:06 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org; Daniel Shahaf
Subject: Re: FW: Error running make for subversion

CAUTION - EXTERNAL EMAIL



"Joseph, Anselm" <anselm.jos...@fpl.com> writes:

> Hello all,
> Any chance someone has some time to take a look at the attached files 
> and give me some pointers. I am not making any progress at all.
> Thanks in advance.

This page:

https://www.ibm.com/developerworks/aix/library/au-gnu.html

tells me that AIX has two sorts of shared libraries: native shared libraries in 
.a files and SysV compatible shared libraries in .so files.

When Subversion attempts to install mod_dav_svn it delegates to Apache's apxs, 
e.g. on my Linux system:

$ make -n install-mods-shared
if true ; then cd subversion/mod_dav_svn ; /usr/bin/install -c -d 
"/usr/local/subversion/apache" ; /usr/bin/apxs2 -i -S 
LIBEXECDIR="/usr/local/subversion/apache"  -n dav_svn mod_dav_svn.la ; fi if 
true ; then cd subversion/mod_authz_svn ; /usr/bin/install -c -d 
"/usr/local/subversion/apache" ; /usr/bin/apxs2 -i -S 
LIBEXECDIR="/usr/local/subversion/apache"  -n authz_svn mod_authz_svn.la ; fi

Looking at your error:

libtool: install: cp .libs/mod_dav_svn.aT 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536

mod_dav_svn.a (a AIX native shared library) is being copied but the chmod 
expects mod_dav_svn.so (a SysV compatible shared library).

It looks like Apache's apxs doesn't properly handle AIX native shared libraries.

I don't know what the correct solution is on AIX.  I don't know whether Apache 
on AIX expects to load .a or .so modules, or whether it can handle both.  Are 
your other Apache modules .so or .a?

Perhaps there is a compiler or linker option that will get the linker to 
produce SysV .so libraries instead of AIX .a libraries?

Perhaps you could modify apxs to avoid doing the chmod?

As a hack you could create dummy .so files in the installation directory so 
that the chmod succeeds.

--
Philip



RE: Error running make for subversion

2017-05-23 Thread Joseph, Anselm
Also, could it be something with the mod_dav_svn package for 
subversion-1.9.5.tar?  There has to be a reason why mod_dav_svn.so cannot be 
built.
Thank You

-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, May 23, 2017 9:26 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; users@subversion.apache.org
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 12:40 +:
> configure:5703: checking for apr_memcache_create in -laprutil-1
> configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ 
> -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
> apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include 
> -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
> t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
> ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
> ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup ...
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup

These errors are odd: if the linker couldn't find these function, Subversion 
would fail to link.  (All libraries, not just mod_dav_svn.) But you build and 
install successfully without mod_dav_svn...

More below.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> configure:5728: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> -Original Message-
> Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:
> > -Original Message-
> > From: Joseph, Anselm
> > Sent: Thursday, May 18, 2017 3:07 PM
> ⋮
> > libtool: install: warning: relinking `mod_dav_svn.la'
> > libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> > /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent 
> > --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib 
> > -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version 
> > -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo 
> > liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo 
> > posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo 
> > reports/file-revs.lo reports/get-location-segments.lo 
> > reports/get-locations.lo reports/get-locks.lo 
> > reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo 
> > reports/replay.lo reports/update.lo repos.lo status.lo util.lo 
> > version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
> > ../../subversion/libsvn_fs/libsvn_fs-1.la
> > ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la )
> > libtool: install: cp .libs/mod_dav_svn.aT 
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> > libtool: install: cp .libs/mod_dav_svn.lai 
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> > chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> > chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
> > directory in the path name does not exist.

On my machine, the output of 'make install' contains:

libtool: install: install .libs/mod_dav_svn.soT 
/srv/svn/trunk/libexec/mod_dav_svn.so
libtool: install: install .libs/mod_dav_svn.lai 
/srv/svn/trunk/libexec/mod_dav_svn.la
libtool: install: install .libs/mod_dav_svn.a 
/srv/svn/trunk/libexec/mod_dav_svn.a

The interesting thing here is that on my machine, it outputs .soT and .lai in 
this order, whereas on your machine, it outputs .aT and .lai and then fails.  
Perhaps configure had gotten the .so and .a endings swapped, and thinks shared 
libraries are .a and static libraries .so .
Can you check that?

On my machine:

$ grep -B1 shrext_cmds= config.status libtool config.status-libext='a'
config.status:shrext_cmds='.so'
--
libtool-# Shared library suffix (normally ".so").
libtool:shrext_cmds=".so"

I'm not sure where the 755 comes from, perhaps it's from httpd/apxs since there 
are no '755' in svn's source code.

HTH.  And sorry for the delay, I haven't had a mod_dav_svn build environment 
until today.

Daniel


> > apxs:Error: Command failed with rc=65536 .
> > make: 1254-004 The error code from the last command is 1.



RE: Error running make for subversion

2017-05-23 Thread Joseph, Anselm
From config.status...
libext='a'
shrext_cmds='.so'

Sending the config.log for completeness. I am sure I am missing 
something...just don't know what.
Thank you for your help.


-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, May 23, 2017 9:26 AM
To: Joseph, Anselm
Cc: Ryan Schmidt; users@subversion.apache.org
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, 23 May 2017 12:40 +:
> configure:5703: checking for apr_memcache_create in -laprutil-1
> configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ 
> -D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
> apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include 
> -I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
> t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
> ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
> ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup ...
> ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup

These errors are odd: if the linker couldn't find these function, Subversion 
would fail to link.  (All libraries, not just mod_dav_svn.) But you build and 
install successfully without mod_dav_svn...

More below.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> collect2: ld returned 8 exit status
> configure:5728: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> -Original Message-
> Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +0000:
> > -Original Message-
> > From: Joseph, Anselm
> > Sent: Thursday, May 18, 2017 3:07 PM
> ⋮
> > libtool: install: warning: relinking `mod_dav_svn.la'
> > libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn;
> > /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent 
> > --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib 
> > -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version 
> > -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo 
> > liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo 
> > posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo 
> > reports/file-revs.lo reports/get-location-segments.lo 
> > reports/get-locations.lo reports/get-locks.lo 
> > reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo 
> > reports/replay.lo reports/update.lo repos.lo status.lo util.lo 
> > version.lo ../../subversion/libsvn_repos/libsvn_repos-1.la
> > ../../subversion/libsvn_fs/libsvn_fs-1.la
> > ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la )
> > libtool: install: cp .libs/mod_dav_svn.aT 
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> > libtool: install: cp .libs/mod_dav_svn.lai 
> > /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
> > chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> > chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
> > directory in the path name does not exist.

On my machine, the output of 'make install' contains:

libtool: install: install .libs/mod_dav_svn.soT 
/srv/svn/trunk/libexec/mod_dav_svn.so
libtool: install: install .libs/mod_dav_svn.lai 
/srv/svn/trunk/libexec/mod_dav_svn.la
libtool: install: install .libs/mod_dav_svn.a 
/srv/svn/trunk/libexec/mod_dav_svn.a

The interesting thing here is that on my machine, it outputs .soT and .lai in 
this order, whereas on your machine, it outputs .aT and .lai and then fails.  
Perhaps configure had gotten the .so and .a endings swapped, and thinks shared 
libraries are .a and static libraries .so .
Can you check that?

On my machine:

$ grep -B1 shrext_cmds= config.status libtool config.status-libext='a'
config.status:shrext_cmds='.so'
--
libtool-# Shared library suffix (normally ".so").
libtool:shrext_cmds=".so"

I'm not sure where the 755 comes from, perhaps it's from httpd/apxs since there 
are no '755' in svn's source code.

HTH.  And sorry for the delay, I haven't had a mod_dav_svn build environment 
until today.

Daniel


> > apxs:Error: Command failed with rc=65536 .
> > make: 1254-004 The error code from the last command is 1.



config.log
Description: config.log


RE: Error running make for subversion

2017-05-23 Thread Joseph, Anselm
Thank you Daniel for taking the time to answer. 

The complete configure command:
 CC='gcc' CPP='gcc -E' ./configure --prefix=/opt/eai/ci/subversion-1.9.5/svn 
--with-apache-libexecdir=/opt/eai/ci/httpd-2.2.32/apache/modules 
--with-apr=/opt/eai/ci/httpd-2.2.32/srclib/apr/apr-1-config 
--with-apr-util=/opt/eai/ci/httpd-2.2.32/srclib/apr-util/apu-1-config 
--with-apxs=/opt/eai/ci/httpd-2.2.32/apache/bin/apxs --disable-nls 
--enable-mod-activation
Not building in parallel, just running 'make' command.
Only one set of errors in config log:
configure:5703: checking for apr_memcache_create in -laprutil-1
configure:5728: gcc -o conftest -g -O2  -g -O2 -pthread   -U__STR__ 
-D_THREAD_SAFE -D_LARGEFILE64_SOURCE  -I/opt/eai/ci/httpd-2.2.32/srclib/
apr/include   -I/opt/eai/ci/httpd-2.2.32/srclib/apr-util/include 
-I/opt/eai/ci/libiconv-1.15/libiconv/lib/include -L/opt/freeware/lib  -L/op
t/eai/ci/httpd-2.2.32/srclib/apr-util -laprutil-1 conftest.c -laprutil-1   >&5
ld: 0711-317 ERROR: Undefined symbol: .apr_strtok
ld: 0711-317 ERROR: Undefined symbol: .apr_atoi64
ld: 0711-317 ERROR: Undefined symbol: .apr_pstrmemdup
...
ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
configure:5728: $? = 1
configure: failed program was:
| /* confdefs.h */
-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, May 23, 2017 4:59 AM
To: Joseph, Anselm
Cc: users@subversion.apache.org; Ryan Schmidt
Subject: Re: Error running make for subversion

You could try commenting out that 'chmod' command in Makefile or 
build-outputs.mk, see if that lets the build proceed further, and then effect 
it manually after 'make' finishes.  (That's just a diagnostic workaround, not a 
solution.)

What's your exact configure command (all arguments)?  Are you disabling 
building of shared libraries in some way?

Are you building in parallel ('make -j' or local equivalent)?

Check configure's output for any errors/warnings related to httpd.  (If there's 
a warning about "Assuming we use httpd 2.2+" that's normal.)

Don't have time to debug / reproduce myself, sorry.




Joseph, Anselm wrote on Mon, 22 May 2017 21:30 +:
> Hello All,
> I have been running in circles trying to fix this issue. Nothing seems to 
> work. If you could take a couple of minutes to give some direction, it would 
> be greatly appreciated.
> Thank You
> 
> -----Original Message-
> From: Joseph, Anselm
> Sent: Thursday, May 18, 2017 3:07 PM
> To: 'Ryan Schmidt'; Daniel Shahaf
> Cc: Subversion Users
> Subject: RE: Error running make for subversion
> 
> Thank you both for responding.
> When I run configure --without-apxs, make install completes cleanly. But my 
> problem is that mod_dav_svn.so is not building . I tried different options 
> and still cannot get  mod_dav_svn.so to build. 
> When I run .configure with-apxs= 
> /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
> make install fails as follows:
> if true ; then cd subversion/mod_dav_svn ; 
> /opt/eai/ci/subversion/build/install-sh -c -d 
> "/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
> /opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
> LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn 
> mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
> SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
> /opt/eai/ci/subversion-1.9.5/svn/libexec
> rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
> /opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
> /opt/eai/ci/subversion-1.9.5/svn/libexec/
> libtool: install: warning: relinking `mod_dav_svn.la'
> libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; 
> /bin/sh "/opt/eai/ci/subversion/libtool"  --tag CC --silent 
> --mode=relink gcc -shared -g -O2 -g -O2 -pthread -L/opt/freeware/lib 
> -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module 
> -o mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo 
> lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo 
> reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo 
> reports/get-location-segments.lo reports/get-locations.lo 
> reports/get-locks.lo reports/inherited-props.lo reports/log.lo 
> reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo 
> status.lo util.lo version.lo 
> ../../subversion/libsvn_repos/libsvn_repos-1.la 
> ../../subversion/libsvn_fs/libsvn_fs-1.la 
> ../../subversion/libsvn_delta/libsvn_delta-1.la 
> ../../subversion/libsvn_subr/libsvn_subr-1.la )
> libtool: install: cp .libs/mod_dav_svn.aT 
> /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
> libtool: install: cp .libs/mod_dav_svn.lai 
> /opt/eai/ci/

RE: Error running make for subversion

2017-05-22 Thread Joseph, Anselm
Hello All,
I have been running in circles trying to fix this issue. Nothing seems to work. 
If you could take a couple of minutes to give some direction, it would be 
greatly appreciated.
Thank You

-Original Message-
From: Joseph, Anselm 
Sent: Thursday, May 18, 2017 3:07 PM
To: 'Ryan Schmidt'; Daniel Shahaf
Cc: Subversion Users
Subject: RE: Error running make for subversion

Thank you both for responding.
When I run configure --without-apxs, make install completes cleanly. But my 
problem is that mod_dav_svn.so is not building . I tried different options and 
still cannot get  mod_dav_svn.so to build. 
When I run .configure with-apxs= /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
make install fails as follows:
if true ; then cd subversion/mod_dav_svn ; 
/opt/eai/ci/subversion/build/install-sh -c -d 
"/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
/opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn 
mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath 
/opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o 
mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo 
mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo 
reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo 
reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo 
reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo 
repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536 .
make: 1254-004 The error code from the last command is 1.


Stop.

-Original Message-
From: Ryan Schmidt [mailto:subversion-2...@ryandesign.com]
Sent: Wednesday, May 17, 2017 8:42 PM
To: Daniel Shahaf
Cc: Joseph, Anselm; Subversion Users
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



> On May 17, 2017, at 19:41, Ryan Schmidt <subversion-2...@ryandesign.com> 
> wrote:
>
>
>> On May 16, 2017, at 17:18, Daniel Shahaf <d...@daniel.shahaf.name> wrote:
>>
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
>>> directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>>
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn 
>> and can disable building it with --without-apxs to configure.
>
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or 
> svn+ssh://.
>

And, sorry, I mis-parsed your sentence. Never mind.




RE: Error running make for subversion

2017-05-18 Thread Joseph, Anselm
Thank you both for responding.
When I run configure --without-apxs, make install completes cleanly. But my 
problem is that mod_dav_svn.so is not building . I tried different options and 
still cannot get  mod_dav_svn.so to build. 
When I run .configure with-apxs= /opt/eai/ci/httpd-2.2.32/apache/bin/apxs
make install fails as follows:
if true ; then cd subversion/mod_dav_svn ; 
/opt/eai/ci/subversion/build/install-sh -c -d 
"/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
/opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn 
mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath 
/opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o 
mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo 
mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo 
reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo 
reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo 
reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo 
repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.

-Original Message-
From: Ryan Schmidt [mailto:subversion-2...@ryandesign.com] 
Sent: Wednesday, May 17, 2017 8:42 PM
To: Daniel Shahaf
Cc: Joseph, Anselm; Subversion Users
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



> On May 17, 2017, at 19:41, Ryan Schmidt <subversion-2...@ryandesign.com> 
> wrote:
>
>
>> On May 16, 2017, at 17:18, Daniel Shahaf <d...@daniel.shahaf.name> wrote:
>>
>> Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
>>> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
>>> directory in the path name does not exist.
>>> apxs:Error: Command failed with rc=65536
>>
>> Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn 
>> and can disable building it with --without-apxs to configure.
>
> You mean http:// and https://. mod_dav_svn isn't involved with svn:// or 
> svn+ssh://.
>

And, sorry, I mis-parsed your sentence. Never mind.




RE: Error running make for subversion

2017-05-17 Thread Joseph, Anselm
Thank you Daniel,
I ran ./configure --without-apxs and make install completed successfully.
CC='gcc' CPP='gcc -E' ./configure --prefix=/opt/eai/ci/subversion-1.9.5/svn 
--without-apxs --with-apr=/opt/eai/ci/httpd2.2.32/srclib/apr/apr-1-config 
--with-apr-util=/opt/eai/ci/httpd-2.2.32/srclib/apr-util/apu-1-config 
--disable-nls

-Original Message-
From: Daniel Shahaf [mailto:d...@daniel.shahaf.name] 
Sent: Tuesday, May 16, 2017 6:18 PM
To: Joseph, Anselm
Cc: users@subversion.apache.org
Subject: Re: Error running make for subversion

CAUTION - EXTERNAL EMAIL



Joseph, Anselm wrote on Tue, May 16, 2017 at 21:04:57 +:
> chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
> directory in the path name does not exist.
> apxs:Error: Command failed with rc=65536

Note that if you use svn:// or svn+ssh://, you don't need mod_dav_svn and can 
disable building it with --without-apxs to configure.

I don't have time to look into the actual problem right now, sorry.



RE: Error running make for subversion

2017-05-16 Thread Joseph, Anselm
I set LDFLAGS and it got rid of the libexpat warnings. 
Still getting the same error with 'make install' though.
Any guidance is appreciated. 
Thank you.

/opt/eai/ci/subversion/build/install-she -c -m 644 
./subversion/svnversion/svnversion.1 
/opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
if true ; then cd subversion/mod_dav_svn ; 
/opt/eai/ci/subversion/build/install-sh -c -d 
"/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
/opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec" -a -n dav_svn 
mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -pthread -L/opt/freeware/lib -rpath 
/opt/eai/ci/subversion-1.9.5/svn/libexec -avoid-version -module -o 
mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo 
mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo 
reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo 
reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo 
reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo 
repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: install: cp .libs/mod_dav_svn.aT 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.

-----Original Message-
From: Joseph, Anselm 
Sent: Monday, May 08, 2017 5:13 PM
To: 'Daniel Shahaf'
Cc: 'users@subversion.apache.org'
Subject: RE: Error running make for subversion

I realized it is removing mod_dav_svn.so and then doing a chmod on the file in 
the same directory...
Not sure what's causing this on the make install...
 Thank you for any guidance...
/opt/eai/ci/subversion/build/install-sh -c -m 644 
./subversion/svnsync/svnsync.1 
/opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnsync.1
/opt/eai/ci/subversion/build/install-sh -c -m 644 
./subversion/svnversion/svnversion.1 
/opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
if true ; then cd subversion/mod_dav_svn ; 
/opt/eai/ci/subversion/build/install-sh -c -d 
"/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
/opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec"  -n dav_svn 
mod_dav_svn.la ; fi /opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -pthread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec 
-avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo 
liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo 
reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo 
reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo 
reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo 
reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: 

RE: Error running make for subversion

2017-05-08 Thread Joseph, Anselm
I realized it is removing mod_dav_svn.so and then doing a chmod on the file in 
the same directory...
Not sure what's causing this on the make install...
 Thank you for any guidance...
/opt/eai/ci/subversion/build/install-sh -c -m 644 
./subversion/svnsync/svnsync.1 
/opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnsync.1
/opt/eai/ci/subversion/build/install-sh -c -m 644 
./subversion/svnversion/svnversion.1 
/opt/eai/ci/subversion-1.9.5/svn/share/man/man1/svnversion.1
if true ; then cd subversion/mod_dav_svn ; 
/opt/eai/ci/subversion/build/install-sh -c -d 
"/opt/eai/ci/subversion-1.9.5/svn/libexec" ; 
/opt/eai/ci/httpd-2.2.32/apache/bin/apxs -i -S 
LIBEXECDIR="/opt/eai/ci/subversion-1.9.5/svn/libexec"  -n dav_svn 
mod_dav_svn.la ; fi
/opt/eai/ci/httpd-2.2.32/apache/build/instdso.sh 
SH_LIBTOOL='/opt/freeware/lib/apr-1/build/libtool' mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec
rm -f /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -pthread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec 
-avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo 
liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo 
reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo 
reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo 
reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo 
reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .libs/mod_dav_svn.aT 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.a
libtool: install: cp .libs/mod_dav_svn.lai 
/opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.la
chmod 755 /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so
chmod: /opt/eai/ci/subversion-1.9.5/svn/libexec/mod_dav_svn.so: A file or 
directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.

-----Original Message-
From: Joseph, Anselm 
Sent: Monday, May 08, 2017 10:36 AM
To: 'Daniel Shahaf'
Cc: users@subversion.apache.org
Subject: RE: Error running make for subversion

Thank You Daniel.
I ran configure with --disable-nls and make completely successfully.
However, make install is failing with the following:
/opt/freeware/lib/apr-1/build/libtool --mode=install cp mod_dav_svn.la 
/opt/eai/ci/subversion-1.9.5/svn/libexec/
libtool: install: warning: relinking `mod_dav_svn.la'
libtool: install: (cd /opt/eai/ci/subversion/subversion/mod_dav_svn; /bin/sh 
"/opt/eai/ci/subversion/libtool"  --tag CC --silent --mode=relink gcc -shared 
-g -O2 -g -O2 -thread -rpath /opt/eai/ci/subversion-1.9.5/svn/libexec 
-avoid-version -module -o mod_dav_svn.la activity.lo authz.lo deadprops.lo 
liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo 
reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo 
reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo 
reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo 
reports/replay.lo reports/update.lo repos.lo status.lo util.lo version.lo 
../../subversion/libsvn_repos/libsvn_repos-1.la 
../../subversion/libsvn_fs/libsvn_fs-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la )
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: warning: '/lib/libexpat.la' seems to be moved
libtool: install: cp .lib

Error running make for subversion

2017-05-05 Thread Joseph, Anselm
Hope you can help with this issue from a newbie.
gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system. I am trying 
to build gnu subversion 1.9.5 and running make after ./configure.

Subversion 1.9.5
gcc (GCC) 4.2.0
Target: powerpc-ibm-aix6.1.0.0

$ make
cd subversion/svn && /bin/sh "/opt/eai/ci/subversion/libtool" --tag=CC 
--silent --mode=link gcc -shared  -g -O2   -qHALT=E-rpath /usr/local/lib  
-o svn  add-cmd.lo auth-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo 
checkout-cmd.lo cl-conflicts.lo cleanup-cmd.lo commit-cmd.lo 
conflict-callbacks.lo copy-cmd.lo delete-cmd.lo deprecated.lo diff-cmd.lo 
export-cmd.lo file-merge.lo help-cmd.lo import-cmd.lo info-cmd.lo list-cmd.lo 
lock-cmd.lo log-cmd.lo merge-cmd.lo mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo 
notify.lo patch-cmd.lo propdel-cmd.lo propedit-cmd.lo propget-cmd.lo 
proplist-cmd.lo props.lo propset-cmd.lo relocate-cmd.lo resolve-cmd.lo 
resolved-cmd.lo revert-cmd.lo similarity.lo status-cmd.lo status.lo svn.lo 
switch-cmd.lo unlock-cmd.lo update-cmd.lo upgrade-cmd.lo util.lo 
../../subversion/libsvn_client/libsvn_client-1.la 
../../subversion/libsvn_wc/libsvn_wc-1.la 
../../subversion/libsvn_ra/libsvn_ra-1.la 
../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_diff/libsvn_diff-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la -L/opt/freeware/lib -laprutil-1 
-L/opt/freeware/lib -lapr-1 -lintl
gcc: unrecognized option '-qHALT=E'
ld: 0711-317 ERROR: Undefined symbol: .libintl_dgettext
ld: 0711-317 ERROR: Undefined symbol: .libintl_dngettext
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


Stop.





FW: Error running make for subversion

2017-05-05 Thread Joseph, Anselm

From: Joseph, Anselm
Sent: Thursday, May 04, 2017 1:31 PM
To: 'gcc-h...@gcc.gnu.org'
Subject: Error running make for subversion

Hi,
Hope you can help with this issue.
gcc version 4.2.0 is installed on my powerpc-ibm-aix7.1.3.0 system. I am trying 
to build gnu subversion 1.9.5 and running make after ./configure.
I get the following errors "configure: failed program was:
| /* confdefs.h */
as well as "configure:5259: gcc -c -g -O2   -qHALT=E   -U__STR__ -D_THREAD_SAFE 
-D_USE_IRS -D_LARGEFILE64_SOURCE conftest.c >&5
gcc: unrecognized option '-qHALT=E'
Is there a versioning issue between gcc and subversion here?
See attached config.log

Regards,
Anselm


config.log
Description: config.log