#66420 closed defect (worksforme)

soxr @0.1.3 Building on Ventura fails with ffmpeg from homebrew installed

Reported by: kaestel (Martin Kæstel Nielsen) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: ventura Cc:
Port: soxr

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Building ffmpeg on Ventura (M1 chip) fails, due to problem with building soxr:

$sudo port -N install ffmpeg +nonfree
Computing dependencies for ffmpeg
Dependencies to be installed: soxr speex speexdsp svt-av1 yasm x264 zig zvbi
Fetching archive for soxr
Attempting to fetch soxr-0.1.3_0.darwin_22.arm64.tbz2 from https://packages.macports.org/soxr
Attempting to fetch soxr-0.1.3_0.darwin_22.arm64.tbz2 from https://cph.dk.packages.macports.org/soxr
Attempting to fetch soxr-0.1.3_0.darwin_22.arm64.tbz2 from https://fau.de.packages.macports.org/soxr
Building soxr
Error. Failed to build soxr: command execution failed

There is a bug report on soxr for a similar error (I believe) stating that it will build with the universal flag.

Hoping you can update the ffmpeg port to use this – or perhaps it is more complicated than that – I'm not at home here, just guessing 😳

Thanks in advance and thanks for all the past work done in having this port available!

Attachments (1)

main.log (36.3 KB) - added by cassii2 17 months ago.
log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 17 months ago by jmroot (Joshua Root)

Port: soxr added; ffmpeg removed
Summary: Building on Ventura failssoxr @0.1.3 Building on Ventura fails

Please attach the log.

comment:2 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ventura added

To avoid typos, in the future please copy/paste error messages rather than retyping them.

comment:3 Changed 17 months ago by cassii2

I had this same problem, here's my log file: https://pastebin.com/KseWMRrm

Changed 17 months ago by cassii2

Attachment: main.log added

log

comment:4 in reply to:  2 Changed 17 months ago by kaestel (Martin Kæstel Nielsen)

Replying to ryandesign:

To avoid typos, in the future please copy/paste error messages rather than retyping them.

Noted. The C/P cut the line-breaks and I got carried away. Sorry about the inconvenience.

comment:5 Changed 17 months ago by jmroot (Joshua Root)

Summary: soxr @0.1.3 Building on Ventura failssoxr @0.1.3 Building on Ventura fails with ffmpeg from homebrew installed
:info:configure -- Found AVUTIL: /opt/homebrew/lib/libavutil.dylib 

comment:6 Changed 16 months ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

installs

% port -v installed soxr
The following ports are currently installed:
  soxr @0.1.3_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-27T08:48:10-0800'

without a conflicting ffmpeg from homebrew.

Note: See TracTickets for help on using tickets.