delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/15/12:15:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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 DOT inglis AT systematicsw DOT ab DOT ca
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
To: cygwin AT cygwin DOT com
References: <trinity-34d462bc-fd59-487f-9b02-5aa2f844ca61-1610608110734 AT 3c-app-webde-bap41>
<CAEhDDbCqWRsLQ3vXTG_YX1SZ1imH1He7bYF-sXEaMsaLTi9cog AT mail DOT gmail DOT com>
<trinity-edfd126c-c1fd-48fd-aa8f-c627a14c6f6e-1610618375127 AT 3c-app-webde-bap28>
<1a53ec30-813c-8158-89ab-1381b2608f67 AT gmail DOT com>
<trinity-a0229944-c8a9-418c-aaf2-08f9c42ae792-1610619884266 AT 3c-app-webde-bap28>
<a7624bb8-7fb5-fe0e-affc-1fc251cd916f AT SystematicSw DOT ab DOT ca>
<trinity-073f36c0-9f83-4e29-87fd-bd0e50003af6-1610698428037 AT 3c-app-webde-bap59>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
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: <trinity-073f36c0-9f83-4e29-87fd-bd0e50003af6-1610698428037@3c-app-webde-bap59>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10FHFPSW014661

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.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019