Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543646 - x11-libs/goffice-0.10.21 - Compress::Raw::Zlib version 2.064 required--this is only version 2.06 at /usr/lib64/perl5/5.20.2/IO/Compress/Adapter/Deflate.pm line 8.
Summary: x11-libs/goffice-0.10.21 - Compress::Raw::Zlib version 2.064 required--this i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 545238 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-17 20:48 UTC by Toralf Förster
Modified: 2015-04-02 20:59 UTC (History)
1 user (show)

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


Attachments
emerge log (x11-libs-goffice-0.10.21-20150317-202350.log,17.21 KB, text/plain)
2015-03-17 20:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-03-17 20:48:44 UTC
Created attachment 399146 [details]
emerge log

config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating goffice/goffice-config.h
config.status: creating goffice/goffice-features.h
config.status: goffice/goffice-features.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Configuration:

	Source code location:	.
	Compiler:		x86_64-pc-linux-gnu-gcc
	Compiler flags:		-march=native -O2 -pipe  -Wall  -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Werror=missing-prototypes -Werror=nested-externs -Werror=implicit-function-declaration -Wmissing-declarations -Wno-pointer-sign -Werror=format-security -Wstrict-prototypes
	Long double support:	yes
	Equation support in graphs: disabled by request

	UI:			Gtk
	Configuration backend:	GSettings
    Build gtk_mac_integration:	no

>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21 ...
make -j1 
Making all in goffice
make[1]: Entering directory '/var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/goffice'
if ! [ -x utils ]; then mkdir utils; fi && \
glib-genmarshal --prefix=go_ --header utils/go-marshalers.list >utils/go-marshalers.h
creating goffice-paths.h
cd . && perl /var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/tools/embedder \
	--id-prefix=go: \
	--static \
	--register-function=go_register_ui_files \
	--register-file-function=go_rsm_register_file \
	COMPRESS graph/gog-3d-box-prefs.ui graph/gog-axis-prefs.ui graph/gog-axis-color-map-prefs.ui graph/gog-color-scale-prefs.ui graph/gog-equation-prefs.ui graph/gog-error-bar-prefs.ui graph/gog-graph-prefs.ui graph/gog-guru-type-selector.ui graph/gog-guru.ui graph/gog-object-prefs.ui graph/gog-plot-prefs.ui graph/gog-reg-curve-prefs.ui graph/gog-reg-eqn-prefs.ui graph/gog-series-labels-prefs.ui graph/gog-series-prefs.ui graph/gog-theme-editor.ui graph/new-theme-prefs.ui gtk/go-3d-rotation-sel.ui gtk/go-arrow-sel.ui gtk/go-font-sel.ui gtk/go-format-sel.ui gtk/go-image-save-dialog-extra.ui gtk/go-image-sel.ui gtk/go-rotation-sel.ui utils/go-style-prefs.ui \
	NOCOMPRESS utils/svg-patterns.xml utils/unknown_image.png graph/bar-none.png graph/bar-vplus.png graph/bar-vminus.png graph/bar-vboth.png graph/bar-hplus.png graph/bar-hminus.png graph/bar-hboth.png \
	>/var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/goffice/embedded-stuff.c
Compress::Raw::Zlib version 2.064 required--this is only version 2.06 at /usr/lib64/perl5/5.20.2/IO/Compress/Adapter/Deflate.pm line 8.
BEGIN failed--compilation aborted at /usr/lib64/perl5/5.20.2/IO/Compress/Adapter/Deflate.pm line 8.
Compilation failed in require at /usr/lib64/perl5/5.20.2/IO/Compress/RawDeflate.pm line 11.
BEGIN failed--compilation aborted at /usr/lib64/perl5/5.20.2/IO/Compress/RawDeflate.pm line 11.
Compilation failed in require at /usr/lib64/perl5/5.20.2/IO/Compress/Gzip.pm line 11.
BEGIN failed--compilation aborted at /usr/lib64/perl5/5.20.2/IO/Compress/Gzip.pm line 11.
Compilation failed in require at /var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/tools/embedder line 22.
BEGIN failed--compilation aborted at /var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/tools/embedder line 22.
Makefile:2357: recipe for target 'embedded-stuff.c' failed
make[1]: *** [embedded-stuff.c] Error 2
make[1]: Leaving directory '/var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21/goffice'
Makefile:537: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 * ERROR: x11-libs/goffice-0.10.21::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/goffice-0.10.21::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/goffice-0.10.21::gentoo'`.
 * The complete build log is located at '/var/log/portage/x11-libs:goffice-0.10.21:20150317-202350.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/goffice-0.10.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/goffice-0.10.21/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21'
 * S: '/var/tmp/portage/x11-libs/goffice-0.10.21/work/goffice-0.10.21'

 * GNU info directory index is up-to-date.


This is an amd64 unstable chroot image at a hardened host acting as a tinderbox.
The log is stored in amd64-hardened-unstable_20150315//var/log/portage/_emerge_20150317-212404.log
quick search: https://bugs.gentoo.org/buglist.cgi?quicksearch=x11-libs%2Fgoffice


Portage 2.2.18 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.20-r2, 3.19.1-hardened x86_64)
=================================================================
System uname: Linux-3.19.1-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16164756 total,   1226344 free
KiB Swap:   16777212 total,  16754728 free
Timestamp of repository gentoo: Tue, 17 Mar 2015 15:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.3::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --jobs 1"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cairo cli corefonts cracklib crypt cups cxx dbus dnssec dot dri drmkms dvd ecc extraengine ffmpeg fontconfig fortran fpm gd gdbm gif gtk gudev gui hardened iconv icu isag jadetex jpeg justify kvm lapack libav libkms libvirtd logrotate macvtap mbox minizip mmx modules multilib mysql ncurses nls nptl ogg opengl openmp openssl pam pax_kernel pcre pcre16 plasma png policykit python qemu qt3support readline sdl session spice sqlite sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 svg tcpd theora thinkpad threads tiff tk tls truetype uml unicode urandom usb usbredir uxa v4l v4l2 video vorbis xa xattr xkb xmp xscreensaver xslt xtpax xvfb xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter -console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-19 00:28:43 UTC
This an issue with dev-lang/perl-5.20.2 (which owns /usr/lib64/perl5/5.20.2/IO/Compress/Adapter/Deflate.pm and should apparently either pull in a newer version of perl-Compress-Raw-Zlib and/or block older Compress-Raw-Zlib versions), and not in goffice. Assigning to the right people.

Toralf, to fix this on your machine, it's probably enough to emerge a newer version of virtual/perl-Compress-Raw-Zlib (you may need to uninstall perl-core/Compress-Raw-Zlib).
Comment 2 Toralf Förster gentoo-dev 2015-03-19 14:28:50 UTC
(In reply to Alexandre Rostovtsev from comment #1)

> Toralf, to fix this on your machine, it's probably enough to emerge a newer
> version of virtual/perl-Compress-Raw-Zlib
yep - worked
> (you may need to uninstall perl-core/Compress-Raw-Zlib).
nope, was done by portage

maybe the goffice ebuild should add a blocker ?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-23 20:27:53 UTC
@zlogene, this bug cannot be fixed on gnome-office side - it's seems to be a wrong or missing dependency in dev-lang/perl-5.20.2 or one of the perl virtuals. The goffice build system just happened to a place where the bug is triggered on the user's system.

Please read the bug and the log before reassigning it to the wrong people :/
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-03-24 02:32:33 UTC
(In reply to Toralf Förster from comment #2)
> (In reply to Alexandre Rostovtsev from comment #1)
> 
> > Toralf, to fix this on your machine, it's probably enough to emerge a newer
> > version of virtual/perl-Compress-Raw-Zlib
> yep - worked
> > (you may need to uninstall perl-core/Compress-Raw-Zlib).
> nope, was done by portage
> 
> maybe the goffice ebuild should add a blocker ?

No. This is a more general issue than goffice.

> > version of virtual/perl-Compress-Raw-Zlib
> yep - worked


This indiciates that Goffice should depend on some virtuals, because without virtuals for perl in Goffice, portage cannot attempt to rectify this issue automatically.

tools/embedder uses IO::Compress::Gzip

Therefor, it _must_ depend on virtual/perl-IO-Compress

As that dependency token is the dependency token responsible for saying:

- IO::Compress::Gzip is installed
- IO::Compress::Gzip is working.


At this stage, that in itself would not have prevented this issue, because that virtual is not yet configured to make sure its dependency, Compress::Raw::Zlib ( virtual/perl-Compress-Raw-Zlib ) is installed and at the right version.

However, the implication is _had_ we fixed that ( And I think we should have, and it may just happen ), then x11-libs/goffice would _still_ be broken because it would not pull dependencies in sufficient to ensure IO::Compress::Gzip would work.

So both teams need to apply fixes for this problem.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-25 02:25:30 UTC
(In reply to Kent Fredric from comment #4)

Fixed, thanks for noticing gnome's side of the problem :)

+  25 Mar 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  goffice-0.10.20.ebuild, goffice-0.10.21.ebuild:
+  Add missing perl build deps (bug #543646, thanks to Kent Fredric).
Comment 6 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-04-02 12:07:04 UTC
https://metacpan.org/source/PMQS/IO-Compress-2.064/Makefile.PL#L26 

looks like virtual/perl-IO-Compress needs to say : 

    >=virtual/perl-Compress-Raw-Zlib-${PV}
    >=virtual/perl-Compress-Raw-Bzip2-${PV}
Comment 7 Pacho Ramos gentoo-dev 2015-04-02 12:52:37 UTC
*** Bug 545238 has been marked as a duplicate of this bug. ***
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2015-04-02 20:59:44 UTC
Dependencies added