From: "Petr Holub" on 1 Dec 2006 09:01 This is a multi-part message in MIME format. ------=_NextPart_000_0045_01C71558.EAA33BA0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Dear Karel, all, another problem with building gnat-gcc41 (after I've manually upped the math/mpfr port to 2.2.1 and installed it). Thanks, Petr ===> Configuring for gnat-gcc-4.1.2_1 cd /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20060901 ; contrib/gcc_update --touch creating cache ./config.cache checking host system type... i386-portbld-freebsd6.2 checking target system type... i386-portbld-freebsd6.2 checking build system type... i386-portbld-freebsd6.2 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether ln works... yes checking whether ln -s works... yes checking for gcc... cc checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g ) works.. .. yes checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g ) is a cr oss-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for gnatbind... gnatbind checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... yes checking for MPFR... yes configure: error: The following requested languages could not be built: ada Recognised languages are: c,ada,obj-c++,treelang ===> Script "..//gcc-4.1-20060901/configure" failed unexpectedly. Please report the problem to karel(a)lovetemple.net [maintainer] and attach the "/usr/ports/lang/gnat-gcc41/work/build/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/gnat-gcc41. ------=_NextPart_000_0045_01C71558.EAA33BA0 Content-Type: text/plain; name="config.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:600: checking host system type configure:621: checking target system type configure:639: checking build system type configure:694: checking for a BSD compatible install configure:747: checking whether ln works configure:771: checking whether ln -s works configure:1825: checking for gcc configure:1938: checking whether the C compiler (cc -O2 = -fno-strict-aliasing -pipe -g ) works configure:1954: cc -o conftest -O2 -fno-strict-aliasing -pipe -g = conftest.c 1>&5 configure:1980: checking whether the C compiler (cc -O2 = -fno-strict-aliasing -pipe -g ) is a cross-compiler configure:1985: checking whether we are using GNU C configure:1994: cc -E conftest.c configure:2013: checking whether cc accepts -g configure:2080: checking for gnatbind configure:2145: checking whether compiler driver understands Ada configure:2177: checking how to compare bootstrapped objects configure:2275: checking for correct version of gmp.h configure:2288: cc -c -O2 -fno-strict-aliasing -pipe -g = -I/usr/local/include conftest.c 1>&5 configure:2301: checking for MPFR configure:2314: cc -o conftest -O2 -fno-strict-aliasing -pipe -g = -I/usr/local/include conftest.c -L/usr/local/lib -lmpfr -lgmp 1>&5 ------=_NextPart_000_0045_01C71558.EAA33BA0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" ------=_NextPart_000_0045_01C71558.EAA33BA0--
From: Karel Miklav on 2 Dec 2006 01:36 Petr Holub wrote: > another problem with building gnat-gcc41 (after I've manually upped > the math/mpfr port to 2.2.1 and installed it). Please open the Makefile for this port and add flags "--without-gmp --without-mpfr" to the CONFIGURE_ARGS variable. Rebuild and tell us what happens. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Karel Miklav on 2 Dec 2006 18:18 This is a multi-part message in MIME format. --------------060704070108010808040902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yeah, I was able to reproduce the error! Try to replace the Makefile with the one attached here. --------------060704070108010808040902 Content-Type: text/plain; name="Makefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile" # ex:ts=4 # Ports collection makefile for: gnat-gcc # Date created: 22 Jun 2006 # Whom: Karel Miklav <karel(a)lovetemple.net> # # $FreeBSD: ports/lang/gnat-gcc41/Makefile,v 1.6 2006/09/12 10:11:39 bsam Exp $ # PORTNAME= gnat-gcc PORTVERSION= 4.1.2 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${versionstring} DISTFILES= gcc-core-${versionstring}${EXTRACT_SUFX} \ gcc-ada-${versionstring}${EXTRACT_SUFX} \ gcc-testsuite-${versionstring}${EXTRACT_SUFX} MAINTAINER= karel(a)lovetemple.net COMMENT= The GNU Ada Compiler system ONLY_FOR_ARCHS= i386 USE_BZIP2= yes USE_GMAKE= yes USE_ICONV= yes USE_PERL5_BUILD= yes USE_BISON= yes CONFLICTS= gcc-4.1.* WRKSRC= ${WRKDIR}/build MAN1= cpp${gcc_suffix}.1 \ gcc${gcc_suffix}.1 \ gcov${gcc_suffix}.1 MAN7= ${fsf_mans:S/$/${fsf_suffix}.7/} NOMANCOMPRESS= yes # 5-cur and releng4 problems? INFO= gcc${gcc_suffix}/cpp \ gcc${gcc_suffix}/cppinternals \ gcc${gcc_suffix}/gcc \ gcc${gcc_suffix}/gccinstall \ gcc${gcc_suffix}/gccint \ gcc${gcc_suffix}/gnat-style \ gcc${gcc_suffix}/gnat_rm \ gcc${gcc_suffix}/gnat_ugn_unw LATEST_LINK= ${PORTNAME}${gcc_suffix} ..include <bsd.port.pre.mk> gcc_snapshot= 20060901 versionstring= ${PORTVERSION:C/\.[0-9]*$//}-${gcc_snapshot} srcdir= ${WRKDIR}/gcc-${versionstring} gcc_suffix= 41 fsf_mans= fsf-funding gfdl gpl fsf_suffix= -${PORTNAME}${gcc_suffix} targlib= ${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION} PATCH_WRKSRC= ${srcdir} GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../${srcdir:C/${WRKDIR}//}/configure CONFIGURE_ARGS= --enable-languages="c,ada" \ --disable-nls \ --with-system-zlib \ --with-libiconv-prefix=${LOCALBASE} \ --program-suffix=${gcc_suffix} \ --bindir=${PREFIX}/bin/gcc${gcc_suffix} \ --libdir=${targlib} \ --infodir=${PREFIX}/${INFO_PATH}/gcc${gcc_suffix} ALL_TARGET= bootstrap-lean MAKE_ENV+= MAKEINFOFLAGS="--no-split" PTHREAD_LIBS=${PTHREAD_LIBS} PLIST_SUB= GCC_VER=${PORTVERSION} \ GNU_HOST=${CONFIGURE_TARGET} \ SUFFIX=${gcc_suffix} USE_LDCONFIG= ${targlib} # We need an existing GNAT compiler to bootstrap this one. #have_gnat!= if ${WHICH} gnatmake > /dev/null 2>&1; then \ # ${ECHO_CMD} "t"; \ # else \ # ${ECHO_CMD} ""; \ # fi #.if empty(have_gnat) BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc34/gcc34:${PORTSDIR}/lang/gnat-gcc34 CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34 MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc34:${PATH} CC=${LOCALBASE}/bin/gcc34/gcc34 #.endif pre-everything:: @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" # Append ' [FreeBSD]' to gcc version string. post-patch: @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \ ${srcdir}/gcc/version.c pre-configure: cd ${srcdir} ; contrib/gcc_update --touch @${RM} -f ${srcdir}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} post-build: @${ECHO_MSG} "Consider running 'make check' before 'make install', especially" @${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT." @${ECHO_MSG} "This assumes that you have the dejagnu port installed." check: build cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check post-install: ${LN} -s ${PREFIX}/bin/gcc${gcc_suffix}/gcc${gcc_suffix} \ ${PREFIX}/bin/gcc${gcc_suffix}/gcc # Man pages can only be generated if Perl >= 5.6 is installed; fake them otherwise. for mp in ${_MANPAGES}; do \ ${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \ done # Version FSF funding and licensing manuals. for mp in ${fsf_mans}; do \ ${MV} -f ${PREFIX}/man/man7/$${mp}.7 \ ${PREFIX}/man/man7/$${mp}${fsf_suffix}.7; \ done # Save the runaway header. ${MV} -f ${PREFIX}/include/mf-runtime.h \ ${targlib}/gcc/${CONFIGURE_TARGET}/${PORTVERSION}/include # Remove libtool library files. ${RM} -f ${targlib}/*.la # Add target libraries and include files to packaging list. ${RM} -f ${WRKDIR}/PLIST.lib for d in ${targlib:S/^${PREFIX}\///} ${targlib:S/^${PREFIX}\///:S/lib/libexec/}; do \ cd ${PREFIX} ; \ if [ -d $${d} ]; then \ ${FIND} $${d} -type f -o -type l >>${WRKDIR}/PLIST.lib ; \ ${FIND} $${d} -type d | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ; \ fi ; \ done ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>/dev/null || true" >> ${WRKDIR}/PLIST.lib cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST} ..include <bsd.port.post.mk> --------------060704070108010808040902 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" --------------060704070108010808040902--
From: "Petr Holub" on 4 Dec 2006 10:05 > 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. Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub(a)cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet(a)ics.muni.cz _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Petr Holub" on 4 Dec 2006 19:47 > > 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 _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Next
|
Last
Pages: 1 2 3 Prev: HEADS UP: GNOME 2.16.1 has been committed Next: Taucs 2.2.4 build failure |