Package: lam
Version: 7.1.4-6.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

Hi,

lam FTBFS with binutils 2.36 (currently in experimental). The reason is
that the romio module tries to use the -l flag to ar by default, which
doesn't do anything in binutils <2.36 and starts having a function in
2.36, one that is different from the one that the romio config script is
intending to use.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/rules: Pass -ar_nolocal to the romio configure script because it uses
    the -l option for ar, which is something completely different in binutils
    2.36.

Thanks for considering the patch.

Logan
diff -Nru lam-7.1.4/debian/rules lam-7.1.4/debian/rules
--- lam-7.1.4/debian/rules      2019-03-29 13:34:29.000000000 -0400
+++ lam-7.1.4/debian/rules      2021-02-08 23:23:17.000000000 -0500
@@ -110,7 +110,8 @@
                     --build=$(DEB_BUILD_GNU_TYPE) \
                     --host=$(DEB_HOST_GNU_TYPE) \
                     --with-rsh=/usr/bin/rsh \
-                    --with-rpi=sysv 
+                    --with-rpi=sysv \
+                    --with-romio-flags=-ar_nolocal
 
        awk '/LAM_HAVE_OPENPTY/ {gsub("1","0")} /LAM_HAVE_SYSV_PTYS/ 
{gsub("1","0")}  {print}' \
                share/include/lam_config.h >tmp && mv tmp 
share/include/lam_config.h
@@ -132,7 +133,8 @@
                     --host=$(DEB_HOST_GNU_TYPE) \
                     --with-rsh=/usr/bin/rsh \
                     --with-trillium \
-                    --with-rpi=sysv 
+                    --with-rpi=sysv \
+                    --with-romio-flags=-ar_nolocal
 
        awk '/LAM_HAVE_OPENPTY/ {gsub("1","0")} /LAM_HAVE_SYSV_PTYS/ 
{gsub("1","0")}  {print}' \
                share/include/lam_config.h >tmp && mv tmp 
share/include/lam_config.h

Reply via email to