From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 2 21:30:13 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80A931065674 for ; Fri, 2 Sep 2011 21:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57E0C8FC13 for ; Fri, 2 Sep 2011 21:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p82LUDPP040215 for ; Fri, 2 Sep 2011 21:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p82LUDQA040213; Fri, 2 Sep 2011 21:30:13 GMT (envelope-from gnats) Resent-Date: Fri, 2 Sep 2011 21:30:13 GMT Resent-Message-Id: <201109022130.p82LUDQA040213@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hartmann@FreeBSD.org, "O." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35AAC106566C for ; Fri, 2 Sep 2011 21:23:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1AFA98FC0C for ; Fri, 2 Sep 2011 21:23:01 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p82LN0Pb050718 for ; Fri, 2 Sep 2011 21:23:00 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p82LN0xn050713; Fri, 2 Sep 2011 21:23:00 GMT (envelope-from nobody) Message-Id: <201109022123.p82LN0xn050713@red.freebsd.org> Date: Fri, 2 Sep 2011 21:23:00 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160408: graphics/gdal: error: command '/bin/sh' failed with exit status 1. Does not compile with CLANG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 21:30:13 -0000 >Number: 160408 >Category: ports >Synopsis: graphics/gdal: error: command '/bin/sh' failed with exit status 1. Does not compile with CLANG >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 02 21:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 9.0-BETA2/amd64 >Organization: FU Berlin >Environment: >Description: Compiling port graphics/gdal results in the follwoing error: running build_ext building 'osgeo._gdal' extension creating temp.freebsd-9.0-BETA2-amd64-2.7 creating temp.freebsd-9.0-BETA2-amd64-2.7/extensions /bin/sh /usr/local/bin/libtool --mode=compile --tag=CC clang -DNDEBUG -O2 -fno-strict-aliasing -pipe -mtune=native -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O3 -fno-strict-aliasing -pipe -march=native -Wall -Wdeclaration-after-statement -DOGR_ENABLED -I/usr/local/include -I/usr/ports/graphics/gdal/work/gdal-1.8.1/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr -I/usr/include -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/ports/graphics/gdal/work/gdal-1.8.1/include -c extensions/gdal_wrap.cpp -o temp.freebsd-9.0-BETA2-amd64-2.7/extensions/gdal_wrap.o libtool: compile: clang -DNDEBUG -O2 -fno-strict-aliasing -pipe -mtune=native -march=native -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O3 -fno-strict-aliasing -pipe -march=native -Wall -Wdeclaration-after-statement -DOGR_ENABLED -I/usr/local/include -I/usr/ports/graphics/gdal/work/gdal-1.8.1/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr -I/usr/include -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7 -I/usr/local/lib/python2.7/site-packages/numpy/core/include -I/usr/ports/graphics/gdal/work/gdal-1.8.1/include -c extensions/gdal_wrap.cpp -fPIC -DPIC -o temp.freebsd-9.0-BETA2-amd64-2.7/extensions/.libs/gdal_wrap.o In file included from extensions/gdal_wrap.cpp:149: In file included from /usr/local/include/python2.7/Python.h:33: In file included from /usr/include/stdio.h:41: /usr/include/sys/_types.h:90:21: error: cannot combine with previous 'type-name' declaration specifier typedef __ct_rune_t __wchar_t; /* wchar_t (see above) */ ^ :2:19: note: expanded from: #define __wchar_t wchar_t ^ extensions/gdal_wrap.cpp:2226:11: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] res = SWIG_AddCast(res); ~~~ ^ ~~~ extensions/gdal_wrap.cpp:2229:11: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] res = SWIG_AddCast(res); ~~~ ^ ~~~ extensions/gdal_wrap.cpp:6701:31: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject *item_list = PyMapping_Items( obj1 ); ^ /usr/local/include/python2.7/abstract.h:1354:50: note: expanded from: #define PyMapping_Items(O) PyObject_CallMethod(O,"items",NULL) ^ extensions/gdal_wrap.cpp:20858:14: warning: explicitly assigning a variable of type 'void *' to itself [-Wself-assign] clientdata = clientdata; ~~~~~~~~~~ ^ ~~~~~~~~~~ 4 warnings and 1 error generated. error: command '/bin/sh' failed with exit status 1 gmake[2]: *** [build] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.8.1/swig/python' gmake[1]: *** [build] Error 2 gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.8.1/swig' gmake: *** [swig-modules] Error 2 *** Error code 1 Stop in /usr/ports/graphics/gdal. *** Error code 1 Stop in /usr/ports/graphics/gdal. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: