Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17483 closed defect (fixed)

gst-plugins-bad-0.10.9 twolame plugin build failure

Reported by: jon335@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jon335@…
Port: gst-plugins-bad twolame

Description

Trying to build gst-plugins-bad-0.10.9 (twolame-0.3.3 is installed)

~ $ sudo port install gst-plugins-bad
--->  Fetching gst-plugins-bad
--->  Verifying checksum(s) for gst-plugins-bad
--->  Extracting gst-plugins-bad
--->  Configuring gst-plugins-bad
--->  Building gst-plugins-bad
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_titanous_src_macports_dports_gnome_gst-plugins-bad/work/gst-plugins-bad-0.10.9" && make all " returned error 2
Command output: /usr/bin/nm -p  .libs/libgstsoundtouch_la-plugin.o .libs/libgstsoundtouch_la-gstpitch.o .libs/libgstsoundtouch_la-gstbpmdetect.o  | sed -n -e 's/^.*[ 	]\([BCDEGRST][BCDEGRST]*\)[ 	][ 	]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgstsoundtouch.exp
/usr/bin/grep -E -e "^_*gst_plugin_desc$" ".libs/libgstsoundtouch.exp" > ".libs/libgstsoundtouch.expT"
mv -f ".libs/libgstsoundtouch.expT" ".libs/libgstsoundtouch.exp"
sed -e 's,^,_,' < .libs/libgstsoundtouch.exp > .libs/libgstsoundtouch-symbols.expsym
g++  -o .libs/libgstsoundtouch.so -bundle  .libs/libgstsoundtouch_la-plugin.o .libs/libgstsoundtouch_la-gstpitch.o .libs/libgstsoundtouch_la-gstbpmdetect.o  -L/opt/local/lib /opt/local/lib/libgstaudio-0.10.dylib /opt/local/lib/libgstinterfaces-0.10.dylib /opt/local/lib/libz.dylib /opt/local/lib/libgstbase-0.10.dylib /opt/local/lib/libgstcontroller-0.10.dylib /opt/local/lib/libgstreamer-0.10.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libSoundTouch.a /opt/local/lib/libBPM.a  -Wl,-exported_symbols_list,.libs/libgstsoundtouch-symbols.expsym
dsymutil .libs/libgstsoundtouch.so || :
ar cru .libs/libgstsoundtouch.a  libgstsoundtouch_la-plugin.o libgstsoundtouch_la-gstpitch.o libgstsoundtouch_la-gstbpmdetect.o
ranlib .libs/libgstsoundtouch.a
creating libgstsoundtouch.la
(cd .libs && rm -f libgstsoundtouch.la && ln -s ../libgstsoundtouch.la libgstsoundtouch.la)
Making all in twolame
if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/local/include -L/opt/local/lib -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2   -Wall -Wdeclaration-after-statement  -g    -I/opt/local/include   -O2 -no-cpp-precomp -funroll-loops -fstrict-aliasing -MT libgsttwolame_la-gsttwolame.lo -MD -MP -MF ".deps/libgsttwolame_la-gsttwolame.Tpo" -c -o libgsttwolame_la-gsttwolame.lo `test -f 'gsttwolame.c' || echo './'`gsttwolame.c; \
	then mv -f ".deps/libgsttwolame_la-gsttwolame.Tpo" ".deps/libgsttwolame_la-gsttwolame.Plo"; else rm -f ".deps/libgsttwolame_la-gsttwolame.Tpo"; exit 1; fi
