This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0

On 05/10/2016 04:11 PM, Yaakov Selkowitz wrote:
> Package Maintainers,
> cygport 0.22.0 is on its way to the mirrors.  With this release, and
> thanks to Jon Turney's continuing work on calm (the replacement for
> upset which generates setup.ini), packages marked ARCH=noarch will be
> uploaded once under the /noarch/release hierarchy instead of into each
> of /x86/release and /x86_64/release.  This change is intended to save
> disk space and bandwidth for both sourceware and our mirrors.
> A package should be marked ARCH=noarch IF AND ONLY IF *all* subpackages
> thereof do not contain anything compiled with the *native* gcc, and the
> file contents are (or can be) 100% identical for x86 and x86_64.
> Examples include, but are not limited to, packages which contain only:
> * documentation;
> * scripts;
> * fonts;
> * icon themes;
> * other runtime data;
> * C/C++ headers without a library;
> * libraries for cross-compiler toolchains.
> * pure Lua/Perl/Python/Ruby/Tcl modules without C/C++ bindings.

Question: can cygport be enhanced to validate and/or have heuristics for
this?  For example, cygport already has a pass that strips/separates
debuginfo out of binaries compiled by gcc - if any stripping occurs,
then the package is obviously not ARCH=noarch at the moment (down the
road, if we allow noarch by subpackage, that may change slightly, but
you get the idea).

Of my packages, I think that only bash-completion and cvsutils are the
most likely candidates, although I haven't yet fully checked if they are
indeed arch-independent.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]