Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436488 - app-office/libreoffice-3.6.2.2[-nsplugin] configure: error: npapi.h header file not found
Summary: app-office/libreoffice-3.6.2.2[-nsplugin] configure: error: npapi.h header fi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 10:37 UTC by Michele Ciacci
Modified: 2012-09-29 14:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (app-office:libreoffice-3.6.2.2:20120928-094843.log,683 bytes, text/plain)
2012-09-28 10:41 UTC, Michele Ciacci
Details
emerge --info '=app-office/libreoffice-3.6.2.2 (emerge.info,16.90 KB, text/plain)
2012-09-28 10:43 UTC, Michele Ciacci
Details
config.log (config.log,123.67 KB, text/plain)
2012-09-28 13:06 UTC, Michele Ciacci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Ciacci 2012-09-28 10:37:52 UTC
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'
Comment 1 Michele Ciacci 2012-09-28 10:41:17 UTC
Created attachment 325194 [details]
build log
Comment 2 Michele Ciacci 2012-09-28 10:43:06 UTC
Created attachment 325196 [details]
emerge --info '=app-office/libreoffice-3.6.2.2
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-28 10:54:10 UTC
> !!! 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)
Comment 4 Michele Ciacci 2012-09-28 13:06:01 UTC
Created attachment 325206 [details]
config.log
Comment 5 Michele Ciacci 2012-09-28 13:06:40 UTC
done sorry for the missing file
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-28 14:39:38 UTC
Seems that libreoffice needs npapi-sdk even if nsplugin is disabled.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-09-29 12:09:52 UTC
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?
Comment 8 Michele Ciacci 2012-09-29 12:32:38 UTC
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"
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2012-09-29 12:38:01 UTC
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
Comment 10 Michele Ciacci 2012-09-29 14:07:01 UTC
I did roll back to dev-util/pkgconfig and libreoffice is compiling right now 

thx