Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 20:08:09 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183760: databases/kyototycoon not built with clang
Message-ID:  <201311072008.rA7K89mr087871@oldred.freebsd.org>
Resent-Message-ID: <201311072010.rA7KA0Tw007187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183760
>Category:       ports
>Synopsis:       databases/kyototycoon not built with clang
>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:   Thu Nov 07 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Klymenko
>Release:        10.0-BETA3
>Organization:
individual
>Environment:
FreeBSD nonamehost.local 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257719: Wed Nov  6 00:03:00 EET 2013     ivan@nonamehost.local:/usr/obj/usr/src/sys/mk10  amd64
>Description:
make
===>  License GPLv3 accepted by the user
===>  Found saved configuration for kyototycoon-0.9.56
===>   kyototycoon-0.9.56 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by kyototycoon-0.9.56 for building
===>  Extracting for kyototycoon-0.9.56
=> SHA256 Checksum OK for kyototycoon-0.9.56.tar.gz.
===>  Patching for kyototycoon-0.9.56
===>   kyototycoon-0.9.56 depends on executable: gmake - found
===>   kyototycoon-0.9.56 depends on shared library: kyotocabinet - found
===>  Configuring for kyototycoon-0.9.56
===>   FreeBSD 10 autotools fix applied to /usr/ports_build/usr/ports/databases/kyototycoon/work/kyototycoon-0.9.56/configure
configure: loading site script /usr/ports/Templates/config.site
#================================================================
# Configuring Kyoto Tycoon version 0.9.56 (profile) (uyield).
#================================================================
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for 64-bit availability... yes
checking for CPU optimization availability... yes
checking for useless warnings... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -ldl... no
checking for main in -lnsl... no
checking for main in -lsocket... no
checking for main in -lresolv... no
checking for main in -lstdc++... yes
checking for main in -lregex... no
checking for main in -lz... yes
checking for main in -llzo2... yes
checking for main in -llzma... yes
checking for main in -lkyotocabinet... yes
checking for main in -lkyotocabinet... (cached) yes
checking for main in -lkyototycoon... yes
configure: WARNING: old version of Kyoto Tycoon was detected
checking how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking kccommon.h usability... no
checking kccommon.h presence... yes
configure: WARNING: kccommon.h: present but cannot be compiled
configure: WARNING: kccommon.h:     check for missing prerequisite headers?
configure: WARNING: kccommon.h: see the Autoconf documentation
configure: WARNING: kccommon.h:     section "Present But Cannot Be Compiled"
configure: WARNING: kccommon.h: proceeding with the compiler's result
checking for kccommon.h... no
configure: error: kccommon.h is required
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/usr/ports_build/usr/ports/databases/kyototycoon/work/kyototycoon-0.9.56/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/kyototycoon
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/kyototycoon




config.log
..
configure:4530: checking kccommon.h usability
configure:4530: c++ -c -O2 -pipe -march=corei7-avx -fno-strict-aliasing  conftest.cpp >&5
In file included from conftest.cpp:61:
/usr/local/include/kccommon.h:96:7: error: use of undeclared identifier 'tr1'
using tr1::hash;
      ^
/usr/local/include/kccommon.h:97:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_map;
      ^
/usr/local/include/kccommon.h:98:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_set;
      ^
3 errors generated.
configure:4530: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "kyototycoon"
| #define PACKAGE_TARNAME "kyototycoon"
| #define PACKAGE_VERSION "0.9.56"
| #define PACKAGE_STRING "kyototycoon 0.9.56"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_LIBC 1
| #define HAVE_LIBM 1
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBRT 1
| #define HAVE_LIBSTDC__ 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBLZO2 1
| #define HAVE_LIBLZMA 1
| #define HAVE_LIBKYOTOCABINET 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <kccommon.h>
configure:4530: result: no
configure:4530: checking kccommon.h presence
configure:4530: c++ -E  conftest.cpp
configure:4530: $? = 0
configure:4530: result: yes
configure:4530: WARNING: kccommon.h: present but cannot be compiled
configure:4530: WARNING: kccommon.h:     check for missing prerequisite headers?
configure:4530: WARNING: kccommon.h: see the Autoconf documentation
configure:4530: WARNING: kccommon.h:     section "Present But Cannot Be Compiled"
configure:4530: WARNING: kccommon.h: proceeding with the compiler's result
configure:4530: checking for kccommon.h
configure:4530: result: no
configure:4534: error: kccommon.h is required
..
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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