Opened 13 years ago

Closed 6 years ago

#32065 closed defect (fixed)

ffmpeg @0.7.7 Undefined symbols for architecture x86_64

Reported by: z.club.bearded@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: ffmpeg

Description

# cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (ffmpeg)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Nov 14 16:37:38 EET 2011
:notice:build --->  Building ffmpeg
:debug:build Executing org.macports.build (ffmpeg)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' V='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.7" && /opt/local/bin/gmake -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.7" && /opt/local/bin/gmake -j2 -w all 
:info:build gmake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.7'
:info:build /usr/bin/gcc-4.2 -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavfilter.dylib,-current_version,1.80.0,-compatibility_version,1 -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -L/opt/local/lib -arch x86_64 -Wl,-dynamic,-search_paths_first -o libavfilter/libavfilter.1.dylib libavfilter/af_anull.o libavfilter/allfilters.o libavfilter/asink_anullsink.o libavfilter/asrc_anullsrc.o libavfilter/avcodec.o libavfilter/avfilter.o libavfilter/avfiltergraph.o libavfilter/defaults.o libavfilter/drawutils.o libavfilter/formats.o libavfilter/graphparser.o libavfilter/libmpcodecs/img_format.o libavfilter/libmpcodecs/mp_image.o libavfilter/libmpcodecs/pullup.o libavfilter/libmpcodecs/vf_2xsai.o libavfilter/libmpcodecs/vf_blackframe.o libavfilter/libmpcodecs/vf_boxblur.o libavfilter/libmpcodecs/vf_cropdetect.o libavfilter/libmpcodecs/vf_decimate.o libavfilter/libmpcodecs/vf_delogo.o libavfilter/libmpcodecs/vf_denoise3d.o libavfilter/libmpcodecs/vf_detc.o libavfilter/libmpcodecs/vf_dint.o libavfilter/libmpcodecs/vf_divtc.o libavfilter/libmpcodecs/vf_down3dright.o libavfilter/libmpcodecs/vf_dsize.o libavfilter/libmpcodecs/vf_eq.o libavfilter/libmpcodecs/vf_eq2.o libavfilter/libmpcodecs/vf_field.o libavfilter/libmpcodecs/vf_fil.o libavfilter/libmpcodecs/vf_fixpts.o libavfilter/libmpcodecs/vf_framestep.o libavfilter/libmpcodecs/vf_fspp.o libavfilter/libmpcodecs/vf_geq.o libavfilter/libmpcodecs/vf_gradfun.o libavfilter/libmpcodecs/vf_harddup.o libavfilter/libmpcodecs/vf_hqdn3d.o libavfilter/libmpcodecs/vf_hue.o libavfilter/libmpcodecs/vf_il.o libavfilter/libmpcodecs/vf_ilpack.o libavfilter/libmpcodecs/vf_ivtc.o libavfilter/libmpcodecs/vf_kerndeint.o libavfilter/libmpcodecs/vf_mcdeint.o libavfilter/libmpcodecs/vf_mirror.o libavfilter/libmpcodecs/vf_noise.o libavfilter/libmpcodecs/vf_ow.o libavfilter/libmpcodecs/vf_palette.o libavfilter/libmpcodecs/vf_perspective.o libavfilter/libmpcodecs/vf_phase.o libavfilter/libmpcodecs/vf_pp7.o libavfilter/libmpcodecs/vf_pullup.o libavfilter/libmpcodecs/vf_qp.o libavfilter/libmpcodecs/vf_rectangle.o libavfilter/libmpcodecs/vf_remove_logo.o libavfilter/libmpcodecs/vf_rgbtest.o libavfilter/libmpcodecs/vf_rotate.o libavfilter/libmpcodecs/vf_sab.o libavfilter/libmpcodecs/vf_screenshot.o libavfilter/libmpcodecs/vf_smartblur.o libavfilter/libmpcodecs/vf_softpulldown.o libavfilter/libmpcodecs/vf_softskip.o libavfilter/libmpcodecs/vf_spp.o libavfilter/libmpcodecs/vf_swapuv.o libavfilter/libmpcodecs/vf_telecine.o libavfilter/libmpcodecs/vf_test.o libavfilter/libmpcodecs/vf_tile.o libavfilter/libmpcodecs/vf_tinterlace.o libavfilter/libmpcodecs/vf_unsharp.o libavfilter/libmpcodecs/vf_uspp.o libavfilter/libmpcodecs/vf_yuvcsp.o libavfilter/libmpcodecs/vf_yvu9.o libavfilter/vf_aspect.o libavfilter/vf_blackframe.o libavfilter/vf_copy.o libavfilter/vf_crop.o libavfilter/vf_cropdetect.o libavfilter/vf_drawbox.o libavfilter/vf_fade.o libavfilter/vf_fieldorder.o libavfilter/vf_fifo.o libavfilter/vf_format.o libavfilter/vf_gradfun.o libavfilter/vf_hflip.o libavfilter/vf_hqdn3d.o libavfilter/vf_lut.o libavfilter/vf_mp.o libavfilter/vf_null.o libavfilter/vf_overlay.o libavfilter/vf_pad.o libavfilter/vf_pixdesctest.o libavfilter/vf_scale.o libavfilter/vf_select.o libavfilter/vf_setpts.o libavfilter/vf_settb.o libavfilter/vf_showinfo.o libavfilter/vf_slicify.o libavfilter/vf_split.o libavfilter/vf_transpose.o libavfilter/vf_unsharp.o libavfilter/vf_vflip.o libavfilter/vf_yadif.o libavfilter/vsink_buffer.o libavfilter/vsink_nullsink.o libavfilter/vsrc_buffer.o libavfilter/vsrc_color.o libavfilter/vsrc_movie.o libavfilter/vsrc_nullsrc.o libavfilter/x86/gradfun.o libavfilter/x86/yadif.o -lavformat -lavcodec -lswscale -lavcodec -lavutil -Wl,-framework,Cocoa -L/opt/local/lib -lSDLmain -lSDL -lxvidcore -lx264 -lvpx -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lspeex -L/opt/local/lib -lschroedinger-1.0 -lopenjpeg -lmp3lame -L/opt/local/lib -ldirac_encoder -ldirac_decoder -lstdc++ -lm -lbz2 -lz  
:info:build Undefined symbols for architecture x86_64:
:info:build   "_MM_FIX_0_707106781", referenced from:
:info:build       _filter in vf_fspp.o
:info:build   "_MM_FIX_0_541196100", referenced from:
:info:build       _filter in vf_fspp.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build gmake: *** [libavfilter/libavfilter.1.dylib] Error 1
:info:build gmake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.7'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.7" && /opt/local/bin/gmake -j2 -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 ffmpeg): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install ffmpeg
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log

