Opened 7 years ago

Closed 7 years ago

#35864 closed defect (fixed)

lensfun: malformed version number:

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


The upgrade to 0.2.6 fails

--->  Configuring lensfun
--->  Building lensfun
Error: for port lensfun returned: command execution failed
Please see the log file for port lensfun for details:
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:

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 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by dershow

Attachment: main.log added


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

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

The log says "ld: malformed version number:". 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 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.