grads fails because gcc40 fails ?

Barry McInnes Barry.J.Mcinnes at noaa.gov
Fri Dec 21 10:50:43 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I installed the dependencies one at a time, and installed gcc42 as well
just to see if it would build which it does.

Currently the stellarium error is

sh-3.2# port install stellarium
- --->  Staging boost into destroot
Error: Target org.macports.destroot returned: no files matched glob
pattern "*-1_34_1.dylib"
Error: The following dependencies failed to build: boost
Error: Status 1 encountered during processing.
sh-3.2# port install boost
- --->  Staging boost into destroot
Error: Target org.macports.destroot returned: no files matched glob
pattern "*-1_34_1.dylib"
Error: Status 1 encountered during processing.
sh-3.2#

grads fails on gcc40

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/rs6000/host-darwin.c:130:
warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make[2]: *** [host-darwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2

Error: The following dependencies failed to build: libnc-dap gcc40
Error: Status 1 encountered during processing.
[mac27:grib2/netcdf-3.6.2/libsrc] root#


gcc40 fails

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/rs6000/host-darwin.c:
In function 'darwin_rs6000_extra_signals':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc40/work/gcc-4.0.4/gcc/config/rs6000/host-darwin.c:130:
warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make[2]: *** [host-darwin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
echo timestamp > s-gtype
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2

Error: Status 1 encountered during processing.


On 12/21/07 1:29 AM, Ryan Schmidt wrote:
> On Dec 20, 2007, at 17:09, Markus Weissmann wrote:
> 
>> On Dec 20, 2007, at 9:07 PM, Ludovic Hirlimann wrote:
>>
>>> On 20 déc. 07, at 20:20, Barry McInnes wrote:
>>>
>>>> gcc42 installs for me, but gcc40 does not. Is there a way to force the
>>>> build of stellarium and others, to use gcc42 instead of the default
>>>> gcc40 ?
>>>
>>> gcc_select ?
>>
>> Nah, this won't have an effect on most ports (which doesn't mean it's
>> a good idea to use it).
>> In a perfect world (tm), the port will react to:
>> `port install foo configure.compiler=FOO'
>> where FOO might be something like "gcc-4.0" (default on 10.4 and
>> 10.5), "gcc-3.3", "macports-gcc-4.2", etc.
>> See [1] for all available options. (and of course even if this
>> succeeds, it's still a bug)
> 
> In a perfect world, ports would be updated to no longer depend on the
> gcc40 port, and instead depend on the gcc42 port, if appropriate.
> 
>> PS: Does stellarium really require the gcc 4.0 from MacPorts?
> 
> The stellarium port does not depend on any gcc port. On first glance,
> there does not appear to be any gcc port anywhere in the dependency tree
> of stellarium (unless it occurs via a variant).
> 

- --
- ---
Barry McInnes
325 Broadway
Boulder CO 80304
(303)4976231
barry.j.mcinnes at noaa.gov
- ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFHbAsDKoTeRnsNi5kRAqGMAKDENGqrzZT2NmleoaCaDejDwHJOqACg0MEB
39D9EokzYiapuYubGNUo0pU=
=lY/K
-----END PGP SIGNATURE-----


More information about the macports-users mailing list