comms/spandsp compile failure on upgrade

2010-08-31 Thread David Southwell

Hi

On amd64 freebsd 7.1

Compile failure:

spandsp/dc_restore.h:151: warning: incompatible implicit declaration of built-
in function 'rintl'
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/local/include -
I/usr/local/include/libxml2 -DNDEBUG -std=gnu99 -ffast-math -Wall -Wunused-
variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -O2 -fno-
strict-aliasing -pipe -march=nocona -MT tone_generate.lo -MD -MP -MF 
.deps/tone_generate.Tpo -c tone_generate.c -o tone_generate.o >/dev/null 2>&1
cc -I/usr/local/include -I/usr/local/include/libxml2 -I. -o make_modem_filter 
make_modem_filter.c filter_tools.c -lm
In file included from spandsp.h:93,
 from make_modem_filter.c:47:
./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
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.

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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: comms/spandsp compile failure on upgrade

2010-08-31 Thread Renato Botelho
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?

-- 
Renato Botelho
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: comms/spandsp compile failure on upgrade

2010-09-01 Thread David Southwell
> 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