[ACTION REQUIRED] ARCH=noarch uploads with cygport 0.22.0

Eric Blake eblake@redhat.com
Wed May 11 16:36:00 GMT 2016


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 http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20160511/34809bcc/attachment.sig>


More information about the Cygwin-apps mailing list