[MacPorts] #47204: qtscriptgenerator 0.2.0_0 build error (command execution failed)
#47204: qtscriptgenerator 0.2.0_0 build error (command execution failed) ----------------------------+-------------------------------- Reporter: victor.tran1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: qtscriptgenerator ----------------------------+-------------------------------- I'm trying to install Amarok, but qtscriptgenerator fails to build properly. OS X Yosemite 10.10.2 -- Ticket URL: <https://trac.macports.org/ticket/47204> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Changes (by larryv@…): * cc: victor.tran1@… (removed) * owner: macports-tickets@… => michaelld@… Comment: Thanks for the report. In future tickets, please Cc any port maintainers (`port info --maintainers qtscriptgenerator`) -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Changes (by mk@…): * cc: mk@…, rjvbertin@… (added) * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Fails for me too on OS X 10.9 . I'm suspecting a syntax incompatibility with clang++ . Looking into it. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Got a bit further, but still blocked. Comparing to a build on Linux, something must go wrong generating the code for QtScriptFutureIterator. On linux this class gets a well-filled implementation, on OS X the corresponding .cpp file remains in skeletal form. I haven't tried to understand why. The attached patch basically removes the QtScriptFutureIterator class to avoid the whole issue, but then the build fails later on because of missing targets (which I doubt are related to my patch): {{{ make[2]: Entering directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_gui' make[2]: *** No rule to make target `../../generated_cpp/com_trolltech_qt_gui/plugin.cpp', needed by `plugin.o'. Stop. make[2]: Leaving directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_gui' make[1]: *** [sub-qtscript_gui-all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_network' make[2]: *** No rule to make target `../../generated_cpp/com_trolltech_qt_network/plugin.cpp', needed by `plugin.o'. Stop. make[2]: Leaving directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_network' make[2]: Entering directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_core' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_core' make[1]: *** [sub-qtscript_network-all] Error 2 make[2]: Entering directory `.../work/qtscriptgenerator- src-0.2.0/qtbindings/qtscript_opengl' make[2]: *** No rule to make target `../../generated_cpp/com_trolltech_qt_opengl/plugin.cpp', needed by `plugin.o'. Stop. }}} Hopefully Michaelld can get this a working. In the meantime, Amarok really isn't the best mediaplayer around O:-) -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): I see those errors too; haven't had time to look into it. QtScript Generator is pretty old now, and it's really not clear where it's repo is being stored. It's still necessary, though, so we'll figure something out ... -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): I see that the port is distributable, so what do the buildbots say (as in, on what OS X versions does the port build, and with which compiler)? -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by macports@…): Just a note that the [https://community.kde.org/Amarok/GettingStarted/Download/MacOS Amarok homepage OS X download] is just instructions to… install this port. They don’t have a built package available there. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Also not that that page is only a few months short of 3 years old and was written in a time gcc was still the default compiler. OTOH, someone (jrm) must have gotten amarok to build a bit less than a year ago. I'd all forgotten about this ticket, and through a funny quirk of fate had an itch yesterday to look into the requirements for building Clementine through/against MacPorts. It's based on Amarok, but without all the KDE dependencies (and probably a better player). -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): If you can figure out how to coerce QtSG to build again RJVB, you'll make a lot of folks happy! I think it'll take longer than checking over all qt4-mac ports to make sure the libexec install prefix works; but, maybe I'm wrong ;) -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Evidently, checking over all qt4 dependent ports could have taken time for the build bots only and I'm pretty sure you'd have found less breakage if you'd simply taken my qt4-mac-devel port rather than deciding to dump all of Qt under libexec. Getting qtscriptgenerator to build again isn't exactly high on my priority list as I don't run anything that depends on it myself (and memories of the last times I made altruist time investments in MacPorts are a bit too fresh). I could do another comparison with Linux, making sure this time I use clang there too, we'll see if I think of that the next time I don't know what else to do. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): RJVB: In a prior comment you mention a patch that got you somewhere. Would you attach it to this ticket for us to try? -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Changes (by michaelld@…): * cc: diazona+macportstrac@…, greisberger@…, misocurdo@… (added) Comment: Has duplicate #45907. I'm moving that one here, since this ticket is cleaner. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): It's a patch I made myself. I thought I'd attached it already (apparently got distracted before I could do so). It just removes the whole QtScriptFutureIterator class. I don't have access to the latest version right now, but I suppose it hasn't changed (much) w.r.t. the one in git: https://github.com/RJVB/macstrop/blob/master/devel/qtscriptgenerator/files /remove-QtScriptFutureIterator.diff -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): Ah; OK; NP. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): The above 4 diffs allow the port to build for me, against my own concurrent Qt4 port (which installs only partly into libexec/qt4). No patches to phonon are required in my approach. The `remove-QtScriptFutureIterator.diff` patch fixes an issue I ran into a while back; I haven't checked whether it is still required with the current fixes to the headerfile search logic. Similarly, I haven't yet checked whether the `patch-include- everything.diff` is indeed required (it's a known fix that lets qtsg find KDE's phonon). -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): Maybe I'm doing something wrong, but your patches still fail for me on 10.11 / Xcode 7 (latest release or beta of both). I'm attaching my full diff & log file for reference. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:19> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): BTW> Please don't hardware /opt/local into patches. You know what to do .... ;) -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): The annoying thing with qmake is that it's such a hassle to get it to use a different compiler on OS X; I haven't managed to import macports- clang-3.7 . However, when I compile just the failing file with that compiler it works fine. You don't happen to have a VM with older OS X/Xcode versions around? -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by mk@…): See also duplicate #52346! -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:22> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): Unless a miracle occurs, this port is going nowhere. The programming is obtuse / unclear. Even Rene's mods don't work in general (mostly just for his specific case). I have no spare time right now to look into this issue. I welcome patches on the main SVN trunk / GIT master. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:24> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Michael, could you at least find the time to tell me what exactly in my mods doesn't work for the generic case? I have a hunch it has to do with my mods that points INCLUDEPATH to ${prefix}/include/qt4 instead of to ${qt_includes_dir}? Also, where are the phonon headers installed in the generic case, hopefully nice and simply under ${prefix}/include/phonon ? -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:25> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): Did I never get back to you? Hmm ... well, whatever & my bad if I didn't. Are the patches the same for 10.12 as they are attached here? I'll give it a go & report back. Will your QTSG work with the MP trunk directly? -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:26> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Sorry, I had an extended Sunday lunch :) I have to presume that 10.12 doesn't change anything, or should I say that this old qtscripgenerator code doesn't do anything that needs to be adapted for 10.12 . I can't test that at the moment. And it certainly is my intention that this port can be built to work with your port:qt4-mac. Today's change should have removed the last hardcoded assumption about where things are installed, but I may be overlooking something. It's so long ago that I figured out how to get this to build that I have mostly forgotten the details :-/ -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:27> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by michaelld@…): Works for me. Committed in r153140. I did remove some of the patches, since they were unused at least for MacPorts purposes. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:28> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:29> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by rjvbertin@…): Glad to see at least some of my efforts get to serve the greater good :) -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:30> MacPorts <https://www.macports.org/> Ports system for macOS
#47204: qtscriptgenerator @0.2.0_0: build error (command execution failed) --------------------------------+------------------------- Reporter: victor.tran1@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: qtscriptgenerator | --------------------------------+------------------------- Comment (by M-I-B@…): Excuse me, but hot to get & compile this fixed updated version? Macports selfupdate does nothing - still can't compile. -- Ticket URL: <https://trac.macports.org/ticket/47204#comment:31> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts