From owner-freebsd-multimedia@FreeBSD.ORG Tue Oct 22 11:41:22 2013 Return-Path: Delivered-To: multimedia@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 ESMTP id AC092B4C; Tue, 22 Oct 2013 11:41:22 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C873223C7; Tue, 22 Oct 2013 11:41:21 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA24704; Tue, 22 Oct 2013 14:41:19 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1VYaKs-000N68-R0; Tue, 22 Oct 2013 14:41:18 +0300 Message-ID: <52666426.5020607@FreeBSD.org> Date: Tue, 22 Oct 2013 14:40:22 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: "Jason E. Hale" Subject: Re: graphics/opencv dependency on ffmpeg is broken by multimedia/ffmpeg upgrade References: <5263F447.40705@FreeBSD.org> <5645227.Ty1j0Gy4S8@mocha.verizon.net> In-Reply-To: <5645227.Ty1j0Gy4S8@mocha.verizon.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 11:41:22 -0000 on 22/10/2013 02:19 Jason E. Hale said the following: > On Sunday, October 20, 2013 20:49:37 William Grzybowski wrote: >> jhale, please approve this patch. >> >> On Sun, Oct 20, 2013 at 1:18 PM, Andriy Gapon wrote: >>> LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg >>> >>> multimedia/ffmpeg no longer provides libavcodec.so.1. >>> It's libavcodec.so.55 now. >>> > > I committed the patch along with a few other changes in r331209. Thanks! > Thank you! Still the build failed in my environment: /usr/obj/ports/usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/contrib/src/spinimages.cpp: In member function 'void cv::SpinImageModel::selectRandomSubset(float)': /usr/obj/ports/usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/contrib/src/spinimages.cpp:793:45: error: call of overloaded 'iota(std::vector::iterator, std::vector::iterator, int)' is ambiguous iota(subset.begin(), subset.end(), 0); /usr/obj/ports/usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/contrib/src/spinimages.cpp:793:45: note: candidates are: /usr/obj/ports/usr/ports/graphics/opencv/work/OpenCV-2.3.1/modules/contrib/src/spinimages.cpp:88:36: note: void {anonymous}::iota(FwIt, FwIt, T) [with FwIt = __gnu_cxx::__normal_iterator >; T = int] template void iota(FwIt first, FwIt last, T value) { while(first != last) *first++ = value++; } /usr/local/lib/gcc48/include/c++/bits/stl_numeric.h:82:5: note: void std::iota(_ForwardIterator, _ForwardIterator, _Tp) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = int] iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value) The problem seems to be that Makefile has USE_CXXSTD=gnu++11 and C++11 already includes std::iota: http://en.cppreference.com/w/cpp/algorithm/iota But spinimages.cpp defines another iota with exactly the same signature. -- Andriy Gapon