I tried to update digikam from 0.8.0_beta1 to 0.8.0_beta2 but the emerge fails during configure with the following error (it looks like syntax error): checking for Qt docs... NO checking for dot... /usr/bin/dot checking for doxygen... /usr/bin/doxygen checking if hidden visibility should be enabled... yes ./configure: line 32595: syntax error near unexpected token `fi' ./configure: line 32595: `fi' Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-suspend2-r4 i686) ================================================================= System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fno-rename-registers" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fno-rename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_GB" LINGUAS="en fr" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/jp/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi aim alsa arts avi berkdb bitmap-fonts bluetooth cdparanoia cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode esd exif fam flac foomaticdb fortran gd gdbm gif gpm gstreamer hal imagemagick imlib ipv6 java javascript jpeg junit kde ldap libg++ libwww mad mikmod mime mmx motif mp3 mpeg msn mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl spell sqlite sse ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xine xml xml2 xv xvid yahoo zlib video_cards_radeon linguas_en linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Me to - same error messsage when updating from beta1 > beta2. The lines in ./configure the ebuild complains read like this: if test "x$digikam_enable_hidden_visibility" = "xyes"; then fi This is a clear syntax error and should be fixed upstream maybe. But I am not sure whether this error makes the ./configure fail or whether it is something else? # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.3-20050110, glibc-2.3.5-r1, 2.6.12.5-sata i686) ================================================================= System uname: 2.6.12.5-sata i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" LANG="en_US.UTF-8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl directfb dvd dvdr eds emboss encode exif fam fbcon flac foomaticdb fortran gdbm gif gphoto2 gpm gtk2 imagemagick imap imlib jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pdflib perl pic png ppds python qt quicktime readline scanner sdl slang spell sqlite sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xine xinerama xml2 xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS By the way: is there a reason why the libkipi ebuid is not updated yet? All the other (kipi-plugins, libkexif, digikam, digikamimageplugins) are, but libkipi not? Just in case it slipped away from your desk or something ;-)
I'm getting the same problem when upgrading from 0.7.3->0.7.4 ..... ..... checking for KDE... libraries /usr/kde/3.4/lib, headers /usr/kde/3.4/include checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/kde/3.4/bin/dcopidl checking for dcopidl2cpp... /usr/kde/3.4/bin/dcopidl2cpp checking for mcopidl... /usr/kde/3.4/bin/mcopidl checking for artsc-config... /usr/kde/3.4/bin/artsc-config checking for meinproc... /usr/kde/3.4/bin/meinproc checking for kconfig_compiler... /usr/kde/3.4/bin/kconfig_compiler checking for dcopidlng... /usr/kde/3.4/bin/dcopidlng checking for xmllint... /usr/bin/xmllint checking for Qt docs... NO checking for dot... /usr/bin/dot checking for doxygen... not found checking if hidden visibility should be enabled... no ./configure: line 32485: syntax error near unexpected token `fi' ./configure: line 32485: `fi' Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(TM) XP 2800+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aalib acpi adns alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups curl dga divx4linux eds emacs emboss encode fam flac foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer gtk2 icc icc-pgo imagemagick imap imlib ipv6 java javascript jp2 jpeg jpeg2k kde kdeenablefinal kerberos krb4 ldap libcaca libg++ libwww live lm_sensors mad mailwrapper matroska md5sum mikmod mmx mmxext motif mozilla mp3 mpeg mpi ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pdflib perl pic plotutils png python qt quicktime readline real rtc sdl slang slp speex spell sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis x86 xanim xine xinerama xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Yes I can confirm that digikam-0.7.4 ebuild fails with the same error and the faulty line in the configure script is exactly the same as for 0.8-beta2: if test "x$digikam_enable_hidden_visibility" = "xyes"; then fi I wonder why the ebuild uses automake (1.7.9 in my case) to create it's one (faulty) configure script as one would do e.g. for CVS compilation - the output from the ebuild is: >>> Unpacking source... >>> Unpacking digikam-0.8.0-beta2.tar.bz2 to /var/tmp/portage/digikam-0.8.0_beta2/work >>> Source unpacked. This Makefile is only for the CVS repository This will be deleted before making the distribution *** automake (GNU automake) 1.7.9 found. *** Creating acinclude.m4 *** Creating list of subdirectories *** Creating Makefile.am *** Creating configure.files *** Creating configure.in *** Creating aclocal.m4 *** Creating configure *** Creating config.h template *** Creating Makefile templates *** Postprocessing Makefile templates unknown icon type showfoto in digikam/showfoto/Makefile.in (showfoto-splash.png) *** Creating date/time stamp *** Finished Don't forget to run ./configure This is not needed and might lead to the error. In the digikam tarball there is allready an configure script and it dosn't have the lines with syntax error. Can the ebuild be fixed to use the configure included in the tarball or is this the way to go for Gentoo to create the configure first? In the second case it might be a problem of automake. What I find strange is that beta1 ebuild worked fine here - I can not check if it still does cause the ebuild is not in portage anymore. I checked the logs for the progs that were updated after I compiled beta1 and found only tree that might be related (all x86): qt-3.3.4-r3 > qt-3.3.4-r8 kde-env-3-r3 > kde-env-3-r4 subversion-1.2.3 > subversion-1.2.3-r1 Hope that helps fixing the problem.
Patch applied in CVS - please resync after an hour and test. Works just fine here, and I was suffering the same issue before applying my patch.
*** Bug 107414 has been marked as a duplicate of this bug. ***
*** Bug 107516 has been marked as a duplicate of this bug. ***
What about fixing 0.7.4 as well?
emerge sync && emerge digikam worked for me. Now digikam-0.8.0-beta2 compiles fine.
I forgot it affected 0.7.4 too - this is due to a change flameeyes made to kde.eclass to fix the visibiltiy issues. I have applied the patch to this version too. Hopefully they are all fixed, and a patch suggested to kde.eclass should make this patch irrelevant shortly too.