povray upgrade fails
Today after doing 'port selfupdate' I ran 'port upgrade outdated'. The latter aborted after: --- Fetching archive for povray --- Attempting to fetch povray-3.6.1_7.darwin_12.x86_64.tbz2 from http://packages.macports.org/povray --- Attempting to fetch povray-3.6.1_7.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/povray --- Fetching distfiles for povray --- Verifying checksum(s) for povray --- Extracting povray --- Applying patches to povray --- Configuring povray --- Building povray Error: org.macports.build for port povray returned: command execution failed Please see the log file for port povray for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_povray/povray/main.log Error: Unable to upgrade port: 1 In the log, aside from many deprecated warnings, the first error listed is: :info:build png_pov.cpp:170:19: error: member access into incomplete type 'png_struct' (aka 'png_struct_def') :info:build longjmp(png_ptr-jmpbuf,1); :info:build ^ There were numerous other errors of the same kind. Before I file a bug report … Anybody have information or suggestions about this. --- Murray Eisenberg murrayeisenb...@gmail.com 80 Fearing Street phone 413 549-1020 (H) Amherst, MA 01002-1912 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: povray upgrade fails
:info:build png_pov.cpp:170:19: error: member access into incomplete type 'png_struct' (aka 'png_struct_def') :info:build longjmp(png_ptr-jmpbuf,1); :info:build ^ There were numerous other errors of the same kind. Before I file a bug report … Anybody have information or suggestions about this. That's due to the libpng API change recently; we'll need to update all the packages affected. Please feel free to make a ticket that lists any such ports with this problem. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: povray upgrade fails
On Sep 3, 2012, at 11:56, Jeremy Lavergne jer...@lavergne.gotdns.org wrote: That's due to the libpng API change recently; we'll need to update all the packages affected. Please feel free to make a ticket that lists any such ports with this problem. We would prefer a separate ticket for each affected port, since each affected port will need to be fixed individually, possibly by different maintainers. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: povray upgrade fails
On Sep 3, 2012, at 22:45, Jeremy Lavergne wrote: We would prefer a separate ticket for each affected port, since each affected port will need to be fixed individually, possibly by different maintainers. I don't think committing a revbump will harm anyone Sure but in the case of povray a mere revision increase isn't what's required; that was already done in r97300. Rather, this version of povray is simply incompatible with libpng 1.5. So someone needs to investigate whether a newer version of povray is available to which the port could be updated, or if there is a libpng 1.5 compatibility patch that could be applied. So as always it's good to have separate tickets for each separate issue that needs to be separately addressed. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: povray upgrade fails
I think imlib is also broken by the new libpng. (10.7.4, Xcode 4.1.1) The interesting part of the log: :info:build libtool: compile: /usr/bin/clang -DSYSTEM_IMRC=\/opt/local/etc/imrc\ -DIMLIB_LIB=\/opt/local/lib\ -DSYSCONFDIR=\/opt/local/etc\ -I. -I.. -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -arch i386 -c modules.c -fno-common -DPIC -o .libs/modules.o :info:build In file included from modules.c:36: :info:build ./io-png.c:43:21: error: incomplete definition of type 'struct png_struct_def' :info:build if (setjmp(png_ptr-jmpbuf)) :info:build ~~~^ :info:build /opt/local/include/png.h:854:16: note: forward declaration of 'struct png_struct_def' :info:build typedef struct png_struct_def png_struct; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:49:15: error: incomplete definition of type 'struct png_info_def' :info:build if (info_ptr-color_type == PNG_COLOR_TYPE_RGB_ALPHA) :info:build ^ :info:build /opt/local/include/png.h:727:16: note: forward declaration of 'struct png_info_def' :info:build typedef struct png_info_def png_info; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:278:21: error: incomplete definition of type 'struct png_struct_def' :info:build if (setjmp(png_ptr-jmpbuf)) :info:build ~~~^ :info:build /opt/local/include/png.h:854:16: note: forward declaration of 'struct png_struct_def' :info:build typedef struct png_struct_def png_struct; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:284:15: error: incomplete definition of type 'struct png_info_def' :info:build if (info_ptr-color_type == PNG_COLOR_TYPE_RGB_ALPHA) :info:build ^ :info:build /opt/local/include/png.h:727:16: note: forward declaration of 'struct png_info_def' :info:build typedef struct png_info_def png_info; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:443:20: error: incomplete definition of type 'struct png_struct_def' :info:build if (setjmp(png_ptr-jmpbuf)) :info:build~~~^ :info:build /opt/local/include/png.h:854:16: note: forward declaration of 'struct png_struct_def' :info:build typedef struct png_struct_def png_struct; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:449:14: error: incomplete definition of type 'struct png_info_def' :info:build if (info_ptr-color_type == PNG_COLOR_TYPE_RGB_ALPHA) :info:build ^ :info:build /opt/local/include/png.h:727:16: note: forward declaration of 'struct png_info_def' :info:build typedef struct png_info_def png_info; :info:build^ :info:build In file included from modules.c:36: :info:build ./io-png.c:638:22: error: incomplete definition of type 'struct png_struct_def' :info:build if (setjmp(png_ptr-jmpbuf)) :info:build ~~~^ :info:build /opt/local/include/png.h:854:16: note: forward declaration of 'struct png_struct_def' :info:build typedef struct png_struct_def png_struct; :info:build^ :info:build In file included from modules.c:37: :info:build ./io-bmp.c:59:47: warning: use of logical '' with constant operand [-Wconstant-logical-operand] :info:build if (bpp != 1 bpp != 4 bpp != 8 bpp 16 bpp != 24 bpp != 32) :info:build ^ ~~ :info:build ./io-bmp.c:59:47: note: use '' for a bitwise operation :info:build if (bpp != 1 bpp != 4 bpp != 8 bpp 16 bpp != 24 bpp != 32) :info:build ^~ :info:build :info:build ./io-bmp.c:59:47: note: remove constant to silence this warning :info:build if (bpp != 1 bpp != 4 bpp != 8 bpp 16 bpp != 24 bpp != 32) :info:build ~^ :info:build In file included from modules.c:38: :info:build ./io-gif.c:46:4: warning: implicit declaration of function 'PrintGifError' is invalid in C99 [-Wimplicit-function-declaration] :info:build PrintGifError(); :info:build ^ :info:build In file included from modules.c:43: :info:build ./io-xpm.c:130:17: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build strncpy(cmap[j].str, line, cpp); :info:build ^~~ :info:build /usr/include/secure/_string.h:124:31: note:
Re: povray upgrade fails
On Sep 3, 2012, at 23:42, Richard L. Hamilton wrote: I think imlib is also broken by the new libpng. (10.7.4, Xcode 4.1.1) The interesting part of the log: I agree. Would you please file a bug report in the issue tracker? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users