From owner-freebsd-ports@FreeBSD.ORG Fri May 21 05:14:20 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A978016A4CE for ; Fri, 21 May 2004 05:14:20 -0700 (PDT) Received: from mailgate4.cinetic.de (mailgate4.cinetic.de [217.72.192.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id E89E143D3F for ; Fri, 21 May 2004 05:14:19 -0700 (PDT) (envelope-from kay_lehmann@web.de) Received: from smtp.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) ESMTP id i4LBXJt04866 for ; Fri, 21 May 2004 13:33:19 +0200 Received: from lehmann.in-dsl.de ([217.197.85.240] helo=web.de) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BR8G8-0006BS-00; Fri, 21 May 2004 13:32:17 +0200 Message-ID: <40ADE8B6.6010003@web.de> Date: Fri, 21 May 2004 13:32:06 +0200 From: Kay Lehmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.6) Gecko/20040405 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Christopher Nehren References: <20040521043417.GA8528@prophecy.dyndns.org> In-Reply-To: <20040521043417.GA8528@prophecy.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: kay_lehmann@web.de cc: FreeBSD Ports List Subject: Re: Yet another user with subversion building problems (WITH_PERL breakage) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 12:14:21 -0000 Christopher Nehren wrote: > After two fresh cvsups I'm still getting the following error when trying > to build Subversion: > > adjunct# make WITH_PERL=YES SVNREPOS=/usr/local/svn/repos > WITH_MOD_DAV_SVN=YES WITH_APACHE2_APR=YES > [...] > cd subversion/clients/cmdline && /bin/sh > /usr/ports/devel/subversion/work/subversion-1.0.2/libtool --silent > --mode=link cc -O -pipe -O2 -pthread -DNEON_ZLIB -DNEON_SSL > -L/usr/local/lib/db42 -L/usr/local/lib -rpath /usr/local/lib -o svn > add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o > commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o > import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o > mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o > propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o > revert-cmd.o status-cmd.o status.o switch-cmd.o update-cmd.o util.o > ../../../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_subr/libsvn_subr-1.la > /usr/local/lib/apache2/libaprutil-0.la -ldb-4.2 -lexpat > /usr/local/lib/apache2/libapr-0.la -lm -lcrypt -lc_r -L/usr/local/lib > -rpath=/usr/local/lib -L/usr/local/lib -lneon -lssl -lcrypto -lz -lexpat > libtool: link: cannot find the library `' > *** Error code 1 > This looks like an error I become when trying to build koffice with wv2 enabled. I saw this with other kde-apps I tried to port, too. It seems to be a libtool-problem. In one case I was able to work around this by defining another libtool-version using USE_LIBTOOL_VER variable in Makefile, but this did not work for all ports in my case. Maybe you should give it a try, maybe this suggestion is completly silly, since I do not really understood all this libtool-stuff till now. > Trying to run this command manually without the libtool nonsense gives > an error that ../../../subversion/libsvn_client/libsvn_client-1.la is an > unrecognized file format. I removed the file, tried again, and got the > same error. This is on a FreeBSD 4.10-BETA system as cvsup'd and built > on May 8th starting at 10:00 AM EST. > > Curiously enough, the port builds and installs cleanly without a single > hitch if I omit WITH_PERL=YES . > > If I try to build with Perl support, in addition, SWIG dies with an > error that a zend function is given too many arguments in libphp4.c . > This seems quite spurious to me, since SWIG_LANGUAGES is set to perl by > devel/subversion/Makefile , which should totally omit PHP and everything > else !~ /^perl$/. > > Of course, there's always the possibility for user error, so if that is > the case, I would appreciate some directions to the appropriate > documentation. > Does not look like it is an user error to me. Greets, Kay Btw.: To those who know more about libtool and freinds: These errors seem to be -stable related.