Libreoffice-3.6.2.2 fail to compile Reproducible: Always Steps to Reproduce: 1.emerge libreoffice 2. 3. Actual Results: checking for MOZILLA_HEADERS... no checking for MOZILLA_HEADERS... no checking for MOZILLA_HEADERS... no configure: error: npapi.h header file not found !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/config.log * ERROR: app-office/libreoffice-3.6.2.2 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 89: Called src_configure * environment, line 9070: Called econf '--docdir=/usr/share/doc/libreoffice-3.6.2.2/' '--with-system-headers' '--with-system-libs' '--with-system-jars' '--with-system-dicts' '--enable-graphite' '--enable-cairo-canvas' '--enable-largefile' '--enable-mergelibs' '--enable-python=system' '--enable-randr' '--enable-randr-link' '--enable-release-build' '--enable-unix-qstart-libpng' '--enable-xmlsec' '--disable-ccache' '--disable-crashdump' '--disable-dependency-tracking' '--disable-epm' '--disable-fetch-external' '--disable-gnome-vfs' '--disable-ext-report-builder' '--disable-kdeab' '--disable-kde' '--disable-ldap' '--disable-mozilla' '--disable-nsplugin' '--disable-online-update' '--disable-pch' '--disable-rpath' '--disable-systray' '--disable-zenity' '--with-alloc=system' '--with-build-version=Gentoo official package' '--enable-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.6.2.2/distdir' '--with-lang=' '--with-max-jobs=8' '--with-num-cpus=8' '--with-unix-wrapper=libreoffice' '--with-vendor=Gentoo Foundation' '--with-x' '--without-afms' '--without-fonts' '--without-myspell-dicts' '--without-stlport' '--without-system-mozilla' '--without-help' '--with-helppack-integration' '--without-sun-templates' '--disable-gtk3' '--enable-binfilter' '--enable-cups' '--enable-dbus' '--disable-evolution2' '--disable-gconf' '--disable-gio' '--disable-lockdown' '--disable-gstreamer' '--enable-gtk' '--enable-kde4' '--enable-ext-mysql-connector' '--disable-odk' '--enable-opengl' '--disable-postgresql-sdbc' '--enable-librsvg=system' '--disable-linkoo' '--enable-vba' '--enable-neon' '--with-java' '--with-system-mysql-cppconn' '--without-doxygen' '--without-system-sane' '--without-system-vigra' '--without-system-hsqldb' '--without-system-saxon' '--with-ant-home=/usr/share/ant' '--with-jdk-home=/opt/icedtea-bin-7.2.3.2' '--with-java-target-version=1.6' '--with-jvm-path=/usr/lib64/' '--without-junit' '--disable-ext-nlpsolver' '--enable-ext-pdfimport' '--disable-ext-presenter-console' '--disable-ext-presenter-minimizer' '--disable-ext-scripting-beanshell' '--disable-ext-scripting-javascript' '--disable-ext-wiki-publisher' * phase-helpers.sh, line 501: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=app-office/libreoffice-3.6.2.2'`, * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-3.6.2.2'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-7 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.3.2" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/app-office:libreoffice-3.6.2.2:20120928-101647.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/libreoffice-3.6.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.6.2.2/temp/environment'. * Working directory: '/var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2' * S: '/var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2'
Created attachment 325194 [details] build log
Created attachment 325196 [details] emerge --info '=app-office/libreoffice-3.6.2.2
> !!! Please attach the following file when seeking support: > !!! /var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/config.log Please attach this file (with MIME type text/plain)
Created attachment 325206 [details] config.log
done sorry for the missing file
Seems that libreoffice needs npapi-sdk even if nsplugin is disabled.
The npapi-sdk is in the libreoffice dependencies. configure:23813: checking for MOZILLA_HEADERS configure:23820: $PKG_CONFIG --exists --print-errors "npapi-sdk" configure:23823: $? = 0 configure:23837: $PKG_CONFIG --exists --print-errors "npapi-sdk" configure:23840: $? = 0 configure:23854: result: no -I/usr/include/npapi-sdk -DXP_UNIX This is weird, it found the include, yet your pkgconfig returns false... Are you using some of the other implementations like pkgconf?
yes I do use pkgconf i do not remember why but it was a requirement for something I do use what i can't get is that nsplugin is not a valid use flag for libreoffice app-office/libreoffice-3.6.2.2 USE="binfilter branding cups dbus gtk java kde mysql opengl svg vba webdav (-aqua) -binfilterdebug -eds -gnome -gstreamer -jemalloc -odk -postgres {-test}" LIBREOFFICE_EXTENSIONS="pdfimport -nlpsolver -presenter-console -presenter-minimizer -scripting-beanshell -scripting-javascript -wiki-publisher"
The nsplugin is completely disabled. Mozilla headers are used for other tools like access to mozilla account/mail sending system, which is not optional. Also the bug is invalid then, because pkgconf devs break that stuff here and there and you should tell them they again broke libreoffice build
I did roll back to dev-util/pkgconfig and libreoffice is compiling right now thx