From owner-freebsd-ports-bugs@freebsd.org Wed Sep 19 06:24:35 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D26D21090EC9 for ; Wed, 19 Sep 2018 06:24:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4FC72D48 for ; Wed, 19 Sep 2018 06:24:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2CF8E1090EC8; Wed, 19 Sep 2018 06:24:34 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B0241090EC7 for ; Wed, 19 Sep 2018 06:24:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DE0972D46 for ; Wed, 19 Sep 2018 06:24:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CFAE7245ED for ; Wed, 19 Sep 2018 06:24:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8J6OWAa029564 for ; Wed, 19 Sep 2018 06:24:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8J6OWg9029558 for ports-bugs@FreeBSD.org; Wed, 19 Sep 2018 06:24:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 231466] databases/clickhouse: compile error: typedef redefinition Date: Wed, 19 Sep 2018 06:24:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iron.udjin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 06:24:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231466 --- Comment #6 from iron.udjin@gmail.com --- With this patch: FAILED: dbms/CMakeFiles/clickhouse_common_io.dir/src/Common/getNumberOfPhysicalCPUC= ores.cpp.o=20 /usr/bin/c++ -DCLOCK_MONOTONIC_COARSE=3DCLOCK_MONOTONIC_FAST -Ilibs/libcommon/include -Idbms/src -Icontrib/cityhash102/include -Ilibs/libpocoext/include -isystem /usr/local/include -isystem contrib/libpcg-random/include -isystem contrib/libcpuid/include -O2 -pipe -= O2 -pipe -march=3Dnative -mtune=3Dnative -march=3Dnative -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG -fdiagnostics-color=3Dalways -pipe -msse4.1 -msse4.2 -mpopcnt=20 -fno-omit-frame-pointer -Wall -Wno-unused-command-line-argument=20 -Wnon-virtual-dtor -Wextra -Wextra-semi -Wcomma -Winconsistent-missing-destructor-override -Wunused-exception-parameter -Wshadow-uncaptured-local -Wredundant-parens -Wzero-as-null-pointer-constant -O2 -pipe -O2 -pipe -march=3Dnative -mtune=3Dnative -march=3Dnative -DLIBIC= ONV_PLUG -fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG -fPIC -std=3Dc++1= 7 -MD -MT dbms/CMakeFiles/clickhouse_common_io.dir/src/Common/getNumberOfPhysicalCPUC= ores.cpp.o -MF dbms/CMakeFiles/clickhouse_common_io.dir/src/Common/getNumberOfPhysicalCPUC= ores.cpp.o.d -o dbms/CMakeFiles/clickhouse_common_io.dir/src/Common/getNumberOfPhysicalCPUC= ores.cpp.o -c dbms/src/Common/getNumberOfPhysicalCPUCores.cpp In file included from dbms/src/Common/getNumberOfPhysicalCPUCores.cpp:6: In file included from /usr/local/include/libcpuid/libcpuid.h:88: /usr/local/include/libcpuid/libcpuid_types.h:61:29: error: typedef redefini= tion with different types ('long long' vs '__int64_t' (aka 'long')) typedef signed long long int64_t; ^ /usr/include/sys/_stdint.h:49:20: note: previous definition is here typedef __int64_t int64_t; ^ In file included from dbms/src/Common/getNumberOfPhysicalCPUCores.cpp:6: In file included from /usr/local/include/libcpuid/libcpuid.h:88: /usr/local/include/libcpuid/libcpuid_types.h:62:29: error: typedef redefini= tion with different types ('unsigned long long' vs '__uint64_t' (aka 'unsigned long')) typedef unsigned long long uint64_t; ^ /usr/include/sys/endian.h:52:20: note: previous definition is here typedef __uint64_t uint64_t; ^ 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=