From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by sourceware.org (Postfix) with ESMTPS id 7855A3840C1A for ; Tue, 19 May 2020 17:43:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7855A3840C1A Received: by mail-ej1-x641.google.com with SMTP id x1so12793606ejd.8 for ; Tue, 19 May 2020 10:43:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EWxTaXVM0LOCv1NdFY3g3RjzxANgvtOwu0Av9kUcUcs=; b=lPqrxKnxNDTEyQUqJcb/lGbCq0e4AjfffyP9fzsEJfhq6cQa09G7ml+BBTjxi2KOrY oKDGuX3OaOG4qq/J7XAMDZ0gqgQ4DdPBqxBv7FREs5SfxflmShdu/NzXxHjZFLmrwJh7 CuFMYnwf6fbrhNxjKWLCD6SF+vxKc1GHlMD0YJqlKKrmWRzMhP8Kf+ckFiwqf9giGurs N2IkvSsdafsU7de94lYQk2Wtmma5rF30y0ynwteVh9gHlH+jeS9PBStB/qssNXMMOjHB dsx3Y4wy2QqqLxvN+gPn9JaRqNNvaxKlkQYsoDIit8g3TdkgczaZ/v44+VJxhyrCgJnU fytg== X-Gm-Message-State: AOAM533ktp+qPdkBCYd5YKwR5lqsIaPZC2rjr/Qze3P1mT16RCMXorXN cnly1U/uPDVf/jI6iZhoVau2HdzO2F4= X-Google-Smtp-Source: ABdhPJxSl65PN9V0BCv/6mVZvl9qnYChAMCH00nEbEi8raRbrH2KHJwgEVHbEzmZJxBxOqvIVrLA9g== X-Received: by 2002:a17:906:70c2:: with SMTP id g2mr306418ejk.207.1589910207305; Tue, 19 May 2020 10:43:27 -0700 (PDT) Received: from ?IPv6:2003:cc:9f3c:6af8:300b:ac6d:859c:870d? (p200300cc9f3c6af8300bac6d859c870d.dip0.t-ipconnect.de. [2003:cc:9f3c:6af8:300b:ac6d:859c:870d]) by smtp.gmail.com with ESMTPSA id z23sm105038ejx.72.2020.05.19.10.43.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 May 2020 10:43:26 -0700 (PDT) Subject: Re: cygport ... install starts in cwd but ... all does not To: cygwin-apps@cygwin.com References: <9b515ac1-55da-6d1b-c361-3c12d2d05082@SystematicSw.ab.ca> <3e04ebe0-9655-0027-7903-c821537f0a15@SystematicSw.ab.ca> From: Marco Atzeri Message-ID: Date: Tue, 19 May 2020 19:43:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <3e04ebe0-9655-0027-7903-c821537f0a15@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 17:43:29 -0000 On 18.05.2020 17:47, Brian Inglis wrote: > On 2020-05-17 02:13, Marco Atzeri via Cygwin-apps wrote: >> On 17.05.2020 08:45, Brian Inglis wrote: >>> When rerunning a cygport build with "cygport *.cygport all" after fixing up >>> problems stage by stage, "doicon $NAME.png" at the start of src_install, before >>> "cd/pushd ${B}" fails with fatal message "*** ERROR: file $NAME.png does not >>> exist", whereas rerunning "cygport *.cygport install" succeeds without any >>> messages. >>> >>> Even changing cd to pushd, and adding popd at the end of each src_... function, >>> does not solve the issue. >>> >>> The package does not include an icon, so I downloaded something suitable to the >>> same package directory as the $NAME.cygport and *.patch PATCH_URI files. >>> >>> Any alternative approaches that anyone can suggest might work? >>> >> >> can we see the file ? >> May be is a banal issue that you are oversighting > > Doh - of course - attached! > Hi Brian, may be also the patches ? Anyway removing most of the cygport to fake the compilation and installation and putting just some pwd before and after the pushd/popd to see what is happening: $ cygport tek4010.cygport compile >>> Compiling tek4010-1.5-1.x86_64 /pub/tmp /pub/tmp/tek4010-1.5-1.x86_64/build /pub/tmp $ cygport tek4010.cygport install >>> Installing tek4010-1.5-1.x86_64 /pub/tmp *** ERROR: file Tek4010.png does not exist so you need a pushd ${S} before doicon Tek4010.png pushd ${B} Regards Marco