Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 15:53:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257744] math/lapacke: relies on buggy base system ranlib behaviour
Message-ID:  <bug-257744-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257744

            Bug ID: 257744
           Summary: math/lapacke: relies on buggy base system ranlib
                    behaviour
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org
                CC: phd_kimberlite@yahoo.co.jp
            Blocks: 257599
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)
                CC: phd_kimberlite@yahoo.co.jp

FreeBSD's base system /usr/bin/ar and /usr/bin/ranlib have a bug where the =
exit
status is 0 (i.e., success) even in the case of a missing file, and it turns
out math/lapacke relies on this.  With the bug fixed lapacke's build fails
with:

ranlib SRC/liblapacke.a
ranlib: fatal: Failed to open 'SRC/liblapacke.a': No such file or directory
*** Error code 1

The referenced file is in .build/LAPACKE/liblapacke.a instead. However, note
that ranlib is basically unnecessary and the invocation could just be
eliminated instead.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257599
[Bug 257599] [exp-run] ar/ranlib error handling fix
--=20
You are receiving this mail because:
You are the assignee for the bug.=



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