From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) by sourceware.org (Postfix) with ESMTPS id 4D5E439730FB for ; Fri, 15 Jan 2021 17:14:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4D5E439730FB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id 0SgblmmKKtdld0Sgcl1edO; Fri, 15 Jan 2021 10:14:58 -0700 X-Authority-Analysis: v=2.4 cv=INe8tijG c=1 sm=1 tr=0 ts=6001cd92 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=ZMYYdzQVAAAA:8 a=20KFwNOVAAAA:8 a=KSb9T-wMAAAA:8 a=Y0X60DsUAAAA:20 a=xNf9USuDAAAA:8 a=vTr9H3xdAAAA:8 a=ejknC5xS72zp2OFXFO8A:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=c1koKh11dFzcdW-5PcEX:22 a=KF4VuIdXkMyp4E_ug72i:22 a=SEwjQc04WA-l_NiBhQ7s:22 a=7PCjnrUJ-F5voXmZD6jJ:22 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com References: <1a53ec30-813c-8158-89ab-1381b2608f67@gmail.com> From: Brian Inglis Organization: Systematic Software Subject: Re: Recompilation problems opencv (python3-cv2 --> python3.8) Message-ID: <4a922112-b721-029c-1012-03116786c502@SystematicSw.ab.ca> Date: Fri, 15 Jan 2021 10:14:57 -0700 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfFbcJgUOyBhYw8Wk6VDqb5M9b1Zm+krkPkFLlKkRmQFa4XLR00pUDLEHD/Vp6q+ix78Ed3pn8PlzXeieguaqGRmtp96b20ccsnjeBXgHAeNQeyLTu6RC qrO6me4DpaGFhhwrb4GnQyBrofJj94L5yT5KnYO1Yp4xHIYbNNXqVukpTT9KFJ19dxTAjDZb5XRhGiZAAze5sIIiTrdKuOpztLU= X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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 17:15:00 -0000 On 2021-01-15 01:13, wilhelm-eger--- via Cygwin wrote: > Gesendet: Donnerstag, 14. Januar 2021 um 23:52 Uhr > >> Please try by downloading the complete Cygwin source package, and try a vanilla >> rebuild first with zero changes, then change only the .cygport VERSION= to the >> latest, rebuild, and fix any problems with that as you go. > > I have done the following > > mkdir opencv > cd opencv > git clone http://cygwin.com/git/cygwin-packages/opencv.git . > cygport opencv.cygport fetch > cygport opencv.cygport all > > Same error. > > Is there any other location where I could get the opencv source package from? Check your email host location: $ geoiplookup web.de GeoIP Country Edition: DE, Germany GeoIP City Edition, Rev 1: DE, 01, Baden-Wurttemberg, Karlsruhe, 76137, 49.001900, 8.428700, 0, 0 GeoIP ASNum Edition: AS8560 1&1 Internet SE Check Cygwin German mirror locations for one nearby: $ sed '/^\s\+[^;]\+;\([^;]\+\);Europe;Germany$/!d;s!!\1!' /etc/setup/setup.rc | sort -u | xargs -l1 geoiplookup ... $ geoiplookup ftp-stud.hs-esslingen.de GeoIP Country Edition: DE, Germany GeoIP City Edition, Rev 1: DE, 01, Baden-Wurttemberg, Stuttgart, 70173, 48.766701, 9.183300, 0, 0 GeoIP ASNum Edition: AS553 Universitaet Stuttgart ... in same Land, lat/long diff about .25/.75, and about 61km great circle distance. Find mirror URLs: $ fgrep esslingen.de /etc/setup/setup.rc ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/;ftp-stud.hs-esslingen.de;Europe;Germany http://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/;ftp-stud.hs-esslingen.de;Europe;Germany https://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/;ftp-stud.hs-esslingen.de;Europe;Germany Find source package: $ grep -m1 '^source:\s.*opencv' ~/mirror/x86_64/setup.ini source: x86_64/release/opencv/opencv-3.4.1-2-src.tar.xz 138322784 8da273070a232773d522dfe9b2cf098115e34a595a3d0c968b7fc0ba4f17f92db4f405857157f72f5218e17e6694c1d93ddc22c70fc6bcbf383077499373657a Download source package: $ curl -OJRSs https://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/x86_64/release/opencv/opencv-3.4.1-2-src.tar.xz *OR* $ wget -N -nv https://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/x86_64/release/opencv/opencv-3.4.1-2-src.tar.xz $ tar -xf opencv-3.4.1-2-src.tar.xz Also package *patches* visible from: https://build.opensuse.org/package/show/openSUSE:Factory/opencv3 but patches directly downloadbale from: https://github.com/bmwiedemann/openSUSE/tree/20201007/packages/o/opencv3 [thanks to Achim for pointers] and https://sources.debian.org/data/main/o/opencv/3.2.0+dfsg-6/debian/patches/ https://salsa.debian.org/science-team/opencv/-/tree/debian/3.2.0+dfsg-6/debian/patches https://salsa.debian.org/science-team/opencv/-/tree/debian/3.3.0+dfsg-1_exp0/debian/patches https://salsa.debian.org/science-team/opencv/-/tree/debian/3.4.4+dfsg-1_exp1/debian/patches https://salsa.debian.org/science-team/opencv/-/tree/debian/3.4.5+dfsg-1_exp1/debian/patches and https://src.fedoraproject.org/rpms/opencv/tree/f30 and you can pick later branches or tags for patches for later versions as you need from these repos: cygport can use URLs or local file names in PATCH_URI="..." and the string content may be a separate line per patch, usually with a leading tab. > Btw. there is no need to change to another Version, I just want to have cv2 > also in python3.8 working. From what I have experienced with this package I > assume that this would also not compile with python3.6 atm. Seems to be a > cmake or gcc error to me. First check your current packages, toolchains, and libraries against a known good working set of vanilla sources at an earlier version that should have no issues, then work your way up to newer versions adding difficulties! ;^> -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]