Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 09:05:15 +0100
From:      David Southwell <david@vizion2000.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: comms/spandsp compile failure on upgrade
Message-ID:  <201009010905.15594.david@vizion2000.net>
In-Reply-To: <AANLkTimFHbWm=x0AcHe-=w-adjC2owO_eCzzeuMJEfPq@mail.gmail.com>
References:  <201008312313.58505.david@vizion2000.net> <AANLkTimFHbWm=x0AcHe-=w-adjC2owO_eCzzeuMJEfPq@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Aug 31, 2010 at 7:13 PM, David Southwell <david@vizion2000.net>
> 
> 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 <format:bdb_btree> 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 <format:bdb_btree> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009010905.15594.david>