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

Re: Building gnat-4.9



On Tue, 04 Feb 2014 15:55:17 +0100, Xavier Grave wrote:
Hi,

Using 635a502c2ae5cec4295d517731f2646f2ed524cf monotone revision of
org.debian.gnat-4.9 I hit the following packaging wall :

rm -rf debian/libgnat-4.9
dh_installdirs -plibgnat-4.9 usr/share/doc usr/lib
for lib in lib{gnat,gnarl}; do \
          vlib=$lib-4.9; \
          mv
debian/tmp/usr/lib/gcc/x86_64-linux-gnu/4.9/adalib/$vlib.so.1
debian/tmp/usr/lib/x86_64-linux-gnu/. ; \
          rm -f
debian/tmp/usr/lib/gcc/x86_64-linux-gnu/4.9/adalib/$lib.so.1; \
        done
mv: cannot stat

'debian/tmp/usr/lib/gcc/x86_64-linux-gnu/4.9/adalib/libgnat-4.9.so.1':
No such file or directory
make[1]: *** [stamps/08-binary-stamp-libgnat] Error 1

It seems that the adalib (neither adainclude) is created. I suspect a
problem in the target declaration that can be due to a patch
incompatibility...
I continue to investigate on my own, but if somebody already hit the
same wall, please feel free to send any comment/fix...

Parsing in more detail my build log I found :
/home/grave/gnat-lab/org.debian.gnat-4.9/build/./gcc/xgcc -B/home/grave/gnat-lab/org.debian.gnat-4.9/build/./gcc/ -c -g -O2 -W -Wall -gnatpg -nostdinc g-cppexc.adb -o g-cppexc.o
make[7]: *** No rule to make target `s-excmac.o'.  Stop.

This object file seems to be needed here :
src/gcc/ada/gcc-interface/Makefile.in:2372: EXTRA_GNATRTL_NONTASKING_OBJS+=g-cppexc.o s-excmac.o

I continue to investigate.



Reply to: