Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2013 16:25:58 GMT
From:      Gosha <gosha-necr@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184413: deskutils/libstreams get error in 10-STABLE
Message-ID:  <201312011625.rB1GPw73081985@oldred.freebsd.org>
Resent-Message-ID: <201312011630.rB1GU03A063216@freefall.freebsd.org>

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

>Number:         184413
>Category:       ports
>Synopsis:       deskutils/libstreams get error in 10-STABLE
>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:   Sun Dec 01 16:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gosha
>Release:        10-STABLE (revision 258775) amd64
>Organization:
MANUL-IT
>Environment:
FreeBSD MY 10.0-BETA4 FreeBSD 10.0-BETA4 #0: Sun Dec  1 11:24:44 MSK 2013     user@MY:/usr/obj/usr/src/sys/BSDSERV  amd64
>Description:
When I trying to install deskutils/libstreams, I get error:
====================================================================
===>   libstreams-0.7.8 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libstreams-0.7.8 for building
===>  Extracting for libstreams-0.7.8
=> SHA256 Checksum OK for strigi-0.7.8.tar.bz2.
===>  Patching for libstreams-0.7.8
===>  Applying FreeBSD patches for libstreams-0.7.8
/usr/bin/sed -i.bak -e  's,${LIB_DESTINATION}/pkgconfig,libdata/pkgconfig,'  /usr/ports/deskutils/libstreams/work/strigi-0.7.8/libstreams/CMakeLists.txt
===>   libstreams-0.7.8 depends on file: /usr/local/bin/cmake - found
===>  Configuring for libstreams-0.7.8
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/deskutils/libstreams/work/.build
-- The C compiler identification is Clang 3.3.0
-- The CXX compiler identification is Clang 3.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8") 
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib/libiconv.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Found Threads: TRUE  
-- Looking for C++ include direct.h
-- Looking for C++ include direct.h - not found
-- Looking for C++ include dirent.h
-- Looking for C++ include dirent.h - found
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include ndir.h
-- Looking for C++ include ndir.h - not found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Looking for C++ include sys/dir.h
-- Looking for C++ include sys/dir.h - found
-- Looking for C++ include sys/ndir.h
-- Looking for C++ include sys/ndir.h - not found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - not found
-- Looking for C++ include socket.h
-- Looking for C++ include socket.h - not found
-- Looking for C++ include sys/socket.h
-- Looking for C++ include sys/socket.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include regex.h
-- Looking for C++ include regex.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for fchdir
-- Looking for fchdir - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for isblank
-- Looking for isblank - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strlwr
-- Looking for strlwr - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uint
-- Check size of uint - done
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of socklen_t
-- Check size of socklen_t - done
-- 
-- The following REQUIRED packages have been found:

 * ZLIB , Support for gzip compressed files and data streams , <http://www.zlib.net>;
 * BZip2 , Support for BZip2 compressed files and data streams , <http://www.bzip.org>;
 * Iconv
 * Threads , The thread library of the system

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_MODULE_LINKER_FLAGS
-- Build files have been written to: /usr/ports/deskutils/libstreams/work/.build
===>  Building for libstreams-0.7.8
Scanning dependencies of target streams
Scanning dependencies of target streamsstatic
[  1%] Building CXX object lib/CMakeFiles/streams.dir/archivereader.cpp.o
[  4%] Building CXX object lib/CMakeFiles/streamsstatic.dir/archiveentrycache.cpp.o
[  5%] Building CXX object lib/CMakeFiles/streams.dir/archiveentrycache.cpp.o
[  3%] Building CXX object lib/CMakeFiles/streamsstatic.dir/archivereader.cpp.o
[  2%] Building CXX object lib/CMakeFiles/streams.dir/listinginprogress.cpp.o
[  6%] Building CXX object lib/CMakeFiles/streams.dir/arinputstream.cpp.o
[  7%] Building CXX object lib/CMakeFiles/streamsstatic.dir/listinginprogress.cpp.o
[  8%] Building CXX object lib/CMakeFiles/streamsstatic.dir/arinputstream.cpp.o
[  9%] Building CXX object lib/CMakeFiles/streamsstatic.dir/base64inputstream.cpp.o
[ 10%] Building CXX object lib/CMakeFiles/streams.dir/base64inputstream.cpp.o
[ 12%] Building CXX object lib/CMakeFiles/streamsstatic.dir/bz2inputstream.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/streams.dir/cpioinputstream.cpp.o
[ 11%] Building CXX object lib/CMakeFiles/streams.dir/bz2inputstream.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/streamsstatic.dir/cpioinputstream.cpp.o
/usr/ports/deskutils/libstreams/work/strigi-0.7.8/libstreams/lib/bz2inputstream.cpp:53:17: warning: assigning field to itself [-Wself-assign-field]
    this->input = input;
                ^
