Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219095 - app-office/openoffice-2.4.0 configure fails, wants version of dev-perl/Compress-Zlib (2.008) not in portage
Summary: app-office/openoffice-2.4.0 configure fails, wants version of dev-perl/Compre...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 01:15 UTC by Joshua Rich
Modified: 2009-01-29 11:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Rich 2008-04-24 01:15:29 UTC
Trying to build app-office/openoffice-2.4.0 fails during a configure phase, it wants >=dev-perl/Compress-Zlib-2.008, latest version in portage is only 2.005.   Bumping the dev-perl/Compress-Zlib ebuild locally fixed the problem (which also meant bumping dev-perl/Compress-Raw-Zlib, dev-perl/IO-Compress-Base, dev-perl/IO-Compress-Zlib), could the version of these ebuilds in portage be bumped as well? I bumped them locally to version 2.009, the openoffice build states it needs at least 2.008.

This appears to be isolated to a single machine, I have emerged app-office/openoffice-2.4.0 on another machine, also x86, without this issue.  Apologies in advance if this is a simple mistake on my part.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge =app-office/openoffice-2.4.0


Actual Results:  
********************************************************************
*                                                                  *
*   OpenOffice.org build configuration.                            *
*                                                                  *
*   The configure process checks your platform to see whether      *
*   you can build OpenOffice.org on it.                            *
*   This process checks all pre-requisites and generates a file    *
*   containing the necessary environment variables.                *
*   Source this file after configure has ended successfully.       *
*                                                                  *
*   Any warning that is generated during the configure process     *
*   must be taken into account since it can be a reason for        *
*   an unsuccessful build of OpenOffice.org                        *
*                                                                  *
********************************************************************

********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for gawk... gawk
checking for gawk... /bin/gawk
checking for sed... /bin/sed
checking for solenv environment... default
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols into final build... no
checking whether to strip the solver or not.... checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... no
checking which shell to use... bash
checking for bash... /bin/bash
checking gcc home... /usr/lib/ccache
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for i686-pc-linux-gnu-gcc... /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc
checking the GNU gcc compiler version... checked (gcc 4.1.2)
checking whether to enable pch feature... no
checking for -Bsymbolic-functions linker support ... found
checking for -Bdirect linker support ... not found
checking for GNU make... make
checking the GNU make version... make 3.81
checking for --hash-style=gnu linker support ... found
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... IO::Compress::Gzip version 2.008 required--this is only version 2.005 at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 13.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 13.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 11.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5387:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed


Expected Results:  
emerge =app-office/openoffice-2.4.0 succeeds.



Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Timestamp of tree: Wed, 23 Apr 2008 04:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.aarnet.edu.au/pub/gentoo http://ftp.planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.planetmirror.com/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --prune-empty-dirs"
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/portage/local/layman/sunrise /usr/portage/local/layman/mpd /usr/portage/local/layman/devnull /usr/portage/local/layman/science /usr/portage/local/layman/ephemeral /usr/local/overlays"
SYNC="rsync://ftp.swin.edu.au/gentoo-portage"
USE="X acpi alsa audiofile avahi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus directfb dri dvd dvdr dvdread encode fam ffmpeg firefox flac foomaticdb fortran gdbm gif gmp gpm gs gstreamer gtk hal iconv isdnlog jpeg lame lcms libnotify logrotate mad midi minimal mmx mng mp3 mpeg mudflap ncurses network-cron networkmanager nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python readline reflection samba sdl session shorten spell spl sqlite sse sse2 ssl startup-notification svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xinerama xml xorg xpm zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="kbd keyboard mouse evdev synaptics ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2008-05-29 21:49:14 UTC
(In reply to comment #0)
> Trying to build app-office/openoffice-2.4.0 fails during a configure phase, it
> wants >=dev-perl/Compress-Zlib-2.008, latest version in portage is only 2.005. 
>  Bumping the dev-perl/Compress-Zlib ebuild locally fixed the problem (which
> also meant bumping dev-perl/Compress-Raw-Zlib, dev-perl/IO-Compress-Base,
> dev-perl/IO-Compress-Zlib), could the version of these ebuilds in portage be
> bumped as well? I bumped them locally to version 2.009, the openoffice build
> states it needs at least 2.008.
> 
> This appears to be isolated to a single machine, I have emerged
> app-office/openoffice-2.4.0 on another machine, also x86, without this issue. 
> Apologies in advance if this is a simple mistake on my part.

That's totally not reproducable, so it seems to be a local problem with the perl-setup on one of your machines. Nothing OpenOffice could do here.
Comment 2 Joshua Rich 2008-05-29 23:13:46 UTC
Fair enough.  Thank you for looking into this. I'll check the Perl installation on the machine for problems.

Thanks and Regards,

Joshua
Comment 3 Hanno Zysik (geki) 2008-05-30 18:57:28 UTC
A well, I see that 2.008 requirement in configure, too.
I guess some perl Archive-Zip version needs it, not openoffice.
So that ebuild for Archive-Zip may need DEPEND update.

But simple dev-perl/Compress-Zlib update helps, so who cares. ;)
Comment 4 Joseph Turian 2008-07-04 22:44:21 UTC
Please reopen bug.

I updated my perl modules as follows:

[ebuild     U ] dev-perl/Compress-Raw-Zlib-2.011 [2.005] 203 kB
[ebuild     U ] dev-perl/IO-Compress-Base-2.011 [2.005] 93 kB
[ebuild     U ] dev-perl/IO-Compress-Zlib-2.011 [2.005] 138 kB
[ebuild     U ] dev-perl/Compress-Zlib-2.011 [2.005] 63 kB
[ebuild     U ] dev-perl/Archive-Zip-1.23 [1.20] 187 kB

However, openoffice-2.4.1 fails during configure with the same error as the original reporter:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure: WARNING: cross-compiling by any means is not supported (yet)!
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols into final build... no
checking whether to strip the solver or not.... checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable RandR support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... no
checking which shell to use... bash
checking for bash... /bin/bash
checking gcc home... /usr
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for x86_64-pc-linux-gnu-gcc... /usr/bin/x86_64-pc-linux-gnu-gcc
checking the GNU gcc compiler version... checked (gcc 3.4.6)
checking whether to enable pch feature... no
checking for -Bsymbolic-functions linker support ... found
checking for -Bdirect linker support ... not found
checking for GNU make... make
checking the GNU make version... make 3.81
checking for --hash-style=gnu linker support ... found
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules...  is only avaliable with the XS version at /usr/lib64/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
configure: error: Failed to find some modules
Comment 5 Roman Zimmermann 2008-09-17 07:06:40 UTC
I have exactly the same problem using more recent versions of both openoffice and the perl modules. The bug occurs for me at least for the following versions:
 * app-office/openoffice: 2.4.1, 3.0_beta1, 3.0_beta2, 3.0_rc1
 * dev-perl/Compress-Zlib: 2.008, 2.015
So updating dev-perl/Compress-Zlib does not make it work!

This is on amd64, gcc-4.3.1-r1, ...

Even if you can't reproduce this bug - it seems that quite a few users run into it, so please don't mark it as invalid. (reopening)
Comment 6 Manfred Knick 2009-01-29 11:35:13 UTC
(In reply to comment #5)
> So updating dev-perl/Compress-Zlib does not make it work!


I just recognized that Zlib.pm suffers multiple installs:

#  equery belongs  Zlib.pm 
[ Searching for file(s) Zlib.pm in *... ]
perl-core/IO-Zlib-1.09 (/usr/lib64/perl5/vendor_perl/5.8.8/IO/Zlib.pm)
perl-core/Compress-Raw-Zlib-2.015 (/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Compress/Raw/Zlib.pm)
perl-core/Compress-Zlib-2.015 (/usr/lib64/perl5/vendor_perl/5.8.8/Compress/Zlib.pm)
dev-lang/perl-5.10.0 (/usr/lib/perl5/5.10.0/x86_64-linux/Compress/Zlib.pm)
dev-lang/perl-5.10.0 (/usr/lib/perl5/5.10.0/IO/Zlib.pm)
dev-lang/perl-5.10.0 (/usr/lib/perl5/5.10.0/x86_64-linux/Compress/Raw/Zlib.pm)

Could it possibly be that drqwing upon the one from perl-core/IO-Zlib-1.09,
the OOo install just picks the "wrong" one?