[MacPorts] #33224: opencv: build error because of rogue libpng, libtiff and libjasper frameworks (was: opencv: error:)

MacPorts noreply at macports.org
Sat Feb 11 23:40:07 PST 2012


#33224: opencv: build error because of rogue libpng, libtiff and libjasper
frameworks
-----------------------------------+----------------------------------------
  Reporter:  vvaytodawn@…          |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  closed                               
  Priority:  Normal                |   Milestone:                                       
 Component:  ports                 |     Version:  2.0.3                                
Resolution:  invalid               |    Keywords:                                       
      Port:  opencv                |  
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => invalid


Old description:

> $  sudo port install opencv +universal
> --->  Computing dependencies for opencv
> --->  Building opencv
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for opencv is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 {{{
 $  sudo port install opencv +universal
 --->  Computing dependencies for opencv
 --->  Building opencv
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for opencv is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 The log shows:
 {{{
 :info:build ld: warning: ignoring file
 /Library/Frameworks//libpng.framework/libpng, missing required
 architecture x86_64 in file
 :info:build ld: warning: ignoring file
 /Library/Frameworks//libtiff.framework/libtiff, missing required
 architecture x86_64 in file
 :info:build ld: warning: ignoring file
 /Library/Frameworks//libjasper.framework/libjasper, missing required
 architecture x86_64 in file
 }}}

 Please delete /Library/Frameworks/libpng.framework,
 /Library/Frameworks/libtiff.framework and
 /Library/Frameworks/libjasper.framework; they are not part of MacPorts and
 are interfering with MacPorts. Then "sudo port clean opencv" and try
 again.

-- 
Ticket URL: <https://trac.macports.org/ticket/33224#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list