1 warning generated.
[ 15%] Building CXX object lib/CMakeFiles/streamsstatic.dir/dataeventinputstream.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/streams.dir/dataeventinputstream.cpp.o
/usr/ports/deskutils/libstreams/work/strigi-0.7.8/libstreams/lib/bz2inputstream.cpp:53:17: warning: assigning field to itself [-Wself-assign-field]
    this->input = input;
                ^
1 warning generated.
[ 17%] Building CXX object lib/CMakeFiles/streamsstatic.dir/dostime.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/streamsstatic.dir/encodinginputstream.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/streams.dir/dostime.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/streamsstatic.dir/fileinputstream.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/streams.dir/encodinginputstream.cpp.o
/usr/ports/deskutils/libstreams/work/strigi-0.7.8/libstreams/lib/encodinginputstream.cpp:93:16: error: no matching function for call to 'iconv'
    size_t r = iconv(converter, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
               ^~~~~
/usr/include/iconv.h:56:8: note: candidate function not viable: no known conversion from 'char **' to 'const char **' for 2nd argument
size_t  iconv(iconv_t, const char ** __restrict,
        ^
[ 22%] Building CXX object lib/CMakeFiles/streams.dir/fileinputstream.cpp.o
1 error generated.
--- lib/CMakeFiles/streamsstatic.dir/encodinginputstream.cpp.o ---
*** [lib/CMakeFiles/streamsstatic.dir/encodinginputstream.cpp.o] Error code 1

make[4]: stopped in /usr/ports/deskutils/libstreams/work/.build
/usr/ports/deskutils/libstreams/work/strigi-0.7.8/libstreams/lib/encodinginputstream.cpp:93:16: error: no matching function for call to 'iconv'
    size_t r = iconv(converter, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
               ^~~~~
/usr/include/iconv.h:56:8: note: candidate function not viable: no known conversion from 'char **' to 'const char **' for 2nd argument
size_t  iconv(iconv_t, const char ** __restrict,
        ^
1 error generated.
--- lib/CMakeFiles/streams.dir/encodinginputstream.cpp.o ---
*** [lib/CMakeFiles/streams.dir/encodinginputstream.cpp.o] Error code 1

make[4]: stopped in /usr/ports/deskutils/libstreams/work/.build
[ 23%] Building CXX object lib/CMakeFiles/streamsstatic.dir/filestreamopener.cpp.o
1 error

make[4]: stopped in /usr/ports/deskutils/libstreams/work/.build
--- lib/CMakeFiles/streamsstatic.dir/all ---
*** [lib/CMakeFiles/streamsstatic.dir/all] Error code 2

make[3]: stopped in /usr/ports/deskutils/libstreams/work/.build
1 error

make[4]: stopped in /usr/ports/deskutils/libstreams/work/.build
--- lib/CMakeFiles/streams.dir/all ---
*** [lib/CMakeFiles/streams.dir/all] Error code 2

make[3]: stopped in /usr/ports/deskutils/libstreams/work/.build
2 errors

make[3]: stopped in /usr/ports/deskutils/libstreams/work/.build
--- all ---
*** [all] Error code 2

make[2]: stopped in /usr/ports/deskutils/libstreams/work/.build
1 error

make[2]: stopped in /usr/ports/deskutils/libstreams/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/deskutils/libstreams
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/libstreams

>How-To-Repeat:
1. Install FreeBSD 10-STABLE amd64
2. cd /usr/ports/deskutils/libstreams
3. make install clean
>Fix:


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



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