[MacPorts] #57508: gnuplot @5.2.5_0 +aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11: cannot find wx/wxprec.h

MacPorts noreply at macports.org
Thu Nov 15 04:58:01 UTC 2018


#57508: gnuplot @5.2.5_0 +aquaterm+luaterm+pangocairo+qt5+wxwidgets+x11: cannot
find wx/wxprec.h
-------------------------------------------------+-------------------------
  Reporter:  hugo-ribeiro                        |      Owner:  mojca
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  gnuplot, wxWidgets-3.0, wxWidgets-  |
  common                                         |
-------------------------------------------------+-------------------------

Comment (by ryandesign):

 Replying to [comment:2 hugo-ribeiro]:
 > I guess it's going to be difficult to pinpoint the reason why
 {{{wxWidgets-3.0}}} and/or {{{wxWidgets-common}}} was broken in the first
 place, but reinstalling them solves the problem indeed.

 Looks like the only difference between the "bad" and "good" wxWidgets-3.0
 is:

 {{{
 --- wx-
 bad/wxWidgets-3.0/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/config
 /osx_cocoa-unicode-3.0    2018-07-16 12:24:04.000000000 -0500
 +++ wx-
 good/wxWidgets-3.0/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/config
 /osx_cocoa-unicode-3.0   2018-11-14 22:05:47.000000000 -0600
 @@ -89,7 +89,7 @@


  # Contentious tools determined by configure.
 -EGREP="/opt/local/bin/grep -E"
 +EGREP="/opt/local/bin/ggrep -E"


  # For the people who know what they want, or think they do:
 }}}

 In other words, I had the grep port installed when I built wxWidgets-3.0
 back in July, and the path to its `grep` got baked into the installed
 files and that gets used by `wx-config`. (Actually, `wx-config` is a
 symlink to the above `osx_cocoa-unicode-3.0` file.)

 Since then, the grep port was changed and it no longer installs
 /opt/local/bin/grep; it now installs /opt/local/bin/ggrep. So now wx-
 config doesn't work anymore, because the `grep` it is trying to use no
 longer exists.

 wxWidgets-3.0 should be changed so that it deterministically uses
 /usr/bin/grep (if that's sufficient) or /opt/local/bin/ggrep (if that's
 necessary, along with adding a dependency on port:grep), and in either
 case, the revision should be increased to fix any existing installations.

 The same change should be made to any other affected ports. I ''think'' it
 will affect these ports:

 * wxgtk-2.8
 * wxgtk-3.0
 * wxPython-3.0
 * wxWidgets-2.8
 * wxWidgets-3.0-cxx11
 * wxWidgets-3.0-libcxx
 * wxWidgets-3.2

 Only users who build from source and who had the grep port installed at
 the time would have been affected. Those getting a binary from our
 buildbot wouldn't have been affected since the grep port wasn't installed
 when the buildbot built the port.

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


More information about the macports-tickets mailing list