From owner-freebsd-ports@FreeBSD.ORG Tue Dec 5 00:46:22 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7DBE316A403 for ; Tue, 5 Dec 2006 00:46:22 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from ithil.ics.muni.cz (ithil.ics.muni.cz [147.251.4.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08DE743CAA for ; Tue, 5 Dec 2006 00:45:45 +0000 (GMT) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (comp11.ma.ics.muni.cz [147.251.55.11]) (authenticated bits=0) by ithil.ics.muni.cz (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kB50kGDR029832 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 5 Dec 2006 01:46:18 +0100 From: "Petr Holub" To: "Karel Miklav" Date: Tue, 5 Dec 2006 01:46:18 +0100 Message-ID: <004301c71806$c6d53380$c8a423c0@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Importance: Normal X-Muni-Spam-TestIP: 147.251.55.11 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ithil.ics.muni.cz [147.251.4.38]); Tue, 05 Dec 2006 01:46:20 +0100 (CET) Cc: ports@freebsd.org Subject: RE: lang/gnat-gcc41 build error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 00:46:22 -0000 > > 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