Hi Maciej, > On Thu, Sep 24, 2009 at 12:52 PM, <[email protected]> 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: > > mac...@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?
Yes. If you are using EXTRA_MODULATORS you must have custom merge rules. I may add version modulations as default some time. Just see any of the examples. Best regards -- Dago _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers
