From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) by sourceware.org (Postfix) with ESMTPS id A71F838708F0 for ; Wed, 20 May 2020 00:13:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A71F838708F0 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id bCMqjzd78ng7KbCMrjr093; Tue, 19 May 2020 18:13:53 -0600 X-Authority-Analysis: v=2.3 cv=ecemg4MH c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=9zrfybhHAAAA:8 a=lc_FpEhYmfLGViRxEVwA:9 a=QEXdDO2ut3YA:10 a=0wzL0RCjxTJIWkyOlQ-p:22 Reply-To: cygwin-apps@cygwin.com 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> <15adec8f-0b27-16a2-f8c1-2748306f4c39@SystematicSw.ab.ca> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: Date: Tue, 19 May 2020 18:13:52 -0600 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: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfGMCjKP9c257rGhTt4/BuCe5vt69yM8xM0GjLTQW/hBFDDPSLkmxP6kHL2BB+fnwL1YIDycHdQw6J0JOGhN/TBvOzaxcPx+pXYxUnHrEY/7bTee0TqEc QcMv4q6eaa/wibl1DdGcX7hGAv5G9lRJgY+CDxXvH3bKNhSHi+9wNkXiVkjNi4CGt7ApDYC00UMF+w== X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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: Wed, 20 May 2020 00:13:56 -0000 On 2020-05-19 14:16, Marco Atzeri via Cygwin-apps wrote: > On 19.05.2020 20:56, Brian Inglis wrote: >> On 2020-05-19 11:43, Marco Atzeri via Cygwin-apps wrote: >>> 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: > >> >>> may be also the patches ? >> >> You mean switching to apply during prep? >> You are probably right! >> Thanks very much for that insight. >> Will have to look into what that runs. > > I was just saying I can not test the full process, > so I focused on just the doicon ;-) > >>> 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 >> >> Thanks also for the suggestion of approach to take using pwd around everything. > > I am used to have "cd ${S}" or "cd ${B}" as first step, > so I had no clue if there was a default. > Cygport code is not obvious, so adding "pwd" was the > easy way to debug > > >>> so you need a pushd ${S} before >>> >>>      doicon Tek4010.png >>>      pushd ${B} >> >> SRC_DIR=Tek4010 as the sources are extracted in that directory instead of src. >> >> The local package files .cygport, .patch, .png are all under my main >> ~/src/cygwin/tek4010/ directory where I invoke cygport, so it starts there, but >> seems unable to get back there. > > I use a common directory for both x86 and x86_64 platform > and the test installation versions of both. > > $ readlink -f /pub > /cygdrive/d/cyg_pub > > I assume unusual enough that "pwd" is useful a lot > >> Should be able to get this done and maybe offer an ITP. >> >> Although this package appears designed to build in user home dir under Raspbian >> (and Ubuntu, so also Debian), it does not seem to be packaged anywhere I can >> find. >> >> I'll see if the author would be interested in a packaging PR to remove home dir >> dependencies and support Cygwin packaging and its metas, and maybe I could also >> add Debian/Raspbian/Ubuntu metas as they are somewhat similar and standard. On the project Github issues, someone already built and is using on Cygwin, so I will ask about packaging and some other requirements that came up there. > The build system seems very basic and old style. > Probably to be as light as possible as the target is a Raspberry Pi. Lack of any (interest in?) packaging background, but not development, and not that light, as this project just provides an X Window Tek emulator front end, under Debian LXDE X client and server, possibly over ssh or VNC, for a SimH PDP-11 (or PDP-8 for PiDP-8 emulated console) simulator running original Unix V7 or BSD 2.11 OS and graphics apps driving the Tek, inside a PiDP-11 providing a hardware interface to miniature emulated console switches and blinkenlights as well as a hardware serial port connected into the simulator: https://obsolescence.wixsite.com/obsolescence/pidp-11 -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.]