Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#62512 closed defect (duplicate)

qt4-mac: configure failed

Reported by: LuisPaxiuta Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: qt4-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install Maxima Software following your guideline "How_to_install_Maxima_with_MacPorts.rtf". Everything goes well until "Install gnuplot" where I get an error "The macOS 11.2 SDK does not appear to be installed" (appended the Terminal listing". I have a MacPro M1 - BigSur 11.2.3 - Xcode 12.4 - Command line installed.
Thanks for your help.
Luis

Terminal Output

Last login: Sun Mar 21 18:39:32 on ttys001
luissacouto@Luiss-MacBook-Pro ~ % sudo xcodebuild -license
Password:
Xcode and Apple SDKs Agreement

PLEASE SCROLL DOWN AND READ ALL OF THE FOLLOWING TERMS AND CONDITIONS CAREFULLY BEFORE USING THE APPLE SOFTWARE OR APPLE SERVICES.  THIS IS A LEGAL AGREEMENT BETWEEN YOU AND APPLE.  IF YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS, CLICK THE “AGREE” BUTTON.  BY CLICKING “AGREE” OR BY DOWNLOADING, USING OR COPYING ANY PART OF THIS APPLE SOFTWARE OR USING ANY PART OF THE APPLE SERVICES, YOU ARE AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO THE TERMS AND CONDITIONS STATED BELOW.  IF YOU DO NOT OR CANNOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU CANNOT USE THIS APPLE SOFTWARE OR THE APPLE SERVICES.  DO NOT DOWNLOAD OR USE THIS APPLE SOFTWARE OR APPLE SERVICES IN THAT CASE.

1.      Definitions
Whenever capitalized in this Agreement:

“Agreement” means this Xcode and Apple SDKs Agreement.

“Apple” means Apple Inc., a California corporation with its principal place of business at One Infinite Loop, Cupertino, California 95014, U.S.A.

“Apple Developer Program License Agreement” means a separate agreement that may be entered into between You and Apple regarding the development and submission o

By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree

You can view the license agreements in Xcode's About Box, or at /Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf

luissacouto@Luiss-MacBook-Pro ~ % sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 55 bytes  47.33 bytes/sec
total size is 85731840  speedup is 1207490.70

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 62 bytes  156.00 bytes/sec
total size is 512  speedup is 6.56
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done
./

sent 68 bytes  received 99 bytes  111.33 bytes/sec
total size is 83165184  speedup is 497995.11
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	25787

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
luissacouto@Luiss-MacBook-Pro ~ % sudo port upgrade outdated and not \( vtk or maxima \)
Nothing to upgrade.
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
luissacouto@Luiss-MacBook-Pro ~ % export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
luissacouto@Luiss-MacBook-Pro ~ % sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 55 bytes  142.00 bytes/sec
total size is 85731840  speedup is 1207490.70

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done

sent 16 bytes  received 62 bytes  52.00 bytes/sec
total size is 512  speedup is 6.56
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/macports/release/tarballs/ports.tar

Willkommen auf dem RSYNC-server auf ftp.fau.de.
Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de.
Not all of our mirrors are available through rsync.


receiving file list ... done
./

sent 68 bytes  received 99 bytes  334.00 bytes/sec
total size is 83165184  speedup is 497995.11
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports

Total number of ports parsed:	0 
Ports successfully parsed:	0 
Ports failed:			0 
Up-to-date ports skipped:	25787

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
luissacouto@Luiss-MacBook-Pro ~ % sudo port selfupdate; sh /Volumes/MacPorts-Maxima/copy_portfiles.sh
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Beginning to copy portfiles to the MacPorts directory: /opt/local.
./Portfile -> ./Portfile.orig
/Volumes/MacPorts-Maxima/MacPorts/ccl-1.12-Catalina/Portfile -> ./Portfile
CCL Portfile has been copied.
./Portfile -> ./Portfile.orig
/Volumes/MacPorts-Maxima/MacPorts/maxima-dev/Portfile -> ./Portfile
/Volumes/MacPorts-Maxima/MacPorts/maxima-dev/files/patch-src_maxima.in.diff -> ./files/patch-src_maxima.in.diff
/Volumes/MacPorts-Maxima/MacPorts/maxima-dev/files/patch-src_Makefile.am.diff -> ./files/patch-src_Makefile.am.diff
/Volumes/MacPorts-Maxima/MacPorts/maxima-dev/files/patch-interfaces_emacs_imaxima_imaxima.el.diff -> ./files/patch-interfaces_emacs_imaxima_imaxima.el.diff
Maxima Portfile has been copied.
./Portfile -> ./Portfile.orig
/Volumes/MacPorts-Maxima/MacPorts/VTK-8.0.1/Portfile -> ./Portfile
VTK-8.0.1 Portfile has been copied.
./Portfile -> ./Portfile.orig
/Volumes/MacPorts-Maxima/MacPorts/wxMaxima-20.06.6/Portfile -> ./Portfile
/Volumes/MacPorts-Maxima/MacPorts/wxMaxima-20.06.6/files/patch-src_Dirstructure.cpp.diff -> ./files/patch-src_Dirstructure.cpp.diff
/Volumes/MacPorts-Maxima/MacPorts/wxMaxima-20.06.6/files/patch-devel-src_Dirstructure.cpp.diff -> ./files/patch-devel-src_Dirstructure.cpp.diff
wxMaxima Portfile has been copied.
./Portfile -> ./Portfile.orig
/Volumes/MacPorts-Maxima/MacPorts/TeXmacs-1.99.13-dev/Portfile -> ./Portfile
/Volumes/MacPorts-Maxima/MacPorts/TeXmacs-1.99.13-dev/files/patch-plugins_maxima_progs_init-maxima.scm.diff -> ./files/patch-plugins_maxima_progs_init-maxima.scm.diff
/Volumes/MacPorts-Maxima/MacPorts/TeXmacs-1.99.13-dev/files/patch-src_System_Language_text_language.cpp.diff -> ./files/patch-src_System_Language_text_language.cpp.diff
/Volumes/MacPorts-Maxima/MacPorts/TeXmacs-1.99.13-dev/files/patch-CMakeLists.txt.diff -> ./files/patch-CMakeLists.txt.diff
TeXmacs Portfile has been copied.
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports
Adding port editors/TeXmacs
Adding subport TeXmacs-devel
Adding port graphics/vtk
Adding port lang/ccl
Adding port math/maxima
Adding subport maxima-devel
Adding port math/wxMaxima
Adding subport wxMaxima-devel

Total number of ports parsed:	8 
Ports successfully parsed:	8 
Ports failed:			0 
Up-to-date ports skipped:	25779

PortIndex has been updated.
luissacouto@Luiss-MacBook-Pro ~ % port info gnuplot
gnuplot @5.4.1_2 (math, science)
Variants:             [+]aquaterm, [+]luaterm, old_bitmap_terminals,
                      [+]pangocairo, qt, qt5, universal, [+]wxwidgets, [+]x11

Description:          Gnuplot is a command-driven interactive function plotting
                      program. Plots any number of functions, built up of C
                      operators, C library functions, and some things C does not
                      have like **, sgn(), etc. Also support for plotting data
                      files, to compare actual data to theoretical curves.
Homepage:             http://gnuplot.sourceforge.net/

Build Dependencies:   pkgconfig
Library Dependencies: expat, fontconfig, gd2, webp, libjpeg-turbo, libcaca,
                      libcerf, libiconv, libpng, ncurses, readline, zlib, pango,
                      aquaterm, xpm, lua, wxWidgets-3.0
Platforms:            darwin
License:              Restrictive
Maintainers:          Email: mojca@macports.org, GitHub: mojca
                      Policy: openmaintainer
luissacouto@Luiss-MacBook-Pro ~ % sudo port install gnuplot +qt
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'.
--->  Computing dependencies for gnuplot
The following dependencies will be installed: 
 qt4-mac
 wxWidgets-3.0
 wxWidgets-common
 wxWidgets_select
Continue? [Y/n]: Y
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 qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_11.darwin_20.arm64.tbz2 from https://lil.fr.packages.macports.org/qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_11.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/qt4-mac
--->  Attempting to fetch qt4-mac-4.8.7_11.darwin_20.arm64.tbz2 from https://packages.macports.org/qt4-mac
--->  Configuring qt4-mac
Error: Failed to configure qt4-mac: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuplot failed

Attachments (3)

Terminal Saved Output (10.3 KB) - added by LuisPaxiuta 3 years ago.
Terminal Output
main gnuplot.log (1.2 MB) - added by LuisPaxiuta 3 years ago.
main log
main qt4-mac.log (193.8 KB) - added by LuisPaxiuta 3 years ago.
main log

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by LuisPaxiuta

Attachment: Terminal Saved Output added

Terminal Output

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added; Maxima removed
Owner: set to michaelld
Port: qt4-mac added
Status: newassigned
Summary: The macOS 11.2 SDK does not appear to be installedqt4-mac: configure failed

Ignore the message Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly. A future version of MacPorts will allow any macOS 11 SDK to be sufficient.

So your real problem is that you cannot install qt4-mac. Please attach the main.log and config.log from that failed build so that we can see what happened.

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

I am trying to install Maxima Software following your guideline "How_to_install_Maxima_with_MacPorts.rtf"

Note that MacPorts does not publish and is not aware of the contents of that document.

comment:3 in reply to:  2 Changed 3 years ago by LuisPaxiuta

Hello Michael, thanks for your prompt reply. I need your help to find the logs. Can't find them! regards. Luis

comment:4 Changed 3 years ago by LuisPaxiuta

Hi Michael, found two main.log, one fro gnuplot and another one for qt4-mac. Can't find config.log

Changed 3 years ago by LuisPaxiuta

Attachment: main gnuplot.log added

main log

Changed 3 years ago by LuisPaxiuta

Attachment: main qt4-mac.log added

main log

comment:5 Changed 3 years ago by michaelld (Michael Dickens)

This is a duplicate of #61789 . qt4-mac has yet to be fixed to work on ARM64 Macs. qt4-mac is old enough that my best guess is it'll take significant work to get it working on ARM64 -- the code just wasn't written with this architecture in mind!

I don't have time at the moment to get it working. If anybody wants to give this effort a go please do!

comment:6 Changed 3 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: assignedclosed

comment:7 Changed 3 years ago by LuisPaxiuta

Hello Michael, I understand. Unfortunately I have no idea how to rewrite qt4-mac to work on ARM64. Thanks anyway. Hopefully one day we will have Maxima working on a Mac M1. Regards. Luis.

Note: See TracTickets for help on using tickets.