[Pkg-openmpi-maintainers] Bug#592892: openmpi: FTBFS: Compilation errors
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Wed Aug 18 14:53:44 UTC 2010
tags 592892 + patch
thanks
* Daniel Schepler | 2010-08-13 10:25:31 [-0700]:
>Source: openmpi
>Version: 1.4.2-3
>Severity: serious
>
>../../../../ompi/datatype/dt_module.c:177: error: expected expression before ')' token
In Line 177 OMPI_ALIGNMENT_FORTRAN_LOGICAL1 is not really set, it is:
/* Size of Fortran 77 LOGICAL*1 */
#define OMPI_SIZEOF_FORTRAN_LOGICAL1
which is set by OMPI_F77_CHECK defined in config/f77_check.m4. By now we
are in the middle of the hell. Lets go further.
That macro has the C default for $ofc_type_alignment and replace it with
the Fortran value in the macro OMPI_F77_GET_ALIGNMENT()
config/f77_get_alignment.m4.
The value should be set in third last line
| $2=AS_VAR_GET([type_var])
It was transformed earlier into
| ofc_type_alignment=$ompi_cv_f77_alignment_LOGICALp1
but become something totally differnt,
|ofc_type_alignment=`eval 'as_val=${'type_var'};$as_echo "$as_val"'`
After carefully replacing it with AS_VAR_COPY we get
| eval ofc_type_alignment=\$$as_type_var
which does the job for now. Puh. Now out quick!
Sebastian
More information about the Pkg-openmpi-maintainers
mailing list