Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 377849

Summary: app-office/libreoffice-3.4.2.3 fails to configure
Product: Gentoo Linux Reporter: Andrey Grozin <grozin>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: casta, ooblick, richard.foltyn, staff, szalkai, thanasis, xaviermiller
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/config.log
missing AC_SUBST inserted
config.log

Description Andrey Grozin gentoo-dev 2011-08-05 07:06:17 UTC
onfigure: creating ./config.status
config.status: creating ooo.lst
config.status: creating set_soenv
config.status: creating Makefile
config.status: creating bin/repo-list
Possible unintended interpolation of @HAVE_GCC_AVX in string at ./set_soenv line 1844.
Global symbol "@HAVE_GCC_AVX" requires explicit package name at ./set_soenv line 1844.
Execution of ./set_soenv aborted due to compilation errors.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/config.log
 * ERROR: app-office/libreoffice-3.4.2.3 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 8843:  Called econf '--with-system-headers' '--with-system-libs' '--with-system-jars' '--with-system-db' '--with-system-dicts' '--enable-cairo' '--enable-fontconfig' '--enable-largefile' '--enable-randr' '--enable-randr-link' '--enable-unix-qstart-libpng' '--enable-Xaw' '--enable-xrender-link' '--disable-broffice' '--disable-crashdump' '--disable-dependency-tracking' '--disable-epm' '--disable-fetch-external' '--disable-gnome-vfs' '--disable-kdeab' '--disable-kde' '--disable-online-update' '--disable-pch' '--disable-rpath' '--disable-static-gtk' '--disable-strip-solver' '--disable-zenity' '--with-alloc=system' '--with-build-version=Gentoo official package' '--with-extension-integration' '--with-external-dict-dir=/usr/share/myspell' '--with-external-hyph-dir=/usr/share/myspell' '--with-external-thes-dir=/usr/share/myspell' '--with-external-tar=/var/tmp/portage/app-office/libreoffice-3.4.2.3/distdir' '--with-lang=' '--with-max-jobs=2' '--with-num-cpus=1' '--with-theme=crystal oxygen' '--with-unix-wrapper=libreoffice' '--with-vendor=Gentoo Foundation' '--with-x' '--without-afms' '--without-fonts' '--without-myspell-dicts' '--without-ppds' '--without-stlport' '--disable-binfilter' '--enable-cups' '--enable-dbus' '--disable-crashdump' '--disable-evolution2' '--disable-gconf' '--disable-gio' '--disable-lockdown' '--disable-graphite' '--disable-gstreamer' '--enable-gtk' '--enable-systray' '--disable-ext-scripting-beanshell' '--enable-kde4' '--enable-ldap' '--disable-ext-mysql-connector' '--enable-mozilla' '--disable-odk' '--enable-opengl' '--enable-python' '--enable-ext-scripting-python' '--enable-vba' '--enable-activex-component' '--disable-neon' '--without-java' '--with-openldap' '--without-system-mysql-cppconn' '--with-system-mozilla=libxul' '--without-helppack-integration' '--without-sun-templates' '--without-system-hsqldb' '--without-system-beanshell' '--without-system-lucene' '--without-system-saxon' '--without-junit' '--enable-ext-pdfimport' '--enable-ext-presenter-console' '--enable-ext-presenter-minimizer' '--with-about-bitmap=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/branding-about.png' '--with-intro-bitmap=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/branding-intro.png'
 *     ebuild.sh, line  561:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.2.3',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.2.3'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/app-office:libreoffice-3.4.2.3:20110805-064648.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.3/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3'

>>> Failed to emerge app-office/libreoffice-3.4.2.3, Log file:

>>>  '/var/log/portage/app-office:libreoffice-3.4.2.3:20110805-064648.log'


Reproducible: Always




