From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 1 23:00:22 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 A62FE1065674 for ; Thu, 1 Sep 2011 23:00:22 +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 8018A8FC13 for ; Thu, 1 Sep 2011 23:00:22 +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 p81N0Mgt057326 for ; Thu, 1 Sep 2011 23:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p81N0M7d057325; Thu, 1 Sep 2011 23:00:22 GMT (envelope-from gnats) Resent-Date: Thu, 1 Sep 2011 23:00:22 GMT Resent-Message-Id: <201109012300.p81N0M7d057325@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 288B3106564A for ; Thu, 1 Sep 2011 22:56:05 +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 168838FC13 for ; Thu, 1 Sep 2011 22:56:05 +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 p81Mu47A086989 for ; Thu, 1 Sep 2011 22:56:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p81Mu48K086988; Thu, 1 Sep 2011 22:56:04 GMT (envelope-from nobody) Message-Id: <201109012256.p81Mu48K086988@red.freebsd.org> Date: Thu, 1 Sep 2011 22:56:04 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160378: x11-toolkits/py-wxPython28-common: CLANG compilation fails with error! 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: Thu, 01 Sep 2011 23:00:22 -0000 >Number: 160378 >Category: ports >Synopsis: x11-toolkits/py-wxPython28-common: CLANG compilation fails with error! >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: Thu Sep 01 23:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD 9.0-BETA2/amd64 (clang compiled) >Organization: FU Berlin >Environment: >Description: Compiling port x11-toolkits/py-wxPython28-common fails with the following error: In file included from src/helpers.cpp:15: 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 ^ src/helpers.cpp:510:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* sysargv = PySys_GetObject("argv"); ^ src/helpers.cpp:511:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* executable = PySys_GetObject("executable"); ^ src/helpers.cpp:734:45: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] wxPyAssertionError = PyErr_NewException("wx._core.PyAssertionError", ^ src/helpers.cpp:739:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] wxPyNoAppError = PyErr_NewException("wx._core.PyNoAppError", ^ src/helpers.cpp:903:61: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* rv = PyObject_CallMethod(self->m_obj, "__del__", NULL); ^ src/helpers.cpp:1383:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* read = wxPyGetMethod(py, "read"); ^ src/helpers.cpp:1384:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* seek = wxPyGetMethod(py, "seek"); ^ src/helpers.cpp:1385:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* tell = wxPyGetMethod(py, "tell"); ^ src/helpers.cpp:1465:5: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Warray-bounds] PyTuple_SET_ITEM(arglist, 1, PyInt_FromLong(mode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/tupleobject.h:54:37: note: expanded from: #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v) ^ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:1578:41: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* write = wxPyGetMethod(py, "write"); ^ src/helpers.cpp:1579:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* seek = wxPyGetMethod(py, "seek"); ^ src/helpers.cpp:1580:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] PyObject* tell = wxPyGetMethod(py, "tell"); ^ src/helpers.cpp:1653:5: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-War PyTuple_SET_ITEM(arglist, 1, PyInt_FromLong(mode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/tupleobject.h:54:37: note: expanded from: #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item[i] = v) ^ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:1781:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-str result = PyObject_CallMethod(arg, "GetSkipped", ""); ^ src/helpers.cpp:1781:61: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-str result = PyObject_CallMethod(arg, "GetSkipped", ""); ^ src/helpers.cpp:2452:18: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Wa o2 = PySequence_Fast_GET_ITEM(o, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:2510:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (*count < 0) { ~~~~~~ ^ ~ src/helpers.cpp:2535:18: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Wa o2 = PySequence_Fast_GET_ITEM(o, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:2722:14: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Wa o2 = PySequence_Fast_GET_ITEM(source, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:2749:14: warning: array index of '1' indexes past the end of an array (that contains 1 elements) [-Wa o2 = PySequence_Fast_GET_ITEM(source, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:2750:14: warning: array index of '2' indexes past the end of an array (that contains 1 elements) [-Wa o3 = PySequence_Fast_GET_ITEM(source, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ src/helpers.cpp:2751:14: warning: array index of '3' indexes past the end of an array (that contains 1 elements) [-Wa o4 = PySequence_Fast_GET_ITEM(source, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/python2.7/abstract.h:1168:49: note: expanded from: (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) ^ /usr/local/include/python2.7/tupleobject.h:50:34: note: expanded from: #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) ^ ~ /usr/local/include/python2.7/tupleobject.h:26:5: note: array 'ob_item' declared here PyObject *ob_item[1]; ^ 22 warnings and 1 error generated. error: command 'clang' failed with exit status 1 *** Error code 1 Stop in /usr/ports/x11-toolkits/py-wxPython28-common. ===>>> make failed for x11-toolkits/py-wxPython28-common ===>>> Aborting update ===>>> Update for x11-toolkits/py-wxPython28-common failed ===>>> Aborting update Terminated >How-To-Repeat: Try compiling x11-toolkits/py-wxPython28-common with clang. >Fix: >Release-Note: >Audit-Trail: >Unformatted: