Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431932 - app-office/libreoffice-3.6.0.4 - checking for required Perl modules... Can't locate Archive/Zip.pm in @INC
Summary: app-office/libreoffice-3.6.0.4 - checking for required Perl modules... Can't ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-19 07:44 UTC by Claudio Roberto França Pereira
Modified: 2012-08-20 17:12 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,4.85 KB, text/plain)
2012-08-19 07:45 UTC, Claudio Roberto França Pereira
Details
config.log (config.log,42.34 KB, text/plain)
2012-08-20 03:35 UTC, Claudio Roberto França Pereira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio Roberto França Pereira 2012-08-19 07:44:59 UTC
libreoffice just failed building, with this fail message:


checking for --hash-style gcc linker support ... gnu 
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.16.1/x86_64-linux /usr/local/lib64/perl5/5.16.1 /usr/lib64/perl5/vendor_perl/5.16.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.16.0 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.1/x86_64-linux /usr/lib64/perl5/5.16.1 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/config.log
 * ERROR: app-office/libreoffice-3.6.0.4 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_configure
 *        environment, line 9049:  Called econf '--docdir=/usr/share/doc/libreoffice-3.6.0.4/' '--with-system-headers' '--with-system-libs' '--with-system-jars' '--with-system-dicts' '--enable-cairo-canvas' '--enable-largefile' '--enable-mergelibs' '--enable-python=system' '--enable-randr' '--enable-randr-link' '--enable-release-build' '--enable-unix-qstart-libpng' '--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.0.4/distdir' '--with-lang=' '--with-max-jobs=5' '--with-num-cpus=5' '--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' '--disable-binfilter' '--enable-cups' '--enable-dbus' '--disable-evolution2' '--disable-gconf' '--disable-gio' '--disable-lockdown' '--enable-graphite' '--disable-gstreamer' '--enable-gtk' '--disable-kde4' '--disable-ext-mysql-connector' '--disable-odk' '--enable-opengl' '--disable-postgresql-sdbc' '--enable-librsvg=system' '--disable-linkoo' '--enable-vba' '--enable-neon' '--enable-xmlsec' '--without-java' '--without-system-mysql-cppconn' '--without-doxygen' '--without-system-sane' '--without-system-vigra' '--disable-ext-nlpsolver' '--disable-ext-pdfimport' '--enable-ext-presenter-console' '--enable-ext-presenter-minimizer' '--disable-ext-scripting-beanshell' '--disable-ext-scripting-javascript' '--disable-ext-wiki-publisher'
 *   phase-helpers.sh, line  467:  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.0.4'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-3.6.0.4'`.
!!! 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/tmp/portage/app-office/libreoffice-3.6.0.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.6.0.4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4'
 * S: '/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4'

As you can see, it fails to find Archive/Zip.pm, a perl module.
Alas, Archive-Zip is installed, and the file requested exists:

stalker spidey # equery f Archive-Zip
 * Searching for Archive-Zip ...
 * Contents of dev-perl/Archive-Zip-1.300.0:
/usr
/usr/bin
/usr/bin/crc32
/usr/lib64
/usr/lib64/perl5
/usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/vendor_perl/5.12.4
/usr/lib64/perl5/vendor_perl/5.12.4/Archive
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/Archive.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/BufferedFileHandle.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/DirectoryMember.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/FAQ.pod
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/FileMember.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/Member.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/MemberRead.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/MockFileHandle.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/NewFileMember.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/StringMember.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/Tree.pm
/usr/lib64/perl5/vendor_perl/5.12.4/Archive/Zip/ZipFileMember.pm
/usr/share
/usr/share/doc
/usr/share/doc/Archive-Zip-1.300.0
/usr/share/doc/Archive-Zip-1.300.0/Changes.bz2
/usr/share/doc/Archive-Zip-1.300.0/README.bz2

Maybe libreoffice build script needs a tweak to look at the correct path?
Comment 1 Claudio Roberto França Pereira 2012-08-19 07:45:26 UTC
Created attachment 321670 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-20 02:05:36 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/config.log
Comment 3 Claudio Roberto França Pereira 2012-08-20 03:35:43 UTC
Created attachment 321740 [details]
config.log
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-20 12:12:49 UTC
Obligatory question: did you recently upgrade dev-lang/perl and did you run perl-cleaner after that?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-20 12:36:31 UTC
This completely looks like not run perl-cleaner.
Let us know if the problem does not go away when you run that command.

Please reopen the bug after you do so, closing as NEEDINFO.
Comment 6 Claudio Roberto França Pereira 2012-08-20 17:12:50 UTC
I'm running perl-cleaner --all
Will try to emerge libreoffice again after that.