Opened 13 years ago

Closed 6 years ago

#31810 closed defect (fixed)

vxl @1.14.0 build failure (ffmpeg related)

Reported by: steveswl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: pjue2009@…
Port: vxl

Description

--->  Building vxl
Error: Target org.macports.build returned: shell command failed (see
log for details)
Log for vxl is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/main.log
Error: Status 1 encountered during processing.

from main.log

:info:build [ 44%] Building CXX object core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_istream.o
:info:build /opt/local/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’:
:info:build /opt/local/include/libavutil/common.h:170: error: ‘UINT64_C’ was not declared in this scope
:info:build /opt/local/include/libavcodec/avcodec.h: At global scope:
:info:build /opt/local/include/libavcodec/avcodec.h:546: warning: attribute ignored in declaration of ‘enum AVLPCType’
:info:build /opt/local/include/libavcodec/avcodec.h:546: warning: attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword
:info:build /opt/local/include/libavformat/avformat.h:158: warning: ‘AVMetadata’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:131)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx: In member function ‘virtual bool vidl_ffmpeg_istream::open(const std::string&)’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:135: warning: ‘av_open_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1173)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:135: warning: ‘av_open_input_file’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1173)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:157: warning: ‘dump_format’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1621)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:157: warning: ‘dump_format’ is deprecated (declared at /opt/local/include/libavformat/avformat.h:1621)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx: In member function ‘virtual bool vidl_ffmpeg_istream::advance()’:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:388: warning: ‘avcodec_decode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3894)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:390: warning: ‘avcodec_decode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3894)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:402: warning: ‘avcodec_decode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3894)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0/core/vidl/vidl_ffmpeg_istream_v2.txx:404: warning: ‘avcodec_decode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3894)
:info:build make[2]: *** [core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_istream.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0'
:info:build make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0" && /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for vxl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for vxl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/main.log

I saw older tickets related to vxl having issues with ffmpeg.

Anyway I'm trying to get opengazer running on my father's MacBook Pro, and opencv, gtkmm, cairomm, boost, and all their dependencies installed without errors. The MacBook is running Mac OS 10.5.8 and therefore Xcode 3.1.3

Change History (6)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to wiking@…
Summary: vxl @1.14.0 Configure error - build failure (ffmpeg related)vxl @1.14.0 build failure (ffmpeg related)

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Keywords: vxl ffmpeg removed

I can't reproduce on 10.6. Do you still see this on 10.5 with current ffmpeg? If so, please attach a complete log.

comment:3 Changed 12 years ago by pjue2009@…

Cc: pjue2009@… added

Cc Me!

comment:4 Changed 12 years ago by pjue2009@…

I'm also trying to get Opengazer installed on the same system. OpenCV is failing too.

[ 50%] Built target vil1_io
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/work/vxl-1.14.0" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port vxl returned: command execution failed
DEBUG: Error code: CHILDSTATUS 64807 2
DEBUG: Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: targets not executed for vxl: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port vxl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_vxl/vxl/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port vxl failed

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

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

Is this still a problem with vxl 1.17.0?

comment:6 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

No response; assuming fixed.

Note: See TracTickets for help on using tickets.