Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 20:08:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231466] databases/clickhouse: compile error: typedef redefinition
Message-ID:  <bug-231466-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231466

            Bug ID: 231466
           Summary: databases/clickhouse: compile error: typedef
                    redefinition
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: iron.udjin@gmail.com
                CC: proler@gmail.com
             Flags: maintainer-feedback?(proler@gmail.com)
                CC: proler@gmail.com

FreeBSD 11.2-STABLE r338734

I'm trying to build clickhouse-18.12.17:

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.=



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