Source: sundials Version: 2.4.0-1 Severity: wishlist Tags: patch User: debian-...@superh.org Usertags: sh4 X-Debbugs-CC: debian-sup...@lists.debian.org
Hi, 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. http://buildd.debian-ports.org/fetch.php?pkg=sundials&arch=sh4&ver=2.4.0-1&stamp=1288477726&file=log&as=raw ----- dh_installlogcheck -plibsundials-nvecserial0 dh_installchangelogs -plibsundials-nvecserial0 dh_installudev -plibsundials-nvecserial0 dh_lintian -plibsundials-nvecserial0 dh_install -plibsundials-nvecserial0 --sourcedir=/build/buildd-sundials_2.4.0-1-sh4-4zNwEJ/sundials-2.4.0/debian/tmp/ 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, Nobuhiro
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:*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"