Opened 13 years ago
Closed 13 years ago
#30651 closed defect (worksforme)
py27-gtk: /opt/local/lib/libpng12.la: No such file or directory
Reported by: | pablo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | png | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | py27-gtk |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
sudo port upgrade outdated ---> Computing dependencies for freetype ---> Fetching archive for freetype ---> Attempting to fetch freetype-2.4.6_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/freetype ---> Attempting to fetch freetype-2.4.6_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/freetype ---> Installing freetype @2.4.6_0 ---> Cleaning freetype ---> Computing dependencies for freetype ---> Deactivating freetype @2.4.5_1 ---> Cleaning freetype ---> Activating freetype @2.4.6_0 ---> Cleaning freetype ---> Computing dependencies for py27-gtk ---> Building py27-gtk Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-gtk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/main.log Error: Problem while installing py27-gtk To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (2)
Change History (11)
Changed 13 years ago by pablo@…
Attachment: | py27-gtk.log added |
---|
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | png added |
Milestone: | MacPorts 2.0.2 |
Port: | py27-gtk added |
Summary: | Error: Problem while installing py27-gtk → py27-gtk: /opt/local/lib/libpng12.la: No such file or directory |
Please use WikiFormatting and preview before submitting, fill in the Port field, and do not fill in the Milestone field for port tickets.
The log says:
: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
libpng was updated from 1.2.x to 1.4.x months ago so this should not be happening if your ports are up to date. This build is also not clean. Please clean and try again.
sudo port clean py27-gtk
comment:2 Changed 13 years ago by pablo@…
Executed clean command
sudo port clean py27-gtk Password: ---> Cleaning py27-gtk
Executed sudo port upgrade outdate but similar issue again.
>:~$ sudo port upgrade outdated ---> Computing dependencies for py27-gtk ---> Fetching archive for py27-gtk ---> Attempting to fetch py27-gtk-2.22.0_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/py27-gtk ---> Fetching py27-gtk ---> Verifying checksum(s) for py27-gtk ---> Extracting py27-gtk ---> Configuring py27-gtk ---> Building py27-gtk Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-gtk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/main.log Error: Problem while installing py27-gtk To report a bug, see <http://guide.macports.org/#project.tickets>
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
And the new main.log still mentions libpng12?
What other ports are outdated? Try upgrading some of the other outdated ports first. Sounds like there may be an undeclared dependency somewhere in py27-gtk's dependency chain.
comment:4 Changed 13 years ago by pablo@…
>:~$ sudo port list outdated avahi @0.6.30 net/avahi
>:~$ sudo port upgrade avahi ---> Computing dependencies for py27-gtk ---> Building py27-gtk Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-gtk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-gtk/py27-gtk/main.log Error: Problem while installing py27-gtk To report a bug, see <http://guide.macports.org/#project.tickets> >:~$
From the main.log file
:info:build ln: _gtk.so: File exists :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[2]: *** [glade.la] Error 1
I have executed clean but still same error.
>:~$ sudo port clean avahi ---> Cleaning avahi
Thanks for your help
comment:5 Changed 13 years ago by ak.ml@…
You have ports with *.la
files which refer to the old /opt/local/lib/libpng12.la
.
These ports need to be upgraded or rebuilt (if not scheduled for upgrade) before py27-gtk.
This will list problematic *.la files:
find /opt/local/lib -type f -name '*.la' \ | xargs egrep --files-with-matches -e '/opt/local/lib/libpng12\.la'
This will list the ports needing upgrade/rebuild prior to py27-gtk:
find /opt/local/lib -type f -name '*.la' \ | xargs egrep --files-with-matches -e '/opt/local/lib/libpng12\.la' \ | xargs port provides \ | sed -e 's,^.* is provided by: ,,;' \ | sort \ | uniq
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to pablo@…:
>:~$ sudo port list outdated avahi @0.6.30 net/avahi
Note that port list probably doesn't do what you think it does.
Replying to pablo@…:
Thanks. It worked.
What port(s) did you need to rebuild?
comment:8 Changed 13 years ago by pablo@…
find /opt/local/lib -type f -name '*.la' \ > | xargs egrep --files-with-matches -e '/opt/local/lib/libpng12\.la' \ > | xargs port provides \ > | sed -e 's,^.* is provided by: ,,;' \ > | sort \ > | uniq gdk-pixbuf2 libglade2
I started with gdk-pixbuf2
port -nR upgrade --force gdk-pixbuf2
Then I checked again for outdated and nothing came up
$sudo port upgrade outdated Password: Error: No ports matched the given expression
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
main log