Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61495 closed defect (invalid)

xorg-libice fails to configure on Big Sur when installing xemacs

Reported by: wealthychef1 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port:

Description

I don't know anything about libICE, so I'm reporting this under xemacs. I hope that's OK. I did this: port install xemacs and got this:

Warning: The macOS 11.0 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 xorg-libice
--->  Attempting to fetch xorg-libice-1.0.10_0.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/xorg-libice
--->  Attempting to fetch xorg-libice-1.0.10_0.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/xorg-libice
--->  Attempting to fetch xorg-libice-1.0.10_0.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/xorg-libice
--->  Fetching distfiles for xorg-libice
--->  Attempting to fetch libICE-1.0.10.tar.bz2 from http://ftp.nara.wide.ad.jp/pub/X11/x.org/individual/lib/
--->  Verifying checksums for xorg-libice                                            
--->  Extracting xorg-libice
--->  Configuring xorg-libice
Error: Failed to configure xorg-libice, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libice/xorg-libice/work/libICE-1.0.10/config.log
Error: Failed to configure xorg-libice: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libice/xorg-libice/main.log for details.

The ultimate problem seems to be the lack of an OSX SDK version 11. I have installed XCode and activated the command line tools and already run xcode-select --install.

root@Richs-iMac (~ ): xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

Im attaching the configure log from libice as it is clear what the problem is.

Attachments (2)

config.log (8.4 KB) - added by wealthychef1 4 years ago.
libICE config log from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libice/xorg-libice/work/libICE-1.0.10/
main.log (21.8 KB) - added by wealthychef1 4 years ago.
the main build log from libICE

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by wealthychef1

Attachment: config.log added

libICE config log from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libice/xorg-libice/work/libICE-1.0.10/

Changed 4 years ago by wealthychef1

Attachment: main.log added

the main build log from libICE

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

Keywords: xemacs xorg-libice removed
Priority: HighNormal
Resolution: invalid
Status: newclosed

You need Xcode 12.2 and the corresponding command line tools to build anything on Big Sur. If you have Xcode installed, then apparently xcodebuild -version can't find it:

:debug:sysinfo Xcode none

If you don't have a macOS 11.0 SDK in your command line tools, then they are outdated. Due to a bug, the CLTs may not be updated by Software Update when they should be: ProblemHotlist#reinstall-clt

comment:2 Changed 4 years ago by wealthychef1

YES thank you. Amazing sleuthing job there! Running the command in your linked thread solved the problem. What a joy. :-)

root@Richs-iMac (~ ): sudo touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
root@Richs-iMac (~ ): softwareupdate -l
Software Update Tool

Finding available software
Software Update found the following new or updated software:
* Label: Command Line Tools for Xcode-12.2
	Title: Command Line Tools for Xcode, Version: 12.2, Size: 440907K, Recommended: YES, 
* Label: Command Line Tools for Xcode-12.2
	Title: Command Line Tools for Xcode, Version: 12.2, Size: 440907K, Recommended: YES, 

and a few minutes later...

-->  Configuring xorg-libice
--->  Building xorg-libice
--->  Staging xorg-libice into destroot
--->  Installing xorg-libice @1.0.10_0
--->  Activating xorg-libice @1.0.10_0
--->  Cleaning xorg-libice
--->  Fetching archive for xorg-libsm

Hurray!

Last edited 4 years ago by wealthychef1 (previous) (diff)
Note: See TracTickets for help on using tickets.