Bug 148834 - graphics/mapserver - PDF support causes mapserver to crash when opening PNG files
Summary: graphics/mapserver - PDF support causes mapserver to crash when opening PNG f...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 07:50 UTC by tom
Modified: 2010-11-05 03:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom 2010-07-22 07:50:01 UTC
The mapserver port makefile has a config knob "[ ] PDF      Support for PDF output via pdflib"

If built with this option enabled, the mapserver applications will crash any time they attempt to open a PNG file.

This appears to be caused by conflicts between pdflib's builtin PNG library and /usr/local/lib/libpng.so.6 which is loaded by the mapserver programs. In any case, building w/o the PDF knob checked solves the problem.

How-To-Repeat: % cd /usr/ports/graphics/mapserver
% make config

[check the option for Support for PDF output via pdflib]

% make all

% cd /usr/ports/graphics/mapserver/work/mapserver-5.6.4
% ./shp2img -m tests/test.map -o test.png

the above is the test suggested in tests/README
[watch it fail]
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-07-22 07:50:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-11-05 02:51:36 UTC
wen         2010-11-05 02:51:32 UTC

  FreeBSD ports repository

  Modified files:
    graphics/mapserver   Makefile distinfo 
  Log:
  - Fix the build with PDF support.
  
  PR:             ports/148834
  Reported by:    Tom Uffner <tom@uffner.com>
  
  Revision  Changes    Path
  1.48      +5 -2      ports/graphics/mapserver/Makefile
  1.17      +0 -1      ports/graphics/mapserver/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Wen Heping freebsd_committer freebsd_triage 2010-11-05 02:52:44 UTC
State Changed
From-To: open->closed

Fixed.