Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 22:45:40 -0500 (CDT)
From:      Quincey Koziol <koziol@ncsa.uiuc.edu>
To:        ports@freebsd.org
Subject:   gcc 4.1 build issues w/portupgrade
Message-ID:  <200504300345.j3U3jedX020291@sleipnir.ncsa.uiuc.edu>

next in thread | raw e-mail | index | archive | help
Hi all,
    I'm seeing some odd behavior when attempting to build the new gcc 4.1 port
with fortran.  I've got the following line defined in the MAKE_ARGS section
of my pkgtools.conf file:

    'lang/gcc4*' => '-D WANT_SHAREDLIBS -D WITH_FORTRAN',

    When I run "portupgrade -fv gcc-4.0.1_20050423", I get the following output:

 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 244 packages found
(-0 +0)  done]
--->  Reading default options: -u
--->  Session started at: Fri, 29 Apr 2005 22:36:11 -0500
--->  Reinstallation of lang/gcc40 started at: Fri, 29 Apr 2005 22:36:16 -0500
--->  Reinstalling 'gcc-4.0.1_20050423' (lang/gcc40)
--->  Build of lang/gcc40 started at: Fri, 29 Apr 2005 22:36:16 -0500
--->  Building '/usr/ports/lang/gcc40' with make flags: -D WANT_SHAREDLIBS -D WI
TH_FORTRAN
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for bison-1.75_2
===>  Cleaning for gettext-0.14.1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.5.10_1
===>  Cleaning for m4-1.4.3
===>  Cleaning for perl-5.8.6_2
===>  Cleaning for libgmp-4.1.4
===>  Cleaning for expat-1.95.8_1
===>  Cleaning for gcc-4.0.1_20050423
Making GCC 4.0.1 for FreeBSD 4.11  target=i386-portbld-freebsd4.11
(without libgcj)
===>  Vulnerability check disabled, database not found
===>  Extracting for gcc-4.0.1_20050423
.
.
.

    Note that the make flags are indeed passed down correctly.

    However, when I run "portupgrade -fv gcc-4.1.0_20050424" I get this output:

 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 244 packages found (-0 +0)  done]
--->  Reading default options: -u
--->  Session started at: Fri, 29 Apr 2005 22:37:03 -0500
--->  Reinstallation of lang/gcc41 started at: Fri, 29 Apr 2005 22:37:09 -0500
--->  Reinstalling 'gcc-4.1.0_20050424' (lang/gcc41)
--->  Build of lang/gcc41 started at: Fri, 29 Apr 2005 22:37:09 -0500
--->  Building '/usr/ports/lang/gcc41'
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for bison-1.75_2
===>  Cleaning for gettext-0.14.1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.5.10_1
===>  Cleaning for m4-1.4.3
===>  Cleaning for perl-5.8.6_2
===>  Cleaning for expat-1.95.8_1
===>  Cleaning for gcc-4.1.0_20050424
Making GCC 4.1.0 for FreeBSD 4.11  target=i386-portbld-freebsd4.11
(without libgcj)
===>  Vulnerability check disabled, database not found
===>  Extracting for gcc-4.1.0_20050424
.
.
.

    Note that the make flags are _not_ passed down.

    Am I doing something wrong here, or is the problem somewhere else?  (I'm
running 4-STABLE, if that makes a difference)

        Thanks,
            Quincey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504300345.j3U3jedX020291>