Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29108 closed defect (fixed)

Lensfun fails to build

Reported by: dershow Owned by: julians37@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: frank.mcpherson@…, dbevans (David B. Evans), chris@…
Port: lensfun

Description

It seems that ufraw now depends on lensfun. Lensfun 0.2.5 Rev 1, is building on my macbook pro, but on my PPC G5 box, it is failing.

The error is here:

--->  Computing dependencies for lensfun
--->  Configuring lensfun
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for lensfun is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lensfun/main.log
Error: Problem while installing lensfun
To report a bug, see <http://guide.macports.org/#project.tickets>

I have attached the full log file as well.

Attachments (2)

lensfun_main.log (7.3 KB) - added by dershow 13 years ago.
Lensfun build error file
patch-lensfun-Portfile.diff (486 bytes) - added by dbevans (David B. Evans) 13 years ago.
Proposed patch for Portfile

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by dershow

Attachment: lensfun_main.log added

Lensfun build error file

comment:1 Changed 13 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to julians37@…

I just ran across this myself. Attached is a patch that fixes the problem by specifying a valid target and disabling (x86) vectorization on powerpc platforms. With this patch, lensfun (and ufraw) configures and builds and the lens correction function appears to work correctly.

Changed 13 years ago by dbevans (David B. Evans)

Attachment: patch-lensfun-Portfile.diff added

Proposed patch for Portfile

comment:2 Changed 13 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:3 Changed 13 years ago by dbevans (David B. Evans)

Cc: julians37@… removed

comment:4 Changed 13 years ago by julians37@…

This patch looks good to me, but I don't have commit rights. Can someone check this in please?

comment:5 Changed 13 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Committed in r77793.

comment:6 Changed 13 years ago by julians37@…

Thanks everyone.

comment:7 Changed 13 years ago by chris@…

Cc: chris@… added

Cc Me!

Note: See TracTickets for help on using tickets.