[MacPorts] #53438: Audacity can't find ffmpeg

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
#53438: Audacity can't find ffmpeg
-------------------------+----------------------
 Reporter:  rpspringuel  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  ffmpeg       |       Port:  audacity
-------------------------+----------------------
 I've installed the latest audacity and ffmpeg ports (along with their
 dependencies) and Audacity is complaining that it can't find the ffmpeg
 libraries (and thus can't open m4a files).  When I try to manually point
 to the library (`/opt/local/lib/libavformat.57.56.100.dylib`) the dialog
 just goes back to the preferences pane and the same library not found
 error shows up.

--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by ryandesign):

 * keywords:  ffmpeg =>
 * owner:   => RJVB
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 What OS version are you seeing this on?

 I updated my port:ffmpeg to the current 3.2.2 and audacity immediately saw
 the new ffmpeg libraries. m4a import still works.

 FWIW, I have a personal ffmpeg-2 port that's active. When I open the
 Audacity log (under the Help menu), I see this:

 {{{
 17:38:19: Trying to load FFmpeg libraries...
 17:38:19: mLibAVFormatPath
 ('/opt/local/lib/libavformat-2.56.40.101.dylib') is not empty. Loading
 from it.
 17:38:19: Checking for monolithic avformat from
 '/opt/local/lib/libavformat-2.56.40.101.dylib'.
 17:38:19: avformat not monolithic
 17:38:19: Loading avutil from
 '/opt/local/lib/libavutil-2.54.31.100.dylib'.
 17:38:19: Loading avcodec from
 '/opt/local/lib/libavcodec-2.56.60.100.dylib'.
 17:38:19: Loading avformat from
 '/opt/local/lib/libavformat-2.56.40.101.dylib'.
 17:38:19: Actual avutil path /opt/local/lib/libavutil-2.54.31.100.dylib
 17:38:19: Actual avcodec path /opt/local/lib/libavcodec-2.56.60.100.dylib
 17:38:19: Actual avformat path
 /opt/local/lib/libavformat-2.56.40.101.dylib
 17:38:19: Importing symbols...
 17:38:19: All symbols loaded successfully. Initializing the library.
 17:38:19: Retrieving FFmpeg library version numbers:
 17:38:19:    AVCodec version 0x383c64 - 56.60.100 (built against 0x393065
 - 57.48.101)
 17:38:19:    AVFormat version 0x382865 - 56.40.101 (built against 0x392964
 - 57.41.100)
 17:38:19:    AVUtil version 0x361f64 - 54.31.100 (built against 0x371c64 -
 55.28.100)
 17:38:19: Error: AVCodec version mismatch = -1
 17:38:19: Error: AVFormat version mismatch = -1
 17:38:19: Error: AVUtil version mismatch = -1
 17:38:19: Error: Version mismatch. FFmpeg libraries are unusable.
 17:38:19: Trying to load FFmpeg libraries from default path,
 '/opt/local/lib/libavformat.57.dylib'.
 17:38:19: Checking for monolithic avformat from
 '/opt/local/lib/libavformat.57.dylib'.
 17:38:19: avformat not monolithic
 17:38:19: Loading avutil from '/opt/local/lib/libavutil.55.34.100.dylib'.
 17:38:19: Loading avcodec from
 '/opt/local/lib/libavcodec.57.64.101.dylib'.
 17:38:19: Loading avformat from '/opt/local/lib/libavformat.57.dylib'.
 17:38:19: Actual avutil path /opt/local/lib/libavutil.55.34.100.dylib
 17:38:19: Actual avcodec path /opt/local/lib/libavcodec.57.64.101.dylib
 17:38:19: Actual avformat path /opt/local/lib/libavformat.57.56.100.dylib
 17:38:19: Importing symbols...
 17:38:19: All symbols loaded successfully. Initializing the library.
 17:38:19: Retrieving FFmpeg library version numbers:
 17:38:19:    AVCodec version 0x394065 - 57.64.101 (built against 0x393065
 - 57.48.101)
 17:38:19:    AVFormat version 0x393864 - 57.56.100 (built against 0x392964
 - 57.41.100)
 17:38:19:    AVUtil version 0x372264 - 55.34.100 (built against 0x371c64 -
 55.28.100)
 17:38:19: FFmpeg libraries loaded successfully.
 }}}

 If you continue to see your issue, please copy the audacity log here
 (inline if it's short or else as an attachment).

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by rpspringuel):

 I'm on 10.11.6 and using ffmpeg @3.2.2_3+gpl2 and audacity @2.1.2_2.


 {{{
 13:15:12: Audacity 2.1.2
 13:15:12: Trying to load FFmpeg libraries...
 13:15:12: mLibAVFormatPath ('/opt/local/lib/libavformat.57.56.100.dylib')
 is not empty. Loading from it.
 13:15:12: Checking for monolithic avformat from
 '/opt/local/lib/libavformat.57.56.100.dylib'.
 13:15:14: avformat not monolithic
 13:15:14: Loading avutil from '/opt/local/lib/libavutil.55.34.100.dylib'.
 13:15:14: Loading avcodec from
 '/opt/local/lib/libavcodec.57.64.101.dylib'.
 13:15:14: Loading avformat from
 '/opt/local/lib/libavformat.57.56.100.dylib'.
 13:15:14: Actual avutil path /opt/local/lib/libavutil.55.34.100.dylib
 13:15:14: Actual avcodec path /opt/local/lib/libavcodec.57.64.101.dylib
 13:15:14: Actual avformat path /opt/local/lib/libavformat.57.56.100.dylib
 13:15:14: Importing symbols...
 13:15:14: All symbols loaded successfully. Initializing the library.
 13:15:14: Retrieving FFmpeg library version numbers:
 13:15:14:    AVCodec version 0x394065 - 57.64.101 (built against 0x383c64
 - 56.60.100)
 13:15:14:    AVFormat version 0x393864 - 57.56.100 (built against 0x382865
 - 56.40.101)
 13:15:14:    AVUtil version 0x372264 - 55.34.100 (built against 0x361f64 -
 54.31.100)
 13:15:14: Error: AVCodec version mismatch = 1
 13:15:14: Error: AVFormat version mismatch = 1
 13:15:14: Error: AVUtil version mismatch = 1
 13:15:14: Error: Version mismatch. FFmpeg libraries are unusable.
 13:15:14: Trying to load FFmpeg libraries from default path,
 '/opt/local/lib/libavformat.56.dylib'.
 13:15:14: Checking for monolithic avformat from
 '/opt/local/lib/libavformat.56.dylib'.
 13:15:14: Error: dlopen(/opt/local/lib/libavformat.56.dylib, 1): image not
 found
 13:15:14: Loading avutil from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avcodec from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avformat from '/opt/local/lib/libavformat.56.dylib'.
 13:15:14: Error: dlopen(/opt/local/lib/libavformat.56.dylib, 1): image not
 found
 13:15:14: Error: Failed to load FFmpeg libraries.
 13:15:14: Trying to load FFmpeg libraries from legacy path,
 '/usr/local/lib/audacity/libavformat.56.dylib'.
 13:15:14: Checking for monolithic avformat from
 '/usr/local/lib/audacity/libavformat.56.dylib'.
 13:15:14: Error: dlopen(/usr/local/lib/audacity/libavformat.56.dylib, 1):
 image not found
 13:15:14: Loading avutil from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avcodec from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avformat from
 '/usr/local/lib/audacity/libavformat.56.dylib'.
 13:15:14: Error: dlopen(/usr/local/lib/audacity/libavformat.56.dylib, 1):
 image not found
 13:15:14: Error: Failed to load FFmpeg libraries.
 13:15:14: Trying to load FFmpeg libraries from system paths. File name is
 'libavformat.56.dylib'.
 13:15:14: Checking for monolithic avformat from 'libavformat.56.dylib'.
 13:15:14: Error: dlopen(libavformat.56.dylib, 1): image not found
 13:15:14: Loading avutil from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avcodec from ''.
 13:15:14: Error: dlopen(.bundle, 1): image not found
 13:15:14: Loading avformat from 'libavformat.56.dylib'.
 13:15:14: Error: dlopen(libavformat.56.dylib, 1): image not found
 13:15:14: Error: Failed to load FFmpeg libraries.
 13:15:14: Error: Failed to find compatible FFmpeg libraries.
 13:15:35: File name is /Users/RPS/Documents/School/Theology/Canon Law &
 Sacraments/Lectures/RAW/17012609.m4a
 13:15:35: Mime type is *
 13:15:35: Opening with libav
 13:15:35: Opening with libsndfile
 13:15:35: Opening with liboggvorbis
 13:15:36: Opening with libflac
 13:15:36: Opening with lof
 13:15:36: Error: Importer::Import: Opening failed.

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 This looks like audacity was built against ffmpeg 2:

 {{{
 13:15:14: Retrieving FFmpeg library version numbers:
 13:15:14:    AVCodec version 0x394065 - 57.64.101 (built against 0x383c64
 - 56.60.100)
 13:15:14:    AVFormat version 0x393864 - 57.56.100 (built against 0x382865
 - 56.40.101)
 13:15:14:    AVUtil version 0x372264 - 55.34.100 (built against 0x361f64 -
 54.31.100)
 13:15:14: Error: AVCodec version mismatch = 1
 13:15:14: Error: AVFormat version mismatch = 1
 13:15:14: Error: AVUtil version mismatch = 1
 13:15:14: Error: Version mismatch. FFmpeg libraries are unusable.
 13:15:14: Trying to load FFmpeg libraries from default path,
 '/opt/local/lib/libavformat.56.dylib'.
 }}}

 which in turn implies that I would have rebuilt my local copy after I
 finally upgraded to ffmpeg 3 (which I held off on for quite a while). That
 kind of surprise me, but anyway.

 Could you try to reinstall audacity from source, please?

 {{{
 sudo port -ns upgrade --force audacity
 }}}

 and see if that solves your issue?

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by rpspringuel):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by rpspringuel):

 The build fails with the following error:

 {{{
 Error: Failed to build audacity: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_audacity/audacity/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 I've attached the referenced log above.

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 That build error has nothing to do with FFMpeg:

 {{{
 :info:build ld: warning: ignoring file ../lib-src/lv2/liblv2.a, file was
 built for archive which is not the architecture being linked (x86_64):
 ../lib-src/lv2/liblv2.a
 }}}

 Annoyingly the liblv2 build hides its details so I cannot infer what goes
 wrong there, so this may take some time to figure out :-/

 Googling the "file was built for archive" error I find this most recent
 hit:
 https://github.com/MoarVM/MoarVM/issues/334

 In that case the error was caused by the use of the wrong `ar` utility
 (GNU's instead of Apple's). Confirmed in another hit
 (https://github.com/tpoechtrager/osxcross/issues/11).

 As far as I can see your build uses AppleClang. Can you check where in
 your path you have the `ar` program installed (tcsh has the `where ar`
 command for that, bash/sh surely have something similar), and what
 versions they are?

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by mojca):

 On the buildbot
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/18042
 10.11] seems to work (in some way, the build must have succeeded earlier),
 on
 [https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19900/
 10.12] it fails with:
 {{{
 libtool: link: /usr/bin/clang++ -I../lib-src/portmixer/include -I../mac
 -pipe -Os -stdlib=libc++ -arch x86_64 -DwxDEBUG_LEVEL=0 -Wall -I../include
 -I../lib-src/FileDialog -rdynamic -Wl,-headerpad_max_install_names -arch
 x86_64 -o audacity audacity-BlockFile.o audacity-DirManager.o audacity-
 Dither.o audacity-FileFormats.o audacity-Internat.o audacity-Prefs.o
 audacity-SampleFormat.o audacity-Sequence.o blockfile/audacity-
 LegacyAliasBlockFile.o blockfile/audacity-LegacyBlockFile.o blockfile
 /audacity-ODDecodeBlockFile.o blockfile/audacity-ODPCMAliasBlockFile.o
 blockfile/audacity-PCMAliasBlockFile.o blockfile/audacity-
 SilentBlockFile.o blockfile/audacity-SimpleBlockFile.o xml/audacity-
 XMLTagHandler.o audacity-AboutDialog.o audacity-AColor.o audacity-
 AudacityApp.o audacity-AudacityLogger.o audacity-AudioIO.o audacity-
 AutoRecovery.o audacity-BatchCommandDialog.o audacity-BatchCommands.o
 audacity-BatchProcessDialog.o audacity-Benchmark.o audacity-Dependencies.o
 audacity-DeviceChange.o audacity-DeviceManager.o audacity-Diags.o
 audacity-Envelope.o audacity-FFmpeg.o audacity-FFT.o audacity-FileIO.o
 audacity-FileNames.o audacity-FreqWindow.o audacity-HelpText.o audacity-
 HistoryWindow.o audacity-ImageManipulation.o audacity-InterpolateAudio.o
 audacity-LabelDialog.o audacity-LabelTrack.o audacity-LangChoice.o
 audacity-Languages.o audacity-Legacy.o audacity-Lyrics.o audacity-
 LyricsWindow.o audacity-Matrix.o audacity-Menus.o audacity-Mix.o audacity-
 MixerBoard.o audacity-ModuleManager.o audacity-PitchName.o audacity-
 PlatformCompatibility.o audacity-PluginManager.o audacity-Printing.o
 audacity-Profiler.o audacity-Project.o audacity-RealFFTf.o audacity-
 RealFFTf48x.o audacity-Resample.o audacity-RingBuffer.o audacity-
 Screenshot.o audacity-SelectedRegion.o audacity-Shuttle.o audacity-
 ShuttleGui.o audacity-ShuttlePrefs.o audacity-Snap.o audacity-
 SoundActivatedRecord.o audacity-Spectrum.o audacity-SplashDialog.o
 audacity-SseMathFuncs.o audacity-Tags.o audacity-Theme.o audacity-
 TimeDialog.o audacity-TimerRecordDialog.o audacity-TimeTrack.o audacity-
 Track.o audacity-TrackArtist.o audacity-TrackPanel.o audacity-
 TrackPanelAx.o audacity-UndoManager.o audacity-ViewInfo.o audacity-
 VoiceKey.o audacity-WaveClip.o audacity-WaveTrack.o audacity-WrappedType.o
 commands/audacity-AppCommandEvent.o commands/audacity-BatchEvalCommand.o
 commands/audacity-Command.o commands/audacity-CommandBuilder.o commands
 /audacity-CommandDirectory.o commands/audacity-CommandHandler.o commands
 /audacity-CommandManager.o commands/audacity-CommandSignature.o commands
 /audacity-CommandType.o commands/audacity-CompareAudioCommand.o commands
 /audacity-ExecMenuCommand.o commands/audacity-GetAllMenuCommands.o
 commands/audacity-GetProjectInfoCommand.o commands/audacity-
 GetTrackInfoCommand.o commands/audacity-HelpCommand.o commands/audacity-
 ImportExportCommands.o commands/audacity-Keyboard.o commands/audacity-
 MessageCommand.o commands/audacity-OpenSaveCommands.o commands/audacity-
 PreferenceCommands.o commands/audacity-ResponseQueue.o commands/audacity-
 ScreenshotCommand.o commands/audacity-ScriptCommandRelay.o commands
 /audacity-SelectCommand.o commands/audacity-SetProjectInfoCommand.o
 commands/audacity-SetTrackInfoCommand.o effects/audacity-Amplify.o effects
 /audacity-AutoDuck.o effects/audacity-BassTreble.o effects/audacity-
 Biquad.o effects/audacity-ChangePitch.o effects/audacity-ChangeSpeed.o
 effects/audacity-ChangeTempo.o effects/audacity-ClickRemoval.o effects
 /audacity-Compressor.o effects/audacity-Contrast.o effects/audacity-
 DtmfGen.o effects/audacity-Echo.o effects/audacity-Effect.o effects
 /audacity-EffectManager.o effects/audacity-EffectRack.o effects/audacity-
 Equalization.o effects/audacity-Equalization48x.o effects/audacity-Fade.o
 effects/audacity-FindClipping.o effects/audacity-Generator.o effects
 /audacity-Invert.o effects/audacity-Leveller.o effects/audacity-
 LoadEffects.o effects/audacity-Noise.o effects/audacity-NoiseReduction.o
 effects/audacity-NoiseRemoval.o effects/audacity-Normalize.o effects
 /audacity-Paulstretch.o effects/audacity-Phaser.o effects/audacity-
 Repair.o effects/audacity-Repeat.o effects/audacity-Reverb.o effects
 /audacity-Reverse.o effects/audacity-SBSMSEffect.o effects/audacity-
 ScienFilter.o effects/audacity-Silence.o effects/audacity-SimpleMono.o
 effects/audacity-SoundTouchEffect.o effects/audacity-StereoToMono.o
 effects/audacity-TimeScale.o effects/audacity-TimeWarper.o effects
 /audacity-ToneGen.o effects/audacity-TruncSilence.o effects/audacity-
 TwoPassSimpleMono.o effects/audacity-Wahwah.o export/audacity-Export.o
 export/audacity-ExportCL.o export/audacity-ExportFLAC.o export/audacity-
 ExportMP2.o export/audacity-ExportMP3.o export/audacity-ExportMultiple.o
 export/audacity-ExportOGG.o export/audacity-ExportPCM.o import/audacity-
 Import.o import/audacity-ImportFLAC.o import/audacity-ImportLOF.o import
 /audacity-ImportMP3.o import/audacity-ImportOGG.o import/audacity-
 ImportPCM.o import/audacity-ImportRaw.o import/audacity-RawAudioGuess.o
 import/audacity-FormatClassifier.o import/audacity-MultiFormatReader.o
 import/audacity-SpecPowerMeter.o ondemand/audacity-ODComputeSummaryTask.o
 ondemand/audacity-ODDecodeFFmpegTask.o ondemand/audacity-ODDecodeTask.o
 ondemand/audacity-ODManager.o ondemand/audacity-ODTask.o ondemand
 /audacity-ODTaskThread.o ondemand/audacity-ODWaveTrackTaskQueue.o prefs
 /audacity-BatchPrefs.o prefs/audacity-DevicePrefs.o prefs/audacity-
 DirectoriesPrefs.o prefs/audacity-EffectsPrefs.o prefs/audacity-
 ExtImportPrefs.o prefs/audacity-GUIPrefs.o prefs/audacity-
 ImportExportPrefs.o prefs/audacity-KeyConfigPrefs.o prefs/audacity-
 LibraryPrefs.o prefs/audacity-MidiIOPrefs.o prefs/audacity-ModulePrefs.o
 prefs/audacity-MousePrefs.o prefs/audacity-PlaybackPrefs.o prefs/audacity-
 PrefsDialog.o prefs/audacity-ProjectsPrefs.o prefs/audacity-QualityPrefs.o
 prefs/audacity-RecordingPrefs.o prefs/audacity-SpectrogramSettings.o prefs
 /audacity-SpectrumPrefs.o prefs/audacity-ThemePrefs.o prefs/audacity-
 TracksPrefs.o prefs/audacity-WarningsPrefs.o prefs/audacity-
 WaveformPrefs.o prefs/audacity-WaveformSettings.o toolbars/audacity-
 ControlToolBar.o toolbars/audacity-DeviceToolBar.o toolbars/audacity-
 EditToolBar.o toolbars/audacity-MeterToolBar.o toolbars/audacity-
 MixerToolBar.o toolbars/audacity-SelectionBar.o toolbars/audacity-
 SpectralSelectionBar.o toolbars/audacity-ToolBar.o toolbars/audacity-
 ToolDock.o toolbars/audacity-ToolManager.o toolbars/audacity-
 ToolsToolBar.o toolbars/audacity-TranscriptionToolBar.o widgets/audacity-
 AButton.o widgets/audacity-ASlider.o widgets/audacity-
 AttachableScrollBar.o widgets/audacity-ErrorDialog.o widgets/audacity-
 ExpandingToolBar.o widgets/audacity-FileHistory.o widgets/audacity-
 Grabber.o widgets/audacity-Grid.o widgets/audacity-HelpSystem.o widgets
 /audacity-HtmlWindow.o widgets/audacity-ImageRoll.o widgets/audacity-
 KeyView.o widgets/audacity-LinkingHtmlWindow.o widgets/audacity-Meter.o
 widgets/audacity-MultiDialog.o widgets/audacity-NumericTextCtrl.o widgets
 /audacity-numformatter.o widgets/audacity-ProgressDialog.o widgets
 /audacity-Ruler.o widgets/audacity-valnum.o widgets/audacity-Warning.o xml
 /audacity-XMLFileReader.o xml/audacity-XMLWriter.o effects/audiounits
 /audacity-AudioUnitEffect.o effects/audiounits/audacity-AUControl.o export
 /audacity-ExportFFmpeg.o export/audacity-ExportFFmpegDialogs.o import
 /audacity-ImportFFmpeg.o effects/ladspa/audacity-LadspaEffect.o ondemand
 /audacity-ODDecodeFlacTask.o effects/nyquist/audacity-LoadNyquist.o
 effects/nyquist/audacity-Nyquist.o effects/lv2/audacity-LoadLV2.o
 effects/lv2/audacity-LV2Effect.o audacity-NoteTrack.o import/audacity-
 ImportMIDI.o effects/vamp/audacity-LoadVamp.o effects/vamp/audacity-
 VampEffect.o effects/VST/audacity-VSTEffect.o effects/VST/audacity-
 VSTControlGTK.o  -L/opt/local/lib -lexpat ../lib-
 src/FileDialog/.libs/libFileDialog.a -lportaudio -framework CoreAudio
 -framework AudioUnit ../lib-src/portmixer/src/.libs/libportmixer.a
 -lsndfile -lsoxr ../lib-src/lib-widget-extra/.libs/libwidgetextra.a
 -L/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib
 -lwx_osx_cocoau_xrc-3.0 -lwx_osx_cocoau_webview-3.0
 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_qa-3.0 -lwx_osx_cocoau_adv-3.0
 -lwx_osx_cocoau_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0
 -lwx_baseu-3.0 -lFLAC++ -lFLAC -lid3tag -lmad -lm ../lib-
 src/libnyquist/libnyquist.a -lSoundTouch -ltwolame -lvorbisenc
 -lvorbisfile -lvorbis -logg ../lib-src/lv2/liblv2.a ../lib-
 src/portsmf/libportSMF.a ../lib-src/sbsms/src/.libs/libsbsms.a ../lib-
 src/libvamp/libvamp-hostsdk.a -framework CoreAudioKit -lz -framework
 OpenGL -framework System -framework AudioToolbox -framework Cocoa
 -framework Carbon -framework IOKit
 ld: warning: ignoring file ../lib-src/lv2/liblv2.a, file was built for
 archive which is not the architecture being linked (x86_64): ../lib-
 src/lv2/liblv2.a
 Undefined symbols for architecture x86_64:
   "_lilv_instance_free", referenced from:
       LV2Effect::ProcessFinalize() in audacity-LV2Effect.o
       LV2Effect::FreeInstance(LilvInstanceImpl*) in audacity-LV2Effect.o
       LV2Effect::RealtimeFinalize() in audacity-LV2Effect.o
       LV2Effect::CloseUI() in audacity-LV2Effect.o
   "_lilv_new_uri", referenced from:
       LV2EffectsModule::Initialize() in audacity-LoadLV2.o
       LV2EffectsModule::GetPlugin(wxString const&) in audacity-LoadLV2.o
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
       LV2Effect::LoadFactoryPreset(int) in audacity-LV2Effect.o
   "_lilv_node_as_float", referenced from:
       LV2Effect::SetHost(EffectHostInterface*) in audacity-LV2Effect.o
 [...]
   "_suil_host_free", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
       LV2Effect::CloseUI() in audacity-LV2Effect.o
   "_suil_host_new", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
   "_suil_instance_extension_data", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
   "_suil_instance_free", referenced from:
       LV2Effect::CloseUI() in audacity-LV2Effect.o
   "_suil_instance_get_handle", referenced from:
       LV2Effect::OnIdle(wxIdleEvent&) in audacity-LV2Effect.o
   "_suil_instance_get_widget", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
   "_suil_instance_new", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
   "_suil_instance_port_event", referenced from:
       LV2Effect::TransferDataToWindow() in audacity-LV2Effect.o
   "_suil_ui_supported", referenced from:
       LV2Effect::BuildFancy() in audacity-LV2Effect.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 Replying to [comment:7 mojca]:
 > On the buildbot
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/18042
 10.11] seems to work (in some way, the build must have succeeded earlier)

 Yeah, but (how) do the build bots handle updates to the OS and/or Xcode
 toolchain?

 > on
 [https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19900/
 10.12] it fails with:
 > {{{
 > ld: warning: ignoring file ../lib-src/lv2/liblv2.a, file was built for
 archive which is not the architecture being linked (x86_64): ../lib-
 src/lv2/liblv2.a
 ...
 > ld: symbol(s) not found for architecture x86_64
 > clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 > }}}

 That's the same error the OP is getting. We should be able to assume that
 the build bots don't find the wrong 'ar' command, so something else must
 be going on which will probably be hard for me to test :-/

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by RJVB):

 * Attachment "patch-python.diff" added.


--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 @ rpspringuel : can you please replace the existing patch-python.diff in
 {{{`port dir audacity`/files}}} with the attached version, do `port clean
 audacity` and repeat the build? For ease of reading the logfile, please
 add `build.jobs=1` to the install-from-source commandline.

 The build should still fail, but liblv2 will have been built in verbose
 mode so hopefully we can get some insight how to fix this.

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 If you're feeling adventurous you *may* try to install the latest
 audacity-devel port. Not that I'm expecting that they changed anything in
 how lv2 is being built but who knows. You'll need the Portfile and files
 directory from
 https://github.com/RJVB/macstrop/tree/master/audio/audacity

 and replace the contents of `port dir audacity` with them.

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by rpspringuel):

 The version of `ar` that I have is installed in `/opt/local/bin/ar`.

 I've redone the build with the different patch-python.diff and am
 attaching the diff.

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by rpspringuel):

 * Attachment "main.2.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 Replying to [comment:11 rpspringuel]:
 > The version of `ar` that I have is installed in `/opt/local/bin/ar`.

 Dang, of course, I have that one too.

 After updating my cctools to the latest version I get the same error on
 10.9 . That's some kind of progress ...

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by RJVB):

 * Attachment "patch-python.2.diff" added.

 truly, really, completely verbose lv2 build ...

--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------
Changes (by RJVB):

 * Attachment "patch-python.3.diff" added.

 patch that restores building with cctools v895 (on OS X 10.9)

--
Ticket URL: <https://trac.macports.org/ticket/53438>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by RJVB):

 See also ticket #53449

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #53438: Audacity can't find ffmpeg

MacPorts
In reply to this post by MacPorts
#53438: Audacity can't find ffmpeg
--------------------------+----------------------
  Reporter:  rpspringuel  |      Owner:  RJVB
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  audacity     |
--------------------------+----------------------

Comment (by rpspringuel):

 Do you want me to try building with both of those patch-python.diff files
 and if so with or without cctools active?

--
Ticket URL: <https://trac.macports.org/ticket/53438#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
12