delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/07/07/22:13:53

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACF99396C827
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1625710430;
bh=U60RcT57Jf80w2JN76xYK1maJhnQXzmKi5y07MUaQuA=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=x3cqNh9JiM7M0ijWkEObu20Iqepm/ihItZGqvfWWhtQ8YswGiN4oS0NucEcoZhjFQ
ZYcEtx52cgNsUpga+ev+eZHEPPizyIoOMNJ4RLr+SuwueqNfR07ZQio7SYocmsvnvn
M5b4pu8IG7n8zY0MLWnS6WKb0W+6fY7O9PBcENc0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 781CC384783E
MIME-Version: 1.0
Date: Thu, 08 Jul 2021 04:13:16 +0200
To: cygwin AT cygwin DOT com
Subject: include "/usr/local/lib/python3.8" in rebaseall?
User-Agent: Roundcube Webmail/1.4.5
Message-ID: <68f062dc8be18dc228054405d32bda00@perezterron.net>
X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_50, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-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>
From: enrique--- via Cygwin <cygwin AT cygwin DOT com>
Reply-To: enrique AT perezterron DOT net
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello!

When I "pip install" python modules for which there are no cygwin 
packages, *.dll files are installed below 
/usr/local/lib/python3.8/site-packages/.
Since rebaseall does not automatically rebase files under this location, 
I had fork failures.

The following patch solved it for me:

$ diff -u old-rebaseall rebaseall
--- old-rebaseall       2021-07-08 04:06:16.843238400 +0200
+++ rebaseall   2021-07-08 04:08:20.586260500 +0200
@@ -219,7 +219,7 @@
      # package manager, such as CPAN and RubyGems.
      for d in /usr/lib/perl5/site_perl /usr/lib/py*/site-packages \
               /usr/lib/php /usr/lib/R/site-library /usr/lib/rub*/gems \
-             /usr/lib/octave/site
+             /usr/lib/octave/site /usr/local/lib/python*/site-packages
      do
        if [ -d $d ]
        then

Thanks
-Enrique

-- 
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