[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice for Interix and to specify users

From: Mark D. Baushke
Subject: Re: Advice for Interix and to specify users
Date: Mon, 21 Apr 2008 01:37:00 -0700

Hash: SHA1

Jerker Bäck <jerker.back@gmail.com> writes:

> Hello all,
> For a long time I have successfully used the 1.11.22 version on Interix.
> Newer versions didn't work for various reasons.

Okay. Reporting problems with top-of-tree cvs 1.12.x might also be a way
to get them fixed.

> Now I have built cvs from current repository and it all looks promising.

Given the error you are describing, I presume this is the top-of-branch
of the cvs1-11-x-branch branch tag right?

> There is a problem however, when I run the tests it exits with the
> following:
> ...
> ** expected: 
> admin: invalid option -- H
> cvs \[admin aborted\]: specify cvs -H admin for usage information
> ** or: 
> admin: illegal option -- H
> cvs \[admin aborted\]: specify cvs -H admin for usage information
> ** got: 
> (null): unknown option -- H
> cvs [admin aborted]: specify cvs -H admin for usage information
> FAIL: basicb-21
> I got "(null)" instead of "admin".

Okay. This means that the global variable cvs_cmd_name is NULL for some
reason. It should be getting set in main.c::main() based on the value of
argv[0] after getopt_long() is being called.

It could be that your system has some other version of getopt_long()
than the one in lib/getopt1.c and is not behaving as expected.

> I tried to configure the "--[with/without]-cvs-admin-group" option - no
> effect.
> Anyone got a clue how to pass this and continue the tests?

You probably need to break out a source level debugger and put a break
point in main() and getopt_long() as well as error() and figure out why
cvs_cmd_name is not getting properly updated.

        -- Mark

> Thanks
> Jerker
> My system:
> Windows 2008 x64 POSIX subsystem (SUA) with Interix 64bit SDK 6.0
> (This is a BSD based unix-like system running on the Windows NT kernel)
> Compiler: cc (which targets the MS x64 compiler from VS2008)
> GNU make, Interix Korn shell
Version: GnuPG v1.4.6 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]