Attachments (2)

ffmpeg.log (1.0 MB) - added by z.club.bearded@… 13 years ago.
Undefined symbols for architecture x86_64
Portfile-ffmpeg.diff (727 bytes) - added by z.club.bearded@… 13 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added
Status: newassigned

Please attach the full build log showing the failure (clean the port first so all details are included). Also on what platform are you building and what variants are you using.

Changed 13 years ago by z.club.bearded@…

Attachment: ffmpeg.log added

Undefined symbols for architecture x86_64

comment:2 Changed 13 years ago by z.club.bearded@…

I tried to install xsane on OS X 10.7.2 Build 11C74 but ffmpeg compilation failed. Do not know what of variants it uses :(

comment:3 Changed 13 years ago by z.club.bearded@…

In the FFmpeg on Mac OS X How-to is noticed:

"The --disable-mmx flag is not required on a PowerPC. If you leave it out on an Intel Mac, you will probably get a compile error, but it's worth trying since it will provide a speed boost."

"port install ffmpeg +no_mmx" works for me.

Changed 13 years ago by z.club.bearded@…

Attachment: Portfile-ffmpeg.diff added

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

The patch you've attached updates the port to 0.8.6. The reason why updating past 0.7.x is problematic is discussed in #32594.

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

Is this still a problem with 0.7.11? If so, please attach a new log.

comment:6 Changed 12 years ago by z.club.bearded@…

I cannot check, because I do not use macports anymore

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Resolution: fixed
Status: assignedclosed

Current version built on the buildbot.

Note: See TracTickets for help on using tickets.