[MacPorts] #30761: qtiplot just hangs
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: qtiplot, macports | Port: ---------------------------------------------+------------------------------ I have a brand new system on Lion. When I try to build qtiplot, compilation goes for around 5 minuts on a i5 system and then a single g++ process hangs at 100% cpu forever. I've rebuilt the chain and let the single process run for 12 hours to no avail. Here's the log, I've found out that compilation hangs at different points. Please help! -- Ticket URL: <https://trac.macports.org/ticket/30761> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => jonas@… * keywords: qtiplot, macports => * port: => qtiplot Comment: As per the ticket guidelines linked from the New Ticket page, please put the name of the affected port in the Port field, and cc its maintainer. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by eric.lebigot@…): Same thing here, with qtiplot 0.9.8.7 and Mac OS X Lion… -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by schmiddimc@…): Here same problem. There is a new version available. 0.9.8.8 Perhaps this fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by nicos@…): The problem seems to be specific to Lion, as it compiles fine on Snow Leopard (10.6.8). -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by eric.lebigot@…): The issue (on Lion) is apparently still present with qtiplot-0.9.8.8_1.darwin_11.x86_64: "Building qtiplot" lasts at least 1 hour on the latest MacBook Air: it looks like it will never end. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by firstprinciple@…): I found a way that can avoid the hanging -- 1. port install qtiplot 2. while hanging, use Ctrl-C 3. cd to the directory qtiplot, Copy/Past last command line, change "-O2" to "-O0" 4. sudo make after about 1min, successfully build 5. sudo port destroot qtiplot sudo port install qtiplot -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by nicos@…): This is a wild guess, and I do not have the possibility to test as I am not on Lion, but did someone tried to install qtiplot on Lion with the following command ? {{{ sudo port install kde4-baseapps configure.compiler=llvm-gcc-4.2 }}} As Lion uses another compiler, it has been already an issue for other ports, and may be the problem in this case. The command above forces to use the same compiler as in SL. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by nicos@…): Sorry, I did not even corrected the copy-paste... The correct command would obviously be: {{{ sudo port install qtiplot configure.compiler=llvm-gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by eric.lebigot@…): Thanks for the suggestion. I tried the configure.compiler option, but the compilation was not over after about 1 hour. So, my guess is that it will never stop… -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by firstprinciple@…): qtiplot-0.9.8.9 still needs change CFLAGS from "-O2" to "-O0", I tested just now. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by nicos@…): Replying to [comment:14 firstprinciple@…]:
qtiplot-0.9.8.9 still needs change CFLAGS from "-O2" to "-O0", I tested just now.
Just to be sure that I understand: does lowering the optimization enable compilation on Lion ? -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by winter@…): Replying to [comment:15 nicos@…]:
Replying to [comment:14 firstprinciple@…]:
qtiplot-0.9.8.9 still needs change CFLAGS from "-O2" to "-O0", I tested just now.
Just to be sure that I understand: does lowering the optimization enable compilation on Lion ? I don't know if CFLAGS works but lowering -O2 to -O0 manually on the build command that hangs helped.
-- Ticket URL: <https://trac.macports.org/ticket/30761#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ---------------------------------------------+------------------------------ Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: | Port: qtiplot ---------------------------------------------+------------------------------ Comment(by Kona8lend@…): see patch attachment:qtiplot.disable-O2.diff Patch disables -O2 flag to workaround the llvm-gcc-4.2 bug. Not an ideal patch but wanted to make it available as someone on the mailing list was asking how to manipulate qmake flags from the ports system. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ----------------------------------------------+----------------------------- Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: Port: qtiplot | ----------------------------------------------+----------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Thank you for the patch. I modified it slightly to be activated on Lion. Committed in r87723. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ----------------------------------------------+----------------------------- Reporter: bruno.carneirodacunha@… | Owner: jonas@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: Port: qtiplot | ----------------------------------------------+----------------------------- Changes (by soehn@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:19 nicos@…]:
Thank you for the patch. I modified it slightly to be activated on Lion. Committed in r87723. Same thing happens now on Mountain Lion. Can be fixed using the same patch (i.e. adding the changes of r87723 for darwin 12, too)
-- Ticket URL: <https://trac.macports.org/ticket/30761#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ----------------------------------------------+----------------------------- Reporter: bruno.carneirodacunha@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: Port: qtiplot | ----------------------------------------------+----------------------------- Changes (by nicos@…): * owner: jonas@… => nicos@… * status: reopened => new -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30761: qtiplot just hangs ----------------------------------------------+----------------------------- Reporter: bruno.carneirodacunha@… | Owner: nicos@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: Port: qtiplot | ----------------------------------------------+----------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Right. I should have enabled the patch to Lion and later from the start. This is now done at r96637. -- Ticket URL: <https://trac.macports.org/ticket/30761#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts