Opened 2 years ago

Closed 22 months ago

#66437 closed defect (invalid)

svt-av1: CMake Error: The source directory "/opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/SVT-AV1-1.4.0" does not exist.

Reported by: mf2k (Frank Schima) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.99
Keywords: Cc: larryv (Lawrence Velázquez)
Port: svt-av1

Description (last modified by mf2k (Frank Schima))

I'm seeing this configure error on Monterey Intel.

:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk" /opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/SVT-AV1-1.4.0 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="13.0" -DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk" /opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/SVT-AV1-1.4.0 
:info:configure CMake Error: The source directory "/opt/local/var/macports/build/_opt_mports_macports-ports_multimedia_svt-av1/svt-av1/work/SVT-AV1-1.4.0" does not exist.
:info:configure Specify --help for usage, or press the help button on the CMake GUI.

Indeed the directory SVT-AV1-1.4.0 does not exist. But SVT-AV1-v1.4.0-5f32f7b4af71af8501810e4716eb1fbe89d80574 does.

Attachments (1)

main.log (20.6 KB) - added by mf2k (Frank Schima) 2 years ago.

Download all attachments as: .zip

Change History (10)

Changed 2 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 2 years ago by mf2k (Frank Schima)

The primary difference between my setup and the builder, where it builds fine, is that I am using Xcode 14.1 with MACOSX13 SDK. The builder has Xcode 13.2 with MACOSX12 SDK.

Last edited 2 years ago by mf2k (Frank Schima) (previous) (diff)

comment:4 Changed 2 years ago by jmroot (Joshua Root)

And you're running master, which no longer creates a symlink when worksrcdir doesn't exist (because it broke other things). Ideally the gitlab portgroup should ensure that $worksrcdir matches the extracted directory name one way or another, but you can get similar results like this:

if {[info exists extract.rename]} {
    extract.rename    yes
}

comment:5 Changed 2 years ago by aeiouaeiouaeiouaeiouaeiouaeiou

Confirmed on macOS 10.8 as well.

comment:6 in reply to:  5 Changed 23 months ago by larryv (Lawrence Velázquez)

Cc: larryv added

And 10.14.

comment:7 Changed 23 months ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed
Last edited 23 months ago by mf2k (Frank Schima) (previous) (diff)

comment:8 Changed 23 months ago by mf2k (Frank Schima)

Resolution: fixed
Status: closedreopened

Sorry, not fixed.

comment:9 Changed 22 months ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed

This was apparently fixed in the gitlab portgroup. No change needed in the svt-av1 Portfile.

Note: See TracTickets for help on using tickets.