Subject: subversion-base and AIX 5.3
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 05/01/2006 15:26:11
Hi,

Using pkgsrc-2006Q1, subversion-base is failing on AIX5.3 like this...

> ===> Building for subversion-base-1.3.0nb2
> /bin/sh /usr/pkg/obj/devel/subversion-base/work/subversion-1.3.0/libtool --tag=CC --silent --mode=compile gcc -I/usr/pkg/include -I/usr/include   -U__STR__ -D_THREAD_SAFE -D_USE_IRS  -O -I/usr/pkg/include -I/usr/include   -pthread  -D_LARGEFILE64_SOURCE -DNE_LFS  -I./subversion/include -I./subversion -I/usr/pkg/include/neon                       -I/usr/pkg/include/apr-0   -I/usr/pkg/include/apr-0 -I/usr/pkg/include -o subversion/libsvn_delta/cancel.lo -c subversion/libsvn_delta/cancel.c
> In file included from subversion/include/svn_string.h:71,
>                  from subversion/include/svn_delta.h:33,
>                  from subversion/libsvn_delta/cancel.c:19:
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: parse error before '[' token
> In file included from subversion/include/svn_string.h:71,
>                  from subversion/include/svn_delta.h:33,
>                  from subversion/libsvn_delta/cancel.c:19:
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224:3: warning: null character(s) ignored
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224:8: warning: null character(s) ignored
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:224: error: stray '\1' in program
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:225: error: syntax error at '@' token
> /usr/pkg/obj/devel/subversion-base/work/.buildlink/include/apr-0/apr_strings.h:242: error: syntax error at '@' token
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkg/obj/devel/subversion-base/work/subversion-1.3.0
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/devel/subversion-base
> ===> 
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===>      * log of the build
> ===>      * /usr/pkg/obj/devel/subversion-base/work/.work.log
> ===> 
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/devel/subversion-base


The only odd thing I'm doing is setting the following in mk.conf:

USE_NATIVE_GCC=yes

# Configure scripts don't always get this right
MACHINE_GNU_PLATFORM=powerpc-ibm-aix5.3.0.0
CC=gcc
CHECK_SHLIBS=no
RENAME=
USE_GCC3=yes


... since gcc-c++ won't build.

Any idea what could be going on here?

Thanks,

Louis