troubleshooting a build failure under mock

Clark Williams williams at redhat.com
Mon Feb 26 15:17:47 UTC 2007


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

Anthony Joseph Seward wrote:
> On Sat, 2007-02-24 at 00:13 +0000, Karanbir Singh wrote:
>> Anthony Joseph Seward wrote:
>>> On Fri, 2007-02-23 at 17:42 -0600, Connie Sieh wrote:
>>>> On Fri, 23 Feb 2007, Anthony Joseph Seward wrote:
>>>>
>>>>> My situation is this: my build system is running Scientific Linux 4.4
>>>>> (basically RHEL 4) with mock 0.6.12.  It fails to build a particular RPM
>>>>> when trying to compile a fortran file.  The error issued is
>>>>>
>>>>>    mkscrlib.f:381: internal compiler error: Illegal instruction
>>>> What rpm are you trying to build?
>>>>
>>> An in-house application for work.
>> if you post your .src.rpm online somewhere, someone might be able to 
>> help debug the issue.
>>
> 
> I don't think the .src.rpm is the issue.
> 
> Again, using the same version of mock, the RPM will build when mock is
> hosted on an FC 6 system but not when running SL 4.4.
> 
> Tony

Hmmm. That sounds like the version of gfortran on SL4.4 has a problem.
What's the version of the fortran package (gcc4-gfortran or gcc-gfortran)?

Also, if you run the build by hand on SL4.4, do you still get the
internal compiler error? If not, then there's something going on in the
environment set up by mock. If you do, then you have a toolchain issue
with gfortran and will need to take it up with your distro vendor :).

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF4vobHyuj/+TTEp0RAoNKAJ9UTS5Vsw/wuwjADz4Y7mS9KD9QRgCgtNz/
XxEqEA1x9NWD234igALf3Lg=
=yMET
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list