This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: setup libsolv: getting rid of ".any"
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: Ken Brown <kbrown at cornell dot edu>, cygwin-apps at cygwin dot com
- Date: Fri, 5 Jan 2018 14:08:03 +0000
- Subject: Re: setup libsolv: getting rid of ".any"
- Authentication-results: sourceware.org; auth=none
- References: <64d2379c-3f5d-f9b7-57f2-43b14db810b2@cornell.edu>
On 13/12/2017 00:04, Ken Brown wrote:
I've been trying to think of a way to get rid of the suffix ".any" that
gets appended to package names. I think users will be confused by this
when they see it in log files and, more importantly, in problem reports.
The only thing I can come up with is patching libsolv so that
pool_solvable2str() suppresses 'arch' when arch == ARCH_ANY. Can you
think of a better way?
Ideally, we'd have the actual archness of the package, but we don't have
that information for installed packages, so I didn't bother with keeping
it around for anything.
I'm not too worried about this appearing in the log file, but we could
post-process problem strings in SolverSolution::report() to remove '.any'