Opened 4 years ago

Closed 21 months ago

#62630 closed defect (fixed)

sbcl @2.1.3: make: *** Config: Is a directory. Stop.

Reported by: albert-ying Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: sbcl

Description

sudo port -t install sbcl
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
--->  Fetching archive for sbcl
--->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/sbcl
--->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/sbcl
--->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/sbcl
--->  Building sbcl
Warning: The following existing file was hidden from the build system by trace mode:
  /private/var/select/sh
Error: Failed to build sbcl: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port sbcl failed

## The main.log is:

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 sbcl has no conflicts
:debug:main Tracelib Sandbox is:
:debug:main 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work=+
:debug:main 	/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl=+
:debug:main 	/opt/local/var/macports/distfiles/sbcl=+
:debug:main 	/bin=+
:debug:main 	/sbin=+
:debug:main 	/dev=+
:debug:main 	/usr/bin=+
:debug:main 	/usr/sbin=+
:debug:main 	/usr/include=+
:debug:main 	/usr/lib=+
:debug:main 	/usr/libexec=+
:debug:main 	/usr/share=+
:debug:main 	/System/Library=+
:debug:main 	/Library/Frameworks=-
:debug:main 	/Library=+
:debug:main 	/etc=+
:debug:main 	/private/etc=+
:debug:main 	/tmp=+
:debug:main 	/private/tmp=+
:debug:main 	/var/tmp=+
:debug:main 	/private/var/tmp=+
:debug:main 	/var/folders=+
:debug:main 	/private/var/folders=+
:debug:main 	/var/empty=+
:debug:main 	/private/var/empty=+
:debug:main 	/var/run=+
:debug:main 	/private/var/run=+
:debug:main 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp=+
:debug:main 	/var/db/timezone/zoneinfo=+
:debug:main 	/private/var/db/timezone/tz/2021a.1.0/zoneinfo=+
:debug:main 	/var/db/mds/system=+
:debug:main 	/private/var/db/mds/system=+
:debug:main 	/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk=+
:debug:main 	/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk=+
:debug:main 	/var/db/xcode_select_link=-
:debug:main 	/Applications/Xcode.app/Contents/Developer=-
:debug:main 	/var/db/mds=-
:debug:main 	/private/var/db/mds=-
:debug:main 	/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:main 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:main 	/Applications/Xcode.app=-
:debug:main 	/var/db/launchd.db=+
:debug:main 	/private/var/db/launchd.db=+
:debug:main 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/.ccache=+
:debug:main 	/opt/local/var/macports/build/.ccache=+
:debug:main 	/opt/local/var/macports/sip-workaround=+
:debug:main 	/opt/local=?
:debug:main Tracemode will respect recursively collected port dependencies:
:debug:main Executing org.macports.main (sbcl)
:debug:main dropping privileges: euid changed to 501, egid changed to 501.
:debug:archivefetch archivefetch phase started at Sat Apr  3 21:41:35 EDT 2021
:msg:archivefetch --->  Fetching archive for sbcl
:debug:archivefetch Tracelib Sandbox is:
:debug:archivefetch 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work=+
:debug:archivefetch 	/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl=+
:debug:archivefetch 	/opt/local/var/macports/distfiles/sbcl=+
:debug:archivefetch 	/bin=+
:debug:archivefetch 	/sbin=+
:debug:archivefetch 	/dev=+
:debug:archivefetch 	/usr/bin=+
:debug:archivefetch 	/usr/sbin=+
:debug:archivefetch 	/usr/include=+
:debug:archivefetch 	/usr/lib=+
:debug:archivefetch 	/usr/libexec=+
:debug:archivefetch 	/usr/share=+
:debug:archivefetch 	/System/Library=+
:debug:archivefetch 	/Library/Frameworks=-
:debug:archivefetch 	/Library=+
:debug:archivefetch 	/etc=+
:debug:archivefetch 	/private/etc=+
:debug:archivefetch 	/tmp=+
:debug:archivefetch 	/private/tmp=+
:debug:archivefetch 	/var/tmp=+
:debug:archivefetch 	/private/var/tmp=+
:debug:archivefetch 	/var/folders=+
:debug:archivefetch 	/private/var/folders=+
:debug:archivefetch 	/var/empty=+
:debug:archivefetch 	/private/var/empty=+
:debug:archivefetch 	/var/run=+
:debug:archivefetch 	/private/var/run=+
:debug:archivefetch 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp=+
:debug:archivefetch 	/var/db/timezone/zoneinfo=+
:debug:archivefetch 	/private/var/db/timezone/tz/2021a.1.0/zoneinfo=+
:debug:archivefetch 	/var/db/mds/system=+
:debug:archivefetch 	/private/var/db/mds/system=+
:debug:archivefetch 	/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk=+
:debug:archivefetch 	/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk=+
:debug:archivefetch 	/var/db/xcode_select_link=-
:debug:archivefetch 	/Applications/Xcode.app/Contents/Developer=-
:debug:archivefetch 	/var/db/mds=-
:debug:archivefetch 	/private/var/db/mds=-
:debug:archivefetch 	/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:archivefetch 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:archivefetch 	/Applications/Xcode.app=-
:debug:archivefetch 	/var/db/launchd.db=+
:debug:archivefetch 	/private/var/db/launchd.db=+
:debug:archivefetch 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/.ccache=+
:debug:archivefetch 	/opt/local/var/macports/build/.ccache=+
:debug:archivefetch 	/opt/local/var/macports/sip-workaround=+
:debug:archivefetch 	/opt/local=?
:debug:archivefetch Tracemode will respect recursively collected port dependencies:
:debug:archivefetch Executing org.macports.archivefetch (sbcl)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 501/501
:info:archivefetch --->  sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/sbcl
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/sbcl
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch sbcl-2.1.3_0+fancy.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/sbcl
: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 (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Apr  3 21:41:36 EDT 2021
:notice:build --->  Building sbcl
:debug:build Tracelib Sandbox is:
:debug:build 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work=+
:debug:build 	/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/sbcl=+
:debug:build 	/opt/local/var/macports/distfiles/sbcl=+
:debug:build 	/bin=+
:debug:build 	/sbin=+
:debug:build 	/dev=+
:debug:build 	/usr/bin=+
:debug:build 	/usr/sbin=+
:debug:build 	/usr/include=+
:debug:build 	/usr/lib=+
:debug:build 	/usr/libexec=+
:debug:build 	/usr/share=+
:debug:build 	/System/Library=+
:debug:build 	/Library/Frameworks=-
:debug:build 	/Library=+
:debug:build 	/etc=+
:debug:build 	/private/etc=+
:debug:build 	/tmp=+
:debug:build 	/private/tmp=+
:debug:build 	/var/tmp=+
:debug:build 	/private/var/tmp=+
:debug:build 	/var/folders=+
:debug:build 	/private/var/folders=+
:debug:build 	/var/empty=+
:debug:build 	/private/var/empty=+
:debug:build 	/var/run=+
:debug:build 	/private/var/run=+
:debug:build 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.tmp=+
:debug:build 	/var/db/timezone/zoneinfo=+
:debug:build 	/private/var/db/timezone/tz/2021a.1.0/zoneinfo=+
:debug:build 	/var/db/mds/system=+
:debug:build 	/private/var/db/mds/system=+
:debug:build 	/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk=+
:debug:build 	/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk=+
:debug:build 	/var/db/xcode_select_link=-
:debug:build 	/Applications/Xcode.app/Contents/Developer=-
:debug:build 	/var/db/mds=-
:debug:build 	/private/var/db/mds=-
:debug:build 	/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:build 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/Library/Preferences/com.apple.dt.Xcode.plist=-
:debug:build 	/Applications/Xcode.app=-
:debug:build 	/var/db/launchd.db=+
:debug:build 	/private/var/db/launchd.db=+
:debug:build 	/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/.home/.ccache=+
:debug:build 	/opt/local/var/macports/build/.ccache=+
:debug:build 	/opt/local/var/macports/sip-workaround=+
:debug:build 	/opt/local=?
:debug:build Tracemode will respect recursively collected port dependencies:
:debug:build Executing org.macports.build (sbcl)
:debug:build system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-2.1.3: SBCL_MACOSX_VERSION_MIN=11.2 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null"
:info:build This is SBCL 1.2.11, an implementation of ANSI Common Lisp.
:info:build More information about SBCL is available at <http://www.sbcl.org/>.
:info:build SBCL is free software, provided as is, with absolutely no warranty.
:info:build It is mostly in the public domain; some portions are provided under
:info:build BSD-style licenses.  See the CREDITS and COPYING files in the
:info:build distribution for more information.
:info:build *
:info:build "SBCL"
:info:build * make: *** Config: Is a directory.  Stop.
:info:build Command failed: SBCL_MACOSX_VERSION_MIN=11.2 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP=/usr/bin/cpp sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.11-x86-64-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null"
:info:build Exit code: 2
:warn:build The following existing file was hidden from the build system by trace mode:
:msg:build   /private/var/select/sh
:info:build The following file would have been hidden from the build system by trace mode if it existed:
:info:build   /usr/gnu/include
:error:build Failed to build sbcl: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sbcl/sbcl/main.log for details.

Change History (5)

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

Owner: set to easye
Port: sbcl added
Status: newassigned
Summary: Big Sur 11.2.3 -- Error: Failed to build sbcl: command execution failedsbc @2.1.3 build failure

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

Summary: sbc @2.1.3 build failuresbcl @2.1.3 build failure

comment:3 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: sbcl @2.1.3 build failuresbcl @2.1.3: make: *** Config: Is a directory. Stop.

Replying to albert-ying:

:info:build * make: *** Config: Is a directory.  Stop.

I'm not sure why this is happening. However this:

:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (sbcl)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (sbcl)

indicates that this was not a clean build attempt, and that could conceivably cause build problems, which is why we always ask you to clean and try again before submitting a bug report.

You will not be able to build sbcl right now for a different reason; see #62787. Wait until that ticket is resolved. Then sudo port clean sbcl and sudo port selfupdate and then try again.

comment:4 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to albert-ying:

sudo port -t install sbcl

Also possibly relevant is that you are building in trace mode (-t), and we have a previous report of sbcl not building in trace mode; see #44228. If it still won't build in trace mode after #62787 is resolved, try building without trace mode.

comment:5 Changed 21 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

sbcl has been updated several times since this ticket, and the current version builds broadly, including on darwin 20 Intel

https://build.macports.org/builders/ports-11_x86_64-builder/builds/104983

If this still occurs for you, please reopen with new information and a new log.

Note: See TracTickets for help on using tickets.