[kde-freebsd] kdeutils3 build broken on HEAD..

Daniel Eischen deischen at freebsd.org
Thu Aug 14 16:21:37 CEST 2008


On Wed, 13 Aug 2008, Max Brazhnikov wrote:

> On Mon, 2 Jun 2008 21:40:53 -0400 (EDT), Daniel Eischen wrote:
>> On Mon, 2 Jun 2008, John Baldwin wrote:
>>> Perhaps by recent libm changes that trick autoconf into think we
>>> implement an entire batch of floating point ops when we only do a subset:
>>>
>>> /bin/sh /usr/local/bin/libtool --silent --tag=CXX   --mode=compile
>>> c++ -DHAVE_CONFIG_H -I. -I..  -I./knumber -D_ISOC99_SOURCE
>>> -I/usr/local/include  -I/usr/local/include -D_THREAD_SAFE -pthread
>>> -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
>>> -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef
>>> -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe
>>> -march=pentium-m -fno-strict-aliasing -Wno-non-virtual-dtor
>>> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
>>> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT
>>> kcalc_core.lo -MD -MP -MF .deps/kcalc_core.Tpo -c -o kcalc_core.lo
>>> kcalc_core.cpp
>>> kcalc_core.cpp: In member function 'void CalcEngine::ArcCosDeg(KNumber)':
>>> kcalc_core.cpp:252: error: 'acosl' was not declared in this scope
>>
>> [ snipped ]
>>
>> Yes, it's been broken since at least the beginning of April and
>> ignored - mostly.  I posted a patch last week and was going to
>> commit it soon if I didn't hear anything.
>>
>>> Looks like HAVE_L_FUNCS gets turned on because we have sqrtl in libm in
>>> HEAD and that is why it breaks.
>>
>> You can try http://people.freebsd.org/~deischen/patch-configure and
>> adding that to misc/kdeutils3/files.  I'm trying to get an amd64
>> system built with KDE but being hampered by other unrelated things;
>> my intent was to commit it after everything else was built.
>
> kdeutils3 is broken (again?). Could you check that your patch is still
> working?
> Thanks.
>
> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20080811153717/kdeutils-3.5.8.log

Can you try the attached patch to kdeutils (apply it from
ports/misc/kdeutils3)?

-- 
DE
-------------- next part --------------
Index: files/patch-configure
===================================================================
RCS file: /opt/FreeBSD/cvs/ports/misc/kdeutils3/files/patch-configure,v
retrieving revision 1.1
diff -u -r1.1 patch-configure
--- files/patch-configure	3 Jun 2008 23:00:51 -0000	1.1
+++ files/patch-configure	14 Aug 2008 14:18:22 -0000
@@ -1,6 +1,174 @@
---- configure.orig	2007-10-08 14:31:38.000000000 +0000
-+++ configure	2008-05-30 00:26:52.000000000 +0000
-@@ -35789,89 +35789,6 @@
+--- configure.orig	2007-10-08 10:31:38.000000000 -0400
++++ configure	2008-08-14 10:17:24.000000000 -0400
+@@ -22642,10 +22642,10 @@
+ 
+ 
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS=" /usr/local/share/libtool/ltmain.sh"
+ 
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
++LIBTOOL='$(SHELL) /usr/local/bin/libtool --silent'
+ 
+ # Prevent multiple expansion
+ 
+@@ -35082,153 +35082,7 @@
+   fi
+ 
+ 
+-have_l_funcs=yes
+-
+-{ echo "$as_me:$LINENO: checking for asinl in -lm" >&5
+-echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_m_asinl+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lm  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-
+-/* Override any GCC internal prototype to avoid an error.
+-   Use char because int might match the return type of a GCC
+-   builtin and then its argument prototype would still apply.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char asinl ();
+-int
+-main ()
+-{
+-return asinl ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (ac_try="$ac_link"
+-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_link") 2>conftest.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); } && {
+-	 test -z "$ac_c_werror_flag" ||
+-	 test ! -s conftest.err
+-       } && test -s conftest$ac_exeext &&
+-       $as_test_x conftest$ac_exeext; then
+-  ac_cv_lib_m_asinl=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-	ac_cv_lib_m_asinl=no
+-fi
+-
+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+-      conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
+-echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6; }
+-if test $ac_cv_lib_m_asinl = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBM 1
+-_ACEOF
+-
+-  LIBS="-lm $LIBS"
+-
+-else
+-  have_l_funcs=no
+-fi
+-
+-
+-{ echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
+-echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_m_sqrtl+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lm  $LIBS"
+-cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-
+-/* Override any GCC internal prototype to avoid an error.
+-   Use char because int might match the return type of a GCC
+-   builtin and then its argument prototype would still apply.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char sqrtl ();
+-int
+-main ()
+-{
+-return sqrtl ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-rm -f conftest.$ac_objext conftest$ac_exeext
+-if { (ac_try="$ac_link"
+-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_link") 2>conftest.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); } && {
+-	 test -z "$ac_c_werror_flag" ||
+-	 test ! -s conftest.err
+-       } && test -s conftest$ac_exeext &&
+-       $as_test_x conftest$ac_exeext; then
+-  ac_cv_lib_m_sqrtl=yes
+-else
+-  echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-	ac_cv_lib_m_sqrtl=no
+-fi
+-
+-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+-      conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
+-echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6; }
+-if test $ac_cv_lib_m_sqrtl = yes; then
+-  cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBM 1
+-_ACEOF
+-
+-  LIBS="-lm $LIBS"
+-
+-else
+-  have_l_funcs=no
+-fi
+-
++have_l_funcs=no
+ 
+ if test "xyes" = "x$have_l_funcs" ; then
+ 
+@@ -35789,89 +35643,6 @@
    fi
  
  


More information about the kde-freebsd mailing list