Package: adacgi1
Version: 1.6-16
Severity: normal

Hi,

Building a project that has 'with "adacgi"' in the project file fails with the
following errors when using gprbuild:

could not create temporary file in /usr/lib/ada/adalib/adacgi/
gprbuild: unable to create temporary configuration pragmas file

It seems that gprbuild tries to write into '/usr/lib/ada/adalib/adacgi/', which
of course fails without root privileges.

The easiest way to reproduce the problem is to copy the examples directory from
adacgi1/doc to a place where you have write privileges and doing 'gprbuild
examples.gpr'.

Using 'gnatmake -Pexamples.gpr' (as the provided Makefile does) works without
problems.

Adding 'for Externally_Built use "true";' to
'/usr/share/ada/adainclude/adacgi.gpr' fixes the problem. I am not entirely
sure this is the correct fix as gnatmake -P works just fine.

Cheers,
Torsti



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages adacgi1 depends on:
ii  gnat      4.6
ii  gnat-4.6  4.6.3-4

adacgi1 recommends no packages.

adacgi1 suggests no packages.

-- 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