Opened 12 years ago

Closed 12 years ago

#36227 closed defect (worksforme)

pango @1.30.1: Can't build on Mountain Lion due to libpng14.la error

Reported by: josh@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: pango

Description

When I try to build pango, I get this error:

info:build libtool: link: cannot find the library `/opt/local/lib/libpng14.la' or unhandled argument `/opt/local/lib/libpng14.la'

See attached build log.

Attachments (2)

pangomain.log (18.2 KB) - added by josh@… 12 years ago.
pango-main.log.clean.txt (255.1 KB) - added by josh@… 12 years ago.
log file after doing the three commands suggested by ciserlohn

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by josh@…

Attachment: pangomain.log added

comment:1 Changed 12 years ago by ci42

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

This was not a clean attempt. Please try again and attach the log file if it fails:

$ sudo port selfupdate
$ sudo port clean pango
$ sudo port install pango

The problem with libpng should have been fixed in r97306.

In the future please remember to cc the maintainer.

comment:2 Changed 12 years ago by josh@…

Still fails, with the same error. Attached the new log file. Thanks for the reminder about Ccing the maintainer, and thanks for doing it for me (well, setting the owner appropriately instead) this time.

Last edited 12 years ago by josh@… (previous) (diff)

Changed 12 years ago by josh@…

Attachment: pango-main.log.clean.txt added

log file after doing the three commands suggested by ciserlohn

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

I believe that some dependency of pango (not pango itself) needs to be rebuilt to learn about libpng 1.5. Do you have any other outdated ports shown by "port outdated"? If so, "sudo port upgrade" some other ports first, then come back to pango later.

comment:4 Changed 12 years ago by josh@…

Ryan - Thank you, that fixed it.

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

I don't suppose you have any idea which package was causing the problem? Which ports did you have to upgrade?

comment:6 Changed 12 years ago by josh@…

I deleted MacPorts and started over. :-)

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

Resolution: worksforme
Status: newclosed

That would do it. Unfortunately it gets us no closer to figuring out how we can prevent other users from experiencing the same problem. If anyone has further information on that, feel free to re-open.

Note: See TracTickets for help on using tickets.