Edwin,

I have now fixed this issue with Faxien and the changes are available
in git://github.com/zishanhmirza/faxien.git. Check my logs:

I only use two local repositories. The "project" release is in repo2.

zis...@zishan-laptop:~/dev_erlware/faxien$ faxien ir project

Initiating Install for Remote Release project-0.1.0.0
Release compiled for R13B01
Pulling down erl_interface-3.6.2 for R13B01 -> ok # in repo
Pulling down tv-2.1.4.3 for R13B01 -> ok # in repo2
Pulling down otp-0.1.0 for R13B01 -> ok # in repo2
Release compiled for R13B01
building here "/home/zishan/erlware/releases/project-0.1.0.0"
Installation of project-0.1.0.0 resulted in ok
ok

It works fine for me, but it would be good if you could test it to
make sure it works fine for you as well.

Thanks,

Zishan

Edwin skrev:
> Zirshan,
>
> No, the bug in my situation ends up with faxien reporting an error:
>
> $ faxien ir myapp
>
> Initiating Install for Remote Release myapp-2.0.0.2
> Release compiled for R13B01
>
> Pulling down xmerl-1.2 {unable_to_pull_from_repos,"Couldn't get
> xmerl.tar.gz from repos"}
>
> Suggestions:
>  - Couldn't get xmerl.tar.gz from repos
>    Please request that the package compiled for your local
>    architecture be published to an accessible repository.
>  - For sasl log information look at "/tmp/faxien.sasl_log"
>
> If I then installed xmerl directly, faxien worked ok:
>
> $ faxien ia xmerl
> Pulling down xmerl-1.2 for R13B01 -> ok
> ok
>
> The repos were set up as my server first, then official:
>
> Repos to search
>   ["http://someserver.somewhere.com:8080/erlware";,
>    "http://repo.erlware.org/pub";]
>
> It just seemed like if it was installing from the first repo, and then
> it got a missing dependency that actually resided on the second repo,
> it broke:
>
> $ faxien ir myapp
>
> Initiating Install for Remote Release myapp-2.0.0.2
> Release compiled for R13B01
> Pulling down mylib1-2.0.0.0 for R13B01 -> ok
> Pulling down mylib2-2.0.0.0 for R13B01 -> ok
> Pulling down mylib3-2.0.0.3 for R13B01 -> ok
> Pulling down eunit-2.1.2 {unable_to_pull_from_repos,"Couldn't get
> eunit.tar.gz from repos"}
>
> Suggestions:
>  - Couldn't get eunit.tar.gz from repos
>    Please request that the package compiled for your local
>    architecture be published to an accessible repository.
>  - For sasl log information look at "/tmp/faxien.sasl_log"
>
> The first three packages were in the first repo, and eunit in the
> (official) second repo.
>
> Hope this helps.
>
> On Nov 9, 3:32 pm, Zishan Mirza <[email protected]> wrote:
> > Hi Edwin Fine,
> >
> > I am looking into to the bug report you brought up regarding a strange
> > behavior with Faxien, that it doesn't install dependencies from
> > multiple repositories. I am trying to replicate this error. So far, I
> > have created a two applications, named shg and otp. The application
> > shg depends on a bunch of applications from the official repository,
> > e.g. tv, ssl, ssh, jinterface, erl_interface, etc. The application otp
> > depends only on shg (and of course kernel and stdlib, the standard
> > ones).
> >
> > Afterwards, I make sure that all the dependencies like tv, ssl, ssh,
> > jinterface, etc. are removed, and I try to install the application
> > otp. The application otp is installed without installing installing
> > all the dependencies. Both applications otp and shg are in my local
> > repository and the rest of the applications, Faxien should fetch from
> > the official repository. Check the log below. The extra stuff are only
> > for debugging purposes.
> >
> > zis...@zishan-laptop:~/erlware$ faxien ia otp
> > Pulling down otp-0.1.0 Repos:["file:///home/zishan/erlware/repo"]
> > ErtsVsn:"5.7.2"
> > Package:"otp"
> > Version:"0.1.0"
> > To:"/tmp/ewl_tmp-326585/"
> > Areas:["Generic","i686-pc-linux-gnu-glibc-2.3","i686-pc-linux-gnu-
> > glibc-2.2",
> >      "i686-pc-linux-gnu-glibc-2.1","i686-pc-linux-gnu-glibc-2.0"]
> > Side:lib
> > Timeout:120000
> > PosLocations: ["/5.7.2/Generic/lib/otp/0.1.0/",
> >              "/5.7.2/i686-pc-linux-gnu-glibc-2.3/lib/otp/0.1.0/",
> >              "/5.7.2/i686-pc-linux-gnu-glibc-2.2/lib/otp/0.1.0/",
> >              "/5.7.2/i686-pc-linux-gnu-glibc-2.1/lib/otp/0.1.0/",
> >              "/5.7.2/i686-pc-linux-gnu-glibc-2.0/lib/otp/0.1.0/"]
> > for R13B01 -> ok
> > ok
> >
> > Is this the bug that you mean in the bug report?
> >
> > Thanks,
> >
> > Zishan

--

You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=.


Reply via email to