1 Apr 2012 16:16
Re: mingw-get: [RFC] forcing a particular package version
On Fri, Mar 30, 2012 at 11:34 AM, Keith Marshall <keithmarshall <at> users.sourceforge.net> wrote: > Guys, > > I've been experimenting with a code modification, to allow users to > force installation of a specific version, other than the most recently > released version, of any package; for example > > $ mingw-get install "gcc=4.5.*" > > would install the latest gcc-4.5.x release, eschewing gcc-4.6.x > > I already have this (mostly) working. However while the above example > does work, the wild card is needed: > > $ mingw-get install "gcc=4.5" > > doesn't work, (because there is no release with a version number which > is an *exact* match for gcc-4.5-(Continue reading)mingw32-...); it currently fails with: > > mingw-get: *** ERROR *** internal package specification error > mingw-get: *** ERROR *** can't get 'tarname' for non-release element \ > <<<unknown>>> > mingw-get: *** ERROR *** please report this to the package maintainer > > which isn't particularly helpful; it arises because, although the named > package was found, no suitable release was selected, and an install was > scheduled with a NULL pointer to the release record: hence, no tarname > attribute retrievable via that NULL pointer. I'll need to devise some > more elegant handling for this condition, before releasing.
RSS Feed