[csw-maintainers] Upgrading shared libraries

Maciej (Matchek) Blizinski maciej at opencsw.org
Thu Sep 24 18:33:43 CEST 2009


On Thu, Sep 24, 2009 at 12:52 PM,  <dam at opencsw.org> wrote:
> Hi Maciej,
>
>> I revisited the modulation presentation from Oslo, it looks like I
>> need to learn more on how to do create multi-version library packages.
>> I'll try to find time this weekend to see if I get this to work. I'm
>> thinking of creating a mgar/pkg/examples directory and putting there a
>> few minimal examples, similar to minimalsmf.
>
> Sure. You can also do
>  cd mgar/pkg
>  grep EXTRA_MODULATORS */trunk/Makefile | grep GARVERSION
> for examples, some easy ones, some advanced. Feel free to link on them
> if you are writing up docs as real-world examples. And of course ask
> any time if you have troubles with modulations :-)

You can always count on me coming up with troubles! ;-)

(I'm serious, I'm doing in such a way that I am going to get errors,
I'm interested in the kinds of errors I'm going to get and what the
fixes are going to be.)

Here's a short version-modulated package example:

http://dpaste.com/97707/

It's telling me this:

gmake[1]: Leaving directory
`/home/maciej/src/opencsw/pkg/examples/modulations/trunk'
        [merge-license] complete for modulatedpkg.
        [merge] complete for modulatedpkg.
pkgproto: ERROR: unable to stat
</home/maciej/src/opencsw/pkg/examples/modulations/trunk/work/pkgroot>
Failed to generate prototype at
/home/maciej/src/opencsw/pkg/examples/modulations/trunk/gar/bin/cswproto
line 129.
gmake: *** [work/build-global/prototype] Error 1

What is it missing? The destination directories surely get created:

maciej at build10s
[build10s]:~/src/opencsw/pkg/examples/modulations/trunk > tree
work/install-isa-sparcv8-garversion-*
work/install-isa-sparcv8-garversion-1.0
`-- opt
    `-- csw
        `-- share
            `-- example-1.0.txt
work/install-isa-sparcv8-garversion-1.1
`-- opt
    `-- csw
        `-- share
            `-- example-1.1.txt
work/install-isa-sparcv8-garversion-2.0
`-- opt
    `-- csw
        `-- share
            `-- example-2.0.txt

9 directories, 3 files

Is it because of the missing merge targets?

Maciej


More information about the maintainers mailing list