From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpout2.vodafonemail.de (smtpout2.vodafonemail.de [145.253.239.133]) by sourceware.org (Postfix) with ESMTPS id EB3AB3971C1A for ; Fri, 15 Jan 2021 10:49:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EB3AB3971C1A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from smtp.vodafone.de (unknown [10.2.0.35]) by smtpout2.vodafonemail.de (Postfix) with ESMTP id 6C9CE120CC9 for ; Fri, 15 Jan 2021 11:49:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1610707764; bh=Tc1eZGHHpLoIZ2PTcVKqL5R7HakiNlkqbkz2qPhFShE=; h=From:To:Subject:References:Date:In-Reply-To; b=Cmmng6zZd7jD9MSEcDGwNw9fLeFzSKL/Ke5y4NtesMw0eyRyZP3Nrx/3x1swR3++w zAblz/Vo015T/YRJIMtflDm1aJHlffvQb67T2rXcf+4IsLhKO+7FA1rTZ90YUh1n84 FVoMeEihtN/DizYycCFxxNisxca/5G5rOYGtzgVw= Received: from Otto (p54a0ca05.dip0.t-ipconnect.de [84.160.202.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id F1A7414026A for ; Fri, 15 Jan 2021 10:49:21 +0000 (UTC) From: ASSI To: cygwin@cygwin.com Subject: Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8) References: <1a53ec30-813c-8158-89ab-1381b2608f67@gmail.com> <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b@gmail.com> Date: Fri, 15 Jan 2021 11:49:06 +0100 In-Reply-To: <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b@gmail.com> (Marco Atzeri via Cygwin's message of "Fri, 15 Jan 2021 10:34:25 +0100") Message-ID: <87ft32bhlp.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1081 X-purgate-ID: 155817::1610707762-0000239E-B385B912/0/0 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 10:49:28 -0000 Marco Atzeri via Cygwin writes: > I see this as first error > > /pub/devel/opencv/opencv-3.4.1-3.x86_64/src/opencv-3.4.1/modules/python/s= rc2/cv2.cpp:889:34: > error: invalid conversion from =E2=80=98const char*=E2=80=99 to =E2=80=98= char*=E2=80=99 [-fpermissive] > it seems the compilers is less tolerant than before. > It does not seem a specific python issue. > > I will see to patch it and continue when I found a bit of time What the error message is trying to tell you is that you need the "-fpermissive" option to CXXFLAGS if you expect the code to compile despite the mismatched types. Whether it will succeed or just stop someplace else remains to be seen. The upstream package is at version 4 already, which probably needs other patches as a quick look at Fedora seems to indicate: https://src.fedoraproject.org/rpms/opencv/tree/master Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada