Opened 13 years ago
Closed 13 years ago
#29831 closed defect (worksforme)
libglade2 build failure: /opt/local/lib/libpng12.la reference
Reported by: | tun.buynsell@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | libglade2 |
Description
I am trying to install libglade 2 on my MBP Snow Leopard 10.6.7 by using:
sudo port libglade2
This gives me this error message:
: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[2]: *** [libglade-2.0.la] 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_gnome_libglade2/work/libglade-2.6.4" && /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" :info:build Warning: the following items did not execute (for libglade2): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install libglade2 :notice:build Log for libglade2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libglade2/main.log
Attached is the full main.log file. Any clue as to how to go about fixing this problem?
Attachments (2)
Change History (6)
Changed 13 years ago by tun.buynsell@…
comment:1 Changed 13 years ago by jmroot (Joshua Root)
Summary: | libglade 2: the following items did not execute (for libglade2): org.macports.activate org.macports.build org.macports.destroot org.macports.install → libglade2 build failure: /opt/local/lib/libpng12.la reference |
---|
I thought we incremented the revision on everything referencing libpng12 quite a while ago, so first you should check that you don't have any outdated ports and upgrade them if you do. Then clean libglade2 and try again.
If it still doesn't work, then either we missed something, or you've been upgrading things in the wrong order by using -n or -R. Either way, run the attached script to see what is referring to the old libpng version.
Changed 13 years ago by jmroot (Joshua Root)
Attachment: | search-libpng12.sh added |
---|
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:3 Changed 13 years ago by tun.buynsell@…
Thanks for the script, that helps out quite a bit!
In short: after all the updating, the script still states that my gdk-pixbuf2 and gtk2 are still referencing libpng12.
In more details: I did:
sudo port selfupdate
and
sudo port upgrade outdated
since you suggested me to check any outdated ports and did upgrades on them.
Along with that ran the search-libpng12.sh script that you attached and it spew out that my: cairo, gdk-pixbuf2, gtk2, and pango are the ones that still referencing libpng2. So I reinstalled all these ports. After reinstalling, I ran the script again and it still says that the gdk-pixbuf2 and gtk2 has dependancy on libpng12.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Let us know if you figure out exactly how this happened, but all of those ports have been updated multiple times since libpng14, so I don't think there's really anything more we could do.
main.log file for libglade2