Select source dependencies with 0compile select
Thomas Leonard <[email protected]>
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy-=P2gzk3unAGw4pJGS2Ee=CS7cxJnz3UXYfqRL6GYvdg@mail.gmail.com> |
[ resending due to sf.net outage ] 0compile currently uses the old Python solver, which never supported source dependencies. Ideally, it should be updated to use the newer OCaml version. You should find that "0install select --source" with that works correctly, and it's possible (I didn't test it) that 0compile would be able to use the resulting selections. Actually getting 0compile updated might be slightly tricky because it would need to depend on both versions of 0install during the transition, and I think they're marked as conflicting (replaced-by). (I'm on holiday at the moment, so being slow to reply) On 13 July 2015 at 17:08, Björn Pollex <[email protected]> wrote: > Also, added source=“true” to the requirement doesn’t change the behaviour. > > Cheers, > > Björn > > On 13 Jul 2015, at 12:04, Björn Pollex <[email protected]> wrote: > > I had a typo below, I was talking about the 0compile setup command, rather > than 0compile select. > > Cheers, > > Björn > > On 13 Jul 2015, at 12:02, Björn Pollex <[email protected]> wrote: > > Hi all, > > It seems that 0compile select doesn’t consider source versions for > dependencies. While 0compile autocompile recursively compiles source > dependencies no binary version can be found, apparently select doesn’t. > > Given this requirement: > > <requires interface=“/path/to/local/source-feed.xml”> > <environment name="CPPPATH" insert="include" mode="prepend" separator=" > "/> > <environment name="STATICLIBS" insert=“lib/libsource.a" mode="prepend" > separator=" “/> > </requires> > > And this implementation in a local source feed: > > <implementation arch="*-src" id="." local-path="." version="0.1-pre"> > <command name="compile" shell-command="cmake "$SRCDIR" > -DCMAKE_INSTALL_PREFIX=$DISTDIR && make && make install" /> > </implementation> > > The running 0compile select fails: > > Can't find all required implementations: > - /path/to/local/source-feed.xml -> (problem) > No usable implementations: > . (0.1-pre): Source code > > However, when I use 0compile to build the library, and then reference the > generated binary feed instead, everything works. Is there a way to make > 0compile select consider source versions of dependencies? > > Cheers, > > Björn > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/_______________________________________________ > Zero-install-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/_______________________________________________ > Zero-install-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Zero-install-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/zero-install-devel > -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------ _______________________________________________ Zero-install-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/zero-install-devel