From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id BE5F2397301B for ; Fri, 15 Jan 2021 11:08:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BE5F2397301B Received: by mail-ed1-x533.google.com with SMTP id dj23so6478136edb.13 for ; Fri, 15 Jan 2021 03:08:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cVkclIA8oXj+2KmY/N3uqN5KuUXQcLe36hBbIbUHYMk=; b=RiHV+ps8RQaS8sCgomBNOUhf2CM2gbIRtoolOQuP4Qiv+4nodkxSPxSQB0AulUm3CC dc9hEZMC5y+vvBoCuwNatsB9BrLGMpZGvWnW/kIgVZ9H0Tozvl0O3cz6MoJoXS90T4S2 DwIB6W7qLAOQ0CNTRJREBDipco4JSWhQSwW8EOmOzcJi0p2+WaWK9yHq3DNwIH+dz5U0 Sff/zozUVhG/Ly06Cb3m0G8SvC1wH64ub4uT6309OeIoZNBLTyg/OeYCKQm7YLgrf5u7 SUQT2vRH2fzv5rYKexW4rTawpKN7mRfT+UviTNwtJY1yDI9dHMm3dEv48vff5K1OZVP2 SMGw== X-Gm-Message-State: AOAM533lvOwjfdFsEjTk3O1Q2aywYy2x0Y5VfcAZfjDmjbf46nYvWULZ zZlv129dDlyn9D/fDERPvZHR1XdkHK3ZAg== X-Google-Smtp-Source: ABdhPJygEG8GmxpQ2p8ZBmaNIS7AZTuF6iBLjuxPRqI2j/NEBHWY8FKEGUZMgwVPV3wXx3z/e3rJ5Q== X-Received: by 2002:a05:6402:50a:: with SMTP id m10mr8980837edv.324.1610708892846; Fri, 15 Jan 2021 03:08:12 -0800 (PST) Received: from ?IPv6:2003:cc:9f0c:c833:55ee:ab92:f5df:739d? (p200300cc9f0cc83355eeab92f5df739d.dip0.t-ipconnect.de. [2003:cc:9f0c:c833:55ee:ab92:f5df:739d]) by smtp.gmail.com with ESMTPSA id n20sm3127588ejo.83.2021.01.15.03.08.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jan 2021 03:08:12 -0800 (PST) Subject: Re: Aw: Re: Re: Re: Recompilation problems opencv (python3-cv2 --> python3.8) To: cygwin@cygwin.com References: <1a53ec30-813c-8158-89ab-1381b2608f67@gmail.com> <7ae0ca7a-4efd-e0ed-8aeb-94441d11040b@gmail.com> <87ft32bhlp.fsf@Otto.invalid> From: Marco Atzeri Message-ID: <37aa8145-3c4a-4192-9ece-14178690d343@gmail.com> Date: Fri, 15 Jan 2021 12:08:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <87ft32bhlp.fsf@Otto.invalid> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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 11:08:15 -0000 On 15.01.2021 11:49, ASSI wrote: > 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/src2/cv2.cpp:889:34: >> error: invalid conversion from ‘const char*’ to ‘char*’ [-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. of course > > 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 one step at time > Regards, > Achim.