Package: gprbuild
Version: 1.2.0-1
Severity: minor

Hello. Thanks for packaging this promising tool.

The first example of the tutorial fails:

$ cd first_steps
$ make default.cgpr
gprconfig --batch --config Ada,,default  --config C -o default.cgpr
Error: no matching compiler found for --config=Ada
Creating configuration file: default.cgpr

More details that may be of interest:

$ gprconfig --help
Invalid command line switch: --
...
            The known compilers are: 
...
$ gprconfig -h
...
            The known compilers are: 
GCC-ASM,GNAT,G77,GFORTRAN,G++,GCC-CYGMING,GCC-MINGW32,GCC,G++-WRS653,GCC-WRS653,GCC-WRS6,GCC-28,GCC-WRS5
$ gprconfig
--------------------------------------------------
gprconfig has found the following compilers on your PATH.
Only those matching the target and the selected compilers are displayed.
 (A) GCC-ASM for Asm in /usr/bin/ version (Debian 4.3.4-6) 4.3.4
 (B) GCC-ASM for Asm2 in /usr/bin/ version (Debian 4.3.4-6) 4.3.4
 (C) GCC-ASM for Asm_Cpp in /usr/bin/ version (Debian 4.3.4-6) 4.3.4
 (D) GCC for C in /usr/bin/ version (Debian 4.3.4-6) 4.3.4
 (E) G++ for C++ in /usr/bin/ version (Debian 4.3.4-6) 4.3.4
Select or unselect the following compiler (or "s" to save): 
...
--

There seems to be an upstream bug (--help and -h differ) and a
packaging bug (the XML description of the GNAT compiler does not match
the debian default).

I hope this will help.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gprbuild depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-8  GCC support library
ii  libgnat-4.4                   4.4.2-6    Runtime library for GNU Ada applic
ii  libxmlada3.2                  3.2-4      XML/Ada, a full XML suite for Ada 

gprbuild recommends no packages.

Versions of packages gprbuild suggests:
ii  gnat-4.4                      4.4.2-6    The GNU Ada compiler
ii  gprbuild-doc                  1.2.0-1    a multi-language extensible build 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to