Date: Fri, 4 Apr 2008 22:10:02 GMT From: Kai Gallasch <gallasch@free.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/118368: New port: net/asterisk-agx AGX Extra Addons (including app_rxfax/app_txfax) for Asterisk 1.4 Message-ID: <200804042210.m34MA2b6090171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/118368; it has been noted by GNATS. From: Kai Gallasch <gallasch@free.de> To: bug-followup@FreeBSD.org, bsd@ptitov.ru Cc: Subject: Re: ports/118368: New port: net/asterisk-agx AGX Extra Addons (including app_rxfax/app_txfax) for Asterisk 1.4 Date: Fri, 04 Apr 2008 23:38:10 +0100 port build of net/asterisk-agx fails on i386, FreeBSD 6.3 port makefile head: ------------------- # New ports collection makefile for: asterisk-agx # Date created: 27 November 2007 # Whom: Pavel Titov # # $FreeBSD$ # PORTNAME= asterisk-agx PORTVERSION= 1.4.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=agx-ast-addons DISTNAME= agx-ast-addons-${PORTVERSION} system: ------- 6.3-STABLE FreeBSD 6.3-STABLE #0: Wed Mar 19 21:15:38 CET 2008 architecture: i386 installed port dependencies: ---------------------------- - asterisk-1.4.18.1 - tiff-3.8.2_1 - spandsp-devel-0.0.4.p15 - cmake-2.4.8 build.out: ---------- # make install ===> Extracting for asterisk-agx-1.4.2 => MD5 Checksum OK for agx-ast-addons-1.4.2.tar.bz2. => SHA256 Checksum OK for agx-ast-addons-1.4.2.tar.bz2. ===> Patching for asterisk-agx-1.4.2 ===> asterisk-agx-1.4.2 depends on executable: asterisk - found ===> asterisk-agx-1.4.2 depends on executable: cmake - found ===> asterisk-agx-1.4.2 depends on shared library: spandsp.0 - found ===> asterisk-agx-1.4.2 depends on shared library: tiff.4 - found ===> Configuring for asterisk-agx-1.4.2 cmake "/usr/ports/net/asterisk-agx/work/agx-ast-addons" -DCMAKE_INSTALL_PREFIX=/usr/local "-DCMAKE_C_FLAGS=-O -pipe "-I/usr/local/include" "-L/usr/local/lib"" -DCMAKE_VERBOSE_MAKEFILE=YES -- Configuring done -- Generating done -- Build files have been written to: /usr/ports/net/asterisk-agx/work/agx-ast-addons ===> Building for asterisk-agx-1.4.2 cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && make /usr/local/bin/cmake -H/usr/ports/net/asterisk-agx/work/agx-ast-addons -B/usr/ports/net/asterisk-agx/work/agx-ast-addons --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/bin/cmake -E cmake_progress_start /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 7 make -f CMakeFiles/Makefile2 all make -f CMakeFiles/app_devstate.dir/build.make CMakeFiles/app_devstate.dir/depend Scanning dependencies of target app_devstate cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles/app_devstate.dir/DependInfo.cmake make -f CMakeFiles/app_devstate.dir/build.make CMakeFiles/app_devstate.dir/build /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 1 [ 14%] Building C object CMakeFiles/app_devstate.dir/app_devstate.o /usr/bin/gcc -Dapp_devstate_EXPORTS -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -fPIC -I/usr/lib/glib-2.0/include -o CMakeFiles/app_devstate.dir/app_devstate.o -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c Linking C shared module dist/app_devstate.so /usr/local/bin/cmake -P CMakeFiles/app_devstate.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/app_devstate.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -shared -Wl,-soname,app_devstate.so -o dist/app_devstate.so "CMakeFiles/app_devstate.dir/app_devstate.o" /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 1 [ 14%] Built target app_devstate make -f CMakeFiles/app_nv_backgrounddetect.dir/build.make CMakeFiles/app_nv_backgrounddetect.dir/depend Scanning dependencies of target app_nv_backgrounddetect cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles/app_nv_backgrounddetect.dir/DependInfo.cmake make -f CMakeFiles/app_nv_backgrounddetect.dir/build.make CMakeFiles/app_nv_backgrounddetect.dir/build /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 2 [ 28%] Building C object CMakeFiles/app_nv_backgrounddetect.dir/app_nv_backgrounddetect.o /usr/bin/gcc -Dapp_nv_backgrounddetect_EXPORTS -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -fPIC -I/usr/lib/glib-2.0/include -o CMakeFiles/app_nv_backgrounddetect.dir/app_nv_backgrounddetect.o -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_nv_backgrounddetect.c Linking C shared module dist/app_nv_backgrounddetect.so /usr/local/bin/cmake -P CMakeFiles/app_nv_backgrounddetect.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/app_nv_backgrounddetect.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -shared -Wl,-soname,app_nv_backgrounddetect.so -o dist/app_nv_backgrounddetect.so "CMakeFiles/app_nv_backgrounddetect.dir/app_nv_backgrounddetect.o" /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 2 [ 28%] Built target app_nv_backgrounddetect make -f CMakeFiles/app_nv_faxdetect.dir/build.make CMakeFiles/app_nv_faxdetect.dir/depend Scanning dependencies of target app_nv_faxdetect cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles/app_nv_faxdetect.dir/DependInfo.cmake make -f CMakeFiles/app_nv_faxdetect.dir/build.make CMakeFiles/app_nv_faxdetect.dir/build /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 3 [ 42%] Building C object CMakeFiles/app_nv_faxdetect.dir/app_nv_faxdetect.o /usr/bin/gcc -Dapp_nv_faxdetect_EXPORTS -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -fPIC -I/usr/lib/glib-2.0/include -o CMakeFiles/app_nv_faxdetect.dir/app_nv_faxdetect.o -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_nv_faxdetect.c Linking C shared module dist/app_nv_faxdetect.so /usr/local/bin/cmake -P CMakeFiles/app_nv_faxdetect.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/app_nv_faxdetect.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -shared -Wl,-soname,app_nv_faxdetect.so -o dist/app_nv_faxdetect.so "CMakeFiles/app_nv_faxdetect.dir/app_nv_faxdetect.o" /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 3 [ 42%] Built target app_nv_faxdetect make -f CMakeFiles/app_pickup2.dir/build.make CMakeFiles/app_pickup2.dir/depend Scanning dependencies of target app_pickup2 cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles/app_pickup2.dir/DependInfo.cmake make -f CMakeFiles/app_pickup2.dir/build.make CMakeFiles/app_pickup2.dir/build /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 4 [ 57%] Building C object CMakeFiles/app_pickup2.dir/app_pickup2.o /usr/bin/gcc -Dapp_pickup2_EXPORTS -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -fPIC -I/usr/lib/glib-2.0/include -o CMakeFiles/app_pickup2.dir/app_pickup2.o -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_pickup2.c Linking C shared module dist/app_pickup2.so /usr/local/bin/cmake -P CMakeFiles/app_pickup2.dir/cmake_clean_target.cmake /usr/local/bin/cmake -E cmake_link_script CMakeFiles/app_pickup2.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -shared -Wl,-soname,app_pickup2.so -o dist/app_pickup2.so "CMakeFiles/app_pickup2.dir/app_pickup2.o" /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 4 [ 57%] Built target app_pickup2 make -f CMakeFiles/app_rxfax.dir/build.make CMakeFiles/app_rxfax.dir/depend Scanning dependencies of target app_rxfax cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles/app_rxfax.dir/DependInfo.cmake make -f CMakeFiles/app_rxfax.dir/build.make CMakeFiles/app_rxfax.dir/build /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk-agx/work/agx-ast-addons/CMakeFiles 5 [ 71%] Building C object CMakeFiles/app_rxfax.dir/app_rxfax.o /usr/bin/gcc -Dapp_rxfax_EXPORTS -O -pipe -I/usr/local/include -L/usr/local/lib -g -O -Wall -Werror -fPIC -I/usr/lib/glib-2.0/include -o CMakeFiles/app_rxfax.dir/app_rxfax.o -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_rxfax.c In file included from /usr/local/include/asterisk/translate.h:35, from /usr/local/include/asterisk/channel.h:120, from /usr/local/include/asterisk/file.h:30, from /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_rxfax.c:32: /usr/local/include/asterisk/plc.h:127: error: conflicting types for 'plc_state_t' /usr/local/include/spandsp/plc.h:128: error: previous declaration of 'plc_state_t' was here /usr/local/include/asterisk/plc.h:140: error: conflicting types for 'plc_rx' /usr/local/include/spandsp/plc.h:142: error: previous declaration of 'plc_rx' was here /usr/local/include/asterisk/plc.h:140: error: conflicting types for 'plc_rx' /usr/local/include/spandsp/plc.h:142: error: previous declaration of 'plc_rx' was here /usr/local/include/asterisk/plc.h:148: error: conflicting types for 'plc_fillin' /usr/local/include/spandsp/plc.h:150: error: previous declaration of 'plc_fillin' was here /usr/local/include/asterisk/plc.h:148: error: conflicting types for 'plc_fillin' /usr/local/include/spandsp/plc.h:150: error: previous declaration of 'plc_fillin' was here /usr/local/include/asterisk/plc.h:154: error: conflicting types for 'plc_init' /usr/local/include/spandsp/plc.h:156: error: previous declaration of 'plc_init' was here /usr/local/include/asterisk/plc.h:154: error: conflicting types for 'plc_init' /usr/local/include/spandsp/plc.h:156: error: previous declaration of 'plc_init' was here *** Error code 1 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons. *** Error code 1 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons. *** Error code 1 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons. *** Error code 1 Stop in /usr/ports/net/asterisk-agx.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804042210.m34MA2b6090171>