From owner-freebsd-ports@FreeBSD.ORG Wed Sep 1 08:05:32 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AA4010656A4 for ; Wed, 1 Sep 2010 08:05:32 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA7F8FC17 for ; Wed, 1 Sep 2010 08:05:31 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id AEE5A34D462; Wed, 1 Sep 2010 09:05:15 +0100 (BST) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Wed, 1 Sep 2010 09:05:15 +0100 User-Agent: KMail/1.13.5 (FreeBSD/7.2-RELEASE-p3; KDE/4.4.5; amd64; ; ) References: <201008312313.58505.david@vizion2000.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201009010905.15594.david@vizion2000.net> Subject: Re: comms/spandsp compile failure on upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 08:05:32 -0000 > On Tue, Aug 31, 2010 at 7:13 PM, David Southwell > > wrote: > > Hi > > > > On amd64 freebsd 7.1 > > Strange, i tested it on 7.2-RELEASE amd64 and it built without > any problem. > > All your other ports are up-to-date? Yep all up to date immediately before the original post. Something weird however. Originally spandsp failed to upgrade as part of portupgrade -a run giving the same error as shown in the original post. I then cd to the port directory. The errors were again shown after make clean & make. This produced the errors which were copied to the posting. I then ran portupgrade -a which produced the following: __________________________________________ In file included from spandsp.h:93, from filter_tools.c:49: ./spandsp/t30_api.h:451: error: conflicting types for 't30_set_ecm_capability' /usr/local/include/spandsp/t30.h:803: error: previous declaration of 't30_set_ecm_capability' was here ./spandsp/t30_api.h:468: error: conflicting types for 't30_set_supported_modems' /usr/local/include/spandsp/t30.h:779: error: previous declaration of 't30_set_supported_modems' was here ./spandsp/t30_api.h:475: error: conflicting types for 't30_set_supported_compressions' /usr/local/include/spandsp/t30.h:785: error: previous declaration of 't30_set_supported_compressions' was here ./spandsp/t30_api.h:482: error: conflicting types for 't30_set_supported_resolutions' /usr/local/include/spandsp/t30.h:791: error: previous declaration of 't30_set_supported_resolutions' was here ./spandsp/t30_api.h:489: error: conflicting types for 't30_set_supported_image_sizes' /usr/local/include/spandsp/t30.h:797: error: previous declaration of 't30_set_supported_image_sizes' was here gmake[2]: *** [make_modem_filter] Error 1 gmake[2]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/comms/spandsp. ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'spandsp-0.0.3_2' ---> Preserving /usr/local/lib/libspandsp.so.0 as /usr/local/lib/compat/pkg/libspandsp.so.0 pkg_delete: package 'spandsp-0.0.3_2' is required by these other packages and may not be deinstalled (but I'll delete it anyway): astfax-1.0_9 [Updating the pkgdb in /var/db/pkg ... - 1327 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Building for spandsp-0.0.5 Making all in src gmake[1]: Entering directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' gmake all-am gmake[2]: Entering directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' cc -I/usr/local/include -I/usr/local/include/libxml2 -I. -o make_modem_filter make_modem_filter.c filter_tools.c -lm ./make_modem_filter -m V.17 -i -r >v17rx_fixed_rrc.h ./make_modem_filter -m V.17 -r >v17rx_floating_rrc.h : : /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/timing.h' '/usr/local/include/spandsp/timing.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/tone_detect.h' '/usr/local/include/spandsp/tone_detect.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/tone_generate.h' '/usr/local/include/spandsp/tone_generate.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v17rx.h' '/usr/local/include/spandsp/v17rx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v17tx.h' '/usr/local/include/spandsp/v17tx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v22bis.h' '/usr/local/include/spandsp/v22bis.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v27ter_rx.h' '/usr/local/include/spandsp/v27ter_rx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v27ter_tx.h' '/usr/local/include/spandsp/v27ter_tx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v29rx.h' '/usr/local/include/spandsp/v29rx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v29tx.h' '/usr/local/include/spandsp/v29tx.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v42.h' '/usr/local/include/spandsp/v42.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v42bis.h' '/usr/local/include/spandsp/v42bis.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/v8.h' '/usr/local/include/spandsp/v8.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/vector_float.h' '/usr/local/include/spandsp/vector_float.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/vector_int.h' '/usr/local/include/spandsp/vector_int.h' /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -c -m 644 'spandsp/version.h' '/usr/local/include/spandsp/version.h' test -z "/usr/local/include" || /usr/ports/comms/spandsp/work/spandsp-0.0.5/config/install-sh -d "/usr/local/include" install -o root -g wheel -m 444 'spandsp.h' '/usr/local/include/spandsp.h' gmake[2]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' gmake[1]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5/src' gmake[1]: Entering directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5' gmake[2]: Entering directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5' gmake[2]: Nothing to be done for `install-exec-am'. gmake[2]: Nothing to be done for `install-data-am'. gmake[2]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5' gmake[1]: Leaving directory `/usr/ports/comms/spandsp/work/spandsp-0.0.5' ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for spandsp-0.0.5 ===> Cleaning for spandsp-0.0.5 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 1328 packages found (-0 +1) . done] ____________________________________________________ So subsequently successfully built the port after deinstalling the older version. It seems that make fails if the older version is currently installed. (Incidentally I realise I made a typo the system is amd64 7.2 p3 not 7.1) David Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network