#68234 closed defect (fixed)
ffmpeg @4.4.4_2+gpl2+x11: ld: building exports trie: duplicate symbol '_av_add_i'
Reported by: | czo | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | ventura sonoma | Cc: | dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia), msrski59, antixsuperstar (Marcos G Y), dershow, astroboylrx (Rixin Li), MaurizioLoreti, breun (Nils Breunese), captainproton1971 (Captain Proton), ddrum2000, klausness, ednl (Ewoud Dronkert), fondacio, jakw0j, abaldoni, dsavransky (Dmitry Savransky), nortcele, cjones051073 (Chris Jones) |
Port: | ffmpeg |
Description
Previously there was "ffmpeg +gpl2 +gpl3 +libdc1394 +librtmp +nonfree +x11" installed, but the installation of yesterday's update (4.4.4_1 to 4.4.4_2) has been failed. I tried a minimal set of it (ffmpeg +gpl2 +x11), but that did not build either. Downloaded Xcode 14.3.1 to test with theree too, but that also not help either.
:info:build /usr/bin/clang -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavfilter.7.dylib,-current_version,7.110.100,-compatibility_version,7 -Wl,-exported_symbols_list,libavfilter/libavfilter.ver -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -arch x86_64 -Wl,-dynamic,-search_paths_first -Qunused-arguments -o libavfilter/libavfilter.7.dylib libavfilter/aeval.o libavfilter/af_acontrast.o libavfilter/af_acopy.o libavfilter/af_acrossover.o libavfilter/af_acrusher.o libavfilter/af_adeclick.o libavfilter/af_adelay.o libavfilter/af_adenorm.o libavfilter/af_aderivative.o libavfilter/af_aecho.o libavfilter/af_aemphasis.o libavfilter/af_aexciter.o libavfilter/af_afade.o libavfilter/af_afftdn.o libavfilter/af_afftfilt.o libavfilter/af_afir.o libavfilter/af_aformat.o libavfilter/af_afreqshift.o libavfilter/af_agate.o libavfilter/af_aiir.o libavfilter/af_alimiter.o libavfilter/af_amerge.o libavfilter/af_amix.o libavfilter/af_amultiply.o libavfilter/af_anequalizer.o libavfilter/af_anlmdn.o libavfilter/af_anlms.o libavfilter/af_anull.o libavfilter/af_apad.o libavfilter/af_aphaser.o libavfilter/af_apulsator.o libavfilter/af_aresample.o libavfilter/af_arnndn.o libavfilter/af_asetnsamples.o libavfilter/af_asetrate.o libavfilter/af_ashowinfo.o libavfilter/af_asoftclip.o libavfilter/af_astats.o libavfilter/af_asubboost.o libavfilter/af_asupercut.o libavfilter/af_atempo.o libavfilter/af_axcorrelate.o libavfilter/af_biquads.o libavfilter/af_channelmap.o libavfilter/af_channelsplit.o libavfilter/af_chorus.o libavfilter/af_compand.o libavfilter/af_compensationdelay.o libavfilter/af_crossfeed.o libavfilter/af_crystalizer.o libavfilter/af_dcshift.o libavfilter/af_deesser.o libavfilter/af_drmeter.o libavfilter/af_dynaudnorm.o libavfilter/af_earwax.o libavfilter/af_extrastereo.o libavfilter/af_firequalizer.o libavfilter/af_flanger.o libavfilter/af_haas.o libavfilter/af_hdcd.o libavfilter/af_headphone.o libavfilter/af_join.o libavfilter/af_loudnorm.o libavfilter/af_mcompand.o libavfilter/af_pan.o libavfilter/af_replaygain.o libavfilter/af_resample.o libavfilter/af_sidechaincompress.o libavfilter/af_silencedetect.o libavfilter/af_silenceremove.o libavfilter/af_speechnorm.o libavfilter/af_stereotools.o libavfilter/af_stereowiden.o libavfilter/af_superequalizer.o libavfilter/af_surround.o libavfilter/af_tremolo.o libavfilter/af_vibrato.o libavfilter/af_volume.o libavfilter/af_volumedetect.o libavfilter/allfilters.o libavfilter/asink_anullsink.o libavfilter/asrc_afirsrc.o libavfilter/asrc_anoisesrc.o libavfilter/asrc_anullsrc.o libavfilter/asrc_hilbert.o libavfilter/asrc_sinc.o libavfilter/asrc_sine.o libavfilter/audio.o libavfilter/avf_abitscope.o libavfilter/avf_ahistogram.o libavfilter/avf_aphasemeter.o libavfilter/avf_avectorscope.o libavfilter/avf_concat.o libavfilter/avf_showcqt.o libavfilter/avf_showfreqs.o libavfilter/avf_showspatial.o libavfilter/avf_showspectrum.o libavfilter/avf_showvolume.o libavfilter/avf_showwaves.o libavfilter/avfilter.o libavfilter/avfiltergraph.o libavfilter/bbox.o libavfilter/boxblur.o libavfilter/buffersink.o libavfilter/buffersrc.o libavfilter/colorspace.o libavfilter/colorspacedsp.o libavfilter/dnn/dnn_backend_native.o libavfilter/dnn/dnn_backend_native_layer_avgpool.o libavfilter/dnn/dnn_backend_native_layer_conv2d.o libavfilter/dnn/dnn_backend_native_layer_dense.o libavfilter/dnn/dnn_backend_native_layer_depth2space.o libavfilter/dnn/dnn_backend_native_layer_mathbinary.o libavfilter/dnn/dnn_backend_native_layer_mathunary.o libavfilter/dnn/dnn_backend_native_layer_maximum.o libavfilter/dnn/dnn_backend_native_layer_pad.o libavfilter/dnn/dnn_backend_native_layers.o libavfilter/dnn/dnn_interface.o libavfilter/dnn/dnn_io_proc.o libavfilter/dnn/queue.o libavfilter/dnn/safe_queue.o libavfilter/dnn_filter_common.o libavfilter/drawutils.o libavfilter/ebur128.o libavfilter/f_bench.o libavfilter/f_cue.o libavfilter/f_drawgraph.o libavfilter/f_ebur128.o libavfilter/f_graphmonitor.o libavfilter/f_interleave.o libavfilter/f_loop.o libavfilter/f_metadata.o libavfilter/f_perms.o libavfilter/f_realtime.o libavfilter/f_reverse.o libavfilter/f_select.o libavfilter/f_sendcmd.o libavfilter/f_sidedata.o libavfilter/f_streamselect.o libavfilter/fifo.o libavfilter/formats.o libavfilter/framepool.o libavfilter/framequeue.o libavfilter/framesync.o libavfilter/generate_wave_table.o libavfilter/graphdump.o libavfilter/graphparser.o libavfilter/lavfutils.o libavfilter/log2_tab.o libavfilter/lswsutils.o libavfilter/motion_estimation.o libavfilter/opencl.o libavfilter/opencl/avgblur.o libavfilter/opencl/colorkey.o libavfilter/opencl/colorspace_common.o libavfilter/opencl/convolution.o libavfilter/opencl/deshake.o libavfilter/opencl/neighbor.o libavfilter/opencl/nlmeans.o libavfilter/opencl/overlay.o libavfilter/opencl/pad.o libavfilter/opencl/tonemap.o libavfilter/opencl/transpose.o libavfilter/opencl/unsharp.o libavfilter/opencl/xfade.o libavfilter/pthread.o libavfilter/qp_table.o libavfilter/scale_eval.o libavfilter/scene_sad.o libavfilter/setpts.o libavfilter/settb.o libavfilter/split.o libavfilter/src_movie.o libavfilter/transform.o libavfilter/trim.o libavfilter/vaf_spectrumsynth.o libavfilter/vf_addroi.o libavfilter/vf_alphamerge.o libavfilter/vf_amplify.o libavfilter/vf_aspect.o libavfilter/vf_atadenoise.o libavfilter/vf_avgblur.o libavfilter/vf_avgblur_opencl.o libavfilter/vf_bbox.o libavfilter/vf_bilateral.o libavfilter/vf_bitplanenoise.o libavfilter/vf_blackdetect.o libavfilter/vf_blackframe.o libavfilter/vf_blend.o libavfilter/vf_bm3d.o libavfilter/vf_boxblur.o libavfilter/vf_bwdif.o libavfilter/vf_cas.o libavfilter/vf_chromakey.o libavfilter/vf_chromanr.o libavfilter/vf_chromashift.o libavfilter/vf_ciescope.o libavfilter/vf_codecview.o libavfilter/vf_colorbalance.o libavfilter/vf_colorchannelmixer.o libavfilter/vf_colorconstancy.o libavfilter/vf_colorcontrast.o libavfilter/vf_colorcorrect.o libavfilter/vf_colorize.o libavfilter/vf_colorkey.o libavfilter/vf_colorkey_opencl.o libavfilter/vf_colorlevels.o libavfilter/vf_colormatrix.o libavfilter/vf_colorspace.o libavfilter/vf_colortemperature.o libavfilter/vf_convolution.o libavfilter/vf_convolution_opencl.o libavfilter/vf_convolve.o libavfilter/vf_copy.o libavfilter/vf_coreimage.o libavfilter/vf_cover_rect.o libavfilter/vf_crop.o libavfilter/vf_cropdetect.o libavfilter/vf_curves.o libavfilter/vf_datascope.o libavfilter/vf_dblur.o libavfilter/vf_dctdnoiz.o libavfilter/vf_deband.o libavfilter/vf_deblock.o libavfilter/vf_decimate.o libavfilter/vf_dedot.o libavfilter/vf_deflicker.o libavfilter/vf_dejudder.o libavfilter/vf_delogo.o libavfilter/vf_derain.o libavfilter/vf_deshake.o libavfilter/vf_deshake_opencl.o libavfilter/vf_despill.o libavfilter/vf_detelecine.o libavfilter/vf_displace.o libavfilter/vf_dnn_processing.o libavfilter/vf_drawbox.o libavfilter/vf_drawtext.o libavfilter/vf_edgedetect.o libavfilter/vf_elbg.o libavfilter/vf_entropy.o libavfilter/vf_epx.o libavfilter/vf_eq.o libavfilter/vf_estdif.o libavfilter/vf_exposure.o libavfilter/vf_extractplanes.o libavfilter/vf_fade.o libavfilter/vf_fftdnoiz.o libavfilter/vf_fftfilt.o libavfilter/vf_field.o libavfilter/vf_fieldhint.o libavfilter/vf_fieldmatch.o libavfilter/vf_fieldorder.o libavfilter/vf_fillborders.o libavfilter/vf_find_rect.o libavfilter/vf_floodfill.o libavfilter/vf_format.o libavfilter/vf_fps.o libavfilter/vf_framepack.o libavfilter/vf_framerate.o libavfilter/vf_framestep.o libavfilter/vf_freezedetect.o libavfilter/vf_freezeframes.o libavfilter/vf_fspp.o libavfilter/vf_gblur.o libavfilter/vf_geq.o libavfilter/vf_gradfun.o libavfilter/vf_hflip.o libavfilter/vf_histeq.o libavfilter/vf_histogram.o libavfilter/vf_hqdn3d.o libavfilter/vf_hqx.o libavfilter/vf_hue.o libavfilter/vf_hwdownload.o libavfilter/vf_hwmap.o libavfilter/vf_hwupload.o libavfilter/vf_hysteresis.o libavfilter/vf_identity.o libavfilter/vf_idet.o libavfilter/vf_il.o libavfilter/vf_kerndeint.o libavfilter/vf_lagfun.o libavfilter/vf_lenscorrection.o libavfilter/vf_limiter.o libavfilter/vf_lumakey.o libavfilter/vf_lut.o libavfilter/vf_lut2.o libavfilter/vf_lut3d.o libavfilter/vf_maskedclamp.o libavfilter/vf_maskedmerge.o libavfilter/vf_maskedminmax.o libavfilter/vf_maskedthreshold.o libavfilter/vf_maskfun.o libavfilter/vf_mcdeint.o libavfilter/vf_median.o libavfilter/vf_mergeplanes.o libavfilter/vf_mestimate.o libavfilter/vf_midequalizer.o libavfilter/vf_minterpolate.o libavfilter/vf_mix.o libavfilter/vf_monochrome.o libavfilter/vf_mpdecimate.o libavfilter/vf_neighbor.o libavfilter/vf_neighbor_opencl.o libavfilter/vf_nlmeans.o libavfilter/vf_nlmeans_opencl.o libavfilter/vf_nnedi.o libavfilter/vf_noise.o libavfilter/vf_normalize.o libavfilter/vf_null.o libavfilter/vf_overlay.o libavfilter/vf_overlay_opencl.o libavfilter/vf_owdenoise.o libavfilter/vf_pad.o libavfilter/vf_pad_opencl.o libavfilter/vf_palettegen.o libavfilter/vf_paletteuse.o libavfilter/vf_perspective.o libavfilter/vf_phase.o libavfilter/vf_photosensitivity.o libavfilter/vf_pixdesctest.o libavfilter/vf_pp.o libavfilter/vf_pp7.o libavfilter/vf_premultiply.o libavfilter/vf_program_opencl.o libavfilter/vf_pseudocolor.o libavfilter/vf_psnr.o libavfilter/vf_pullup.o libavfilter/vf_qp.o libavfilter/vf_random.o libavfilter/vf_readeia608.o libavfilter/vf_readvitc.o libavfilter/vf_remap.o libavfilter/vf_removegrain.o libavfilter/vf_removelogo.o libavfilter/vf_repeatfields.o libavfilter/vf_rotate.o libavfilter/vf_sab.o libavfilter/vf_scale.o libavfilter/vf_scdet.o libavfilter/vf_scroll.o libavfilter/vf_selectivecolor.o libavfilter/vf_separatefields.o libavfilter/vf_setparams.o libavfilter/vf_shear.o libavfilter/vf_showinfo.o libavfilter/vf_showpalette.o libavfilter/vf_shuffleframes.o libavfilter/vf_shufflepixels.o libavfilter/vf_shuffleplanes.o libavfilter/vf_signalstats.o libavfilter/vf_signature.o libavfilter/vf_smartblur.o libavfilter/vf_spp.o libavfilter/vf_sr.o libavfilter/vf_ssim.o libavfilter/vf_stack.o libavfilter/vf_stereo3d.o libavfilter/vf_subtitles.o libavfilter/vf_super2xsai.o libavfilter/vf_swaprect.o libavfilter/vf_swapuv.o libavfilter/vf_telecine.o libavfilter/vf_threshold.o libavfilter/vf_thumbnail.o libavfilter/vf_tile.o libavfilter/vf_tinterlace.o libavfilter/vf_tmidequalizer.o libavfilter/vf_tonemap.o libavfilter/vf_tonemap_opencl.o libavfilter/vf_tpad.o libavfilter/vf_transpose.o libavfilter/vf_transpose_opencl.o libavfilter/vf_unsharp.o libavfilter/vf_unsharp_opencl.o libavfilter/vf_untile.o libavfilter/vf_uspp.o libavfilter/vf_v360.o libavfilter/vf_vaguedenoiser.o libavfilter/vf_vectorscope.o libavfilter/vf_vflip.o libavfilter/vf_vfrdet.o libavfilter/vf_vibrance.o libavfilter/vf_vidstabdetect.o libavfilter/vf_vidstabtransform.o libavfilter/vf_vif.o libavfilter/vf_vignette.o libavfilter/vf_vmafmotion.o libavfilter/vf_w3fdif.o libavfilter/vf_waveform.o libavfilter/vf_weave.o libavfilter/vf_xbr.o libavfilter/vf_xfade.o libavfilter/vf_xfade_opencl.o libavfilter/vf_xmedian.o libavfilter/vf_yadif.o libavfilter/vf_yaepblur.o libavfilter/vf_zoompan.o libavfilter/vf_zscale.o libavfilter/video.o libavfilter/vidstabutils.o libavfilter/vsink_nullsink.o libavfilter/vsrc_cellauto.o libavfilter/vsrc_gradients.o libavfilter/vsrc_life.o libavfilter/vsrc_mandelbrot.o libavfilter/vsrc_mptestsrc.o libavfilter/vsrc_sierpinski.o libavfilter/vsrc_testsrc.o libavfilter/x86/af_afir.o libavfilter/x86/af_afir_init.o libavfilter/x86/af_anlmdn.o libavfilter/x86/af_anlmdn_init.o libavfilter/x86/af_volume.o libavfilter/x86/af_volume_init.o libavfilter/x86/avf_showcqt.o libavfilter/x86/avf_showcqt_init.o libavfilter/x86/colorspacedsp.o libavfilter/x86/colorspacedsp_init.o libavfilter/x86/scene_sad.o libavfilter/x86/scene_sad_init.o libavfilter/x86/vf_atadenoise.o libavfilter/x86/vf_atadenoise_init.o libavfilter/x86/vf_blend.o libavfilter/x86/vf_blend_init.o libavfilter/x86/vf_bwdif.o libavfilter/x86/vf_bwdif_init.o libavfilter/x86/vf_convolution.o libavfilter/x86/vf_convolution_init.o libavfilter/x86/vf_eq.o libavfilter/x86/vf_eq_init.o libavfilter/x86/vf_framerate.o libavfilter/x86/vf_framerate_init.o libavfilter/x86/vf_fspp.o libavfilter/x86/vf_fspp_init.o libavfilter/x86/vf_gblur.o libavfilter/x86/vf_gblur_init.o libavfilter/x86/vf_gradfun.o libavfilter/x86/vf_gradfun_init.o libavfilter/x86/vf_hflip.o libavfilter/x86/vf_hflip_init.o libavfilter/x86/vf_hqdn3d.o libavfilter/x86/vf_hqdn3d_init.o libavfilter/x86/vf_idet.o libavfilter/x86/vf_idet_init.o libavfilter/x86/vf_interlace.o libavfilter/x86/vf_limiter.o libavfilter/x86/vf_limiter_init.o libavfilter/x86/vf_maskedclamp.o libavfilter/x86/vf_maskedclamp_init.o libavfilter/x86/vf_maskedmerge.o libavfilter/x86/vf_maskedmerge_init.o libavfilter/x86/vf_noise.o libavfilter/x86/vf_overlay.o libavfilter/x86/vf_overlay_init.o libavfilter/x86/vf_pp7.o libavfilter/x86/vf_pp7_init.o libavfilter/x86/vf_psnr.o libavfilter/x86/vf_psnr_init.o libavfilter/x86/vf_pullup.o libavfilter/x86/vf_pullup_init.o libavfilter/x86/vf_removegrain.o libavfilter/x86/vf_removegrain_init.o libavfilter/x86/vf_spp.o libavfilter/x86/vf_ssim.o libavfilter/x86/vf_ssim_init.o libavfilter/x86/vf_stereo3d.o libavfilter/x86/vf_stereo3d_init.o libavfilter/x86/vf_threshold.o libavfilter/x86/vf_threshold_init.o libavfilter/x86/vf_tinterlace_init.o libavfilter/x86/vf_transpose.o libavfilter/x86/vf_transpose_init.o libavfilter/x86/vf_v360.o libavfilter/x86/vf_v360_init.o libavfilter/x86/vf_w3fdif.o libavfilter/x86/vf_w3fdif_init.o libavfilter/x86/vf_yadif.o libavfilter/x86/vf_yadif_init.o libavfilter/x86/yadif-10.o libavfilter/x86/yadif-16.o libavfilter/yadif_common.o -lswscale -lpostproc -lavformat -lavcodec -lswresample -lavresample -lavutil -framework OpenGL -framework OpenGL -pthread -lm -L/opt/local/lib -lfribidi -L/opt/local/lib -lass -L/opt/local/lib -lvidstab -lm -L/opt/local/lib -lzimg -framework CoreImage -framework AppKit -Wl,-framework,OpenCL -L/opt/local/lib -lfontconfig -lfreetype -L/opt/local/lib -lfreetype -lm -lm -lm -lbz2 -L/opt/local/lib -lmodplug -L/opt/local/lib -lbluray -L/opt/local/lib -lz -L/opt/local/lib -lgnutls -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -liconv -lm -llzma -L/opt/local/lib -ldav1d -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -L/opt/local/lib -lzvbi -lm -lintl -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -lpthread -lm -liconv -lpng -lz -L/opt/local/lib -lz -framework AudioToolbox -L/opt/local/lib -laom -lmp3lame -lm -L/opt/local/lib -lopenjp2 -L/opt/local/lib -lopus -L/opt/local/lib -lspeex -L/opt/local/lib -lSvtAv1Enc -ltheoraenc -ltheoradec -logg -L/opt/local/lib -lvorbis -L/opt/local/lib -lvorbisenc -L/opt/local/lib -lx264 -L/opt/local/lib -lx265 -lxvidcore -pthread -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices -lm -lsoxr -lm -pthread -lm -Wl,-framework,OpenCL -framework VideoToolbox -lXv -lX11 -lXext -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices :info:build ld: warning: -single_module is obsolete :info:build ld: warning: ignoring duplicate libraries: '-lfreetype', '-liconv', '-lintl', '-lm', '-lvpx', '-lz' :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/af_afir.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/af_anlmdn.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/af_volume.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/avf_showcqt.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/colorspacedsp.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/scene_sad.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_atadenoise.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_blend.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_bwdif.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_convolution.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_eq.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_framerate.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_fspp.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_gblur.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_gradfun.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_hflip.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_hqdn3d.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_idet.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_interlace.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_limiter.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_maskedclamp.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_maskedmerge.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_overlay.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_pp7.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_psnr.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_pullup.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_removegrain.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_ssim.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_stereo3d.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_threshold.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_transpose.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_v360.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_w3fdif.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/vf_yadif.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/yadif-10.o', assuming: macOS :info:build ld: warning: no platform load command found in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4/libavfilter/x86/yadif-16.o', assuming: macOS :info:build ld: building exports trie: duplicate symbol '_av_add_i' :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build gmake: *** [ffbuild/library.mak:103: libavfilter/libavfilter.7.dylib] Error 1 :info:build gmake: *** Waiting for unfinished jobs.... :info:build gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4" && /opt/local/bin/gmake -j2 -w all :info:build Exit code: 2 :error:build Failed to build ffmpeg: command execution failed :debug:build Error code: CHILDSTATUS 73411 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.
Two main.log has been attached, one for Xcode 14.3.1, and one for 15.0.
Attachments (4)
Change History (43)
Changed 14 months ago by czo
Attachment: | main-14.3.1.log added |
---|
comment:1 Changed 14 months ago by msrski59
Cc: | msrski59 added |
---|
comment:2 Changed 14 months ago by antixsuperstar (Marcos G Y)
Cc: | antixsuperstar added |
---|
comment:3 Changed 14 months ago by dershow
Cc: | dershow added |
---|
Changed 14 months ago by mwolfe
Attachment: | main-14.3.1.2.log added |
---|
Another log of the same issue (using Ventura 13.6 + Xcode 14.3.1 - on Apple M1 Pro)
comment:4 follow-up: 5 Changed 14 months ago by mascguy (Christopher Nielsen)
Keywords: | xcode14 xcode15 added |
---|
Which version of Xcode were you using previously, before trying 14.3.1 and 15.0?
comment:5 Changed 14 months ago by czo
Replying to mascguy:
Which version of Xcode were you using previously, before trying 14.3.1 and 15.0?
I am a day zero updater, so when a new comes out, i will install it immediately.
But, according to my Time Machine backup, there was 14.3.1 and 15.0(beta8) installed, and 14.3.1 was selected with xcode-select when 4.4.4-1 was released (ie, on end of August: https://github.com/macports/macports-ports/commits/master/multimedia/ffmpeg/Portfile).
Later, i will do a downgrade of the Portfile (i am on my workplace currently), to check if that small change ditching away this bug or not.
comment:6 Changed 14 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
Changed 14 months ago by czo
Attachment: | port_installed.txt added |
---|
List of all installed ports on my system.
comment:7 follow-up: 8 Changed 14 months ago by czo
It's strange. Reverting back to 4.4.4_1 did not solve the problem. Maybe, one of my installed ports cause this? Or maybe, macOS 13.6 can be blamed? Because, it's only released a week ago, so when i was originally installed 4.4.4_1, there was 13.5.1 installed.
Attached the output of the "port installed" command.
comment:8 Changed 14 months ago by jashenhurst
Replying to czo:
It's strange. Reverting back to 4.4.4_1 did not solve the problem. Maybe, one of my installed ports cause this? Or maybe, macOS 13.6 can be blamed? Because, it's only released a week ago, so when i was originally installed 4.4.4_1, there was 13.5.1 installed.
I'm experiencing the same problem, had 4.4.4_1, updated macOS (to 13.5.2) and Xcode (to 15, on Sept. 19th), and now I get the same build ld: building exports trie: duplicate symbol '_av_add_i'
error when upgrading FFmpeg to 4.4.4_2. Sounds like macOS 13.6 isn't the problem, it's Xcode 15.
comment:9 Changed 14 months ago by astroboylrx (Rixin Li)
Cc: | astroboylrx added |
---|
comment:10 Changed 14 months ago by aholmes55
Can confirm this issue is with +nonfree and Xcode 15. Regular no-variant ffmpeg installs fine with Xcode 15 on Venture 13.6
comment:12 Changed 14 months ago by MaurizioLoreti
Cc: | MaurizioLoreti added |
---|
comment:13 Changed 14 months ago by breun (Nils Breunese)
Cc: | breun added |
---|
comment:14 follow-up: 20 Changed 14 months ago by aholmes55
Looks like only the gpl2 package is available. None of the other variants have packages available on the packages.macports.org server.
comment:15 Changed 14 months ago by klausness
I'm seeing the same issue building ffmpeg @4.4.4_2+gpl2+nonfree+x11 with XCode 15 on Vantura 13.6 on ARM.
:info:build cd ./libavcodec/ && ln -s -f libavcodec.58.dylib libavcodec.dylib :info:build /usr/bin/clang -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavformat.58.dylib,-current_version,58.76.100,-compatibility_version,58 -Wl,-exported_symbols_list,libavformat/libavformat.ver -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -Wl,-dynamic,-search_paths_first -Qunused-arguments -o libavformat/libavformat.58.dylib libavformat/3dostr.o libavformat/4xm.o libavformat/a64.o libavformat/aacdec.o libavformat/aadec.o libavformat/aaxdec.o libavformat/ac3dec.o libavformat/acedec.o libavformat/acm.o libavformat/act.o libavformat/adp.o libavformat/ads.o libavformat/adtsenc.o libavformat/adxdec.o libavformat/aea.o libavformat/afc.o libavformat/aiff.o libavformat/aiffdec.o libavformat/aiffenc.o libavformat/aixdec.o libavformat/allformats.o libavformat/alp.o libavformat/amr.o libavformat/amvenc.o libavformat/anm.o libavformat/apc.o libavformat/ape.o libavformat/apetag.o libavformat/apm.o libavformat/apngdec.o libavformat/apngenc.o libavformat/aptxdec.o libavformat/aqtitledec.o libavformat/argo_asf.o libavformat/argo_brp.o libavformat/asf.o libavformat/asfcrypt.o libavformat/asfdec_f.o libavformat/asfdec_o.o libavformat/asfenc.o libavformat/assdec.o libavformat/assenc.o libavformat/ast.o libavformat/astdec.o libavformat/astenc.o libavformat/async.o libavformat/au.o libavformat/av1.o libavformat/av1dec.o libavformat/avc.o libavformat/avidec.o libavformat/avienc.o libavformat/avio.o libavformat/aviobuf.o libavformat/avlanguage.o libavformat/avr.o libavformat/avs.o libavformat/avs2dec.o libavformat/avs3dec.o libavformat/bethsoftvid.o libavformat/bfi.o libavformat/bink.o libavformat/binka.o libavformat/bintext.o libavformat/bit.o libavformat/bluray.o libavformat/bmv.o libavformat/boadec.o libavformat/brstm.o libavformat/c93.o libavformat/cache.o libavformat/caf.o libavformat/cafdec.o libavformat/cafenc.o libavformat/cavsvideodec.o libavformat/cdg.o libavformat/cdxl.o libavformat/cinedec.o libavformat/codec2.o libavformat/concat.o libavformat/concatdec.o libavformat/crcenc.o libavformat/crypto.o libavformat/dash.o libavformat/dashenc.o libavformat/data_uri.o libavformat/dauddec.o libavformat/daudenc.o libavformat/dcstr.o libavformat/derf.o libavformat/dfa.o libavformat/dhav.o libavformat/diracdec.o libavformat/dnxhddec.o libavformat/dsfdec.o libavformat/dsicin.o libavformat/dss.o libavformat/dtsdec.o libavformat/dtshddec.o libavformat/dump.o libavformat/dv.o libavformat/dvbsub.o libavformat/dvbtxt.o libavformat/dvenc.o libavformat/dxa.o libavformat/eacdata.o libavformat/electronicarts.o libavformat/epafdec.o libavformat/ffmetadec.o libavformat/ffmetaenc.o libavformat/fifo.o libavformat/fifo_test.o libavformat/file.o libavformat/filmstripdec.o libavformat/filmstripenc.o libavformat/fitsdec.o libavformat/fitsenc.o libavformat/flac_picture.o libavformat/flacdec.o libavformat/flacenc.o libavformat/flacenc_header.o libavformat/flic.o libavformat/flvdec.o libavformat/flvenc.o libavformat/format.o libavformat/framecrcenc.o libavformat/framehash.o libavformat/frmdec.o libavformat/fsb.o libavformat/ftp.o libavformat/fwse.o libavformat/g722.o libavformat/g723_1.o libavformat/g726.o libavformat/g729dec.o libavformat/gdv.o libavformat/genh.o libavformat/gif.o libavformat/gifdec.o libavformat/golomb_tab.o libavformat/gopher.o libavformat/gsmdec.o libavformat/gxf.o libavformat/gxfenc.o libavformat/h261dec.o libavformat/h263dec.o libavformat/h264dec.o libavformat/hashenc.o libavformat/hca.o libavformat/hcom.o libavformat/hdsenc.o libavformat/hevc.o libavformat/hevcdec.o libavformat/hls.o libavformat/hlsenc.o libavformat/hlsplaylist.o libavformat/hlsproto.o libavformat/hnm.o libavformat/http.o libavformat/httpauth.o libavformat/icecast.o libavformat/icodec.o libavformat/icoenc.o libavformat/id3v1.o libavformat/id3v2.o libavformat/id3v2enc.o libavformat/idcin.o libavformat/idroqdec.o libavformat/idroqenc.o libavformat/iff.o libavformat/ifv.o libavformat/ilbc.o libavformat/img2.o libavformat/img2_alias_pix.o libavformat/img2_brender_pix.o libavformat/img2dec.o libavformat/img2enc.o libavformat/imx.o libavformat/ingenientdec.o libavformat/ip.o libavformat/ipmovie.o libavformat/ipudec.o libavformat/ircam.o libavformat/ircamdec.o libavformat/ircamenc.o libavformat/isom.o libavformat/isom_tags.o libavformat/iss.o libavformat/iv8.o libavformat/ivfdec.o libavformat/ivfenc.o libavformat/jacosubdec.o libavformat/jacosubenc.o libavformat/jvdec.o libavformat/kvag.o libavformat/latmenc.o libavformat/libmodplug.o libavformat/lmlm4.o libavformat/loasdec.o libavformat/log2_tab.o libavformat/lrc.o libavformat/lrcdec.o libavformat/lrcenc.o libavformat/luodatdec.o libavformat/lvfdec.o libavformat/lxfdec.o libavformat/m4vdec.o libavformat/matroska.o libavformat/matroskadec.o libavformat/matroskaenc.o libavformat/mca.o libavformat/mccdec.o libavformat/md5proto.o libavformat/metadata.o libavformat/mgsts.o libavformat/microdvddec.o libavformat/microdvdenc.o libavformat/mj2kdec.o libavformat/mkvtimestamp_v2.o libavformat/mlpdec.o libavformat/mlvdec.o libavformat/mm.o libavformat/mmf.o libavformat/mms.o libavformat/mmsh.o libavformat/mmst.o libavformat/mods.o libavformat/moflex.o libavformat/mov.o libavformat/mov_chan.o libavformat/mov_esds.o libavformat/movenc.o libavformat/movenccenc.o libavformat/movenchint.o libavformat/mp3dec.o libavformat/mp3enc.o libavformat/mpc.o libavformat/mpc8.o libavformat/mpeg.o libavformat/mpegenc.o libavformat/mpegts.o libavformat/mpegtsenc.o libavformat/mpegvideodec.o libavformat/mpjpeg.o libavformat/mpjpegdec.o libavformat/mpl2dec.o libavformat/mpsubdec.o libavformat/msf.o libavformat/msnwc_tcp.o libavformat/mspdec.o libavformat/mtaf.o libavformat/mtv.o libavformat/musx.o libavformat/mux.o libavformat/mvdec.o libavformat/mvi.o libavformat/mxf.o libavformat/mxfdec.o libavformat/mxfenc.o libavformat/mxg.o libavformat/ncdec.o libavformat/network.o libavformat/nistspheredec.o libavformat/nspdec.o libavformat/nsvdec.o libavformat/nullenc.o libavformat/nut.o libavformat/nutdec.o libavformat/nutenc.o libavformat/nuv.o libavformat/oggdec.o libavformat/oggenc.o libavformat/oggparsecelt.o libavformat/oggparsedirac.o libavformat/oggparseflac.o libavformat/oggparseogm.o libavformat/oggparseopus.o libavformat/oggparseskeleton.o libavformat/oggparsespeex.o libavformat/oggparsetheora.o libavformat/oggparsevorbis.o libavformat/oggparsevp8.o libavformat/oma.o libavformat/omadec.o libavformat/omaenc.o libavformat/options.o libavformat/os_support.o libavformat/paf.o libavformat/pcm.o libavformat/pcmdec.o libavformat/pcmenc.o libavformat/pjsdec.o libavformat/pmpdec.o libavformat/pp_bnk.o libavformat/prompeg.o libavformat/protocols.o libavformat/psxstr.o libavformat/pva.o libavformat/pvfdec.o libavformat/qcp.o libavformat/qtpalette.o libavformat/r3d.o libavformat/rawdec.o libavformat/rawenc.o libavformat/rawutils.o libavformat/rawvideodec.o libavformat/rdt.o libavformat/realtextdec.o libavformat/redspark.o libavformat/replaygain.o libavformat/riff.o libavformat/riffdec.o libavformat/riffenc.o libavformat/rl2.o libavformat/rm.o libavformat/rmdec.o libavformat/rmenc.o libavformat/rmsipr.o libavformat/rpl.o libavformat/rsd.o libavformat/rso.o libavformat/rsodec.o libavformat/rsoenc.o libavformat/rtmpdigest.o libavformat/rtmphttp.o libavformat/rtmppkt.o libavformat/rtmpproto.o libavformat/rtp.o libavformat/rtpdec.o libavformat/rtpdec_ac3.o libavformat/rtpdec_amr.o libavformat/rtpdec_asf.o libavformat/rtpdec_dv.o libavformat/rtpdec_g726.o libavformat/rtpdec_h261.o libavformat/rtpdec_h263.o libavformat/rtpdec_h263_rfc2190.o libavformat/rtpdec_h264.o libavformat/rtpdec_hevc.o libavformat/rtpdec_ilbc.o libavformat/rtpdec_jpeg.o libavformat/rtpdec_latm.o libavformat/rtpdec_mpa_robust.o libavformat/rtpdec_mpeg12.o libavformat/rtpdec_mpeg4.o libavformat/rtpdec_mpegts.o libavformat/rtpdec_qcelp.o libavformat/rtpdec_qdm2.o libavformat/rtpdec_qt.o libavformat/rtpdec_rfc4175.o libavformat/rtpdec_svq3.o libavformat/rtpdec_vc2hq.o libavformat/rtpdec_vp8.o libavformat/rtpdec_vp9.o libavformat/rtpdec_xiph.o libavformat/rtpenc.o libavformat/rtpenc_aac.o libavformat/rtpenc_amr.o libavformat/rtpenc_chain.o libavformat/rtpenc_h261.o libavformat/rtpenc_h263.o libavformat/rtpenc_h263_rfc2190.o libavformat/rtpenc_h264_hevc.o libavformat/rtpenc_jpeg.o libavformat/rtpenc_latm.o libavformat/rtpenc_mpegts.o libavformat/rtpenc_mpv.o libavformat/rtpenc_vc2hq.o libavformat/rtpenc_vp8.o libavformat/rtpenc_vp9.o libavformat/rtpenc_xiph.o libavformat/rtpproto.o libavformat/rtsp.o libavformat/rtspdec.o libavformat/rtspenc.o libavformat/s337m.o libavformat/samidec.o libavformat/sapdec.o libavformat/sapenc.o libavformat/sauce.o libavformat/sbcdec.o libavformat/sbgdec.o libavformat/sccdec.o libavformat/sccenc.o libavformat/sdp.o libavformat/sdr2.o libavformat/sdsdec.o libavformat/sdxdec.o libavformat/segafilm.o libavformat/segafilmenc.o libavformat/segment.o libavformat/serdec.o libavformat/sga.o libavformat/shortendec.o libavformat/sierravmd.o libavformat/siff.o libavformat/smacker.o libavformat/smjpeg.o libavformat/smjpegdec.o libavformat/smjpegenc.o libavformat/smoothstreamingenc.o libavformat/smush.o libavformat/sol.o libavformat/soxdec.o libavformat/soxenc.o libavformat/spdif.o libavformat/spdifdec.o libavformat/spdifenc.o libavformat/srtdec.o libavformat/srtenc.o libavformat/srtp.o libavformat/srtpproto.o libavformat/stldec.o libavformat/subfile.o libavformat/subtitles.o libavformat/subviewer1dec.o libavformat/subviewerdec.o libavformat/supdec.o libavformat/supenc.o libavformat/svag.o libavformat/svs.o libavformat/swf.o libavformat/swfdec.o libavformat/swfenc.o libavformat/takdec.o libavformat/tcp.o libavformat/tedcaptionsdec.o libavformat/tee.o libavformat/tee_common.o libavformat/teeproto.o libavformat/thp.o libavformat/tiertexseq.o libavformat/tls.o libavformat/tls_gnutls.o libavformat/tmv.o libavformat/tta.o libavformat/ttaenc.o libavformat/ttmlenc.o libavformat/tty.o libavformat/txd.o libavformat/ty.o libavformat/udp.o libavformat/uncodedframecrcenc.o libavformat/unix.o libavformat/url.o libavformat/urldecode.o libavformat/utils.o libavformat/v210.o libavformat/vag.o libavformat/vc1dec.o libavformat/vc1test.o libavformat/vc1testenc.o libavformat/vividas.o libavformat/vivo.o libavformat/voc.o libavformat/voc_packet.o libavformat/vocdec.o libavformat/vocenc.o libavformat/vorbiscomment.o libavformat/vpcc.o libavformat/vpk.o libavformat/vplayerdec.o libavformat/vqf.o libavformat/w64.o libavformat/wavdec.o libavformat/wavenc.o libavformat/wc3movie.o libavformat/webm_chunk.o libavformat/webmdashenc.o libavformat/webpenc.o libavformat/webvttdec.o libavformat/webvttenc.o libavformat/westwood_aud.o libavformat/westwood_vqa.o libavformat/wsddec.o libavformat/wtv_common.o libavformat/wtvdec.o libavformat/wtvenc.o libavformat/wv.o libavformat/wvdec.o libavformat/wvedec.o libavformat/wvenc.o libavformat/xa.o libavformat/xmv.o libavformat/xvag.o libavformat/xwma.o libavformat/yop.o libavformat/yuv4mpegdec.o libavformat/yuv4mpegenc.o -lavcodec -lswresample -lavutil -lm -lbz2 -L/opt/local/lib -lmodplug -L/opt/local/lib -lbluray -L/opt/local/lib -lz -L/opt/local/lib -lgnutls -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -liconv -lm -llzma -L/opt/local/lib -ldav1d -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -L/opt/local/lib -lzvbi -lm -lintl -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -lpthread -lm -liconv -lpng -lz -L/opt/local/lib -lz -framework AudioToolbox -L/opt/local/lib -laom -L/opt/local/lib -lfdk-aac -lmp3lame -lm -L/opt/local/lib -lopenjp2 -L/opt/local/lib -lopus -L/opt/local/lib -lspeex -L/opt/local/lib -lSvtAv1Enc -ltheoraenc -ltheoradec -logg -L/opt/local/lib -lvorbis -L/opt/local/lib -lvorbisenc -L/opt/local/lib -lx264 -L/opt/local/lib -lx265 -lxvidcore -pthread -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices -lm -lsoxr -pthread -lm -Wl,-framework,OpenCL -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices :info:build ld: warning: -single_module is obsolete :info:build ld: warning: ignoring duplicate libraries: '-liconv', '-lintl', '-lm', '-lvpx', '-lz' :info:build cd ./libavformat/ && ln -s -f libavformat.58.dylib libavformat.dylib :info:build /usr/bin/clang -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavfilter.7.dylib,-current_version,7.110.100,-compatibility_version,7 -Wl,-exported_symbols_list,libavfilter/libavfilter.ver -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -Wl,-dynamic,-search_paths_first -Qunused-arguments -o libavfilter/libavfilter.7.dylib libavfilter/aarch64/vf_nlmeans_init.o libavfilter/aarch64/vf_nlmeans_neon.o libavfilter/aeval.o libavfilter/af_acontrast.o libavfilter/af_acopy.o libavfilter/af_acrossover.o libavfilter/af_acrusher.o libavfilter/af_adeclick.o libavfilter/af_adelay.o libavfilter/af_adenorm.o libavfilter/af_aderivative.o libavfilter/af_aecho.o libavfilter/af_aemphasis.o libavfilter/af_aexciter.o libavfilter/af_afade.o libavfilter/af_afftdn.o libavfilter/af_afftfilt.o libavfilter/af_afir.o libavfilter/af_aformat.o libavfilter/af_afreqshift.o libavfilter/af_agate.o libavfilter/af_aiir.o libavfilter/af_alimiter.o libavfilter/af_amerge.o libavfilter/af_amix.o libavfilter/af_amultiply.o libavfilter/af_anequalizer.o libavfilter/af_anlmdn.o libavfilter/af_anlms.o libavfilter/af_anull.o libavfilter/af_apad.o libavfilter/af_aphaser.o libavfilter/af_apulsator.o libavfilter/af_aresample.o libavfilter/af_arnndn.o libavfilter/af_asetnsamples.o libavfilter/af_asetrate.o libavfilter/af_ashowinfo.o libavfilter/af_asoftclip.o libavfilter/af_astats.o libavfilter/af_asubboost.o libavfilter/af_asupercut.o libavfilter/af_atempo.o libavfilter/af_axcorrelate.o libavfilter/af_biquads.o libavfilter/af_channelmap.o libavfilter/af_channelsplit.o libavfilter/af_chorus.o libavfilter/af_compand.o libavfilter/af_compensationdelay.o libavfilter/af_crossfeed.o libavfilter/af_crystalizer.o libavfilter/af_dcshift.o libavfilter/af_deesser.o libavfilter/af_drmeter.o libavfilter/af_dynaudnorm.o libavfilter/af_earwax.o libavfilter/af_extrastereo.o libavfilter/af_firequalizer.o libavfilter/af_flanger.o libavfilter/af_haas.o libavfilter/af_hdcd.o libavfilter/af_headphone.o libavfilter/af_join.o libavfilter/af_loudnorm.o libavfilter/af_mcompand.o libavfilter/af_pan.o libavfilter/af_replaygain.o libavfilter/af_resample.o libavfilter/af_sidechaincompress.o libavfilter/af_silencedetect.o libavfilter/af_silenceremove.o libavfilter/af_speechnorm.o libavfilter/af_stereotools.o libavfilter/af_stereowiden.o libavfilter/af_superequalizer.o libavfilter/af_surround.o libavfilter/af_tremolo.o libavfilter/af_vibrato.o libavfilter/af_volume.o libavfilter/af_volumedetect.o libavfilter/allfilters.o libavfilter/asink_anullsink.o libavfilter/asrc_afirsrc.o libavfilter/asrc_anoisesrc.o libavfilter/asrc_anullsrc.o libavfilter/asrc_hilbert.o libavfilter/asrc_sinc.o libavfilter/asrc_sine.o libavfilter/audio.o libavfilter/avf_abitscope.o libavfilter/avf_ahistogram.o libavfilter/avf_aphasemeter.o libavfilter/avf_avectorscope.o libavfilter/avf_concat.o libavfilter/avf_showcqt.o libavfilter/avf_showfreqs.o libavfilter/avf_showspatial.o libavfilter/avf_showspectrum.o libavfilter/avf_showvolume.o libavfilter/avf_showwaves.o libavfilter/avfilter.o libavfilter/avfiltergraph.o libavfilter/bbox.o libavfilter/boxblur.o libavfilter/buffersink.o libavfilter/buffersrc.o libavfilter/colorspace.o libavfilter/colorspacedsp.o libavfilter/dnn/dnn_backend_native.o libavfilter/dnn/dnn_backend_native_layer_avgpool.o libavfilter/dnn/dnn_backend_native_layer_conv2d.o libavfilter/dnn/dnn_backend_native_layer_dense.o libavfilter/dnn/dnn_backend_native_layer_depth2space.o libavfilter/dnn/dnn_backend_native_layer_mathbinary.o libavfilter/dnn/dnn_backend_native_layer_mathunary.o libavfilter/dnn/dnn_backend_native_layer_maximum.o libavfilter/dnn/dnn_backend_native_layer_pad.o libavfilter/dnn/dnn_backend_native_layers.o libavfilter/dnn/dnn_interface.o libavfilter/dnn/dnn_io_proc.o libavfilter/dnn/queue.o libavfilter/dnn/safe_queue.o libavfilter/dnn_filter_common.o libavfilter/drawutils.o libavfilter/ebur128.o libavfilter/f_bench.o libavfilter/f_cue.o libavfilter/f_drawgraph.o libavfilter/f_ebur128.o libavfilter/f_graphmonitor.o libavfilter/f_interleave.o libavfilter/f_loop.o libavfilter/f_metadata.o libavfilter/f_perms.o libavfilter/f_realtime.o libavfilter/f_reverse.o libavfilter/f_select.o libavfilter/f_sendcmd.o libavfilter/f_sidedata.o libavfilter/f_streamselect.o libavfilter/fifo.o libavfilter/formats.o libavfilter/framepool.o libavfilter/framequeue.o libavfilter/framesync.o libavfilter/generate_wave_table.o libavfilter/graphdump.o libavfilter/graphparser.o libavfilter/lavfutils.o libavfilter/log2_tab.o libavfilter/lswsutils.o libavfilter/motion_estimation.o libavfilter/opencl.o libavfilter/opencl/avgblur.o libavfilter/opencl/colorkey.o libavfilter/opencl/colorspace_common.o libavfilter/opencl/convolution.o libavfilter/opencl/deshake.o libavfilter/opencl/neighbor.o libavfilter/opencl/nlmeans.o libavfilter/opencl/overlay.o libavfilter/opencl/pad.o libavfilter/opencl/tonemap.o libavfilter/opencl/transpose.o libavfilter/opencl/unsharp.o libavfilter/opencl/xfade.o libavfilter/pthread.o libavfilter/qp_table.o libavfilter/scale_eval.o libavfilter/scene_sad.o libavfilter/setpts.o libavfilter/settb.o libavfilter/split.o libavfilter/src_movie.o libavfilter/transform.o libavfilter/trim.o libavfilter/vaf_spectrumsynth.o libavfilter/vf_addroi.o libavfilter/vf_alphamerge.o libavfilter/vf_amplify.o libavfilter/vf_aspect.o libavfilter/vf_atadenoise.o libavfilter/vf_avgblur.o libavfilter/vf_avgblur_opencl.o libavfilter/vf_bbox.o libavfilter/vf_bilateral.o libavfilter/vf_bitplanenoise.o libavfilter/vf_blackdetect.o libavfilter/vf_blackframe.o libavfilter/vf_blend.o libavfilter/vf_bm3d.o libavfilter/vf_boxblur.o libavfilter/vf_bwdif.o libavfilter/vf_cas.o libavfilter/vf_chromakey.o libavfilter/vf_chromanr.o libavfilter/vf_chromashift.o libavfilter/vf_ciescope.o libavfilter/vf_codecview.o libavfilter/vf_colorbalance.o libavfilter/vf_colorchannelmixer.o libavfilter/vf_colorconstancy.o libavfilter/vf_colorcontrast.o libavfilter/vf_colorcorrect.o libavfilter/vf_colorize.o libavfilter/vf_colorkey.o libavfilter/vf_colorkey_opencl.o libavfilter/vf_colorlevels.o libavfilter/vf_colormatrix.o libavfilter/vf_colorspace.o libavfilter/vf_colortemperature.o libavfilter/vf_convolution.o libavfilter/vf_convolution_opencl.o libavfilter/vf_convolve.o libavfilter/vf_copy.o libavfilter/vf_coreimage.o libavfilter/vf_cover_rect.o libavfilter/vf_crop.o libavfilter/vf_cropdetect.o libavfilter/vf_curves.o libavfilter/vf_datascope.o libavfilter/vf_dblur.o libavfilter/vf_dctdnoiz.o libavfilter/vf_deband.o libavfilter/vf_deblock.o libavfilter/vf_decimate.o libavfilter/vf_dedot.o libavfilter/vf_deflicker.o libavfilter/vf_dejudder.o libavfilter/vf_delogo.o libavfilter/vf_derain.o libavfilter/vf_deshake.o libavfilter/vf_deshake_opencl.o libavfilter/vf_despill.o libavfilter/vf_detelecine.o libavfilter/vf_displace.o libavfilter/vf_dnn_processing.o libavfilter/vf_drawbox.o libavfilter/vf_drawtext.o libavfilter/vf_edgedetect.o libavfilter/vf_elbg.o libavfilter/vf_entropy.o libavfilter/vf_epx.o libavfilter/vf_eq.o libavfilter/vf_estdif.o libavfilter/vf_exposure.o libavfilter/vf_extractplanes.o libavfilter/vf_fade.o libavfilter/vf_fftdnoiz.o libavfilter/vf_fftfilt.o libavfilter/vf_field.o libavfilter/vf_fieldhint.o libavfilter/vf_fieldmatch.o libavfilter/vf_fieldorder.o libavfilter/vf_fillborders.o libavfilter/vf_find_rect.o libavfilter/vf_floodfill.o libavfilter/vf_format.o libavfilter/vf_fps.o libavfilter/vf_framepack.o libavfilter/vf_framerate.o libavfilter/vf_framestep.o libavfilter/vf_freezedetect.o libavfilter/vf_freezeframes.o libavfilter/vf_fspp.o libavfilter/vf_gblur.o libavfilter/vf_geq.o libavfilter/vf_gradfun.o libavfilter/vf_hflip.o libavfilter/vf_histeq.o libavfilter/vf_histogram.o libavfilter/vf_hqdn3d.o libavfilter/vf_hqx.o libavfilter/vf_hue.o libavfilter/vf_hwdownload.o libavfilter/vf_hwmap.o libavfilter/vf_hwupload.o libavfilter/vf_hysteresis.o libavfilter/vf_identity.o libavfilter/vf_idet.o libavfilter/vf_il.o libavfilter/vf_kerndeint.o libavfilter/vf_lagfun.o libavfilter/vf_lenscorrection.o libavfilter/vf_limiter.o libavfilter/vf_lumakey.o libavfilter/vf_lut.o libavfilter/vf_lut2.o libavfilter/vf_lut3d.o libavfilter/vf_maskedclamp.o libavfilter/vf_maskedmerge.o libavfilter/vf_maskedminmax.o libavfilter/vf_maskedthreshold.o libavfilter/vf_maskfun.o libavfilter/vf_mcdeint.o libavfilter/vf_median.o libavfilter/vf_mergeplanes.o libavfilter/vf_mestimate.o libavfilter/vf_midequalizer.o libavfilter/vf_minterpolate.o libavfilter/vf_mix.o libavfilter/vf_monochrome.o libavfilter/vf_mpdecimate.o libavfilter/vf_neighbor.o libavfilter/vf_neighbor_opencl.o libavfilter/vf_nlmeans.o libavfilter/vf_nlmeans_opencl.o libavfilter/vf_nnedi.o libavfilter/vf_noise.o libavfilter/vf_normalize.o libavfilter/vf_null.o libavfilter/vf_overlay.o libavfilter/vf_overlay_opencl.o libavfilter/vf_owdenoise.o libavfilter/vf_pad.o libavfilter/vf_pad_opencl.o libavfilter/vf_palettegen.o libavfilter/vf_paletteuse.o libavfilter/vf_perspective.o libavfilter/vf_phase.o libavfilter/vf_photosensitivity.o libavfilter/vf_pixdesctest.o libavfilter/vf_pp.o libavfilter/vf_pp7.o libavfilter/vf_premultiply.o libavfilter/vf_program_opencl.o libavfilter/vf_pseudocolor.o libavfilter/vf_psnr.o libavfilter/vf_pullup.o libavfilter/vf_qp.o libavfilter/vf_random.o libavfilter/vf_readeia608.o libavfilter/vf_readvitc.o libavfilter/vf_remap.o libavfilter/vf_removegrain.o libavfilter/vf_removelogo.o libavfilter/vf_repeatfields.o libavfilter/vf_rotate.o libavfilter/vf_sab.o libavfilter/vf_scale.o libavfilter/vf_scdet.o libavfilter/vf_scroll.o libavfilter/vf_selectivecolor.o libavfilter/vf_separatefields.o libavfilter/vf_setparams.o libavfilter/vf_shear.o libavfilter/vf_showinfo.o libavfilter/vf_showpalette.o libavfilter/vf_shuffleframes.o libavfilter/vf_shufflepixels.o libavfilter/vf_shuffleplanes.o libavfilter/vf_signalstats.o libavfilter/vf_signature.o libavfilter/vf_smartblur.o libavfilter/vf_spp.o libavfilter/vf_sr.o libavfilter/vf_ssim.o libavfilter/vf_stack.o libavfilter/vf_stereo3d.o libavfilter/vf_subtitles.o libavfilter/vf_super2xsai.o libavfilter/vf_swaprect.o libavfilter/vf_swapuv.o libavfilter/vf_telecine.o libavfilter/vf_threshold.o libavfilter/vf_thumbnail.o libavfilter/vf_tile.o libavfilter/vf_tinterlace.o libavfilter/vf_tmidequalizer.o libavfilter/vf_tonemap.o libavfilter/vf_tonemap_opencl.o libavfilter/vf_tpad.o libavfilter/vf_transpose.o libavfilter/vf_transpose_opencl.o libavfilter/vf_unsharp.o libavfilter/vf_unsharp_opencl.o libavfilter/vf_untile.o libavfilter/vf_uspp.o libavfilter/vf_v360.o libavfilter/vf_vaguedenoiser.o libavfilter/vf_vectorscope.o libavfilter/vf_vflip.o libavfilter/vf_vfrdet.o libavfilter/vf_vibrance.o libavfilter/vf_vidstabdetect.o libavfilter/vf_vidstabtransform.o libavfilter/vf_vif.o libavfilter/vf_vignette.o libavfilter/vf_vmafmotion.o libavfilter/vf_w3fdif.o libavfilter/vf_waveform.o libavfilter/vf_weave.o libavfilter/vf_xbr.o libavfilter/vf_xfade.o libavfilter/vf_xfade_opencl.o libavfilter/vf_xmedian.o libavfilter/vf_yadif.o libavfilter/vf_yaepblur.o libavfilter/vf_zoompan.o libavfilter/vf_zscale.o libavfilter/video.o libavfilter/vidstabutils.o libavfilter/vsink_nullsink.o libavfilter/vsrc_cellauto.o libavfilter/vsrc_gradients.o libavfilter/vsrc_life.o libavfilter/vsrc_mandelbrot.o libavfilter/vsrc_mptestsrc.o libavfilter/vsrc_sierpinski.o libavfilter/vsrc_testsrc.o libavfilter/yadif_common.o -lswscale -lpostproc -lavformat -lavcodec -lswresample -lavresample -lavutil -framework OpenGL -framework OpenGL -pthread -lm -L/opt/local/lib -lfribidi -L/opt/local/lib -lass -L/opt/local/lib -lvidstab -lm -L/opt/local/lib -lzimg -framework CoreImage -framework AppKit -Wl,-framework,OpenCL -L/opt/local/lib -lfontconfig -lfreetype -L/opt/local/lib -lfreetype -lm -lm -lm -lbz2 -L/opt/local/lib -lmodplug -L/opt/local/lib -lbluray -L/opt/local/lib -lz -L/opt/local/lib -lgnutls -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -L/opt/local/lib -lvpx -lm -liconv -lm -llzma -L/opt/local/lib -ldav1d -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -L/opt/local/lib -lzvbi -lm -lintl -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -lpthread -lm -liconv -lpng -lz -L/opt/local/lib -lz -framework AudioToolbox -L/opt/local/lib -laom -L/opt/local/lib -lfdk-aac -lmp3lame -lm -L/opt/local/lib -lopenjp2 -L/opt/local/lib -lopus -L/opt/local/lib -lspeex -L/opt/local/lib -lSvtAv1Enc -ltheoraenc -ltheoradec -logg -L/opt/local/lib -lvorbis -L/opt/local/lib -lvorbisenc -L/opt/local/lib -lx264 -L/opt/local/lib -lx265 -lxvidcore -pthread -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices -lm -lsoxr -lm -pthread -lm -Wl,-framework,OpenCL -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices :info:build ld: warning: -single_module is obsolete :info:build ld: warning: ignoring duplicate libraries: '-lfreetype', '-liconv', '-lintl', '-lm', '-lvpx', '-lz' :info:build ld: building exports trie: duplicate symbol '_av_add_i' :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build gmake: *** [ffbuild/library.mak:103: libavfilter/libavfilter.7.dylib] Error 1 :info:build gmake: *** Waiting for unfinished jobs.... :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-4.4.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-4.4.4" && /opt/local/bin/gmake -j12 -w all :info:build Exit code: 2 :error:build Failed to build ffmpeg: command execution failed :debug:build Error code: CHILDSTATUS 27840 2
comment:16 Changed 14 months ago by captainproton1971 (Captain Proton)
Cc: | captainproton1971 added |
---|
comment:17 Changed 14 months ago by ddrum2000
Cc: | ddrum2000 added |
---|
comment:18 follow-up: 34 Changed 14 months ago by butter71
xcode 15 / sonoma / x86
port variant: -x11 +gpl2
I was able to build by modifying the Portfile to add "-ld_classic" to the LDFLAGS. Xcode 15 switched the default linker to Apple's "prime" version. "-ld_classic" forces it to use the same one as Xcode 14 (and earlier). This is probably a temporary solution until someone more knowledgeable figures out what's going on with the new linker.
+ configure.ldflags-append \ + -ld_classic
comment:19 Changed 14 months ago by klausness
Cc: | klausness added |
---|
comment:20 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to aholmes55:
Looks like only the gpl2 package is available. None of the other variants have packages available on the packages.macports.org server.
That's correct. The build system only builds what is needed for a default build.
Has anybody reported this problem to the developers of ffmpeg? If not, please do, and paste the bug report URL here.
comment:21 Changed 14 months ago by ednl (Ewoud Dronkert)
Cc: | ednl added |
---|
comment:22 Changed 14 months ago by czo
If both 15.0 and 14.3.1 is installed, and CLT has been updated to 15.0 too, this port cant be build, regardless of that the active Xcode has been switchet to 14.3.1 with xcode-select (see my 14.3.1 log https://trac.macports.org/attachment/ticket/68234/main-14.3.1.log).
xcode-select did not useable to switch between versions?
comment:23 Changed 14 months ago by fondacio
Cc: | fondacio added |
---|
comment:24 follow-up: 26 Changed 14 months ago by phriedrich
@butter71
Appending -ld_classic
also worked for me on Sonoma, Xcode 15 and arm64.
comment:25 Changed 14 months ago by jakw0j
Cc: | jakw0j added |
---|
comment:26 Changed 14 months ago by ddrum2000
Replying to phriedrich:
@butter71
Appending
-ld_classic
also worked for me on Sonoma, Xcode 15 and arm64.
Where specifically did you add this?
comment:27 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | abaldoni added |
---|---|
Keywords: | ventura sonoma added; xcode14 xcode15 removed |
Summary: | ffmpeg @4.4.4_2+gpl2+x11: Unable to build it under Ventura 13.6 + Xcode 14.3.1 or 15.0 → ffmpeg @4.4.4_2+gpl2+x11: ld: building exports trie: duplicate symbol '_av_add_i' |
Where specifically did you add this?
Presumably in configure.ldflags
, since it is a linker flag.
Has duplicate #68258.
comment:28 Changed 14 months ago by dsavransky (Dmitry Savransky)
Cc: | dsavransky added |
---|
comment:29 Changed 14 months ago by czo
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:30 follow-up: 32 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
In future, please do not increase the revision only to fix a build failure. Please read the section on the revision keyword in the MacPorts guide.
comment:32 Changed 14 months ago by mascguy (Christopher Nielsen)
Replying to ryandesign:
In future, please do not increase the revision only to fix a build failure. Please read the section on the revision keyword in the MacPorts guide.
This is my bad: Wanted to merge the contributed fix, but feeling a bit under-the-weather tonight. (And not quite myself at the moment.)
comment:33 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | nortcele added |
---|
Has duplicate #68267.
comment:34 Changed 14 months ago by cjones051073 (Chris Jones)
Replying to butter71:
xcode 15 / sonoma / x86
port variant: -x11 +gpl2
I was able to build by modifying the Portfile to add "-ld_classic" to the LDFLAGS. Xcode 15 switched the default linker to Apple's "prime" version. "-ld_classic" forces it to use the same one as Xcode 14 (and earlier). This is probably a temporary solution until someone more knowledgeable figures out what's going on with the new linker.
+ configure.ldflags-append \ + -ld_classic
I am a little surprised this worked, as these flags are not passed (directly) to the linker but via the compiler I would have though the option should have been
-Wl,-ld_classic
…
comment:35 Changed 14 months ago by cjones051073 (Chris Jones)
Cc: | cjones051073 added |
---|
comment:36 Changed 14 months ago by butter71
I did a quick test and it looks like apple's clang accepts both -ld_classic and -Wl,-ld_classic. They produced the same binary.
Regardless I think you're right that -Wl,-ld_classic is the canonical (and more future-proof) way to go.
comment:37 follow-up: 38 Changed 14 months ago by cjones051073 (Chris Jones)
What about gcc ? I suspect that does not accept the option directly. So yes I think as a matter of course we should recommend the option syntax that works with both.
comment:38 Changed 14 months ago by mascguy (Christopher Nielsen)
Replying to cjones051073:
What about gcc ? I suspect that does not accept the option directly. So yes I think as a matter of course we should recommend the option syntax that works with both.
Agreed, I'll fix all three ffmpeg*
ports.
main.log with Xcode 14.3.1