Opened 12 years ago
Closed 12 years ago
#35945 closed defect (fixed)
pgplot @5.2.2 build failure with libpng 1.5
Reported by: | jdswinbank (John Swinbank) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ryandesign (Ryan Carsten Schmidt) |
Port: | pgplot |
Description
The relevant part of the log is:
/usr/bin/clang -c -I/opt/local/include -DPG_PPU -I/opt/local/include -O2 -I. -I/opt/local/include -DPG_PPU -I/opt/local/include -F/opt/local/Library/Frameworks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_pgplot/pgplot/work/pgplot/drivers/pndriv.c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_pgplot/pgplot/work/pgplot/drivers/pndriv.c:225:21: error: incomplete definition of type 'struct png_struct_def' if (setjmp(png_ptr->jmpbuf)) { /* not really sure what I'm doing here... */ ~~~~~~~^ /opt/local/include/png.h:854:16: note: forward declaration of 'struct png_struct_def' typedef struct png_struct_def png_struct; ^ 1 error generated. make: *** [pndriv.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_pgplot/pgplot/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_pgplot/pgplot/work/build" && /usr/bin/make -w all cpg pgplot.html pgplot-routines.tex Exit code: 2 Error: org.macports.build for port pgplot returned: command execution failed
Full log attached.
This seems to be due to the recent upgrade of libpng to version 1.5. There's a patch at http://www.pkgbuild.com/~ioni/libpng-1.5/pgplot-libpng15.patch which should do the trick. I'm not sure what the correct attribution for that patch is, though -- it looks like http://www.pkgbuild.com/ is associated with Arch Linux, but nobody is directly claiming credit.
Attachments (1)
Change History (2)
Changed 12 years ago by jdswinbank (John Swinbank)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | pgplot @5.2.2 build failure → pgplot @5.2.2 build failure with libpng 1.5 |
Note: See
TracTickets for help on using
tickets.
Thanks; r97341.