Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mediastreamer-2.9.0 fails emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 31
Location: United States

PostPosted: Thu Oct 24, 2013 7:27 am    Post subject: mediastreamer-2.9.0 fails emerge Reply with quote

Have spent hours on it, I really want the new version of linphone. Did perl-clean all and python-updater. Trimmed make.conf to bare minimums. Out of ideas. I would file a bug but I know this version has been out for a little while and no one else seems to have the problem. Repeatedly I get /bin/sh: -c: line 0: syntax error near unexpected token `('
Code:
 * Package:    media-libs/mediastreamer-2.9.0
 * Repository: gentoo
 * Maintainer: bircoph@gmail.com voip@gentoo.org,proxy-maint@gentoo.org
 * USE:        X alsa amd64 amr elibc_glibc filters g726 g729 gsm ilbc ipv6 kernel_linux opengl opus ortp pulseaudio sdl silk speex theora upnp userland_GNU v4l video
 * FEATURES:   ccache distcc preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking mediastreamer-2.9.0.tar.gz to /var/tmp/portage/media-libs/mediastreamer-2.9.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/mediastreamer-2.9.0/work
>>> Preparing source in /var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0 ...
 * Applying mediastreamer-2.9.0-v4l-automagic.patch ...
 [ ok ]
 * Applying mediastreamer-2.9.0-libav9.patch ...
 [ ok ]
 * Applying mediastreamer-2.9.0-underlinking.patch ...
 [ ok ]
 * Applying mediastreamer-2.9.0-tests.patch ...
 [ ok ]
 * Applying mediastreamer-2.9.0-xxd.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0' ...
 * Running intltoolize --automake --copy --force ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ ok ]
 * Running elibtoolize in: mediastreamer-2.9.0/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0 ...
 * econf: updating mediastreamer-2.9.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mediastreamer-2.9.0/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --htmldir=/usr/share/doc/mediastreamer-2.9.0/html --datadir=/usr/share/mediastreamer --disable-artsc --disable-strict --disable-libv4l1 --enable-external-ortp --enable-alsa --enable-pulseaudio --disable-macsnd --disable-debug --enable-filters --enable-spandsp --enable-gsm --enable-ipv6 --disable-ntp-timestamp --enable-glx --enable-opus --enable-ortp --disable-oss --disable-pcap --disable-portaudio --enable-speex --disable-static --enable-theora --enable-upnp --enable-video --enable-v4l --enable-libv4l2 --enable-sdl --enable-x11 --enable-xv ac_cv_path_DOXYGEN=false --disable-macaqsnd
configure: loading site script /usr/share/config.site
configure: mediastreamer-2.9.0      A mediastreaming library for telephony application.
configure: licensed under the terms of the General Public License (GPL)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Building Package on linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/missing: Unknown `--is-lightweight' option
Try `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking warning make an error on compilation... checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether x86_64-pc-linux-gnu-gcc accepts -g... no
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking whether NLS is requested... yes
checking for intltool >= 0.40... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.1
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether fixed point arithmetic is preferred... false
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking for LIBPULSE... yes
checking for SPEEX... yes
checking for SPEEX... yes
checking for SPEEXDSP... yes
checking gsm/gsm.h usability... yes
checking gsm/gsm.h presence... yes
checking for gsm/gsm.h... yes
checking for gsm_create in -lgsm... yes
checking for SPANDSP... yes
checking for LIBUPNP... yes
checking for OPUS... yes
checking for FFMPEG... yes
checking for SWSCALE... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking for avcodec_register_all in -lavcodec... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking for SDL... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/extensions/Xv.h usability... yes
checking X11/extensions/Xv.h presence... yes
checking for X11/extensions/Xv.h... yes
checking for X11/extensions/Xvlib.h... yes
checking for XvCreateImage in -lXv... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GLEW... yes
checking for X11/Xlib.h... (cached) yes
checking for THEORA... yes
checking for VP8... yes
checking for ORTP... yes
checking for dlfcn.h... (cached) yes
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking for LIBV4L2... yes
checking for LIBV4L1... yes
checking for pcap-config... /usr/bin/pcap-config
checking for CUNIT... no
checking CUnit/CUnit.h usability... no
checking CUnit/CUnit.h presence... no
checking for CUnit/CUnit.h... no
configure: WARNING: Could not find cunit framework, tests are not compiled.
checking for library containing clock_gettime... -lrt
checking for working clock_gettime... yes
checking for doxygen... (cached) false
checking for epm... false
checking for mkepmlist... false
checking for epminstall... false
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating include/Makefile
config.status: creating include/mediastreamer2/Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating build/Makefile
config.status: creating build/win32native/Makefile
config.status: creating build/win32native/mediastream/Makefile
config.status: creating build/win32-novideo/Makefile
config.status: creating build/wince/Makefile
config.status: creating build/winmob/Makefile
config.status: creating mediastreamer.pc
config.status: creating mediastreamer2.spec
config.status: creating help/Makefile
config.status: creating help/Doxyfile
config.status: creating tester/Makefile
config.status: creating mediastreamer-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool-hacking commands
No need to hack libtool.
config.status: executing po/stamp-it commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0 ...
make -j5
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'
Making all in po
make[2]: Entering directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/po'
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po
file=`echo it | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file it.po
file=`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file de.po
file=`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file ja.po
file=`echo es | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file es.po
file=`echo pl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file pl.po
file=`echo cs | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file cs.po
file=`echo nl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file nl.po
file=`echo sv | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file sv.po
file=`echo pt_BR | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file pt_BR.po
file=`echo hu | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file hu.po
file=`echo ru | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file ru.po
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po
make[2]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/po'
Making all in src
make[2]: Entering directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/src'
if test -d ../.git ; then \
   /bin/echo -n "#define GIT_VERSION " > gitversion.h.tmp &&\
   /bin/echo \"`cd .. && git describe --always`\" >> gitversion.h.tmp &&\
   if test "`cat gitversion.h.tmp`" != "`cat ./gitversion.h`" ; then \
      cp -f gitversion.h.tmp ./gitversion.h ; \
   fi \
   && rm -f gitversion.h.tmp ;\
fi
builddir=`pwd` && \
cd ../src && \
xxdi.pl yuv2rgb.fs | sed s/}\;/0x00}\;/ > $builddir/yuv2rgb.fs.h
if ! test -f ./gitversion.h ; then \
   /bin/echo -n "#define GIT_VERSION \"unknown\" " > ./gitversion.h ;\
