[Sugar-devel] Bundling libraries, RPMs? (was Re: WatchMe-1, a VNC activity)

Peter Robinson pbrobinson at gmail.com
Mon Aug 17 15:40:00 EDT 2009


Hi Martin,

>> Please DON'T do this. There is absolutely NO guarantee that this will
> ...
>> If you have something that
>> has a dependency you'd be much better to package it up as an rpm where
>> you can do proper rpm requires which means it can pull in any required
>> dependencies. I will quite happily assist in rpm creation and support.
>
> Hi Peter,
>
> I assume you know that when users are installing Sugar 'activities'
> they don't have root access, and that the install is completely in ~
> ...
>
> If we get on the "do the right thing" horse, then we have to ensure
> user-installable RPMs ("relocatable" I think is the feature name) are
> working. AFAIK they aren't, so to support our easy, no-root
> installation we are stuck with some hacks. They aren't pretty but our
> users come first.

I'm aware of why its being done. It doesn't mean it won't cause
issues. For example see the issues with pippy below on rawhide. You
only see this because its an rpm. An xo you won't see this failure. It
will just fail to work, or more than likely bits of it will fail to
work. So for an activity from a.s.o built on something prior to F-12
with a binary object in it will likely fail but there will be no easy
way to tell. So you end up with support issues, have to support
multiple activity builds and I'm not sure if the xos contain any dep
to say that they need a particular release or a way to enforce that.
I'm not saying don't do it, I'm saying expect issues when you do.

Peter

sugar-pippy-34-2.fc12.ppc64 requires libc.so.6(GLIBC_2.4)
sugar-pippy-34-2.fc12.ppc64 requires libc.so.6(GLIBC_2.2.5)(64bit)
sugar-pippy-34-2.fc12.ppc64 requires libm.so.6(GLIBC_2.0)
sugar-pippy-34-2.fc12.ppc64 requires libc.so.6(GLIBC_2.1.3)
sugar-pippy-34-2.fc12.ppc64 requires libstdc++.so.6(GLIBCXX_3.4)
sugar-pippy-34-2.fc12.ppc64 requires libm.so.6
sugar-pippy-34-2.fc12.ppc64 requires libm.so.6(GLIBC_2.2.5)(64bit)
sugar-pippy-34-2.fc12.ppc64 requires libc.so.6
sugar-pippy-34-2.fc12.ppc64 requires libgcc_s.so.1(GCC_3.0)
sugar-pippy-34-2.fc12.ppc64 requires libstdc++.so.6(CXXABI_1.3)
sugar-pippy-34-2.fc12.ppc64 requires libc.so.6(GLIBC_2.0)
sugar-pippy-34-2.fc12.ppc64 requires libgcc_s.so.1
sugar-pippy-34-2.fc12.ppc64 requires libstdc++.so.6


More information about the Sugar-devel mailing list