[MacPorts] #15338: openexr won't upgrade
#15338: openexr won't upgrade --------------------------------------+------------------------------------- Reporter: jannesbolten@yahoo.co.uk | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: openexr; ilmbase | --------------------------------------+------------------------------------- when i try to upgrade my openexr installation using MacPorts, I keep getting an error that relates to ilmbase. it seems that ilmbase is a dependency of openexr, so it needs to be activated. but when MacPorts tries to activate ilmbase, there is an error. MacPorts asks for openexr to be deactivated first. that's fine. deactivating openexr and subsequently activating ilmbase is no problem. but if i then try to upgrade openexr, there is this error: {{{ ---> Activating openexr 1.4.0_0 Error: Activating openexr 1.4.0_0 failed: Image error: /opt/local/include/OpenEXR/half.h is being used by the active ilmbase port. Please deactivate this port first, or use the -f flag to force the activation. }}} so this is a bit of a catch-22 situation. for completeness' sake, here's what i see when i try to upgrade openexr with ilmbase deactivated: {{{ ---> Activating ilmbase 1.0.1_1 Error: Activating ilmbase 1.0.1_1 failed: Image error: /opt/local/include/OpenEXR/half.h is being used by the active openexr port. Please deactivate this port first, or use the -f flag to force the activation. ---> Building openexr with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenEXR/work/openexr-1.6.1" && make all " returned error 2 Command output: ./ImfIO.h:110: error: 'Int64' does not name a type ./ImfIO.h:118: error: 'Int64' has not been declared ./ImfIO.h:180: error: 'Int64' does not name a type ./ImfIO.h:188: error: 'Int64' has not been declared ./ImfXdr.h:162: error: 'Int64' has not been declared ./ImfXdr.h:245: error: 'Int64' has not been declared ./ImfXdr.h:499: error: 'Int64' has not been declared ./ImfXdr.h:499: error: redefinition of 'template<class S, class T> void Imf::Xdr::write(T&, int)' ./ImfXdr.h:387: error: 'template<class S, class T> void Imf::Xdr::write(T&, int)' previously declared here ./ImfXdr.h: In function 'void Imf::Xdr::write(T&, int)': ./ImfXdr.h:507: warning: right shift count >= width of type ./ImfXdr.h:508: warning: right shift count >= width of type ./ImfXdr.h:509: warning: right shift count >= width of type ./ImfXdr.h:510: warning: right shift count >= width of type ./ImfXdr.h: In function 'void Imf::Xdr::write(T&, double)': ./ImfXdr.h:540: error: 'Int64' does not name a type ./ImfXdr.h: At global scope: ./ImfXdr.h:781: error: 'Int64' has not been declared ./ImfXdr.h:781: error: redefinition of 'template<class S, class T> void Imf::Xdr::read(T&, int&)' ./ImfXdr.h:668: error: 'template<class S, class T> void Imf::Xdr::read(T&, int&)' previously declared here ./ImfXdr.h: In function 'void Imf::Xdr::read(T&, int&)': ./ImfXdr.h:787: error: 'Int64' was not declared in this scope ./ImfXdr.h:787: error: expected `)' before 'b' ./ImfXdr.h: In function 'void Imf::Xdr::read(T&, double&)': ./ImfXdr.h:827: error: 'Int64' does not name a type ./ImfXdr.h:829: error: 'Int64' was not declared in this scope ./ImfXdr.h:829: error: expected `)' before 'b' make[2]: *** [ImfAttribute.lo] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/15338> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade ---------------------------------------+------------------------------------ Reporter: jannesbolten@yahoo.co.uk | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: openexr; ilmbase ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => waqar@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade ---------------------------------------+------------------------------------ Reporter: jannesbolten@yahoo.co.uk | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: openexr; ilmbase ---------------------------------------+------------------------------------ Changes (by simon@macports.org): * cc: simon@macports.org (added) Comment: I had the same problem. I fixed it with the following steps. {{{ port deactivate openexr port activate ilmbase port -f uninstall openexr port clean --all openexr port install openexr }}} Hope this helps, Simon -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade ---------------------------------------+------------------------------------ Reporter: jannesbolten@yahoo.co.uk | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: openexr; ilmbase ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): Why "{{{Activating openexr 1.4.0_0}}}"? openexr was updated to 1.6.1_0 in r35935. I don't have any problem with conflicting files when using the current version of openexr and ilmbase. Please {{{sudo port selfupdate}}} and try again. -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade ---------------------------------------+------------------------------------ Reporter: jannesbolten@yahoo.co.uk | Owner: waqar@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: openexr; ilmbase ---------------------------------------+------------------------------------ Comment (by ryandesign@macports.org): You may want to just remove your existing installed versions of openexr and ilmbase and reinstall. {{{ sudo port uninstall openexr ilmbase sudo port selfupdate sudo port install openexr }}} -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade --------------------------------------+------------------------------------- Reporter: jannesbolten@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: ilmbase | Port: openexr --------------------------------------+------------------------------------- Changes (by blb@…): * keywords: openexr; ilmbase => ilmbase * port: => openexr Comment: Was the problem that a file in the older openexr was moved to ilmbase (and subsequently removed by the newer openexr)? -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr won't upgrade --------------------------------------+------------------------------------- Reporter: jannesbolten@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: ilmbase | Port: openexr --------------------------------------+------------------------------------- Comment(by jannesbolten@…): really, i don't remember. but thanks for looking into this... -- Ticket URL: <http://trac.macports.org/ticket/15338#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15338: openexr conflicts with but also depends on ilmbase ---------------------------------------+------------------------------------ Reporter: jannesbolten@… | Owner: waqar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: Port: openexr ilmbase | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * keywords: ilmbase => * resolution: => worksforme * port: openexr => openexr ilmbase -- Ticket URL: <https://trac.macports.org/ticket/15338#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts