#71147 closed defect (duplicate)
Togl-2.0: build failure
Reported by: | sherheroes (sher) | Owned by: | dstrubbe (David Strubbe) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | sequoia | Cc: | |
Port: | Togl-2.0 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Dear MacPorts Team,
I am writing to report an issue I encountered while trying to install Xcrysden on my system (MacOS Sequoia 15.0.1 (24A348), Xcode 16.0) using MacPorts. During the installation process, the system attempted to fetch the Togl-2.0 archive, but ultimately failed to build it.
Here are the details from the terminal output:
---> Fetching archive for Togl-2.0 ---> Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://packages.macports.org/Togl-2.0 ---> Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://nue.de.packages.macports.org/Togl-2.0 ---> Attempting to fetch Togl-2.0-2.0_0.darwin_24.arm64.tbz2 from https://fra.de.packages.macports.org/Togl-2.0 ---> Building Togl-2.0 Error: Failed to build Togl-2.0: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port xcrysden failed
I am also trying the suggestion from 'Chengcheng-Xiao' in Ticket #70956 to directly download the source package from Xcrysden and compile it by adding -Wno-error=incompatible-pointer-types to CFLAGS in TOGL_OPTIONS in Make.sys of Xcrysden. However, it is still not working properly.
I would greatly appreciate any guidance or assistance you could provide in resolving this issue.
Thank you!
Attachments (2)
Change History (6)
comment:1 Changed 2 weeks ago by cjones051073 (Chris Jones)
comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | sequoia added |
Owner: | set to dstrubbe |
Port: | Togl-2.0 added; xcrysden removed |
Status: | new → assigned |
Summary: | Installation of Xcrysden on MacOS Sequoia → Togl-2.0: build failure |
comment:3 follow-up: 4 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
There are seven build attempts in that log. There is no evidence of -Wno-error=incompatible-pointer-types
being used in any of them. They all end with the error from #70956. The second through seventh attempts were unclean, so those failures may have been influenced by the original failure. Specifically, the configure phase was completed in the first attempt, so it was not run in the second through seventh attempts. The modification suggested in comment:ticket:70956:4 probably needs to be made before the configure phase runs. For example, you could sudo port clean Togl-2.0
, then sudo port patch Togl-2.0
, then make the modification, then sudo port build Togl-2.0
.
comment:4 Changed 12 days ago by sherheroes (sher)
First of all, thank you for your reply and help.
I hope I understood you correctly. If not, here is what I have done; please check if it is correct.
I tried the following commands:
sudo port clean Togl-2.0 sudo port clean xcrysden sudo port patch xcrysden
Then I go to the following directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xcrysden/xcrysden/work/xcrysden-1.6.2/ and tried the command:
sudo cp ./system/Make.sys-shared-macosx-x11-macports Make.sys
Next, I opened Make.sys and made a modification by adding -Wno-error=incompatible-pointer-types in line 59, like this:
TOGL_OPTIONS = --exec-prefix=$(TOPDIR)/external --enable-shared --with-tcl=/opt/local/lib --with-tk=/opt/local/lib \ --with-x CFLAGS=-I/opt/local/include -Wno-error=incompatible-pointer-types --x-includes=/opt/local/include --x-librari\ es=/opt/local/lib
I saved the Make.sys file and ran:
sudo port build xcrysden
However, I still got the following problem:
---> Extracting Togl-2.0 ---> Configuring Togl-2.0 Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: stat64: found in Togl2.0/config.log ---> Building Togl-2.0 Error: Failed to build Togl-2.0: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port xcrysden failed
Replying to ryandesign:
There are seven build attempts in that log. There is no evidence of
-Wno-error=incompatible-pointer-types
being used in any of them. They all end with the error from #70956. The second through seventh attempts were unclean, so those failures may have been influenced by the original failure. Specifically, the configure phase was completed in the first attempt, so it was not run in the second through seventh attempts. The modification suggested in comment:ticket:70956:4 probably needs to be made before the configure phase runs. For example, you couldsudo port clean Togl-2.0
, thensudo port patch Togl-2.0
, then make the modification, thensudo port build Togl-2.0
.
Please attach here the complete build log mentioned above, from a clean build attempt
opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_Togl-2.0/Togl-2.0/main.log