lang/gnat-gcc41 build error
Petr Holub
hopet at ics.muni.cz
Mon Dec 4 16:46:22 PST 2006
> > Yeah, I was able to reproduce the error! Try to replace
> > the Makefile with the one attached here.
>
> Now it looks it depends on gnat-gcc34. which fails with the follwing:
>
> Making GCC gnat-gcc-3.4.6 for FreeBSD 6.2 target=i386-portbld-freebsd6.2
> ===> Extracting for gnat-gcc-3.4.6_2
> => MD5 Checksum OK for gcc-core-3.4.6.tar.gz.
> => SHA256 Checksum OK for gcc-core-3.4.6.tar.gz.
> => MD5 Checksum OK for gcc-ada-3.4.6.tar.gz.
> => SHA256 Checksum OK for gcc-ada-3.4.6.tar.gz.
> ===> gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===> Patching for gnat-gcc-3.4.6_2
> ===> gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===> Applying FreeBSD patches for gnat-gcc-3.4.6_2
> ===> gnat-gcc-3.4.6_2 depends on executable in : gmake - found
> ===> gnat-gcc-3.4.6_2 depends on executable in : bison - found
> ===> gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===> Configuring for gnat-gcc-3.4.6_2
> cd /usr/ports/lang/gnat-gcc34/work/gcc-3.4.6; contrib/gcc_update --touch
> # Ada and C compilers should be the same.
> if [ -d ]; then /bin/ln -s /adagcc /cc; fi
> ln: /cc: File exists
> *** Error code 1
>
> Stop in /usr/ports/lang/gnat-gcc34.
Oh sorry. That was an easy one - the previous build, which I interrupted,
has already created the /cc link.
But the next one is:
/usr/local/bin/gnatgcc -c -g -gnatpg -gnata -g -O1 -fno-inline \
-I- -I. -Iada -I.././../gcc-3.4.6/gcc/ada .././../gcc-3.4.6/gcc/ada/a-e
xcept.adb -o ada/a-except.o
s-traent.ads:61:01: (style) blank lines not allowed at end of file
a-exexda.adb:346:01: (style) multiple blank lines
a-exextr.adb:216:01: (style) multiple blank lines
gmake[2]: *** [ada/a-except.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gnat-gcc34/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gnat-gcc34/work/build/gcc'
gmake: *** [bootstrap] Error 2
*** Error code 2
Stop in /usr/ports/lang/gnat-gcc34.
*** Error code 1
Stop in /usr/ports/lang/gnat-gcc41.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.12835.7 en
v make DEPENDS_TARGET=package
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/gnat-gcc41 (unknown build error)
---> Packages processed: 0 done, 7 ignored, 0 skipped and 1 failed
... maybe because I have lang/gnat already installed? And why do we
need gnat-gcc34 anyway?
Petr
More information about the freebsd-ports
mailing list