From nobody@FreeBSD.org  Mon May 19 10:05:48 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D3D95598
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 10:05:48 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id C17F927F8
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 10:05:48 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4JA5lAg069740
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 10:05:47 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4JA5lag069739;
	Mon, 19 May 2014 10:05:47 GMT
	(envelope-from nobody)
Message-Id: <201405191005.s4JA5lag069739@cgiserv.freebsd.org>
Date: Mon, 19 May 2014 10:05:47 GMT
From: Frank <brfr@metrico.lu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/mapnik fails to build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: littlesavage@rambler.ru

>Number:         189943
>Category:       ports
>Synopsis:       graphics/mapnik fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 10:10:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Tue May 20 14:10:01 UTC 2014
>Originator:     Frank
>Release:        9.2-RELEASE-p6
>Organization:
>Environment:
FreeBSD frodo.metrico 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue May 13 08:21:53 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
graphics/mapnik fails to build. This seems related to the agg library:

c++ -o plugins/input/ogr.input -L/usr/local/lib -shared plugins/input/ogr/ogr_converter.os plugins/input/ogr/ogr_datasource.os plugins/input/ogr/ogr_featureset.os plugins/input/ogr/ogr_index_featureset.os -Ldeps/agg -Lsrc -L/usr/local/lib -L/usr/lib -lgdal -lmapnik -licuuc -lboost_system
src/libmapnik.so: undefined reference to `agg::comp_op_rgba_saturation<agg::rgba8, agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
src/libmapnik.so: undefined reference to `agg::comp_op_rgba_value<agg::rgba8, agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
src/libmapnik.so: undefined reference to `agg::comp_op_rgba_hue<agg::rgba8, agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
src/libmapnik.so: undefined reference to `agg::comp_op_rgba_color<agg::rgba8, agg::order_rgba>::blend_pix(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
scons: *** [demo/c++/rundemo] Error 1
scons: building terminated because of errors.

running (notice the option -lagg):
c++ -o plugins/input/ogr.input -L/usr/local/lib -shared
plugins/input/ogr/ogr_converter.os plugins/input/ogr/ogr_datasource.os
plugins/input/ogr/ogr_featureset.os
plugins/input/ogr/ogr_index_featureset.os -Ldeps/agg -Lsrc
-L/usr/local/lib -L/usr/lib -lgdal -lmapnik -licuuc -lboost_system
-lagg 
yields no error ...
>How-To-Repeat:
cd /usr/ports/graphics/mapnik && make
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon May 19 10:10:03 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189943 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: littlesavage@rambler.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/189943: graphics/mapnik fails to build
Date: Mon, 19 May 2014 10:10:02 UT

 Maintainer of graphics/mapnik,
 
 Please note that PR ports/189943 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189943
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/189943: graphics/mapnik fails to build
Date: Tue, 20 May 2014 09:05:05 -0500

 ----- Forwarded message from Frank Broniewski <brfr@metrico.lu> -----
 
 Date: Tue, 20 May 2014 15:10:09 +0200
 From: Frank Broniewski <brfr@metrico.lu>
 To: freebsd-ports-bugs@freebsd.org
 Subject: Re: ports/189943: graphics/mapnik fails to build
 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
 
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Don't know if this is the right place to contribute to, but if you
 build mapnik from source this doesn't happen:
 
 > git clone https://github.com/mapnik/mapnik.git cd mapnik git
 > checkout v2.2.0 ./configure
 > LINK_PRIORITY=system,internal,other,frameworks,user python
 > scons/scons.py install
 
 does the trick for me. I am not sure if the LINK_PRIORITY must be
 really set though ...
 
 Frank
 
 - -- 
 Frank BRONIEWSKI
 
 METRICO s. r.l.
 gomtres
 technologies d'information gographique
 rue des Romains 36
 L-5433 NIEDERDONVEN
 
 tl.: +352 26 74 94 - 28
 fax.: +352 26 74 94 99
 http://www.metrico.lu
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iQEcBAEBAgAGBQJTe1QQAAoJEHopqW0d1cQVl7wIAJ0Xj6/PM+CheduRhJ68Pqbj
 xZ9ACCFgw2fxQzmig+0nGmh2ap43myrMfTR3YztjGAqYRZ6/mHX+2d0dXjMEVUe0
 EQaABLpXLhNX59MtquCEar6Jk3sMhan5j4wdFHWABX7+Xn90u49RsFaQPAcgYrK1
 AzY3bfyqY8m2mYBm2vfcDBJoKaqErjObfTNUOgcjLnSxlkh4cIOJsxQGue+zhIl7
 QJN7zkjgiZdQTVr38aEVaBAsxD4U45VBgG6RsaMOBfO9louXNamNxp4nAdGyufC2
 FsFiIxis3Mrx6vala4xjlmdaSdyozIH8KoqZQB8DDfekkiWBPTvsN3+UYQ1T4oI=
 =tU2D
 -----END PGP SIGNATURE-----
 
 ----- End forwarded message -----
>Unformatted:
