Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 09:05:41 GMT
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189940: graphics/mapserver: Python bindings or support error
Message-ID:  <201405190905.s4J95fNV064500@cgiserv.freebsd.org>
Resent-Message-ID: <201405190910.s4J9A0Ia034173@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189940
>Category:       ports
>Synopsis:       graphics/mapserver: Python bindings or support error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 09:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Julien Cigar
>Release:        10.0-RELEASE
>Organization:
Belgian Biodiversity Platform
>Environment:
FreeBSD dev 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0 r264316: Thu Apr 10 17:09:52 CEST 2014     root@dev:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
(...)

Linking C executable sortshp
[ 97%] Built target sortshp
Scanning dependencies of target tile4ms
[ 98%] Building C object CMakeFiles/tile4ms.dir/tile4ms.c.o
Linking C executable tile4ms
[ 98%] Built target tile4ms
[ 98%] Swig source
Scanning dependencies of target _pythonmapscript
[ 99%] Building C object mapscript/python/CMakeFiles/_pythonmapscript.dir/__/mapscriptPYTHON_wrap.c.o
/usr/ports/graphics/mapserver/work/mapserver-6.4.0/mapscript/python/../mapscriptPYTHON_wrap.c:49671:13: warning: incompatible pointer types passing 'void (int)' to parameter of type 'void (*)(void)' [-Wincompatible-pointer-types]
  Py_AtExit(msCleanup);
            ^~~~~~~~~
/usr/local/include/python2.7/pythonrun.h:74:34: note: passing argument to parameter 'func' here
PyAPI_FUNC(int) Py_AtExit(void (*func)(void));
                                 ^
1 warning generated.
[100%] Building C object mapscript/python/CMakeFiles/_pythonmapscript.dir/pygdioctx/pygdioctx.c.o
Linking C shared module _mapscript.so
[100%] Built target _pythonmapscript
===>  Staging for mapserver-6.4.0_3
===>   mapserver-6.4.0_3 depends on file: /usr/local/bin/python2.7 - found
===>   mapserver-6.4.0_3 depends on executable: python2 - found
===>   mapserver-6.4.0_3 depends on file: /usr/local/sbin/apxs - found
===>   Generating temporary packing list
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/legend /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/scalebar /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/shp2img /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/shptree /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/shptreetst /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/shptreevis /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/sortshp /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/msencrypt /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/tile4ms /usr/ports/graphics/mapserver/work/stage/usr/local/bin
install  -s -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/libmapserver.so.6.4.0 /usr/ports/graphics/mapserver/work/stage/usr/local/lib
/bin/mkdir -p /usr/ports/graphics/mapserver/work/stage/usr/local/www/apache24/cgi-bin/
install  -o root -g wheel -m 555 /usr/ports/graphics/mapserver/work/mapserver-6.4.0/mapserv /usr/ports/graphics/mapserver/work/stage/usr/local/www/apache24/cgi-bin/mapserv
(cd /usr/ports/graphics/mapserver/work/mapserver-6.4.0/mapscript/python && /bin/cp mapscript.py _mapscript.so /usr/ports/graphics/mapserver/work/stage/usr/local/lib/python2.7/site-packages/)
cp: /usr/ports/graphics/mapserver/work/stage/usr/local/lib/python2.7/site-packages is not a directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/mapserver
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mapserver

===>>> make failed for graphics/mapserver
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/mapserver 

===>>> Exiting
[1] jcigar@dev>
>How-To-Repeat:
build with PYTHON=on

I build the port with:

===> The following configuration options are available for mapserver-6.4.0_3:
     CAIRO=on: Cairo graphics library support
     CAIRO_SVG=off: Cairo SVG parser support
     CURL=on: Data transfer support via cURL
     DEBUG=off: Build with debugging support
     FASTCGI=on: FastCGI support
     FRIBIDI=on: Fribidi library support
     GDAL=on: GDAL library support
     GEOS=on: GEOS support
     KML=on: KML support
     MAPSERV=on: Mapserv cgi interface support
     PERL=off: Perl scripting language support
     PHP=off: PHP bindings or support
     POSTGIS=on: PostGIS support
     PYTHON=on: Python bindings or support
     WCS=on: WCS Server support
     WFS=on: WFS Server support
     WMS=on: WMS Server support
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405190905.s4J95fNV064500>