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
python provides that, not zziplib /usr/lib/python2.4/lib-dynload/datetime.so python -c 'import datetime;'
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?
Created attachment 115997 [details] zziplib-0.13.49.ebuild
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
Created attachment 116001 [details, diff] zziplib-0.13.49-python.patch
thank you, patched & emerged successfully !
Fixed in CVS.