Opened 3 weeks ago

Last modified 12 hours ago

#62226 new defect

osxfuse fails to build on Big Sur (under condition of "Warning: The macOS 11.2 SDK does not appear to be installed.")

Reported by: islaeh Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: ShadSterling (Shad Sterling), cooljeanius (Eric Gallager)
Port: osxfuse

Description

My system Big Sur 11.2 with Developer tools 12.4 has a small config glich ("Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly."). Even after uninstall of port and port reinstall, the error persist. Yes, I know, I need to fix this underlying error, BUT:

All other other ports (e.g. ImageMagick and all dependancies) install despite the above warning.

Only osxfuse exists with error:

Error: Failed to build osxfuse: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port osxfuse failed

Log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/main.log as follows:

version:1
:debug:sysinfo macOS 11.2 (darwin/20.3.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode 12.4
:debug:sysinfo SDK 11.2
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.2
:warn:main The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
:warn:main You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
:debug:main epoch: in tree: 1 installed: 1
:debug:main autoconf 2.69_5 exists in the ports tree
:debug:main autoconf 2.69_5  is the latest installed
:debug:main autoconf 2.69_5  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/autoconf
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! autoconf 2.69_5 >= autoconf 2.69_5
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.8.1_2 exists in the ports tree
:debug:main gettext 0.19.8.1_2  is the latest installed
:debug:main gettext 0.19.8.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main compiler clang 1200.0.32.29 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.16_1 exists in the ports tree
:debug:main libiconv 1.16_1  is the latest installed
:debug:main libiconv 1.16_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libiconv 1.16_1 >= libiconv 1.16_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 6.2_1 exists in the ports tree
:debug:main ncurses 6.2_1  is the latest installed
:debug:main ncurses 6.2_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! ncurses 6.2_1 >= ncurses 6.2_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main automake 1.16.3_0 exists in the ports tree
:debug:main automake 1.16.3_0  is the latest installed
:debug:main automake 1.16.3_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/automake
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! automake 1.16.3_0 >= automake 1.16.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libtool 2.4.6_11 exists in the ports tree
:debug:main libtool 2.4.6_11  is the latest installed
:debug:main libtool 2.4.6_11  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libtool
:debug:main OS darwin/20.3.0 (macOS 11.2) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! libtool 2.4.6_11 >= libtool 2.4.6_11
:msg:main --->  Computing dependencies for osxfuse:info:main .:debug:main osxfuse has no conflicts
:debug:main Searching for dependency: autoconf
:debug:main Found Dependency: receipt exists for autoconf
:debug:main Searching for dependency: automake
:debug:main Found Dependency: receipt exists for automake
:debug:main Searching for dependency: libtool
:debug:main Found Dependency: receipt exists for libtool
:debug:main Executing org.macports.main (osxfuse)
:debug:main dropping privileges: euid changed to 503, egid changed to 501.
:debug:archivefetch archivefetch phase started at Fri Feb  5 20:39:50 CET 2021
:msg:archivefetch --->  Fetching archive for osxfuse
:debug:archivefetch Executing org.macports.archivefetch (osxfuse)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 503/501
:info:archivefetch --->  osxfuse-3.8.3_0.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch osxfuse-3.8.3_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/osxfuse
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch osxfuse-3.8.3_0.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/osxfuse
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch osxfuse-3.8.3_0.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/osxfuse
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (osxfuse)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (osxfuse)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (osxfuse)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (osxfuse)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (osxfuse)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Feb  5 20:39:51 CET 2021
:notice:build --->  Building osxfuse
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (osxfuse)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/.CC_PRINT_OPTIONS'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build MACOSX_DEPLOYMENT_TARGET='11.2'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-48bc246" && ./build.sh -t packagemanager -a build -v 5 --build-directory="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work" -- -a x86_64 --framework-prefix="/opt/local" --fsbundle-prefix="/opt/local" --library-prefix="/opt/local" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-48bc246" && ./build.sh -t packagemanager -a build -v 5 --build-directory="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work" -- -a x86_64 --framework-prefix="/opt/local" --fsbundle-prefix="/opt/local" --library-prefix="/opt/local" 
:info:build DEFAULT_BUILD_CONFIGURATION=Release
:info:build DEFAULT_BUILD_DIRECTORY=/tmp/osxfuse
:info:build DEFAULT_LOG_VERBOSE=2
:info:build DEFAULT_PREFIX=''
:info:build DEFAULT_SDK=11.2
:info:build DEFAULT_SDK_10_10_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_10_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_11_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_11_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_12_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_12_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_13_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_13_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_14_ARCHITECURES=([0]=x86_64)
:info:build DEFAULT_SDK_10_14_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_5_ARCHITECURES=([0]=ppc [1]=ppc64 [2]=i386 [3]=x86_64)
:info:build DEFAULT_SDK_10_5_COMPILER=4.2
:info:build DEFAULT_SDK_10_6_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_6_COMPILER=com.apple.compilers.llvmgcc42
:info:build DEFAULT_SDK_10_7_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_7_COMPILER=com.apple.compilers.llvmgcc42
:info:build DEFAULT_SDK_10_8_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_8_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_10_9_ARCHITECURES=([0]=i386 [1]=x86_64)
:info:build DEFAULT_SDK_10_9_COMPILER=com.apple.compilers.llvm.clang.1_0
:info:build DEFAULT_SDK_SUPPORTED=([0]=10.5 [1]=10.6 [2]=10.7 [3]=10.8 [4]=10.9 [5]=10.10 [6]=10.11 [7]=10.12 [8]=10.13 [9]=10.14)
:info:build DEFAULT_SOURCE_DIRECTORY=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-48bc246
:info:build BUILD_SOURCE_DIRECTORY=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-48bc246
:info:build BUILD_BUILD_DIRECTORY=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work
:info:build Search for Xcode
:info:build Xcode 12.4 found at path '/Applications/Xcode.app/Contents/Developer'
:info:build XCODE_12_4_PATH=/Applications/Xcode.app/Contents/Developer
:info:build XCODE_INSTALLED=([0]=12.4)
:info:build XCODE_SDK_11_1_XCODE=([0]=12.4)
:info:build XCODE_SDK_INSTALLED=([0]=11.1)
:info:build Done searching for Xcode
:info:build Falling back to macOS 11.1 SDK as default SDK
:info:build Source extension osxfuse
:info:build Assertion 'common_is_variable DEFAULT_SDK_11_1_ARCHITECURES' failed
:info:build at common_variable_clone (./build.d/lib/common.sh, line 501)
:info:build at common_variable_clone (./build.d/lib/common.sh, line 514)
:info:build at build_target_invoke (./build.sh, line 657)
:info:build at build_main (./build.sh, line 943)
:info:build at main (./build.sh, line 951)
:info:build Terminated: 15
:info:build Received signal: SIGTERM
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-48bc246" && ./build.sh -t packagemanager -a build -v 5 --build-directory="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work" -- -a x86_64 --framework-prefix="/opt/local" --fsbundle-prefix="/opt/local" --library-prefix="/opt/local" 
:info:build Killed by signal: 15
:error:build Failed to build osxfuse: command execution failed
:debug:build Error code: CHILDKILLED 53512 SIGTERM {software termination signal}
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/main.log for details.

Change History (3)

comment:1 Changed 3 weeks ago by jmroot (Joshua Root)

The warning can be ignored for the time being (it results from MacPorts not knowing about the new SDK versioning scheme), as MacOSX.sdk will be used as a fallback. But there are several other tickets open about osxfuse failing to build on Catalina with SDK-related error messages, and this is likely the same underlying issue.

comment:2 Changed 43 hours ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

comment:3 Changed 12 hours ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.