[MacPorts] #23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- qt4-mac does not enable dwarf2 when using ccache or distcc {{{ sudo port -vd install qt4-mac ... /opt/local/var/macports/build/_opt_ports.git_dports_aqua_qt4-mac/work/qt- everywhere-opensource-src-4.6.0/config.tests/mac/dwarf2.test: line 21: ccache /Developer/usr/bin/llvm-gcc-4.2: No such file or directory /opt/local/var/macports/build/_opt_ports.git_dports_aqua_qt4-mac/work/qt- everywhere-opensource-src-4.6.0/config.tests/mac/dwarf2.test: line 22: ./xcodeversion: No such file or directory rm: xcodeversion: No such file or directory DWARF2 debug symbols disabled. ... }}} Attached a patch to fix this issue (patch-config.tests-mac- dwarf2.test.diff) -- Ticket URL: <http://trac.macports.org/ticket/23204> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Changes (by jmr@…): * keywords: => haspatch -- Ticket URL: <http://trac.macports.org/ticket/23204#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by hsivank@…): It was previously observed here : [http://trac.macports.org/ticket/19922 #19922] -- Ticket URL: <http://trac.macports.org/ticket/23204#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by michaelld@…): Is this issue still relevant as of r72571 with qt4-mac being at 4.7.0? -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by hsivank@…): Replying to [comment:4 michaelld@…]:
Is this issue still relevant as of r72571 with qt4-mac being at 4.7.0? Yes
{{{ /opt/local/var/macports/build/_opt_MacPort.git_dports_aqua_qt4-mac/work /qt-everywhere-opensource-src-4.7.0/config.tests/mac/dwarf2.test: line 21: ccache /Developer/usr/bin/g++-4.2: No such file or directory /opt/local/var/macports/build/_opt_MacPort.git_dports_aqua_qt4-mac/work /qt-everywhere-opensource-src-4.7.0/config.tests/mac/dwarf2.test: line 22: ./xcodeversion: No such file or directory rm: xcodeversion: No such file or directory DWARF2 debug symbols disabled. }}} -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: michaelld@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Changes (by michaelld@…): * status: new => assigned * owner: macports-tickets@… => michaelld@… -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: michaelld@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by michaelld@…): Can you try out the patch I just attached and see if it works for you? I think this patch will allow ccache/distcc to not error out, but otherwise it will just effect the configure stage during building of QMake and most host-OS testing -- since most of those are compiled directly from scripts (either configure itself or a script that it calls). I do not think this change effects the 'build' stage, since that is accomplished indirectly via use of QMake. So I call the support provided here "rudimentary" -- basically allowing those who wish to use ccache/distcc the ability to do so with qt4-mac as part of an overall chain ports. BTW> I'm not going to update the other tickets on this subject (#23206, #23208), because it's all the same issue at the programming level. -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: michaelld@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: haspatch | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by hsivank@…): Hello michaelld your patch works for me ;-) -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23204: qt4-mac : DWARF2 debug symbols are disabled with ccache or distcc --------------------------------+------------------------------------------- Reporter: hsivank@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: haspatch Port: qt4-mac | --------------------------------+------------------------------------------- Changes (by michaelld@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r73102. ccache works nicely for me! -- Ticket URL: <https://trac.macports.org/ticket/23204#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts