From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sender11-op-o11.zoho.eu (sender11-op-o11.zoho.eu [31.186.226.225]) by sourceware.org (Postfix) with ESMTPS id B9B3F3857B9D for ; Sun, 25 Sep 2022 11:14:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B9B3F3857B9D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=hamishmb.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hamishmb.com ARC-Seal: i=1; a=rsa-sha256; t=1664104450; cv=none; d=zohomail.eu; s=zohoarc; b=jxJZHWL5nXhCZEUDvxpJdQXXnr56thf6BRG0i61Y357Wgxr3WBJOClkxGciJ3OFYn1IK/hneoo8oYWuJmLeDWHz/t2rOhXcM7CrDhQjWf/ymRlZ/mGirrQ/wFNItMIIC4FAc9xly3MwQdFAt9ESz9WGGuc1Ex0uH54jXiI1h5sA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1664104450; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=lc0HnZEMjNuAZYqbTfOnmGqBIQ06m4C043OKtSWGgmU=; b=V7BosrMMx0Ho3FhmYhkp2gY6YK3owK26JhVOS75jqYoj0156ufp6OJZmKI0/DIkR8NntJgtHvmW1AqxBO/q1+QRXGoz6Lo7i00C+QqQ99GwNuB4m91yljR92DEbfj9qDol/pIHPGBrURZepL71e1YsVsuQMWUKou3GeSrKmeBwE= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=hamishmb.com; spf=pass smtp.mailfrom=cygwin@hamishmb.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1664104450; s=zmail; d=hamishmb.com; i=cygwin@hamishmb.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=lc0HnZEMjNuAZYqbTfOnmGqBIQ06m4C043OKtSWGgmU=; b=JoJYZRxCsWjZckjdLoh0NvJCxcNSI2O72gOig4VU0ZPPbwFV4HHjYlUj/ylj/3HN ASmdEr9ZhEQyMaBiIlJfcpiWIUPBz3cAW6bxtf8fSzYZfIr2ph6HZQkgNiMytnWe1e+ FoxkXjZaiKk59m79di907GOhvrXA5YSqisZ9TYBw= Received: from [192.168.10.213] (host86-149-41-78.range86-149.btcentralplus.com [86.149.41.78]) by mx.zoho.eu with SMTPS id 1664104449168734.1867750508851; Sun, 25 Sep 2022 13:14:09 +0200 (CEST) Message-ID: <632956e0-2ad0-7205-0187-021ef43b517d@hamishmb.com> Date: Sun, 25 Sep 2022 12:14:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Cygport: How can I ignore duplicated files in packages Content-Language: en-US To: "cygwin-apps@cygwin.com" References: <22158b5d-ae70-1dd6-611b-0f1df824fa20@hamishmb.com> <87pmfw4f19.fsf@Rainer.invalid> From: Hamish McIntyre-Bhatty In-Reply-To: <87pmfw4f19.fsf@Rainer.invalid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 15/09/2022 20:24, Achim Gratz wrote: > Hamish McIntyre-Bhatty writes: >> Today I'm attempting to update my python-imaging package, but I'm now >> finding that cygport has made the warning about duplicated files an >> error. > > I don't think anything has changed there lately? > >> The source is at: https://gitlab.com/hamishmb/cygwin-python-imaging >> >> Files are duplicated in these packages because there are .py files for >> each python release in /usr/lib/python3.*. > > A duplicate is a file that shows up at exactly the same path in more > than one package. These files don't fit that description as files with > the same name are in separate paths, so what is the actual problem? > >> This doesn't seem to actually break package creation, but I'd like to >> get this reproducing correctly in scallywag, which I think will flag >> as failed because of this error. > > I think you create it yourself here (and analogous for the other Python > versions): > > --8<---------------cut here---------------start------------->8--- > python36_imaging_CONTENTS=" > --exclude=_imagingtk* > --exclude=ImageTk* > --exclude=SpiderImagePlugin* > ${python36_imaging_CONTENTS} > " > --8<---------------cut here---------------end--------------->8--- > > which seems to package the same files twice in one archive when > expanded. > > > Regards, > Achim. Ah right, okay. I'll see if I can get that fixed. It's strange, because I haven't changed this since the last build which didn't have any issues at all, but I'll give it another shot. Hamish