Opened 12 years ago

Closed 12 years ago

#35864 closed defect (fixed)

lensfun: malformed version number: 0.2.6.0

Reported by: dershow Owned by: julians37@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), raimue (Rainer Müller)
Port: lensfun

Description

The upgrade to 0.2.6 fails

--->  Configuring lensfun
--->  Building lensfun
Error: org.macports.build for port lensfun returned: command execution failed
Please see the log file for port lensfun for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_lensfun/lensfun/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets


I also tried it on a PPC G5 machine (10.5) and it fails as well. Log attached.

Attachments (1)

main.log (25.9 KB) - added by dershow 12 years ago.
Logfile

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by dershow

Attachment: main.log added

Logfile

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… raimue@… added
Owner: changed from macports-tickets@… to julians37@…
Summary: Lensfun won't upgrade to 0.2.6lensfun: malformed version number: 0.2.6.0

The log says "ld: malformed version number: 0.2.6.0". Seems the version of ld you have enforces the idea that a library version number should be only three parts. (The ld I've got with Xcode 4.4.1 silently truncates it to three parts and the build succeeds.) I need to look up how to do string manipulation in a Makefile so that we can patch this. It's not an upstream issue since it's our existing patch that's setting the library version number at all.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Makefile string manipulation is hard; let's use reinplace. r97136

Note: See TracTickets for help on using tickets.