Ticket #15162 (closed update: fixed)
libpng 1.2.29
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | waqar@… | |
| Port: |
Description
The libpng port is at version 1.2.26 and works fine. Livecheck informs me that version 1.2.27 has been released, but it won't compile (on Mac OS X 10.4.11 PPC at least):
Error: Target org.macports.build returned: shell command " cd "/macports/var/macports/build/_Volumes_data_macports_ports_graphics_libpng/work/libpng-1.2.27" && make all " returned error 2 Command output: make all-am /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -I/macports/include -O2 -MT libpng12_la-png.lo -MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f 'png.c' || echo './'`png.c ./libtool: line 1: X--tag=CC: command not found ./libtool: line 869: libtool: ignoring unknown tag : command not found ./libtool: line 1: X--mode=compile: command not found ./libtool: line 1002: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1003: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1033: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7120: libtool: you must specify a MODE: command not found ./libtool: line 7121: Try `libtool --help' for more information.: command not found make[1]: *** [libpng12_la-png.lo] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for libpng): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Similar stuff is happening to non-Mac users too; see their bug report on SourceForge.
This MacPorts ticket is to document the fact that we know a new version is available and to explain why we can't update to it at this time. If a patch emerges to let us install 1.2.27 we'll use that, or if 1.2.28 is released we'll update to that.
Attachments
Change History
comment:2 Changed 5 years ago by afb@…
Does it build OK with configure.cc=gcc ? (instead of /usr/bin/gcc-4.0)
autogen.sh should be the way to go otherwise (run in the pre-configure)
comment:3 Changed 5 years ago by ryandesign@…
- Summary changed from libpng 1.2.28 to libpng 1.2.29
1.2.29beta03 and 1.2.29rc01 build fine with no additional changes to the port. So hopefully we can update to 1.2.29 when it's released.


libpng 1.2.28 has been released but does not fix this issue for me.