mkdir .libs
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -L/opt/local/lib -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/libxml2 -Wall -Wdeclaration-after-statement -g -I/opt/local/include -O2 -no-cpp-precomp -funroll-loops -fstrict-aliasing -MT libgsttwolame_la-gsttwolame.lo -MD -MP -MF .deps/libgsttwolame_la-gsttwolame.Tpo -c gsttwolame.c  -fno-common -DPIC -o .libs/libgsttwolame_la-gsttwolame.o
gsttwolame.c: In function 'gst_two_lame_mode_get_type':
gsttwolame.c:119: error: 'TWOLAME_AUTO_MODE' undeclared (first use in this function)
gsttwolame.c:119: error: (Each undeclared identifier is reported only once
gsttwolame.c:119: error: for each function it appears in.)
gsttwolame.c: In function 'gst_two_lame_chain':
gsttwolame.c:744: warning: implicit declaration of function 'twolame_encode_buffer_float32'
gsttwolame.c:753: warning: implicit declaration of function 'twolame_encode_buffer_float32_interleaved'
gsttwolame.c: In function 'gst_two_lame_setup':
gsttwolame.c:914: warning: implicit declaration of function 'twolame_set_VBR_level'
gsttwolame.c: In function 'gst_two_lame_get_default_settings':
gsttwolame.c:1002: warning: implicit declaration of function 'twolame_get_VBR_level'
make[3]: *** [libgsttwolame_la-gsttwolame.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 16 years ago by jon335@…

Cc: jon335@… added

Cc Me!

comment:2 Changed 16 years ago by blb@…

twolame was just updated to 0.3.12 in r42960, try upgrading it then building again (twolame.h in 0.3.12 does have TWOLAME_AUTO_MODE).

comment:3 Changed 16 years ago by jon335@…

--->  Fetching twolame
--->  Attempting to fetch twolame-0.3.12.tar.gz from http://internap.dl.sourceforge.net/twolame
--->  Verifying checksum(s) for twolame
--->  Extracting twolame
--->  Configuring twolame
--->  Building twolame
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_titanous_src_macports_dports_audio_twolame/work/twolame-0.3.12" && make all " returned error 2
Command output: /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../build   -I/opt/local/include -I ../build/ -O2 -std=c99 -Wunused -Wall -O3 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../build -I/opt/local/include -I ../build/ -O2 -std=c99 -Wunused -Wall -O3 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fno-common -DPIC -o .libs/util.o
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../build -I/opt/local/include -I ../build/ -O2 -std=c99 -Wunused -Wall -O3 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -I ../build/ -O2 -std=c99 -Wunused -Wall -O3 -export-dynamic -version-info 0:0:0 -L/opt/local/lib -o libtwolame.la -rpath /opt/local/lib ath.lo availbits.lo bitbuffer.lo crc.lo dab.lo encode.lo energy.lo fft.lo get_set.lo mem.lo psycho_0.lo psycho_1.lo psycho_2.lo psycho_3.lo psycho_4.lo psycho_n1.lo subband.lo twolame.lo util.lo  -lmx -lm -lm 
/usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/libtwolame.0.0.0.dylib  .libs/ath.o .libs/availbits.o .libs/bitbuffer.o .libs/crc.o .libs/dab.o .libs/encode.o .libs/energy.o .libs/fft.o .libs/get_set.o .libs/mem.o .libs/psycho_0.o .libs/psycho_1.o .libs/psycho_2.o .libs/psycho_3.o .libs/psycho_4.o .libs/psycho_n1.o .libs/subband.o .libs/twolame.o .libs/util.o  -L/opt/local/lib -lmx -lm  -install_name  /opt/local/lib/libtwolame.0.dylib -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
(cd .libs && rm -f libtwolame.0.dylib && ln -s libtwolame.0.0.0.dylib libtwolame.0.dylib)
(cd .libs && rm -f libtwolame.dylib && ln -s libtwolame.0.0.0.dylib libtwolame.dylib)
ar cru .libs/libtwolame.a  ath.o availbits.o bitbuffer.o crc.o dab.o encode.o energy.o fft.o get_set.o mem.o psycho_0.o psycho_1.o psycho_2.o psycho_3.o psycho_4.o psycho_n1.o subband.o twolame.o util.o
ranlib .libs/libtwolame.a
creating libtwolame.la
(cd .libs && rm -f libtwolame.la && ln -s ../libtwolame.la libtwolame.la)
Making all in frontend
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../build   -I/opt/local/include -I../build/ -I../libtwolame/ -I/opt/local/include   -O2 -std=c99 -Wunused -Wall -O3 -MT frontend.o -MD -MP -MF .deps/frontend.Tpo -c -o frontend.o frontend.c
frontend.c: In function 'usage_long':
frontend.c:160: warning: implicit declaration of function 'get_twolame_url'
frontend.c:160: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
frontend.c: In function 'usage_short':
frontend.c:232: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
frontend.c: In function 'parse_args':
frontend.c:403: error: 'TWOLAME_AUTO_MODE' undeclared (first use in this function)
frontend.c:403: error: (Each undeclared identifier is reported only once
frontend.c:403: error: for each function it appears in.)
frontend.c:428: warning: implicit declaration of function 'twolame_set_VBR_level'
frontend.c: In function 'main':
frontend.c:651: warning: implicit declaration of function 'twolame_print_config'
frontend.c:655: error: 'TWOLAME_SAMPLES_PER_FRAME' undeclared (first use in this function)
frontend.c:659: warning: implicit declaration of function 'twolame_get_framelength'
make[1]: *** [frontend.o] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

comment:4 Changed 16 years ago by blb@…

Looks like twolame isn't good about avoiding an already-installed copy when building the new one; this should be fixed now in twolame as of r42968, so wait a bit then sync and try upgrading it again.

comment:5 Changed 16 years ago by jon335@…

That fixed it. Thanks!

comment:6 Changed 16 years ago by blb@…

Port: twolame added
Resolution: fixed
Status: newclosed

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.