Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180414 - openoffice-2.1.0-r1 requires >=dev-perl/Compress-Raw-Zlib-2.002
Summary: openoffice-2.1.0-r1 requires >=dev-perl/Compress-Raw-Zlib-2.002
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 06:51 UTC by Patrick Huber
Modified: 2007-06-01 18:11 UTC (History)
5 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 Patrick Huber 2007-05-31 06:51:10 UTC
dev-perl/Compress-Raw-Zlib != 2.002 apparently puts Zlib.pm in the "wrong" place so openoffice fails to build with the following error message:
----
checking the GNU make version... make 3.81
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... Can't locate Compress/Raw/Zlib.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 24.
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                                                                                                                                                                    
----

searching for the file, I found:
----
# equery belongs Zlib.pm
[ Searching for file(s) Zlib.pm in *... ]
dev-perl/Compress-Raw-Zlib-2.001 (/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Compress/Raw/Zlib.pm)
dev-perl/IO-Zlib-1.04 (/usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm)
dev-perl/Compress-Zlib-2.001 (/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm)
----

----
# find /usr/lib/perl5/ -name Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Compress/Raw/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
----

workaround/fix
----
# ACCEPT_KEYWORDS=~x86 emerge -p =Compress-Raw-Zlib-2.002

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-perl/Compress-Raw-Zlib-2.002 [2.001]

# ACCEPT_KEYWORDS=~x86 emerge =Compress-Raw-Zlib-2.002
...

# emerge openoffice
...
----

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 11:49:18 UTC
Eh; does 2.004 work for you?
Comment 2 Patrick Huber 2007-05-31 14:17:21 UTC
yes, both compile fine
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 14:26:56 UTC
ia64, x86 - please stabilize dev-perl/Compress-Raw-Zlib-2.004, it's stable everywhere else anyway.
Comment 4 Emanuele Gentili 2007-05-31 14:32:05 UTC
 dev-perl/Compress-Raw-Zlib-2.004

1. emerges on x86
2. passes test suite
3. passes collision test
4. works

Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.17-gentoo-r8-panic i686)
=================================================================
System uname: 2.6.17-gentoo-r8-panic i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 31 May 2007 10:30:08 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -msse2 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -msse2 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="C"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/drizzt-overlay /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi adns alsa apache arts asf ati avi bash-completion beagle berkdb bitmap-fonts browserplugin bzip2 cairo caps cdr cli cracklib crd crypt cups curl daap dbus dga djvu dmi dri dts dvd dvdr dvi emacs evo exif fbcon ffmpeg firefox flac foomatic fortran gdbm gif gimpprint glitz gnome gnutls gpm gtk hal i810 iconv imagemagick intel ipod ipv6 isdnlog java jpeg kde libg++ libnotify libsexy lns mad midi mmap mmx mng mono mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mudflap musepack nautilus ncurses network njb nls nptl nptlonly nsplugin numeric ogg ole opengl openmp openntpd oss pam pcre pdf perl php png portaudio posix ppds pppd pwdb python qt qt3 radeon readline real reflection samba sdl session sndfile spl sse sse2 ssl svg t1lib tcpd theora threads truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wma wmf wmv wxwindows x264 x86 xine xml2 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="vesa i810 vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


For me Stable in x86.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-05-31 15:42:42 UTC
ia64/x86 stable.

I'm leaving this open in case you want to cc ppc64 as well.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2007-06-01 17:55:52 UTC
(In reply to comment #3)
> ia64, x86 - please stabilize dev-perl/Compress-Raw-Zlib-2.004, it's stable
> everywhere else anyway.

Everywhere except alpha, hppa and ppc64 I am sure the perl team would like us to move forward. :)
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2007-06-01 18:07:51 UTC
I've added the dependency >=dev-perl/Compress-Raw-Zlib-2.002 to the OOo ebuilds.

This closes this bug, stabilizing Compress-Raw-Zlib-2.002 on archs which don't even have OOo should be handled in a seperate bug ;)