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

Bug#602160: sundials: dh_install: libsundials-nvecserial0 missing files (usr/lib/libsundials_fnvecserial.so.*), aborting

Source: sundials
Version: 2.4.0-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org


sundials FTBFS on SH4.
Because configure included in sundials is created in old autoconf.
FCMIX_ENABLED of src/nvec_ser/Makefile is set to "no" , because this
become the error by the check of the "-little" option of configure.

dh_installlogcheck -plibsundials-nvecserial0
dh_installchangelogs -plibsundials-nvecserial0
dh_installudev -plibsundials-nvecserial0
dh_lintian -plibsundials-nvecserial0
dh_install -plibsundials-nvecserial0
dh_install: libsundials-nvecserial0 missing files
(usr/lib/libsundials_fnvecserial.so.*), aborting
make: *** [binary-install/libsundials-nvecserial0] Error 255
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch
gave error exit status 2

This become the error by the following contents in config.log.

configure:8405: gfortran -c -g -O2 conftest.f >&5
configure:8411: $? = 0
configure:8431: checking which linker to use
configure:8554: result: gfortran
configure:8625: gfortran -c -g -O2 conftest.f >&5
configure:8631: $? = 0
configure:8685: cc -o conftest -g -O2 -g -Wall -O2   conftest.c
f77_wrapper_check.o -lm   -little -L/usr/lib/gcc/sh4-linux-gnu/4.4.5
-L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. -lgfortranbegin -lgfortran
-lm >&5
/usr/bin/ld: cannot find -little
collect2: ld returned 1 exit status
configure:8691: $? = 1

Could you update confiugre with new autoconf?
Or please apply the patch which I attached.
This is patch for quick fix.

Best regards,
diff --git a/configure b/configure
index 3ddb615..deb8f61 100755
--- a/configure
+++ b/configure
@@ -9318,7 +9318,7 @@ fi
           # Ignore these flags.
-        -lang* | -lcrt*.o | -lc | -lgcc | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+        -lang* | -lcrt*.o | -lc | -lgcc | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

Reply to: