David, Interestingly, the svn-swig-py.info/patch I sent build fine with 'fink -m --tests=off' which is perhaps why upstream hasn't noticed the issue yet. Jack
On Mon, Feb 9, 2015 at 12:10 PM, Jack Howarth <howarth.at.f...@gmail.com> wrote: > Daniel, > Adding the changes proposed in... > > http://mail-archives.apache.org/mod_mbox/subversion-dev/201501.mbox/%3c54c565b3.2020...@gmx.de%3e > > and > > http://mail-archives.apache.org/mod_mbox/subversion-dev/201501.mbox/%3c87oapho80m....@ntlworld.com%3E > > to swig-svn-pm solves the build problem with swig-3.0.5. I am still > running into a glitch when the same patch to svn-swg-py. > While it eliminates all of the earlier errors of... > > Error: Unknown SWIG preprocessor directive: collector (if this is a > block of target language code, delimit it with %{ and %}) > > of the current svn-swig-py, it fails at the end with... > > /tmp/fink.lqJVU > #! /bin/sh -ev > export > DYLD_LIBRARY_PATH=/sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/libsvn_swig_py/.libs > make check-swig-py || exit 2 > if [ "DYLD_LIBRARY_PATH" = "DYLD_LIBRARY_PATH" ]; then for d in > /sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/libsvn_swig_py > /sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/../../../libsvn_*; > do if [ -n "$DYLD_LIBRARY_PATH" ]; then > DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$d/.libs"; else > DYLD_LIBRARY_PATH="$d/.libs"; fi; done; export DYLD_LIBRARY_PATH; fi; > \ > cd > /sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python; > \ > /sw/bin/python2.7 > /sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/tests/run_all.py > Traceback (most recent call last): > File > "/sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/tests/run_all.py", > line 22, in <module> > import mergeinfo, core, client, delta, checksum, pool, ra, wc, > repository, \ > File > "/sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/tests/mergeinfo.py", > line 22, in <module> > from svn import core, repos, fs > File > "/sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/svn/core.py", > line 26, in <module> > from libsvn.core import * > File > "/sw/src/fink.build/svn-swig-py27-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/python/libsvn/core.py", > line 1081 > /* If we got back a different object than we have, we need to copy all our > ^ > SyntaxError: invalid syntax > Makefile:836: recipe for target 'check-swig-py' failed > > Jack > > On Mon, Feb 9, 2015 at 10:29 AM, Daniel Johnson > <dan...@daniel-johnson.org> wrote: >> >> >> >> Daniel >> >>> On Feb 9, 2015, at 10:08 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote: >>> >>> Daniel, >>> The new update to svn-swig-pm5182-1.8.11-1 is failing to build >>> here with... >>> >>> ./configure --libdir=/sw/lib/perl5/5.18.2/lib \ >>> --enable-shared \ >>> --disable-static \ >>> --with-serf=/sw \ >>> --with-apr=/sw/bin/apr-1-config \ >>> --with-apr-util=/sw/bin/apu-1-config \ >>> --without-apxs \ >>> --disable-mod-activation \ >>> --without-jdk \ >>> --disable-javahl \ >>> --with-jikes=no \ >>> --with-swig \ >>> --with-berkeley-db='db.h:/sw/include/db5:/sw/lib:db-5.3' \ >>> --with-sasl=/sw \ >>> --with-sqlite=/sw \ >>> --without-gnome-keyring \ >>> --without-kwallet \ >>> --without-ctypesgen \ >>> --without-doxygen \ >>> --without-libmagic >>> configure: Configuring Subversion 1.8.11 >>> configure: creating config.nice >>> checking for gcc... gcc >>> checking whether the C compiler works... yes >>> checking for C compiler default output file name... a.out >>> checking for suffix of executables... >>> checking whether we are cross compiling... no >>> checking for suffix of object files... o >>> checking whether we are using the GNU C compiler... yes >>> checking whether gcc accepts -g... yes >>> checking for gcc option to accept ISO C89... none needed >>> checking if gcc accepts -std=c90... yes >>> checking if gcc accepts -Werror=unknown-warning-option... yes >>> checking for g++... g++ >>> checking whether we are using the GNU C++ compiler... yes >>> checking whether g++ accepts -g... yes >>> checking if g++ accepts -std=c++98... yes >>> checking if g++ accepts -Werror=unknown-warning-option... yes >>> checking how to run the C preprocessor... gcc -E >>> checking for a sed that does not truncate output... /sw/bin/sed >>> checking build system type... x86_64-apple-darwin14.3.0 >>> checking host system type... x86_64-apple-darwin14.3.0 >>> checking target system type... x86_64-apple-darwin14.3.0 >>> checking for grep that handles long lines and -e... /sw/bin/grep >>> checking for egrep... /sw/bin/grep -E >>> checking whether ln -s works... yes >>> checking for a BSD-compatible install... /sw/bin/ginstall -c >>> configure: Apache Portable Runtime (APR) library configuration >>> checking for APR... yes >>> checking APR version... 1.5.1 >>> configure: Apache Portable Runtime Utility (APRUTIL) library configuration >>> checking for APR-util... yes >>> checking APRUTIL version... 1.5.4 >>> checking for pkg-config... /sw/bin/pkg-config >>> checking for ANSI C header files... yes >>> checking for sys/types.h... yes >>> checking for sys/stat.h... yes >>> checking for stdlib.h... yes >>> checking for string.h... yes >>> checking for memory.h... yes >>> checking for strings.h... yes >>> checking for inttypes.h... yes >>> checking for stdint.h... yes >>> checking for unistd.h... yes >>> configure: serf library configuration via prefix >>> checking serf.h usability... yes >>> checking serf.h presence... yes >>> checking for serf.h... yes >>> checking for serf_context_create in -lserf-1... yes >>> checking was serf enabled... yes >>> configure: looking for apr_memcache as part of apr-util >>> checking apr_memcache.h usability... yes >>> checking apr_memcache.h presence... yes >>> checking for apr_memcache.h... yes >>> checking for apr_memcache_create in -laprutil-1... yes >>> checking for Apache module support via DSO through APXS... no >>> configure: checking sqlite library >>> checking sqlite3.h usability... yes >>> checking sqlite3.h presence... yes >>> checking for sqlite3.h... yes >>> checking sqlite library version (via header)... okay >>> checking for sqlite3_close in -lsqlite3... yes >>> checking whether the compiler provides atomic builtins... yes >>> configure: configuring libtool now >>> checking how to print strings... printf >>> checking for a sed that does not truncate output... (cached) /sw/bin/sed >>> checking for fgrep... /sw/bin/grep -F >>> checking for ld used by gcc... >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld >>> checking if the linker >>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) >>> is GNU ld... no >>> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm >>> checking the name lister (/usr/bin/nm) interface... BSD nm >>> checking the maximum length of command line arguments... 196608 >>> checking how to convert x86_64-apple-darwin14.3.0 file names to >>> x86_64-apple-darwin14.3.0 format... func_convert_file_noop >>> checking how to convert x86_64-apple-darwin14.3.0 file names to >>> toolchain format... func_convert_file_noop >>> checking for >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld >>> option to reload object files... -r >>> checking for objdump... no >>> checking how to recognize dependent libraries... pass_all >>> checking for dlltool... no >>> checking how to associate runtime and link libraries... printf %s\n >>> checking for ar... ar >>> checking for archiver @FILE support... no >>> checking for strip... strip >>> checking for ranlib... ranlib >>> checking for gawk... gawk >>> checking command to parse /usr/bin/nm output from gcc object... ok >>> checking for sysroot... no >>> checking for a working dd... /bin/dd >>> checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >>> checking for mt... no >>> checking if : is a manifest tool... no >>> checking for dsymutil... dsymutil >>> checking for nmedit... nmedit >>> checking for lipo... lipo >>> checking for otool... otool >>> checking for otool64... no >>> checking for -single_module linker flag... yes >>> checking for -exported_symbols_list linker flag... yes >>> checking for -force_load linker flag... yes >>> checking for dlfcn.h... yes >>> checking for objdir... .libs >>> checking if gcc supports -fno-rtti -fno-exceptions... yes >>> checking for gcc option to produce PIC... -fno-common -DPIC >>> checking if gcc PIC flag -fno-common -DPIC works... yes >>> checking if gcc static flag -static works... no >>> checking if gcc supports -c -o file.o... yes >>> checking if gcc supports -c -o file.o... (cached) yes >>> checking whether the gcc linker >>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) >>> supports shared libraries... yes >>> checking dynamic linker characteristics... darwin14.3.0 dyld >>> checking how to hardcode library paths into programs... immediate >>> checking whether stripping libraries is possible... yes >>> checking if libtool supports shared libraries... yes >>> checking whether to build shared libraries... yes >>> checking whether to build static libraries... no >>> checking how to run the C++ preprocessor... g++ -E >>> checking for ld used by g++... >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld >>> checking if the linker >>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) >>> is GNU ld... no >>> checking whether the g++ linker >>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) >>> supports shared libraries... yes >>> checking for g++ option to produce PIC... -fno-common -DPIC >>> checking if g++ PIC flag -fno-common -DPIC works... yes >>> checking if g++ static flag -static works... no >>> checking if g++ supports -c -o file.o... yes >>> checking if g++ supports -c -o file.o... (cached) yes >>> checking whether the g++ linker >>> (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) >>> supports shared libraries... yes >>> checking dynamic linker characteristics... darwin14.3.0 dyld >>> checking how to hardcode library paths into programs... immediate >>> configure: building shared libraries only >>> checking whether libtool needs -no-undefined... no >>> checking whether to avoid circular linkage at all costs... no >>> checking for trang... none >>> checking for Expat... yes >>> checking for socket in -lsocket... no >>> checking for availability of Berkeley DB... yes >>> checking whether to look for SASL... yes >>> checking sasl/sasl.h usability... yes >>> checking sasl/sasl.h presence... yes >>> checking for sasl/sasl.h... yes >>> checking sasl/saslutil.h usability... yes >>> checking sasl/saslutil.h presence... yes >>> checking for sasl/saslutil.h... yes >>> checking for prop_get in -lsasl2... yes >>> checking for availability of Cyrus SASL v2... yes >>> checking for Mach-O dynamic module iteration functions... yes >>> checking for Mac OS property list utilities... yes >>> checking for Mac OS KeyChain Services... yes >>> checking whether APR has support for DSOs... yes >>> checking for D-Bus .pc file... yes >>> checking D-Bus version... 1.8.4 >>> checking for D-Bus... yes >>> checking whether to support GPG-Agent... yes >>> checking whether to look for GNOME Keyring... no >>> checking for msgfmt... /sw/bin/msgfmt >>> checking for msgmerge... /sw/bin/msgmerge >>> checking for xgettext... /sw/bin/xgettext >>> checking for library containing bindtextdomain... -lintl >>> checking for bind_textdomain_codeset... yes >>> checking if we are using GNU gettext... yes >>> checking whether to look for KWallet... no >>> checking for ANSI C header files... (cached) yes >>> checking for an ANSI C-conforming const... yes >>> checking for size_t... yes >>> checking for working memcmp... yes >>> checking for vprintf... yes >>> checking for _doprnt... no >>> checking for symlink... yes >>> checking for readlink... yes >>> checking sys/utsname.h usability... yes >>> checking sys/utsname.h presence... yes >>> checking for sys/utsname.h... yes >>> checking for uname... yes >>> checking termios.h usability... yes >>> checking termios.h presence... yes >>> checking for termios.h... yes >>> checking for tcgetattr... yes >>> checking for tcsetattr... yes >>> configure: C compiler flags: -Werror=unknown-warning-option -g -O2 -g -O2 >>> configure: user-defined: >>> configure: maintainer-mode: >>> configure: C++ compiler flags: -Werror=unknown-warning-option -g -O2 >>> configure: user-defined: >>> configure: maintainer-mode: >>> checking zlib.h usability... yes >>> checking zlib.h presence... yes >>> checking for zlib.h... yes >>> checking for inflate in -lz... yes >>> configure: Disabling apache module activation >>> checking for python... /usr/bin/python >>> checking for perl... /usr/bin/perl5.18 >>> checking for /usr/bin/false... /usr/bin/false >>> checking rb_hash_foreach... no >>> configure: WARNING: The detected Ruby is too old for Subversion to use >>> configure: WARNING: A Ruby which has rb_hash_foreach is required to use the >>> configure: WARNING: Subversion Ruby bindings >>> configure: WARNING: Upgrade to the official 1.8.2 release, or later >>> checking for swig... /sw/bin/swig >>> checking swig version... 3.0.4 >>> configure: Configuring python swig binding >>> checking for Python includes... >>> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 >>> checking for compiling Python extensions... cc -arch x86_64 -arch i386 -pipe >>> checking for linking Python extensions... cc -bundle -undefined >>> dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. -framework Python >>> checking for linking Python libraries... -bundle -undefined >>> dynamic_lookup -Wl,-F. -framework Python >>> checking for apr_int64_t Python/C API format string... l >>> checking perl version... 5018002 >>> configure: creating ./config.status >>> config.status: creating Makefile >>> config.status: creating tools/backup/hot-backup.py >>> config.status: creating tools/hook-scripts/commit-access-control.pl >>> config.status: creating subversion/bindings/swig/perl/native/Makefile.PL >>> config.status: creating subversion/svn_private_config.h.tmp >>> config.status: executing libtool commands >>> config.status: executing svn_private_config.h.tmp commands >>> >>> ### Build swig perl bindings >>> >>> perl -pi -e 's/-arch (i386|ppc|x86_64)//g' Makefile >>> >>> ######################## Running SWIG ######################## >>> >>> make autogen-swig-pl >>> /sw/bin/swig >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion/include >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion/bindings/swig >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/include >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/proxy >>> -I/sw/src/fink.build/svn-swig-pm5182-1.8.11-1/subversion-1.8.11/subversion/bindings/swig/proxy >>> -I/sw/include/apr -I/sw/include/apr -I/sw/include -I/sw/include >>> -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -perl -nopm >>> -noproxy -o subversion/bindings/swig/perl/native/core.c >>> ./subversion/bindings/swig/core.i >>> ./subversion/bindings/swig/core.i:792: Error: Unknown SWIG >>> preprocessor directive: The (if this is a block of target language >>> code, delimit it with %{ and %}) >>> ./subversion/bindings/swig/core.i:793: Error: Unknown SWIG >>> preprocessor directive: reference (if this is a block of target >>> language code, delimit it with %{ and %}) >>> ./subversion/bindings/swig/core.i:794: Error: Unknown SWIG >>> preprocessor directive: references (if this is a block of target >>> language code, delimit it with %{ and %}) >>> ./subversion/bindings/swig/core.i:795: Error: Unknown SWIG >>> preprocessor directive: keeping (if this is a block of target language >>> code, delimit it with %{ and %}) >>> build-outputs.mk:259: recipe for target >>> 'subversion/bindings/swig/perl/native/core.c' failed >>> make: *** [subversion/bindings/swig/perl/native/core.c] Error 1 >>> ### execution of /tmp/fink.vfmGW failed, exit code 2 >>> ### execution of /tmp/fink.JzOfM failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-svn-swig-pm5182-1.8.11-1 >>> (Reading database ... 379588 files and directories currently installed.) >>> Removing fink-buildlock-svn-swig-pm5182-1.8.11-1 ... >>> Failed: phase compiling: svn-swig-pm5182-1.8.11-1 failed >>> >>> Before reporting any errors, please run "fink selfupdate" and try again. >>> >>> If you continue to have issues, please check to see if the FAQ on Fink's >>> website solves the problem. If not, ask on one (not both, please) of >>> these mailing lists: >>> >>> The Fink Users List <fink-us...@lists.sourceforge.net> >>> The Fink Beginners List <fink-beginn...@lists.sourceforge.net>, >>> >>> with a carbon copy to the maintainer: >>> >>> Daniel Johnson <dan...@daniel-johnson.org> >>> >>> Note that this is preferable to emailing just the maintainer directly, >>> since most fink package maintainers do not have access to all possible >>> hardware and software configurations. >>> >>> Please try to include the complete error message in your report. This >>> generally consists of a compiler line starting with e.g. "gcc" or "g++" >>> followed by the actual error output from the compiler. >>> >>> Also include the following system information: >>> Package manager version: 0.38.3 >>> Distribution version: selfupdate-cvs Mon Feb 9 08:38:45 2015, 10.10, x86_64 >>> Trees: local/main stable/main stable/crypto >>> Xcode.app: 6.1.1 >>> Xcode command-line tools: 6.1.1.0.1.1416017670 >>> svn-swig-pm5182-1.8.11-1 is set to build with only one job. >>> >>> Jack >> >> This looks like an incompatibility with the new swig. I may have to >> resurrect an older version. I'll look at it tonight. >> >> Daniel >> ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel