Bug 321749

Summary: endless loop during config
Product: [Translations] i18n Reporter: Torsten Eichstädt <walter.von.entferndt>
Component: srAssignee: KDE translation into Serbian <Kde-i18n-sr>
Status: RESOLVED DOWNSTREAM    
Severity: grave CC: caslav.ilic
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Torsten Eichstädt 2013-06-29 08:42:41 UTC
BEGIN LOOP 4EVER

-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt-Version 4.8.4 (using /usr/local/bin/qmake-qt4)
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/libXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so;/usr/local/lib/libXft.so;/usr/local/lib/libXau.so;/usr/local/lib/libXdmcp.so;/usr/local/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/local/lib/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/local/bin/automoc4  
-- Found Perl: /usr/bin/perl (found version "5.14.4") 
-- Found Phonon: /usr/local/kde4/include (Required is at least version "4.3.80") 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.10 include dir: /usr/local/kde4/include
-- Found KDE 4.10 library dir: /usr/local/kde4/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/local/kde4/bin/kconfig_compiler
-- Found automoc4: /usr/local/bin/automoc4
-- Looking for dgettext
-- Looking for dgettext - not found
-- Looking for dgettext in /usr/local/lib/libintl.so
-- Looking for dgettext in /usr/local/lib/libintl.so - found
-- Found Gettext: in /usr/local/lib/libintl.so
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.5") 
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= cc
CMAKE_CXX_COMPILER= c++

END LOOP

Reproducible: Always

Steps to Reproduce:
1. # cd /usr/ports/kde4-l10n
2. # make config
3. choose "All languages" in the dialog
4. # nice make package
Actual Results:  
Compilation loops 4ever, output is given above under "details".

Expected Results:  
If s/th is wrong, "make" can abort with an error message, but shall not loop.

WORKAROUND: Manually enable all languages but serbian. 

Hint, maybe not to the KDE config jockeys, but to the FreeBSD ones:
GISYF + RTFM "Recursive Make Considered Harmful": http://miller.emu.id.au/pmiller/books/rmch/

Additional info:
1. If you ever want to see ccache's hit ratio climb as high as 90% with a cache size of 2GB, use ports on FreeBSD... ;)
2. Would be nice one could specify "+Install Aspell dictionary" for all languages once, to avoid beeing asked every few minutes again for the next language.
Comment 1 Chusslove Illich 2013-06-29 10:10:00 UTC
The last released upstream package builds properly for me. Could you try (a
FreeBSD equivalent of what would be on Linux):

  wget ftp://ftp.kde.org/pub/kde/stable/4.10.4/src/kde-l10n/kde-l10n-sr-4.10.4.tar.xz
  tar xf kde-l10n-sr-4.10.4.tar.xz
  cd kde-l10n-sr-4.10.4
  mkdir build && cd build
  cmake ..
  make
Comment 2 Jekyll Wu 2013-07-06 12:00:28 UTC
can't reproduce using freebsd 9.1 and kde 4.10.5 .  it is probably a problem caused by ccache since you mentioned that.
Comment 3 Jekyll Wu 2013-07-13 09:06:27 UTC
Close for no feedback. It should either be a ccache problem or freebsd problem. Unlikely an upstream problem.