Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174189 - dev-libs/zziplib-0.13.49 fails due to python`s import module error
Summary: dev-libs/zziplib-0.13.49 fails due to python`s import module error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 18:33 UTC by Vladimir
Modified: 2007-07-07 15:24 UTC (History)
0 users

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


Attachments
zziplib-0.13.49.ebuild (zziplib-0.13.49.ebuild,1.28 KB, text/plain)
2007-04-11 23:47 UTC, Rob Cakebread (RETIRED)
Details
zziplib-0.13.49.ebuild (zziplib-0.13.49-python.patch,514 bytes, patch)
2007-04-11 23:49 UTC, Rob Cakebread (RETIRED)
Details | Diff
zziplib-0.13.49-python.patch (zziplib-0.13.49-python.patch,514 bytes, patch)
2007-04-11 23:50 UTC, Rob Cakebread (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2007-04-11 18:33:51 UTC
i wanted to fix GLSA 200704-05 and had to emerge zziplib:

emerge =dev-libs/zziplib-0.13.49 fails with following errors:

'../../docs/zzip-index.htm':  4 ../../docs/zzip-index.htm  >>  4 zzip-index.xml
'../../docs/64on32.htm':  8 ../../docs/64on32.htm  >>  8 64on32.xml
'../../docs/future.htm':  4 ../../docs/future.htm  >>  4 future.xml
/usr/bin/python2.2  ../../docs/makedocs.py ../../zzip/*.c  \
                   "--package=zziplib" "--version=0.13.49" \
                   "--onlymainheader=zzip/lib.h" "--output=zziplib"
Traceback (most recent call last):
  File "../../docs/makedocs.py", line 10, in ?
    from zzipdoc.functionlistreference import *
  File "../../docs/zzipdoc/functionlistreference.py", line 4, in ?
    from htm2dbk import *
  File "../../docs/zzipdoc/htm2dbk.py", line 9, in ?
    from datetime import date
ImportError: No module named datetime
make[3]: *** [zziplib.xml] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/zziplib-0.13.49/work/zziplib-0.13.49/Linux_2.4.33.4-hardened-grsec_i686.d/docs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/zziplib-0.13.49/work/zziplib-0.13.49/Linux_2.4.33.4-hardened-grsec_i686.d'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/zziplib-0.13.49/work/zziplib-0.13.49/Linux_2.4.33.4-hardened-grsec_i686.d'
make: *** [all] Error 2

!!! ERROR: dev-libs/zziplib-0.13.49 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3390:   Called src_compile
  zziplib-0.13.49.ebuild, line 31:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/zziplib-0.13.49/temp/build.log'.


Reproducible: Always

Steps to Reproduce:
1.emerge =dev-libs/zziplib-0.13.49 
2.
3.

Actual Results:  
failed emerge

Expected Results:  
successfull compile

emerge --info
Portage 2.1.2.2 (hardened/x86, gcc-3.3.6, glibc-2.3.5-r1, 2.4.33.4-hardened-grsec i686)
=================================================================
System uname: 2.4.33.4-hardened-grsec i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0
Timestamp of tree: Wed, 11 Apr 2007 17:30:09 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r2
sys-devel/libtool:   1.4.3-r1, 1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="C"
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"
SYNC="rsync://owl.gentoo.org/gentoo-portage"
USE="apache2 berkdb cli crypt ctype dba doc gd hardened hardenedphp iconv imap innodb jpeg lvm lvm2 maildir midi mode-owner mysql ncurses nls pam pcre pdo pear pic png readline session simplexml soap ssl tcpd truetype vhosts x86 xml xml2 xorg xsl zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2007-04-11 19:35:28 UTC
python provides that, not zziplib

/usr/lib/python2.4/lib-dynload/datetime.so

python -c 'import datetime;'
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2007-04-11 23:03:42 UTC
Vladimir, for some reason its trying to make the docs with python-2.2, which didn't have the datetime module. Do you have 2.2 emerged also?
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2007-04-11 23:47:33 UTC
Created attachment 115997 [details]
zziplib-0.13.49.ebuild
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2007-04-11 23:49:18 UTC
Created attachment 115999 [details, diff]
zziplib-0.13.49.ebuild

This patch removes the check for Python 2.2 and the attached ebuild tightens up DEPEND to >=python-2.3
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2007-04-11 23:50:04 UTC
Created attachment 116001 [details, diff]
zziplib-0.13.49-python.patch
Comment 6 Vladimir 2007-04-12 07:36:42 UTC
thank you, patched & emerged successfully !
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2007-07-07 15:24:01 UTC
Fixed in CVS.