fi
builddir=`pwd` && \
cd ../src && \
xxdi.pl yuv2rgb.vs | sed s/}\;/0x00}\;/ > $builddir/yuv2rgb.vs.h
builddir=`pwd` && cd . && \
awk 'BEGIN { FS="[()]" ; }; /^\t*MS_FILTER_DESC_EXPORT/{ printf("%s\n", $2) } '  > $builddir/voipdescs.txt voip/private.h voip/msvoip.c voip/mediastream.c voip/audiostream.c voip/ringstream.c voip/ice.c otherfilters/msrtp.c voip/qualityindicator.c voip/audioconference.c voip/bitratedriver.c voip/qosanalyzer.c voip/bitratecontrol.c audiofilters/alaw.c audiofilters/ulaw.c audiofilters/dtmfgen.c audiofilters/msconf.c utils/g711common.h audiofilters/msvolume.c utils/dsptools.c utils/kiss_fft.c utils/_kiss_fft_guts.h utils/kiss_fft.h utils/kiss_fftr.c utils/kiss_fftr.h audiofilters/equalizer.c audiofilters/chanadapt.c audiofilters/audiomixer.c audiofilters/tonedetector.c utils/g722.h utils/g722_decode.c utils/g722_encode.c audiofilters/msg722.c audiofilters/l16.c audiofilters/genericplc.c audiofilters/msfileplayer.c audiofilters/msfilerec.c audiofilters/waveheader.h audiofilters/msspeex.c audiofilters/speexec.c audiofilters/gsm.c audiofilters/g726.c audiofilters/msopus.c  audiofilters/msresample.c audiofilters/alsa.c       audiofilters/pulseaudio.c    videofilters/msv4l2.c  videofilters/theora.c videofilters/vp8.c videofilters/videoenc.c videofilters/videodec.c utils/swscale.h utils/ffmpeg-priv.h utils/ffmpeg-priv.c videofilters/h264dec.c videofilters/jpegwriter.c videofilters/videoout.c  videofilters/x11video.c videofilters/glxvideo.c utils/opengles_display.c utils/shaders.c voip/rfc2429.h videofilters/pixconv.c videofilters/sizeconv.c voip/msvideo.c voip/msvideo_neon.c voip/msvideo_neon.h voip/rfc3984.c videofilters/mire.c videofilters/extdisplay.c voip/layouts.c voip/layouts.h videofilters/nowebcam.c voip/nowebcam.h  voip/videostream.c upnp/upnp_igd.c upnp/upnp_igd_private.h upnp/upnp_igd_cmd.c upnp/upnp_igd_utils.c upnp/upnp_igd_utils.h && \
awk 'BEGIN { print("#include \"mediastreamer2/msfilter.h\"\n") } { printf("extern MSFilterDesc %s;\n",$1) } ' $builddir/voipdescs.txt > $builddir/voipdescs.h && \
awk 'BEGIN { print("MSFilterDesc * ms_voip_filter_descs[]={") } { printf("&%s,\n",$1) } END{ print("NULL\n};\n") } ' $builddir/voipdescs.txt >> $builddir/voipdescs.h
builddir=`pwd` && cd . && \
awk 'BEGIN { FS="[()]" ; }; /^\t*MS_FILTER_DESC_EXPORT/{ printf("%s\n", $2) } '  > $builddir/basedescs.txt base/mscommon.c gitversion.h base/msfilter.c base/msqueue.c base/msticker.c base/eventqueue.c base/mssndcard.c otherfilters/tee.c otherfilters/join.c base/mswebcam.c base/mtu.c otherfilters/void.c otherfilters/itc.c   && \
awk 'BEGIN { print("#include \"mediastreamer2/msfilter.h\"\n") } { printf("extern MSFilterDesc %s;\n",$1) } ' $builddir/basedescs.txt > $builddir/basedescs.h && \
awk 'BEGIN { print("MSFilterDesc * ms_base_filter_descs[]={") } { printf("&%s,\n",$1) } END{ print("NULL\n};\n") } ' $builddir/basedescs.txt >> $builddir/basedescs.h
make  all-am
make[3]: Entering directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPACKAGE_PLUGINS_DIR=\"/usr/lib64/mediastreamer/plugins\" -DLOCALEDIR=\"/usr/share/locale\" -
<HAD TO SNIP IT>
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -D_REENTRANT -DORTP_INET6    -march=core2 -O2 -pipe -fomit-frame-pointer   -no-undefined -version-info 3:0:0 -rdynamic   -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o libmediastreamer_voip.la -rpath /usr/lib64 voip/msvoip.lo voip/mediastream.lo voip/audiostream.lo voip/ringstream.lo voip/ice.lo otherfilters/msrtp.lo voip/qualityindicator.lo voip/audioconference.lo voip/bitratedriver.lo voip/qosanalyzer.lo voip/bitratecontrol.lo audiofilters/alaw.lo audiofilters/ulaw.lo audiofilters/dtmfgen.lo audiofilters/msconf.lo audiofilters/msvolume.lo utils/dsptools.lo utils/kiss_fft.lo utils/kiss_fftr.lo audiofilters/equalizer.lo audiofilters/chanadapt.lo audiofilters/audiomixer.lo audiofilters/tonedetector.lo utils/g722_decode.lo utils/g722_encode.lo audiofilters/msg722.lo audiofilters/l16.lo audiofilters/genericplc.lo audiofilters/msfileplayer.lo audiofilters/msfilerec.lo audiofilters/msspeex.lo audiofilters/speexec.lo audiofilters/gsm.lo audiofilters/g726.lo audiofilters/msopus.lo  audiofilters/msresample.lo audiofilters/alsa.lo       audiofilters/pulseaudio.lo    videofilters/msv4l2.lo  videofilters/theora.lo videofilters/vp8.lo videofilters/videoenc.lo videofilters/videodec.lo utils/ffmpeg-priv.lo videofilters/h264dec.lo videofilters/jpegwriter.lo videofilters/videoout.lo videofilters/x11video.lo videofilters/glxvideo.lo utils/opengles_display.lo utils/shaders.lo videofilters/pixconv.lo videofilters/sizeconv.lo voip/msvideo.lo voip/msvideo_neon.lo voip/rfc3984.lo videofilters/mire.lo videofilters/extdisplay.lo voip/layouts.lo videofilters/nowebcam.lo voip/videostream.lo upnp/upnp_igd.lo upnp/upnp_igd_cmd.lo upnp/upnp_igd_utils.lo  libmediastreamer_base.la  -lasound  -lpulse   -lspeex   -lspeexdsp   -lgsm -lv4l1   -lv4l2   -L(exec_prefix)/lib64 -lspandsp -ltiff -lm    -lopus   -lvpx   -lavcodec   -lavutil -lswscale   -lSDL  -lpthread   -lX11 -lGL -lGLEW -ltheora -logg   -lGLEW -lGLU -lGL   -pthread  -lupnp -lthreadutil -lixml   -pthread -lpthread  -lXv -ldl'
make[3]: *** [libmediastreamer_voip.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'
make: *** [all] Error 2
 * ERROR: media-libs/mediastreamer-2.9.0 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mediastreamer-2.9.0'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mediastreamer-2.9.0'`.
 * The complete build log is located at '/var/log/portage/media-libs:mediastreamer-2.9.0:20131024-065650.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'
 * S: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'

Any help appreciated.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5412

PostPosted: Thu Oct 24, 2013 3:32 pm    Post subject: Reply with quote

Two things:
- usually, it's better to pastebin the build log (due to its size)
- you've snipped the actual error
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 31
Location: United States

PostPosted: Thu Oct 24, 2013 7:14 pm    Post subject: Reply with quote

I apologize. The complete log is here: https://gist.github.com/yuyuyak/7143257
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5412

PostPosted: Fri Oct 25, 2013 12:18 am    Post subject: Reply with quote

Hmm...
'-lv4l2 -L(exec_prefix)/lib64 -lspandsp' - check your config.log, but it seems something went wrong either with spandsp check or its build.

PS.: OK, so that already was in the first snippet, but as the place you've snipped at was dangerously close, it was better to make sure there was nothing else in the snipped part.
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 31
Location: United States

PostPosted: Fri Oct 25, 2013 4:13 am    Post subject: Reply with quote

Thanks for the tips VoidMage. Learned something new with that config.log suggestion.
Unfortunately, don't see much in there, but this snippet looks like a clue:
Code:
conftest.c: In function 'main':
conftest.c:87:21: error: expected expression before ')' token
configure:22569: $? = 1
configure: failed program was:
| /* confdefs.h */

Interestingly, it seems to have something to do with upnp and I did see a reference to that at the linphone mailing group regarding this error, so will check that out tomorrow. Something about distro security patches on the Debian version of upnp, could be related.
spandsp apparently has been working fine for some time, unmerged it, when emerging mediastreamer it installs it first, same thing.
Here's the full config.log, error starts at about line 1185: https://gist.github.com/yuyuyak/7149329
Note that there is a distcc complaint near there, but I have tried multiple times without distcc/ccache, same results.
If the upnp thing turns up anything it probably does warrant a bug report.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5412

PostPosted: Fri Oct 25, 2013 4:14 pm    Post subject: Reply with quote

Nah, that error is unrelated.
Going by config.log, it was a pkgconfig check, so it's likely the content of the pkgconfig file for spandsp is messed up.
(regardless of that exec_prefix thing, there's a good chance both libtiff and libm should have been private libs (for static linking only), not as they are now)
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 31
Location: United States

PostPosted: Fri Oct 25, 2013 8:27 pm    Post subject: Reply with quote

The upnp was a red herring. I am sure you are right VoidMage. I used sed to replace all instances of (exec_prefix) with /usr and make compiled just fine. So then I looked at the ebuild, mediastreamer only cares about spandsp with regards to the g726 codec. I used "USE='-g726'" and it installed fine. So I'm going with that for now as I'm not sure how to correct the spandsp problem and the g726 codec isn't as important to me as opus, I think that's the bottom rung codec actually.
Thank you for helping, learned some stuff :)
Edit: oh, didn't see your last post. Ok, will check that out.
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 31
Location: United States

PostPosted: Sat Oct 26, 2013 12:08 am    Post subject: Reply with quote

Solved!
/usr/lib64/pkgconfig/spandsp.pc contained this:
Code:
prefix=/usr
exec_prefix=/usr
libdir=$(exec_prefix)/lib64
includedir=${prefix}/include
...

Changed line 3 to:
Code:
libdir=${exec_prefix}/lib64

And mediastreamer installed without a whimper, even g726 codec.
So apparently some change in the way mediastreamer handles that statement, as it's the same spandsp as in the previous version of mediastreamer.
Thank you VoidMage, I couldn't have found it without you, or at least it would have taken much much longer.
Back to top
View user's profile Send private message
Gaug
Guru
Guru


Joined: 30 Oct 2003
Posts: 376
Location: Longueuil,Québec,Canada

PostPosted: Fri Nov 01, 2013 9:46 pm    Post subject: Reply with quote

Tank you for your fixe
Back to top
View user's profile Send private message
papapenguin
l33t
l33t


Joined: 20 Sep 2005
Posts: 694
Location: Bellevue

PostPosted: Sun Nov 10, 2013 8:56 pm    Post subject: Reply with quote

I'm having a similar problem, but I don't have
Quote:
/usr/lib64/pkgconfig/spandsp.pc
in pkgconfig...

Code:
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0 ...
 * econf: updating mediastreamer-2.9.0/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mediastreamer-2.9.0/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --htmldir=/usr/share/doc/mediastreamer-2.9.0/html --datadir=/usr/share/mediastreamer --disable-artsc --disable-strict --disable-libv4l1 --enable-external-ortp --enable-alsa --disable-pulseaudio --disable-macsnd --disable-debug --enable-filters --disable-spandsp --disable-gsm --enable-ipv6 --disable-ntp-timestamp --enable-glx --disable-opus --enable-ortp --disable-oss --disable-pcap --disable-portaudio --enable-speex --disable-static --enable-theora --disable-upnp --enable-video --enable-v4l --enable-libv4l2 --enable-sdl --enable-x11 --enable-xv ac_cv_path_DOXYGEN=false --disable-macaqsnd
configure: mediastreamer-2.9.0          A mediastreaming library for telephony application.
configure: licensed under the terms of the General Public License (GPL)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Building Package on linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking warning make an error on compilation... checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether the C++ compiler works... no
configure: error: in `/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0/config.log
 * ERROR: media-libs/mediastreamer-2.9.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3037:  Called econf '--htmldir=/usr/share/doc/mediastreamer-2.9.0/html' '--datadir=/usr/share/mediastreamer' '--disable-artsc' '--disable-strict' '--disable-libv4l1' '--enable-external-ortp' '--enable-alsa' '--disable-pulseaudio' '--disable-macsnd' '--disable-debug' '--enable-filters' '--disable-spandsp' '--disable-gsm' '--enable-ipv6' '--disable-ntp-timestamp' '--enable-glx' '--disable-opus' '--enable-ortp' '--disable-oss' '--disable-pcap' '--disable-portaudio' '--enable-speex' '--disable-static' '--enable-theora' '--disable-upnp' '--enable-video' '--enable-v4l' '--enable-libv4l2' '--enable-sdl' '--enable-x11' '--enable-xv' 'ac_cv_path_DOXYGEN=false' '--disable-macaqsnd'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/mediastreamer-2.9.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mediastreamer-2.9.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'
 * S: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'

>>> Failed to emerge media-libs/mediastreamer-2.9.0, Log file:

>>>  '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/build.log'

 * Messages for package media-libs/mediastreamer-2.9.0:

 * ERROR: media-libs/mediastreamer-2.9.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3037:  Called econf '--htmldir=/usr/share/doc/mediastreamer-2.9.0/html' '--datadir=/usr/share/mediastreamer' '--disable-artsc' '--disable-strict' '--disable-libv4l1' '--enable-external-ortp' '--enable-alsa' '--disable-pulseaudio' '--disable-macsnd' '--disable-debug' '--enable-filters' '--disable-spandsp' '--disable-gsm' '--enable-ipv6' '--disable-ntp-timestamp' '--enable-glx' '--disable-opus' '--enable-ortp' '--disable-oss' '--disable-pcap' '--disable-portaudio' '--enable-speex' '--disable-static' '--enable-theora' '--disable-upnp' '--enable-video' '--enable-v4l' '--enable-libv4l2' '--enable-sdl' '--enable-x11' '--enable-xv' 'ac_cv_path_DOXYGEN=false' '--disable-macaqsnd'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/mediastreamer-2.9.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mediastreamer-2.9.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mediastreamer-2.9.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'
 * S: '/var/tmp/portage/media-libs/mediastreamer-2.9.0/work/mediastreamer-2.9.0'

_________________
--------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5412

PostPosted: Sun Nov 10, 2013 10:29 pm    Post subject: Reply with quote

papapenguin wrote:
I'm having a similar problem

No, you don't.

As noted in the other thread you've started, content of config.log might be interesting, but usually it's cause you've unmerged active gcc version and didn't set a new one with gcc-config.
Back to top
View user's profile Send private message
papapenguin
l33t
l33t


Joined: 20 Sep 2005
Posts: 694
Location: Bellevue

PostPosted: Mon Nov 11, 2013 1:02 am    Post subject: Reply with quote

you're right VoidMage...

somehow I had no active gcc...so I set it (not to the one installed, but to a previous version, since the latest version wasn't even an option) and it merged!
_________________
--------------
Compaq Presario V6120US
AMD Turion 64X2
------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum