Opened 14 years ago

Closed 13 years ago

#28190 closed defect (worksforme)

pidgin: /opt/local/lib/libpng12.la: No such file or directory

Reported by: sgaviria@… Owned by: nefar@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: png Cc: ryandesign (Ryan Carsten Schmidt)
Port: pidgin

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I updated macport (selfupdate) in order to grab higher version of pidgin, however building is broken:

$ sudo port install pidgin
....
--->  Computing dependencies for pidgin
--->  Building pidgin
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Status 1 encountered during processing.

Here's what I see in the logs:

:info:build Making all in gestures
:info:build   CCLD   gestures.la
:info:build grep: /opt/local/lib/libpng12.la: No such file or directory
:info:build sed: /opt/local/lib/libpng12.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
:info:build make[4]: *** [gestures.la] Error 1
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_pidgin/work/pidgin-2.7.9" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"

Looks related to libpng version:

$ ls /opt/local/lib/libpng
libpng.a           libpng.dylib       libpng.la          libpng14.14.dylib  libpng14.a         
libpng14.dylib     libpng14.la 

Change History (3)

comment:1 Changed 14 years ago by sgaviria@…

Forgot to mention I'm on 10.6.6

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: png added; pidgin removed
Owner: changed from macports-tickets@… to nefar@…
Summary: unable to build pidgin after selfupdatepidgin: /opt/local/lib/libpng12.la: No such file or directory

Many ports need to be rebuilt following the upgrade to libpng 1.4. Please use "port outdated" to see what they are, and try updating them. If you run into errors, skip those ports and come back to them later. Because libpng is such a ubiquitous library, not all ports that use it are actually declaring dependencies on it, which can cause MacPorts to not necessarily upgrade everything in the correct order on its own.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Closing; there's nothing that can be done here without knowing which port was actually referencing libpng12 (and it's probably fixed by now anyway).

Note: See TracTickets for help on using tickets.