all sorts of port failures

Stefan stefmit at gmail.com
Sat Feb 9 10:10:37 PST 2008


Just did a $sudo port selfupdate, followed by a $sudo port upgrade
outdated, and I have been failing tons of ports:
***
ffmpeg, with:
Undefined symbols:
  "_av_crc_get_table", referenced from:
      _ac3_decode_frame in ac3dec.o
      _AC3_encode_frame in ac3enc.o
      _AC3_encode_frame in ac3enc.o
      _flac_decode_frame in flac.o
      _output_frame_header in flacenc.o
      _output_frame_footer in flacenc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [libavcodec.51.dylib] Error 1
make: *** [lib] Error 2

***
libidl, with:
Error: Target org.macports.configure returned: configure failure:
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libidl/work/libIDL-0.8.10"
&& ./configure --prefix=/opt/local " returned error 1
Command output: checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) /usr/bin/gcc-4.0
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking if C preprocessor likes IDL... yes
checking if C preprocessor can read from stdin... yes
checking how to ignore standard include path... -I-
checking for flex... /usr/bin/flex
checking lex output file root... configure: error: cannot find output
from /usr/bin/flex; giving up

***
libpcap - this is nothing new, but still keeps failing:
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.8"
&& make all " returned error 2
Command output: rm -f libpcap.dylib
/usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \
                -install_name /opt/local/lib/libpcap.0.dylib \
                -compatibility_version 1.0.0 -current_version `cat VERSION` \
                pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o
optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o
bpf_dump.o  scanner.o grammar.o version.o
Undefined symbols:
  "_lex_init", referenced from:
      _pcap_compile in gencode.o
  "_lex_cleanup", referenced from:
      _pcap_compile in gencode.o
      _pcap_compile in gencode.o
  "_pcap_lex", referenced from:
      _pcap_parse in grammar.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libpcap.dylib] Error 1

***
teTeX, with:
cd omegafonts && make  CC='/usr/bin/gcc-4.0' CFLAGS='-O2 '
LDFLAGS='-L/opt/local/lib '  omfonts
flex -l ./pl.l
./pl.l:68: bad character: %
./pl.l:68: unknown error processing section 1
./pl.l:68: unknown error processing section 1
./pl.l:68: bad character: 4
./pl.l:68: bad character: 0
./pl.l:68: bad character: 0
./pl.l:68: bad character: 0
./pl.l:69: bad character: %
./pl.l:69: unknown error processing section 1
./pl.l:69: bad character: 7
./pl.l:69: bad character: 0
./pl.l:69: bad character: 0
./pl.l:69: bad character: 0
./pl.l:70: bad character: %
./pl.l:70: unknown error processing section 1
./pl.l:70: bad character: 1
./pl.l:70: bad character: 0
./pl.l:70: bad character: 0
./pl.l:70: bad character: 0
make[3]: *** [lex.yy.c] Error 1
make[2]: *** [omegafonts/omfonts] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1

Am I seeing a flex-type of error common to all of the above? If so -
does anybody have any idea where I should start "fixing" it?

Possibly relevant info:

$ which flex
/opt/local/bin/flex

$ flex -V
flex 2.5.34

$ port list |grep flex
flex                           @2.5.34         devel/flex
rb-flexo                       @1.0            ruby/rb-flexo

Thanks,
Stefan


More information about the macports-users mailing list