Bug#533817: muparser: FTBFS on Debian GNU/Hurd [Patch]

2009-12-22 Thread Barry deFreese
Gudjon,

Sorry, somehow I missed your reply.  No, 1.31 doesn't seem to work either.
configure still isn't checking for *-*-gnu*.  As far as I know, all that
config.guess, etc do is use uname to build the triple.  In the case of my hurd
box it comes out: i686-unknown-gnu0.3

Thanks and sorry for the late reply.

Barry



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533817: muparser: FTBFS on Debian GNU/Hurd [Patch]

2009-11-24 Thread Gudjon I. Gudjonsson
Hi Barry
Ingo and Francesco have upgraded the build system. 
$ build/autoconf/acregen.sh works now.
Can you please test if it works. I have made an unofficial Debian package out 
of the svn version. I will make a patch if it works.
http://gudjon.org/debian/muparser/

I am not so optimistic because I didn't find any
*-*-gnu*
pattern in any of the build scripts and neither in the config.sub or 
config.guess files. Do you know how this pattern is generated in general in 
gnu/hurd?

Cheers
Gudjon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533817: muparser: FTBFS on Debian GNU/Hurd [Patch]

2009-11-17 Thread Gudjon I. Gudjonsson
Hi Barry
Version 1.30-1 has just been uploaded do Debian. Can you please test if it 
works on hurd?
 I really don't like to patch configure with such a big patch but I would 
like to solve the problem. In case version 1.30 doesn't work, are you willing 
to do some testing if I contact the upstream author?

Regards
Gudjon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533817: muparser: FTBFS on Debian GNU/Hurd [Patch]

2009-11-17 Thread Barry deFreese
Gudjon I. Gudjonsson wrote:
 Hi Barry
 Version 1.30-1 has just been uploaded do Debian. Can you please test if 
 it 
 works on hurd?
  I really don't like to patch configure with such a big patch but I would 
 like to solve the problem. In case version 1.30 doesn't work, are you willing 
 to do some testing if I contact the upstream author?
 
 Regards
 Gudjon
 
Gudjon,

Doesn't look like it unfortunately:

checking for nm... nm
checking if make is GNU make... yes
configure: error: unknown system type i486-pc-gnu.
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


I can do some testing for you or I can give you access to one of my Hurd boxes.
 Either way.

Thanks!

Barry deFreese



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#533817: muparser: FTBFS on Debian GNU/Hurd [Patch]

2009-06-20 Thread Barry deFreese

Package: muparser
Version: 1.28-3
Severity: normal

Hi,

muparser currently fails to build on Debian GNU/Hurd.  Attached is a 
patch to fix that.  I unfortunately did not patch the bakefile stuff 
because I know nothing about that build system.


Thank you,

Barry deFreese


--- muparser-1.28.orig/configure
+++ muparser-1.28/configure
@@ -4878,6 +4878,86 @@
 fi
 fi
   ;;
+  *-*-gnu* )
+if test x$GCC != xyes; then
+{ echo $as_me:$LINENO: checking for Intel compiler 5
+echo $ECHO_N checking for Intel compiler... $ECHO_C 6; }
+if test ${bakefile_cv_prog_icc+set} = set; then
+  echo $ECHO_N (cached) $ECHO_C 6
+else
+
+cat conftest.$ac_ext _ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h conftest.$ac_ext
+cat conftest.$ac_ext _ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+#ifndef __INTEL_COMPILER
+This is not ICC
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try=$ac_compile
+case (($ac_try in
+  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval echo \\$as_me:$LINENO: $ac_try_echo\) 5
+  (eval $ac_compile) 2conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 conftest.err
+  rm -f conftest.er1
+  cat conftest.err 5
+  echo $as_me:$LINENO: \$? = $ac_status 5
+  (exit $ac_status); } 
+{ ac_try='test -z $ac_cxx_werror_flag || test ! -s conftest.err'
+  { (case (($ac_try in
+  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval echo \\$as_me:$LINENO: $ac_try_echo\) 5
+  (eval $ac_try) 25
+  ac_status=$?
+  echo $as_me:$LINENO: \$? = $ac_status 5
+  (exit $ac_status); }; } 
+{ ac_try='test -s conftest.$ac_objext'
+  { (case (($ac_try in
+  *\* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval echo \\$as_me:$LINENO: $ac_try_echo\) 5
+  (eval $ac_try) 25
+  ac_status=$?
+  echo $as_me:$LINENO: \$? = $ac_status 5
+  (exit $ac_status); }; }; then
+  bakefile_cv_prog_icc=yes
+else
+  echo $as_me: failed program was: 5
+sed 's/^/| /' conftest.$ac_ext 5
+
+   bakefile_cv_prog_icc=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ echo $as_me:$LINENO: result: $bakefile_cv_prog_icc 5
+echo ${ECHO_T}$bakefile_cv_prog_icc 6; }
+if test $bakefile_cv_prog_icc = yes; then
+PIC_FLAG=-KPIC
+fi
+fi
+  ;;
 
   *-*-solaris2* )
 if test x$GCC != xyes ; then
@@ -5686,7 +5766,7 @@
 SONAME_FLAG=
 
 case ${BAKEFILE_HOST} in
-  *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
+  *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu | *-*-gnu*)
 SONAME_FLAG=-Wl,-soname,
 USE_SOVERSION=1
 USE_SOVERLINUX=1