This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: This package does not have any valid version subdirectories


Now I am very confused.  I spent some time looking at this problem last
night and found the source of the error message.  It is in "database.cxx".
Basically, 'CdlDbParser::new_package()' issued this complaint because it was
unable to find any subdirectories (at all) under a package directory, for
examle "hal/common".  When I looked more closely, I found that
'new_package()' called

interp->locate_subdirs(pkgdir, subdirs);

with 'pkgdir' set to "C:/usr/local/ecos/repository".

Yes, there is a "C:" at the beginning of that string, and yes, those are
front slashes in the string.

So, as a hack, I temporarily disabled the 'translate_path()' function (in
"ecosconfig.cxx") and viola, I got my list of packages with "ecosconfig
list".

As I said, I am very confused.  I expect that I am the only person in the
universe for whom this is a problem and I don't understand why.  Have other
folks compiled the newest version of ecosconfig from the (public) CVS
snapshot and run it under cygwin?

If anybody at all answers "yes", then I will go back to trying to figure out
what is wrong with my environment (well, actually, "environments", since I
see this behavior on two machines with radically different versions of
cygwin installed).  Otherwise, I will assume that some bug has crept into
the cygwin version of the command line tool with the recent changes to fix
pathnames and will continue to investigate as time allows.

Please offer suggestions or questions... I am open to either...

--wpd


> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Patrick Doyle
> Sent: Thursday, November 01, 2001 2:35 PM
> To: Jonathan Larmour
> Cc: eCos
> Subject: RE: [ECOS] This package does not have any valid version
> subdirectories
>
>
> It points to the "packages" subdirectory and does use forward slashes.
> Also, I forgot to mention in my previous email, but, yes, all of the
> "current" directories are present in the tree.
>
> Besides, wouldn't I get a different error about an inability to find
> "ecos.db" if ECOS_REPOSITORY was pointed wrongly?  (I believe
> I've seen that
> in the past).
>
> So far, it sounds like no one else has seen this, and/or it's not anything
> blatently obvious.  So, I'll look into the problem in more detail.  In the
> mean time, all suggestions and/or questions will be appreciated.
>
> --wpd
>
>
> > -----Original Message-----
> > From: jlarmour@cambridge.redhat.com
> > [mailto:jlarmour@cambridge.redhat.com]On Behalf Of Jonathan Larmour
> > Sent: Thursday, November 01, 2001 1:21 PM
> > To: Patrick Doyle
> > Cc: eCos
> > Subject: Re: [ECOS] This package does not have any valid version
> > subdirectories
> >
> >
> > Patrick Doyle wrote:
> > >
> > > Hmmm...
> > > I just compiled the host tools from the latest CVS snapshot (as
> > of 12:30 EST
> > > today), set my ECOS_REPOSITORY to point to the packages
> > subdirectory of that
> > > snapshot and executed the following command:
> >
> > Exactly what did you set ECOS_REPOSITORY to? It should be a
> > cygwin path and
> > use forward slashes.
> >
> > Jifl
> > --
> > Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44
> (1223) 271062
> > Maybe this world is another planet's Hell -Aldous Huxley ||
> > Opinions==mine
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]