< On Fri, 1 Jan 2010 Peter Naulls wrote: > > alan buckley wrote: >> I've finally had a chance to look at the GCC >> riscpkg packages today and tried to install >> them. >> >> As mentioned by Peter you can not select the >> C++ compiler without it deselecting the C >> compiler. >> >> I've tracked down the bug to the control >> record of the sharedlibs package which has >> a dependency to sharedunixlibrary. The problem >> is the case is incorrect the package name >> should be SharedUnixLibrary - case is important. > > I've taken a further look at this. I've fixed > the inconsistency on riscos.info at least (by > uploading a new sharedunixlibrary package), but the > real problem I think remains the lack of "Provides:" > tag support. I believe that "Provides" wasn't provided in riscpkg because for a real source package there is a single control record that gives the information for all the packages produced by that source. It used a program called riscpkg-gencontrol (I may have the name slightly wrong here) that processed this to produce the control records for the binary package. The final effect is only different from what we did because it has a "Source:" field in the binary packages control record that showed what was used to create the package. > Incidentally, I also added to my > script some additional Conflicts: tags to really > ensure people don't try to use very old GCC 2.x > and 3.x (and the explicit !UnixLib). Please don't add a conflicts with the explicit !UnixLib. The sharedunixlibrary doesn't actually conflict with !UniXLib, it will replace it in time though, but old packages can still use !UnixLib.
> > The problem is introduced when adding the NetSurf > repository, since as you mention, that depends upon, > and also has, an upper case version. That will > have conflicting files with the lower case version > when you try to install. > > There are a couple of things that can be done here: > > - Rename the riscos.info package names to lower case. I think I would have prefered at least the SharedUnixLibrary package to retain the mix case as it would fit better on the riscpkg site as I would like to put a copy of it there so all future packages use it instead of !UnixLib. > - Implement the Provides: field. I'm not sure what the "Provides" tag adds, can you explain it to me? > - Get the NetSurf maintainers to change the dependency > to "SharedUnixLibrary|sharedunixlibrary" - that is > not 100% perfect, but will certainly help in most > cases. > - Add a "Conflicts: SharedUnixLibrary" to the lower > case version. That will help the above. As long as NetSurf maintainers change their package this may be the best that can now be done (but I'd still prefer to keep the name SharedUnixLibrary). Regards, Alan _________________________________________________________________ Use Hotmail to send and receive mail from your different email accounts http://clk.atdmt.com/UKM/go/186394592/direct/01/ _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
