From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 22 17:20:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 E87FD6BF for ; Sat, 22 Mar 2014 17:20:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C528F239 for ; Sat, 22 Mar 2014 17:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2MHK3Lw082805 for ; Sat, 22 Mar 2014 17:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2MHK3pY082804; Sat, 22 Mar 2014 17:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 22 Mar 2014 17:20:03 GMT Resent-Message-Id: <201403221720.s2MHK3pY082804@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, Adrià Garriga Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2B5A57E for ; Sat, 22 Mar 2014 17:18:02 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9363422A for ; Sat, 22 Mar 2014 17:18:02 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2MHI2Ot042656 for ; Sat, 22 Mar 2014 17:18:02 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2MHI2LB042653; Sat, 22 Mar 2014 17:18:02 GMT (envelope-from nobody) Message-Id: <201403221718.s2MHI2LB042653@cgiserv.freebsd.org> Date: Sat, 22 Mar 2014 17:18:02 GMT From: Adrià Garriga To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187843: devel/shiboken error: no member named 'tr1' in namespace 'std' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2014 17:20:04 -0000 >Number: 187843 >Category: ports >Synopsis: devel/shiboken error: no member named 'tr1' in namespace 'std' >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: Sat Mar 22 17:20:03 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Adrià Garriga >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD stone.info.gf 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Build of the devel/shiboken port fails with the following errors: /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/dense_hash_map:106:27: error: no member named 'tr1' in namespace 'std' class HashFcn = SPARSEHASH_HASH, // defined in sparseconfig.h ^~~~~~~~~~~~~~~ /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/sparsehash/sparseconfig.h:22:29: note: expanded from macro 'SPARSEHASH_HASH' #define SPARSEHASH_HASH HASH_NAMESPACE::hash ^~~~~~~~~~~~~~ /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/sparsehash/sparseconfig.h:20:33: note: expanded from macro 'HASH_NAMESPACE' #define HASH_NAMESPACE std::tr1 ~~~~~^ In file included from /usr/ports/devel/shiboken/work/shiboken-1.1.1/libshiboken/sbkconverter.cpp:26: /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/dense_hash_map:106:42: error: expected ',' or '>' in template-parameter-list class HashFcn = SPARSEHASH_HASH, // defined in sparseconfig.h ^ /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/dense_hash_map:106:47: error: expected unqualified-id class HashFcn = SPARSEHASH_HASH, // defined in sparseconfig.h ^ /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/dense_hash_map:303:1: error: 'inline' can only appear on functions inline void swap(dense_hash_map& hm1, ^ /usr/ports/devel/shiboken/work/shiboken-1.1.1/ext/sparsehash/google/dense_hash_map:303:13: error: variable 'swap' declared as a template >How-To-Repeat: cd /usr/ports/devel/shiboken make >Fix: change std::tr1 to std in ext/sparsehash/google/sparsehash/sparseconfig.h Patch attached with submission follows: *** sparseconfig.h 2014-03-22 18:07:37.535447633 +0100 --- sparseconfog.h 2014-03-22 18:15:53.037577794 +0100 *************** *** 17,23 **** /* the location of the header defining hash functions */ #define HASH_FUN_H /* the namespace of the hash<> function */ ! #define HASH_NAMESPACE std /* The system-provided hash function including the namespace. */ #define SPARSEHASH_HASH HASH_NAMESPACE::hash #endif --- 17,23 ---- /* the location of the header defining hash functions */ #define HASH_FUN_H /* the namespace of the hash<> function */ ! #define HASH_NAMESPACE std::tr1 /* The system-provided hash function including the namespace. */ #define SPARSEHASH_HASH HASH_NAMESPACE::hash #endif >Release-Note: >Audit-Trail: >Unformatted: