Opened 2 years ago

Closed 23 months ago

#66182 closed defect (worksforme)

soxr @0.1.3: fatal error: 'omp.h' file not found

Reported by: kolydart (Tassos Kolydas) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: soxr

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

soxr, a dependency for ffmpeg does not build on MacOS 13.0 Ventura.

~ root# port install soxr
--->  Computing dependencies for soxr
--->  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://nue.de.packages.macports.org/soxr
--->  Attempting to fetch soxr-0.1.3_0.darwin_22.arm64.tbz2 from https://fra.de.packages.macports.org/soxr
--->  Fetching distfiles for soxr
--->  Verifying checksums for soxr
--->  Extracting soxr
--->  Applying patches to soxr
--->  Configuring soxr
--->  Building soxr
Error: Failed to build soxr: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_soxr/soxr/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port soxr failed

Attached is the log file.

same happens with

port install soxr +debug

Using +universal variant, completes build.

port install soxr +universal
--->  Computing dependencies for soxr
--->  Fetching archive for soxr
--->  Attempting to fetch soxr-0.1.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://packages.macports.org/soxr
--->  Attempting to fetch soxr-0.1.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://nue.de.packages.macports.org/soxr
--->  Attempting to fetch soxr-0.1.3_0+universal.darwin_22.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/soxr
--->  Fetching distfiles for soxr
--->  Verifying checksums for soxr
--->  Extracting soxr
--->  Applying patches to soxr
--->  Configuring soxr
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  vceqq_f32: found in build/CMakeFiles/CMakeError.log
  vgetq_lane_u32: found in build/CMakeFiles/CMakeError.log
--->  Building soxr
--->  Staging soxr into destroot
--->  Installing soxr @0.1.3_0+universal
--->  Activating soxr @0.1.3_0+universal
--->  Cleaning soxr
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

Attachments (1)

main.log (75.0 KB) - added by kolydart (Tassos Kolydas) 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by kolydart (Tassos Kolydas)

Attachment: main.log added

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

Description: modified (diff)
Keywords: ventura added
Summary: soxr @0.1.3 does not build on MacOS 13; only +universal variant buildssoxr @0.1.3: fatal error: 'omp.h' file not found

Log says:

fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.

comment:2 Changed 23 months ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

This builds for me on current arm Ventura, with or without libomp installed:

-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND) 
% 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'

please reopen with new information if this is still an issue for you.

Note: See TracTickets for help on using tickets.