[MacPorts] #71147: Togl-2.0: build failure

MacPorts noreply at macports.org
Fri Oct 25 11:23:30 UTC 2024


#71147: Togl-2.0: build failure
-------------------------+----------------------
  Reporter:  sherheroes  |      Owner:  dstrubbe
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:  duplicate   |   Keywords:  sequoia
      Port:  Togl-2.0    |
-------------------------+----------------------

Comment (by sherheroes):

 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 [comment:3 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 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`.

-- 
Ticket URL: <https://trac.macports.org/ticket/71147#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list