Opened 15 years ago

Closed 14 years ago

#20999 closed defect (worksforme)

vxl fails to build looking for _BZ2_bzDecompressInit

Reported by: nate@… Owned by: wiking@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc: ryandesign (Ryan Carsten Schmidt)
Port: vxl

Description

Greetings, vxl fails to build citing missing BZ2 libraries. Mac OS X 10.5.7.

(ffmpeg is not installed).


$ sudo port install vxl
Password:
--->  Fetching vxl
--->  Verifying checksum(s) for vxl
--->  Extracting vxl
--->  Applying patches to vxl
--->  Configuring vxl
--->  Building vxl
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/work/vxl-1.12.0" && make all " returned error 2
Command output: [ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_clip.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_movie.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_frame.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_frame_resource.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_image_list_codec.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_io.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_mpegcodec.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_mpegcodec_helper.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_codec.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/work/vxl-1.12.0/core/vidl/vidl_ffmpeg_codec.cxx: In member function 'vil_image_view<vxl_byte> vidl_ffmpeg_codec::cur_frame() const':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/work/vxl-1.12.0/core/vidl/vidl_ffmpeg_codec.cxx:259: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2550)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_vxl/work/vxl-1.12.0/core/vidl/vidl_ffmpeg_codec.cxx:261: warning: 'img_convert' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2550)
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/Templates/vbl_smart_ptr+vidl_clip-.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/Templates/vbl_smart_ptr+vidl_codec-.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/Templates/vbl_smart_ptr+vidl_frame-.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/Templates/vbl_smart_ptr+vidl_image_list_codec-.o
[ 42%] Building CXX object core/vidl/CMakeFiles/vidl.dir/Templates/vbl_smart_ptr+vidl_movie-.o
Linking CXX shared library ../../lib/libvidl.dylib
Undefined symbols:
  "_BZ2_bzDecompressInit", referenced from:
      _matroska_decode_buffer in libavformat.a(matroskadec.o)
  "_BZ2_bzDecompressEnd", referenced from:
      _matroska_decode_buffer in libavformat.a(matroskadec.o)
  "_BZ2_bzDecompress", referenced from:
      _matroska_decode_buffer in libavformat.a(matroskadec.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libvidl.dylib] Error 1
make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

$ port installed ffmpeg
None of the specified ports are installed.

Attachments (1)

installed.txt (5.7 KB) - added by nate@… 15 years ago.
vxl fails to install - list of other installed packages

Download all attachments as: .zip

Change History (10)

comment:1 Changed 15 years ago by nate@…

Cc: nate@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: toby nate@… removed
Owner: changed from macports-tickets@… to toby@…

comment:3 Changed 15 years ago by tobypeterson

Keywords: leopard added
Status: newassigned
Version: 1.8.0

How about port installed ? I don't have a Leopard machine to test on.

comment:4 Changed 15 years ago by tobypeterson

It looks like this is caused by a similar issue to the ffmpeg thing...

comment:5 Changed 15 years ago by tobypeterson

Owner: changed from toby@… to macports-tickets@…
Status: assignednew

Changed 15 years ago by nate@…

Attachment: installed.txt added

vxl fails to install - list of other installed packages

comment:6 Changed 15 years ago by nate@…

Any thoughts on which package is conflicting?

comment:7 in reply to:  4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to toby@…:

It looks like this is caused by a similar issue to the ffmpeg thing...

Which ffmpeg thing is that?

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to wiking@…

The ffmpeg thing is presumably #17792.

Do you still see the bzip2 problem with vxl 1.14.0?

comment:9 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No response; closing.

Note: See TracTickets for help on using tickets.