delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/25/12:10:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; q=dns; s=default; b=RfjPPcezSbdPMXIdeq6ugN1cOGf9tOk
q+ZV4tdWyAlnWBHNxc9wGJf/Ra3oqlgCO84IGq+iOTbCb4QQ2jPuZoM7mtlyPp07
45xTDm9hZtzDucuZBaZJfT5/ieRGI7MyebXSGvPqU5mXihsT/3UCmiL+sqSqkDmF
zo2mAo71vf/o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; s=default; bh=IUBjiiDe32wDkeAyBeDZN6c5//0=; b=MaT0K
Xgsx5wBo7r46Ad0J8HakNrE5WgO+glu7LHqG0IhkQ9zNJKuVnouh+1Y3ZULWBIEA
sATuMK4AryNWLJQJhSFducUpjXuBUSJO595TN2t4uAIxEtMYMCTHsDWq7lUCFE4u
mOU7OomXYTmJ7hYTPe+IqO1RSZ/Q2lOWAfEcwQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=rwr, H*x:5.0, H*R:D*yahoo.com, H*x:Windows
X-HELO: sonic310-49.consmr.mail.ne1.yahoo.com
Date: Tue, 25 Jul 2017 16:05:33 +0000 (UTC)
From: "Ian Lambert via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
Reply-To: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>, Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <799230527.525007.1500998733401@mail.yahoo.com>
Subject: Re: how to access and display apps that I've launched
MIME-Version: 1.0
References: <799230527 DOT 525007 DOT 1500998733401 DOT ref AT mail DOT yahoo DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v6PGAZaJ009396

--------------------------------------------
On Tue, 7/25/17, Ken Brown <> wrote:

 Normally you don't ever
 need to think about rebasing on x86_64.  The 
 perpetual postinstall script
 /etc/postinstall/0p_000_autorebase.dash 
 should handle everything without any manual
 intervention.  You might try 
 running that
 script (and the rebaselst script that it calls) line by 
 line (preferably in a dash shell started
 directly from Windows, with no 
 other Cygwin
 processes running) to see if you can figure out what's
  going wrong.
 
= = =
Looks about the same to me, and all the /var/cache/rebase/...
files are basically empty, FWIW, but I could be following
the rebaselst script incorrectly.


$ cat 0p_000_autorebase.dash
#!/bin/dash
export PATH=/bin
b=/var/cache/rebase
if [ -e ${b}/peflags ] ; then
    noaslr=--noaslr
    peflags=peflags
    rm -f ${b}/peflags
else
    noaslr=''
    peflags=''
fi
if [ ! -e ${b}/fullrebase.done ] ; then
    rebase-trigger fullrebase
    rebaselst --rebuild update --cleardb $noaslr rebase $peflags
    mv ${b}/fullrebase ${b}/fullrebase.done
else
    rebaselst update $noaslr rebase $peflags
fi



$ b=/var/cache/rebase
$ ls ${b}/pe*
ls: cannot access '/var/cache/rebase/pe*': No such file or directory
$ ls ${b}/fullrebase.done
/var/cache/rebase/fullrebase.done
$ rebase-trigger fullrebase
Note: _autorebase will do a full rebase the next time setup is run.
$ rebaselst --rebuild update --cleardb rebase
removing /var/cache/rebase/rebase_pkg
creating empty /var/cache/rebase/rebase_pkg
touch: setting times of '/var/cache/rebase/rebase_pkg': Invalid argument
Updating package information in /var/cache/rebase/rebase_pkg.
removing /var/cache/rebase/rebase_lst
creating empty /var/cache/rebase/rebase_lst
touch: setting times of '/var/cache/rebase/rebase_lst': Invalid argument
Updating rebase information for installed executables in /var/cache/rebase/rebas
e_exe.
removing /var/cache/rebase/rebase_dyn
creating empty /var/cache/rebase/rebase_dyn
touch: setting times of '/var/cache/rebase/rebase_dyn': Invalid argument
Looking for dynamic language modules/libraries in:
  /usr/lib/R/site-library
  /usr/lib/php/20151012
  /usr/lib/python2.7/site-packages
  /usr/lib/python3.6/site-packages
Updating rebase information for dynamic language modules/libraries /var/cache/re
base/rebase_dyn.
removing /var/cache/rebase/rebase_user
creating empty /var/cache/rebase/rebase_user
touch: setting times of '/var/cache/rebase/rebase_user': Invalid argument
Updating rebase information for user-defined dynamic objects /var/cache/rebase/r
ebase_user.
removing /var/cache/rebase/rebase_user_exe
creating empty /var/cache/rebase/rebase_user_exe
touch: setting times of '/var/cache/rebase/rebase_user_exe': Invalid argument
Updating rebase information for user-defined executables /var/cache/rebase/rebas
e_user_exe.
Rebasing with list /var/cache/rebase/rebase_all, built from /var/cache/rebase/re
base_lst /var/cache/rebase/rebase_dyn /var/cache/rebase/rebase_user.
$

$ ls -ls /var/cache/rebase
total 224
32 -rw-r--r-- 1 myuser Domain Users 115 Jul 25 10:50 fullrebase
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:34 rebase_all
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:34 rebase_dyn
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:33 rebase_dyn.old
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:33 rebase_exe
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:33 rebase_exe.old
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:33 rebase_lst
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:33 rebase_lst.old
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:33 rebase_pkg
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:33 rebase_pkg.old
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:34 rebase_user
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:34 rebase_user.old
32 -r--r--r-- 1 myuser Domain Users  31 Jul 25 11:34 rebase_user_exe
 0 -rw-r--r-- 1 myuser Domain Users   0 Jul 25 11:34 rebase_user_exe.old

 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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