[MacPorts] #44772: Cannot use wxWidgets_select (with wxGTK)
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------+----------------------------------------- Reporter: charlie.clark@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: wxWidgets_select, wxGTK-2.8 -----------------------------+----------------------------------------- Hi, not sure if this is just select or wxGTK but I can't use `port select wxWidgets wxgtk-2.8`. I get `Selecting 'wxgtk-2.8' for 'wxWidgets' failed: could not create new link "/opt/local/share/bakefile/presets/wx.bkl": no such file or directory` -- Ticket URL: <https://trac.macports.org/ticket/44772> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+-------------------------------- Reporter: charlie.clark@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+-------------------------------- Changes (by mf2k@…): * port: wxWidgets_select, wxGTK-2.8 => wxWidgets_select wxGTK-2.8 -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Changes (by mojca@…): * owner: macports-tickets@… => mojca@… * version: 2.3.1 => Comment: What is the output of {{{ port contents wxgtk-2.8 | grep share }}} on your machine? I get {{{ /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/aclocal/wxwin.m4 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_unix.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_win32.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /install-gtk.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /install-mac.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /readme-gtk.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /readme-mac.txt }}} and the select mechanism works for me. -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by charlie.clark@…): I get {{{ /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/aclocal/wxwin.m4 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_unix.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_win32.bkl /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /install-gtk.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /install-mac.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /readme-gtk.txt /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/doc/wxWidgets /readme-mac.txt }}} Which is the same as you but I still can't use {{{port select}}} -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by mojca@…): Can you please try {{{ sudo port -d wxWidgets none sudo port -d wxWidgets wxgtk-2.8 }}} to check if there are more clues hidden there? -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by charlie.clark@…): {{{ DEBUG: Copying /Users/charlieclark/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: action_select [wxWidgets none] []... DEBUG: Although no command was specified, more than one argument was specified. Defaulting to the 'set' command... DEBUG: mportselect [set] [wxWidgets] [none] DEBUG: rm -f /opt/local/bin/wx-config DEBUG: rm -f /opt/local/bin/wxrc DEBUG: rm -f /opt/local/share/aclocal/wxwin.m4 DEBUG: rm -f /opt/local/share/bakefile/presets/wx.bkl DEBUG: rm -f /opt/local/share/bakefile/presets/wx_presets.py DEBUG: rm -f /opt/local/share/bakefile/presets/wx_unix.bkl DEBUG: rm -f /opt/local/share/bakefile/presets/wx_win32.bkl DEBUG: rm -f /opt/local/share/bakefile/presets/wx_xrc.bkl Selecting 'none' for 'wxWidgets' succeeded. 'none' is now active. }}} and {{{ DEBUG: Copying /Users/charlieclark/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: action_select [wxWidgets wxgtk-2.8] []... DEBUG: Although no command was specified, more than one argument was specified. Defaulting to the 'set' command... DEBUG: mportselect [set] [wxWidgets] [wxgtk-2.8] DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/bin /wx-config /opt/local/bin/wx-config DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/bin/wxrc-2.8 /opt/local/bin/wxrc DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/aclocal/wxwin.m4 /opt/local/share/aclocal/wxwin.m4 Selecting 'wxgtk-2.8' for 'wxWidgets' failed: could not create new link "/opt/local/share/bakefile/presets/wx.bkl": no such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by mojca@…): Does the folder `/opt/local/share/bakefile/presets` exist on your machine? Maybe that folder is missing and doing {{{ [sudo] mkdir -p /opt/local/share/bakefile/presets }}} would help, but that would mean a bug in "`port select`". -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by charlie.clark@…): {{{ cd: /opt/local/share/bakefile/presets: No such file or directory }}} But that doesn't mean to me that "port select" has a bug. Works fine with other ports. -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by mojca@…): Are you able to select `wxWidgets-3.0` then? Does it help if you create `/opt/local/share/bakefile/presets` first? -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by charlie.clark@…): Yes, wxWidgets-3.0 works fine. Here's the debug output. Looks (to me) like the paths are different. {{{ DEBUG: Copying /Users/charlieclark/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: action_select [wxWidgets wxWidgets-3.0] []... DEBUG: Although no command was specified, more than one argument was specified. Defaulting to the 'set' command... DEBUG: mportselect [set] [wxWidgets] [wxWidgets-3.0] DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin /wx-config /opt/local/bin/wx-config DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wxrc-3.0 /opt/local/bin/wxrc DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/aclocal/wxwin.m4 /opt/local/share/aclocal/wxwin.m4 DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx.bkl /opt/local/share/bakefile/presets/wx.bkl DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_presets.py /opt/local/share/bakefile/presets/wx_presets.py DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_unix.bkl /opt/local/share/bakefile/presets/wx_unix.bkl DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_win32.bkl /opt/local/share/bakefile/presets/wx_win32.bkl DEBUG: ln -sf /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_xrc.bkl /opt/local/share/bakefile/presets/wx_xrc.bkl Selecting 'wxWidgets-3.0' for 'wxWidgets' succeeded. 'wxWidgets-3.0' is now active. }}} -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by mojca@…): I know it's stupid, but now that you have `wxWidget-3.0` active, can you please try with `wxgtk-2.8` again? I really don't understand why it wouldn't work as long as the file `/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx.bkl` exists on your computer. -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by charlie.clark@…): Yes, it does then work. -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#44772: Cannot use wxWidgets_select (with wxGTK) -----------------------------------------+--------------------- Reporter: charlie.clark@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets_select wxGTK-2.8 | -----------------------------------------+--------------------- Comment (by mojca@…): I think I understand the problem now. Version 3.0 contains: {{{ post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/bakefile/presets } destroot.keepdirs ${destroot}${prefix}/share/bakefile/presets }}} while version 2.8 doesn't. As a consequence the following files end up in `/opt/local/share/bakefile/presets/` {{{ .turd_wxPython-3.0 .turd_wxWidgets-3.0 .turd_wxWidgets-3.0-libcxx .turd_wxgtk-3.0 }}} but not for 2.8. -- Ticket URL: <https://trac.macports.org/ticket/44772#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts