Opened 13 months ago
Last modified 12 months ago
#72344 assigned defect
svt-av1 @3.0.2 - failed to build
| Reported by: | GabryBarbe (Gabriele Barbero) | Owned by: | i0ntempest |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | svt-av1 |
Description
log attached
---> Fetching distfiles for svt-av1 ---> Verifying checksums for svt-av1 ---> Extracting svt-av1 ---> Applying patches to svt-av1 ---> Configuring svt-av1 ---> Building svt-av1 Error: Failed to build svt-av1: command execution failed Error: See /Users/gabrielebarbero/macports-gimp3-arm64/var/macports/logs/_Users_gabrielebarbero_macports-gimp3-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_svt-av1/svt-av1/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port ffmpeg failed
Attachments (2)
Change History (9)
Changed 13 months ago by GabryBarbe (Gabriele Barbero)
comment:1 Changed 13 months ago by GabryBarbe (Gabriele Barbero)
| Summary: | svt-av1 @3.0.2 - failed tu build → svt-av1 @3.0.2 - failed to build |
|---|
comment:2 Changed 13 months ago by jmroot (Joshua Root)
| Owner: | set to i0ntempest |
|---|---|
| Status: | new → assigned |
:info:build /Users/gabrielebarbero/macports-gimp3-arm64/var/macports/build/_Users_gabrielebarbero_macports-gimp3-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_svt-av1/svt-av1/work/SVT-AV1-3.0.2/Source/Lib/ASM_NEON/highbd_inv_txfm_neon.c:2855:12: error: use of undeclared identifier 'col_txfm' :info:build 2855 | assert(col_txfm != NULL); :info:build | ^
comment:3 follow-ups: 4 5 Changed 13 months ago by i0ntempest
Unable to reproduce. Why are you using 11.0 SDK and deployment target on 15.4?
comment:4 Changed 13 months ago by GabryBarbe (Gabriele Barbero)
Replying to i0ntempest:
Unable to reproduce. Why are you using 11.0 SDK and deployment target on 15.4?
Good question. I didn't set them manually, I just typed sudo port install svt-av1. How can I change them to fix the problem?
comment:5 follow-up: 6 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to i0ntempest:
Why are you using 11.0 SDK and deployment target on 15.4?
This should only happen if you have set macosx_deployment_target and macosx_sdk_version in macports.conf. Have you? If so, remove or comment out those lines, then clean the affected port and try again.
comment:6 Changed 13 months ago by GabryBarbe (Gabriele Barbero)
Replying to ryandesign:
Replying to i0ntempest:
Why are you using 11.0 SDK and deployment target on 15.4?
This should only happen if you have set
macosx_deployment_targetandmacosx_sdk_versionin macports.conf. Have you? If so, remove or comment out those lines, then clean the affected port and try again.
You're right, but even after commenting/removing those lines from the conf file the error still occurs. I attach the new log.
Changed 13 months ago by GabryBarbe (Gabriele Barbero)
| Attachment: | main.2.log added |
|---|
log file after removing macosx_deployment_target, macosx_sdk_version lines from .conf file
comment:7 Changed 12 months ago by astaric (Anže Starič)
I encountered the same issue. The following ticket on the SVT-AV1 gitlab describes the same compilation error: https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2259
The fix just removes the problematic asserts: https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/2417/diffs
I worked around the problem by manually applying this change (removing the asserts) to the source files mentioned in the log and rerunning the install command.

log file