delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/28/17:58:13

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:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=QJBoybF0w10/41eY
DVgWha+1myQ7wrmkrEaOTInHNPM+V2vuzhqWBLZNKr45hmQrStVnONR2oBaWVcVT
gfW8mcWEeddVTFS4HvVAWdEi7fpbKowRuc+feCxaEOGiDW/wv/NKrOj9q3j0Q7Xm
RtfBRPtNDHaE5bDJTXoVVfb3wZ8=
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:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=8d4Dy0tQl48DU09SaxRvi/
/Yufw=; b=CLHxZdyqwk4gw3WqjVSO5nxWTk9i9f3NuEYZVKIpJBQBkVF93Q1J6+
ud/2/fotNvWXVGNcuXmmstTSGxN86WUQjTj87j9M8ROE/dS1e/yB9yWUDetNkhNN
oKarMOLSxWWmyWcz9U0usjmuU67MLLqUZQnApWQChl+zvQov19OxE=
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=0.5 required=5.0 tests=BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: nm49-vm6.bullet.mail.gq1.yahoo.com
Date: Wed, 28 Jan 2015 22:54:03 +0000 (UTC)
From: Bob Doskuno <bigbob2k01 AT yahoo DOT com>
Reply-To: Bob Doskuno <bigbob2k01 AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1271261890.2268761.1422485644002.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <announce.20150126113018.GA32024@pestilenz.org>
References: <announce DOT 20150126113018 DOT GA32024 AT pestilenz DOT org>
Subject: Re: [ANNOUNCEMENT] Updated: chicken-4.9.0.1-1
MIME-Version: 1.0
X-IsSubscribed: yes





On Monday, January 26, 2015 6:52 AM, Christian Kellermann <ckeen AT pestilenz DOT org> wrote:
Version 4.9.0.1-1 of chicken has been uploaded.

CHICKEN is a compiler for the Scheme programming language. CHICKEN
produces portable and efficient C, supports almost all of the R5RS
Scheme language standard, and includes many enhancements and
extensions. CHICKEN runs on Linux, MacOS X, Windows, and many Unix
flavours.

I have claimed maintainership for this package, so please let me
know if you run into issues.


========================================

After installing this, postinstall errors are now received when running update/install. Error details, and change to fix (apparently a typo) are below.


Postinstall script errors...

Package: _/chicken
chicken.sh exit code 1


/var/log/setup.log.full:

2015/01/27 06:35:44 running: C:\cygwin64\bin\bash.exe --norc --noprofile 

"/etc/postinstall/chicken.sh"
usage: chicken-install [OPTION | EXTENSION[:VERSION]] ...

-h   -help                    show this message and exit
-version                 show version and exit
-force                   don't ask, install even if versions don't match
-k   -keep                    keep temporary files
-x   -keep-installed          install only if not already installed
-reinstall               reinstall all currently installed extensions
-l   -location LOCATION       install from given location instead of default
-t   -transport TRANSPORT     use given transport instead of default
-proxy HOST[:PORT]       download via HTTP proxy
-s   -sudo                    use sudo(1) for filesystem operations
-r   -retrieve                only retrieve egg into current directory, don't install
-n   -no-install              do not install, just build (implies `-keep')
-p   -prefix PREFIX           change installation prefix to PREFIX
-list                    list extensions available over selected transport and location
-host                    when cross-compiling, compile extension only for host
-target                  when cross-compiling, compile extension only for target
-test                    run included test-cases, if available
-username USER           set username for transports that require this
-password PASS           set password for transports that require this
-i   -init DIRECTORY          initialize empty alternative repository
-u   -update-db               update export database
-repository              print path used for egg installation
-deploy                  build extensions for deployment
-trunk                   build trunk instead of tagged version (only local)
-D   -feature FEATURE         features to pass to sub-invocations of `csc'
-debug                   enable full display of error message information
-keep-going              continue installation even if dependency fails
-scan DIRECTORY          scan local directory for highest available egg versions
-override FILENAME       override versions for installed eggs with information from 

file
-csi FILENAME            use given pathname for invocations of "csi"
-show-depends            display a list of egg dependencies for the given egg(s)
-show-foreign-depends    display a list of foreign dependencies for the given egg(s)

chicken-install recognizes the http_proxy, and proxy_auth environment variables, if set.

2015/01/27 06:35:46 abnormal exit: exit code=1
2015/01/27 06:37:13 note: Installation Complete
2015/01/27 06:37:13 Ending cygwin install



/etc/postinstall/chicken.sh:


#!/bin/bash
chicken-install -update.db


Change: . to -


$ diff chicken.sh-original chicken.sh
2c2
< chicken-install -update.db
---
> chicken-install -update-db


Runs OK:


$ ./chicken.sh
loading import libraries ...
generating database
srfi-69 srfi-4 srfi-18 setup-download srfi-14 tcp setup-api srfi-13 srfi-1 utils posix ports 

lolevel irregex foreign files extras data-structures csi chicken r5rs-null r4rs-null scheme 

r4rs
cp -r '/tmp/tempc885.6336/modules.db' '/usr/lib/chicken/7/modules.db'



Now update/install runs OK.

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