[MacPorts] #32023: frei0r-plugins fails to build
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ I'm running Macports 2.0.3 on Lion 10.7.2 on a Macbook Pro 5,5 trying to build kdenlive and it breaks at frei0r-plugins. Attached is the log file. I normally have an easier time spotting what the error is but I am not able to make sense of it. -- Ticket URL: <https://trac.macports.org/ticket/32023> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => dan@… * cc: ryandesign@… (added) Comment: I see you're using clang. What if you [wiki:ProblemHotlist#compiler use llvm-gcc-4.2 instead]? -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by dan@…): Also, it appears to be failing in opencv headers simply by including cv.h. It is not a big deal to drop the dependency on opencv, uninstall opencv, and let the configure script exclude the opencv-based plugins. Opencv is not a hard dependency, and those plugins are rarely used within kdenlive anyways. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by hobbsilla@…): If I were to reinstall opencv do you think that might help as well? -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by hobbsilla@…): Also llvm-gcc-4.2 compiler didn't work. Currently waiting for apple-gcc42 to build and try using that. If that fails then I will try uninstall opencv afterwards. Thanks for the advice so far. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by dan@…): no, reinstalling opencv will not help. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:2 dan@…]:
It is not a big deal to drop the dependency on opencv, uninstall opencv, and let the configure script exclude the opencv-based plugins. Opencv is not a hard dependency, and those plugins are rarely used within kdenlive anyways.
If you believe frei0r-plugins' opencv features are not useful to users, then I would support removing them. This would make frei0r-plugins much faster to install, since users would not have to install the large opencv port, and it would also let frei0r-plugins have a universal variant, since the only reason it currently does not is because opencv doesn't. I've made these changes in the attached patch. Would you like me to commit it? Unfortunately I couldn't find a way to inform the configure script not to use opencv, so I had to patch it. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by dan@…): Upstream is due for a new release. I think I should modify configure.ac to support explicit disabling of both gavl and opencv. Then, instead of dropping them entirely in this port, I want to add variants that include these dependencies. If you want to commit these patches to address this bug in the meantime, then I approve. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ---------------------------------+------------------------------------------ Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: frei0r-plugins ---------------------------------+------------------------------------------ Comment(by hobbsilla@…): Can I be directed to a link that explains how to use patches/.diff files? -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * status: new => closed * resolution: => fixed Comment: Replying to [comment:7 dan@…]:
If you want to commit these patches to address this bug in the meantime, then I approve.
r87176 -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:8 hobbsilla@…]:
Can I be directed to a link that explains how to use patches/.diff files?
http://guide.macports.org/chunked/development.patches.html#development.patch... -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by hobbsilla@…): Much appreciated. For clarity, I manually apply this patch to frei0r- plugins, not opencv, correct? -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by hobbsilla@…): Replying to [comment:11 hobbsilla@…]:
Much appreciated. For clarity, I manually apply this patch to frei0r- plugins, not opencv, correct? I typed in the following (assuming it was frei0r-plugins) into my terminal got the following:
{{{Paradise:~ elixir$ cd $(port dir frei0r-plugins) Paradise:frei0r-plugins elixir$ patch -p0 < ~/Desktop/frei0r-plugins.diff patching file files/patch-configure.ac.diff patch: **** Can't rename file /var/folders/80/28xh_mrj7k730ztvwk2p1hg80000gn/T// poeN98JS to files/patch-configure.ac.diff : No such file or directory}}} -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:11 hobbsilla@…]:
Much appreciated. For clarity, I manually apply this patch to frei0r- plugins, not opencv, correct?
If I had not already committed the fix, yes. But since I have already committed the fix, you just "sudo port selfupdate". -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by hobbsilla@…): Ah, much easier process haha. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32023: frei0r-plugins fails to build ----------------------------------+----------------------------------------- Reporter: hobbsilla@… | Owner: dan@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: haspatch Port: frei0r-plugins | ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Replying to [comment:12 hobbsilla@…]:
{{{ Paradise:~ elixir$ cd $(port dir frei0r-plugins) Paradise:frei0r-plugins elixir$ patch -p0 < ~/Desktop/frei0r-plugins.diff patching file files/patch-configure.ac.diff patch: **** Can't rename file /var/folders/80/28xh_mrj7k730ztvwk2p1hg80000gn/T// poeN98JS to files/patch-configure.ac.diff : No such file or directory }}} The default ports tree is not owned by you, so you need to be root to change it. Prefix the `patch` command with "`sudo `". -- Ticket URL: <https://trac.macports.org/ticket/32023#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts