Opened 12 years ago

Closed 10 years ago

#36134 closed defect (fixed)

py26-mapnik @0.7.1_6+cairo+gdal+postgis+sqlite Build Failure

Reported by: Buadhai Owned by: dbsgeo@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt)
Port: py26-mapnik

Description

--->  Attempting to fetch py26-mapnik-0.7.1_7+cairo+gdal+postgis+sqlite.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/py26-mapnik
--->  Fetching distfiles for py26-mapnik
--->  Verifying checksum(s) for py26-mapnik
--->  Extracting py26-mapnik
--->  Applying patches to py26-mapnik
--->  Configuring py26-mapnik
--->  Building py26-mapnik
Error: org.macports.build for port py26-mapnik returned: command execution failed
Please see the log file for port py26-mapnik for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py26-mapnik/py26-mapnik/main.log
Error: Unable to upgrade port: 1

Attachments (1)

main.log (61.0 KB) - added by Buadhai 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by Buadhai

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to dbsgeo@…

In the future, please Cc the port maintainer(s).

comment:2 Changed 12 years ago by mf2k (Frank Schima)

The error appears to be related to the libpng 1.5 update.

:info:build src/png_reader.cpp: In function ‘void mapnik::png_read_data(png_struct*, png_byte*, png_size_t)’:
:info:build src/png_reader.cpp:85: error: invalid use of incomplete type ‘struct png_struct_def’
:info:build /opt/local/include/png.h:854: error: forward declaration of ‘struct png_struct_def’
:info:build src/png_reader.cpp: At global scope:
:info:build src/png_reader.cpp:65: warning: ‘mapnik::<unnamed>::registered’ defined but not used

comment:3 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

I think this is related to the +cairo variant specifically... I remember disabling just the +cairo variant and then having it work...

Last edited 10 years ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:5 Changed 10 years ago by petrrr

Can we close this? The port was touched various times since this ticket and we plan to discontinue this port.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

py26-mapnik has been replaced by mapnik, which is now at version 3.0.0-rc1 and builds fine.

Note: See TracTickets for help on using tickets.