elrond ~ # emerge --info
Portage 2.2.0_alpha50 (default/linux/x86/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r4, 2.6.36-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 05 Aug 2011 04:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo science sunrise lisp emacs grozin
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/lisp /var/lib/layman/emacs /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb blas boehm-gc branding browserplugin bzip2 cairo cdda cdr consolekit cracklib crypt css cups curl cxx dbus declarative dirac doc dri dvd dvdnav dvdr emacs enca encode exif fam ffmpeg fftw firefox flac fltk fortran gd gdbm gdu gif gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kpathsea lapack latex lcms ldap leim libnotify lzma mad mmx mng modules mozilla mp3 mp4 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma plotutils png policykit ppds pppd python qt3support qt4 readline schroedinger sdl session speex spell sse sse2 ssl startup-notification svg sysfs tcl tcpd theora tiff tk truetype udev umfpack unicode usb v4l2 vcd vorbis win32codecs wxwidgets x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2011-08-05 07:13:58 UTC
Same for me.

emerge --info:

Portage 2.2.0_alpha50 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r4, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.3
Timestamp of tree: Fri, 05 Aug 2011 06:00:01 +0000
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo local proaudio pd-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist"
CBUILD="x86_64-gentoo-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg"
FEATURES="assume-digests binpkg-logs buildpkg candy distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pro-audio /var/lib/layman/pd-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 amr apng bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus device-mapper dri dssi encode exif fat ffmpeg fftw flac gif gpm gstreamer iconv id3tag jack jpeg ladspa lame libnotify libsamplerate lxde mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp osc pam pcre pdf png policykit pppd qt4 readline rubberband samba sdl session sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode vaapi vorbis vst wmf x264 xorg xvid zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-af9015" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2011-08-05 07:14:35 UTC
Created attachment 282147 [details]
build log
Comment 3 Juergen Rose 2011-08-05 09:08:04 UTC
Created attachment 282173 [details]
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/config.log
Comment 4 Akos Szalkai 2011-08-05 09:20:08 UTC
I'm no autotools expert, but it seems like an AC_SUBST is missing from files/libreoffice-check-for-avx.patch

I uploaded the corrected one.
Comment 5 Akos Szalkai 2011-08-05 09:20:49 UTC
Created attachment 282175 [details, diff]
missing AC_SUBST inserted
Comment 6 Billy DeVincentis 2011-08-05 11:16:28 UTC
I'm having same problem. I wonder if this isn't specific to sandy bridge platform with avx compiler instructions. Although I let gcc use native which compiles everything with avx, I disable it for all my mozilla packages and for this package by inserting a file in /etc/portage/env/app-office/libreoffice and using custom-cflags use flag.
Comment 7 Yarda 2011-08-05 11:28:09 UTC
(In reply to comment #5)
> Created attachment 282175 [details, diff]
> missing AC_SUBST inserted

Thanks, it works for me, but I had to remove the second hunk in order to apply
- it seems to be redundant.
Comment 8 thanasis 2011-08-05 11:36:56 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > Created attachment 282175 [details, diff]
> > missing AC_SUBST inserted
> 
> Thanks, it works for me, but I had to remove the second hunk in order to apply
> - it seems to be redundant.

I just replaced the existing /usr/portage/app-office/libreoffice/files/libreoffice-check-for-avx.patch and then ebuild .... digest. Nothing redundant ...
Comment 9 Denis I. Polukarov 2011-08-05 14:48:56 UTC
checking zlib.h usability... no
checking zlib.h presence... yes
configure: WARNING: zlib.h: present but cannot be compiled
configure: WARNING: zlib.h:     check for missing prerequisite headers?
configure: WARNING: zlib.h: see the Autoconf documentation
configure: WARNING: zlib.h:     section "Present But Cannot Be Compiled"
configure: WARNING: zlib.h: proceeding with the compiler's result
checking for zlib.h... no
configure: error: zlib.h not found. install zlib

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/config.log
 * ERROR: app-office/libreoffice-3.4.2.3 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
Comment 10 Denis I. Polukarov 2011-08-05 14:49:30 UTC
Created attachment 282201 [details]
config.log
Comment 11 Serkan Kaba (RETIRED) gentoo-dev 2011-08-05 16:47:03 UTC

*** This bug has been marked as a duplicate of bug 377845 ***