pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40103: problem with math/blas/files/Makefile.blas

>Number:         40103
>Category:       pkg
>Synopsis:       problem with math/blas/files/Makefile.blas
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 04 14:35:00 +0000 2008
>Originator:     Russell McManus
>Release:        rhel 5
Linux frln31 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:58:43 EDT 2008 x86_64 
x86_64 x86_64 GNU/Linux
The python numpy package does play nice with pkgsrc-2008Q3:

    $ echo import numpy | python2.5
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
line 43, in <module>
        import linalg
 line 4, in <module>
        from linalg import *
 line 25, in <module>
        from numpy.linalg import lapack_lite
    ImportError: /glib/pkgsrc-2008Q3/x86_64/lib/ undefined symbol: 

This problem is similar to the one described here:

From the above error message, one might think that the problem is
related to  However the problem is actually in math/blas.

I happened to have a pkgsrc-2008Q2 tree lying about which did not have
the problem.  Using this, I was able to isolate the issue.

Note the following:

  $ nm /glib/pkgsrc-2008Q2/x86_64/lib/ | grep MAIN__
  $ nm /glib/pkgsrc-2008Q3/x86_64/lib/ | grep MAIN__
          U MAIN__

After reverting math/blas/files/Makefile.blas from version 1.2 down to
version 1.1, MAIN__ no longer appears undefined in,
and the import of numpy succeeds.

The "cvs log" message related to the 1.2 checkin is as follows:

    revision 1.2
    date: 2008/08/12 21:29:11;  author: markd;  state: Exp;  lines: +1 -1
    Tell libtool that its linking fortran so the correct libraries get
    linked in.

So I don't think that we can simply revert the change.



Home | Main Index | Thread Index | Old Index