delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=AoBqmomX7PrWJtxU1ukyE2xaFZYWEDhcL+94bLD+daq | |
RMLf4WrG7qOs4NXLTL8n9+hGfsnYUAq8+bytAeBkJMT2cMYqxqckFudDUiMVmVV3 | |
g0ECv+XAJIHSzQMC7XQ9c8tOalFBRtxZDN57t62Kny8b4D31DiWl/WU81axPWlGQ | |
= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=QtNFnD4bWsKKnnFhef4ME+RVzcI=; b=TNMtjmgpmBeL8Rl5t | |
9Ar+2vjVLf24W5xSFeJBHE5hvAQDWgCzHeq1eD9k95esUt6Tl1wYYrz5E6is9IM2 | |
6CiMnBdR2kXsegjIxwJhTDiJTN5GPRDcaFzOH0icgmN52OcQ1cscXFCgykWdAbGi | |
01zovhIAWAD/JI5wPJhrbgN99U= | |
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 |
X-Spam-SWARE-Status: | No, score=-3.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2 |
X-Received: | by 10.195.12.170 with SMTP id er10mr10801421wjd.5.1376243485784; Sun, 11 Aug 2013 10:51:25 -0700 (PDT) |
Message-ID: | <5207CF18.1050104@gmail.com> |
Date: | Sun, 11 Aug 2013 19:51:20 +0200 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: hassles with cygport |
References: | <5207C654 DOT 2020401 AT towo DOT net> |
In-Reply-To: | <5207C654.2020401@towo.net> |
Note-from-DJ: | This may be spam |
Il 8/11/2013 7:13 PM, Thomas Wolff ha scritto: > I tried to migrate a package to using cygport. As I had announced before, > I'm using this occasion to report some of the trouble I've experienced > with it, > listing this case as a kind of "log" of my porting attempt (which > finally failed). > While probably most of the single problems might appear to be small and > easily solvable, the mere amount of issues and peculiarities is what > makes cygport a rather cumbersome tool for me. > > > rename old cygport file to new version > ⇒ why is this needed? couldn't it be version-agnostic? > > edit cygport file to change version number of patch file, plus > rename patch file to new version > ⇒ bothersome > > with SRC_URI="http://.../${P}.tar.gz" trying > cygport ... almostall > ⇒ *** ERROR: Cannot find source package ... > > now archive already downloaded, so cygport [almost]all not desired > ⇒ look up sequence of commands (prep, compile, install, package) I > couldn't remember > > cygport ... prep > ⇒ likely, the patch fails, of course, because sources have changed, > so why is there not a step "unpack" after which I would check the patch? > > trying to adapt patch > ⇒ searching for patched files first, somewhere among a bunch of > directories; > "origsrc" good guess, but tried "src" first anyway > ⇒ bothersome > > trying to remember correct tuning of diff to produce patch; > adapted patch > ⇒ have to unpack again, with cygport ... prep > ⇒ redundant, but well > > need to add a parameter to the package configure script > ⇒ trying to find out how to achieve this: > after some googling etc, running cygstart > /usr/share/doc/cygport/manual.html > found WAF_CONFIGURE_FLAGS for "additional arguments to pass to 'waf > configure'" > ⇒ what is waf??? not likely to lead to success > found R_CONFIGURE_ARGS for "flag(s) to be passed to the configure script > used by module packages containing native code" > ⇒ sounds somewhat better, but what the waf are "module packages > containing native code"? > ⇒ thinking again, not likely to succeed > found src_compile, looks more likely to be useful > ⇒ however, its description is somewhat "nested", so where would I insert > specific parameters or commands? > it basically appears to call cygmake (which is obviously an internal > cygport thing), > also another cygport file lists: > src_compile() { > lndirs > cd ${B} > cygmake > } > but cygmake is described "Calls 'make'", so where is configure invoked?? > ⇒ giving up, ignoring this detail for now > > repeat cygport ... prep > cygport ... compile > getting message > which: no autopoint in ($PATH) > cygport hangs > ⇒ giving up > > running configure and make manually > > trying to take up cygport sequence: > cygport ... install > getting message > make: *** Keine Regel, um »install« zu erstellen. Schluss. > *** ERROR: make install DESTDIR failed > ⇒ what is this? should I provide a DESTDIR? the manual says: > install into a DESTDIR, and run post-installation steps > this is quite unclear, what is "a DESTDIR"? something I need to provide > or cygport would pick? > if I provide it myself, how would the subsequent step "cygport ... package" > know which DESTDIR I used? I could provide it again, but this is not > mentioned in the manual > ⇒ very obscure > > attempt: mkdir inst; DESTDIR=inst cygport ... install > ⇒ fails, same error > > –––––– > Thomas > could you share the trial so we can provide suggestion ? Regards Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |